DirContextAdapter#setDn() now throws IllegalStateException if setDn is called on an instance in update mode (this was previously silently ignored) Fixed problem in LdapTreeBuilder caused by the new behaviour of DN in DirContextAdapter (i.e. that the actual DN instance of the DirContextAdapter is no longer returned by getDn()).
36 lines
887 B
Plaintext
36 lines
887 B
Plaintext
dn: c=Sweden,dc=jayway,dc=se
|
|
objectclass: top
|
|
objectclass: country
|
|
c: Sweden
|
|
description: The country of Sweden
|
|
|
|
dn: ou=company1,c=Sweden,dc=jayway,dc=se
|
|
objectclass: top
|
|
objectclass: organizationalUnit
|
|
ou: company1
|
|
description: First company in Sweden
|
|
|
|
dn: cn=Some Person,ou=company1,c=Sweden,dc=jayway,dc=se
|
|
objectclass: top
|
|
objectclass: person
|
|
objectclass: organizationalPerson
|
|
objectclass: inetOrgPerson
|
|
uid: some.person
|
|
userPassword: password
|
|
cn: Some Person
|
|
sn: Person
|
|
description: Sweden, Company1, Some Person
|
|
telephoneNumber: +46 555-123456
|
|
|
|
dn: cn=Some Person2,ou=company1,c=Sweden,dc=jayway,dc=se
|
|
objectclass: top
|
|
objectclass: person
|
|
objectclass: organizationalPerson
|
|
objectclass: inetOrgPerson
|
|
uid: some.person2
|
|
userPassword: password
|
|
cn: Some Person2
|
|
sn: Person2
|
|
description: Sweden, Company1, Some Person2
|
|
telephoneNumber: +46 555-654321
|