OUD Model ldif

$ cat > oud_model.ldif



dn: dc=example,dc=com
changetype: add
objectclass: top
objectclass: domain

dn: ou=Groups,dc=example,dc=com
changetype: add 
objectclass: top 
objectclass: groupOfUniqueNames 
cn: Groups

dn: ou=customers,dc=example,dc=com
changetype: add
objectclass: top
objectclass: groupOfUniqueNames
cn: customers

OUD – Sample LDIF File

$ ldapmodify -a -p 1389 -D “cn=Directory Manager” -w Welcome1

dn: dc=example,dc=com
objectclass: top
objectclass: domain
dc: example

dn: ou=people,dc=example,dc=com
changetype: add
objectclass: top
objectclass: organizationalUnit
ou: people

dn: uid=ste,ou=people,dc=example,dc=com
postalAddress: Schwielowsee
postalCode: 14548
uid: ste
description: This is the description for stefan0
userPassword: password
employeeNumber: 23
initials: SW
givenName: Stefan
objectClass: person
objectClass: inetorgperson
objectClass: organizationalperson
objectClass: top
pager: +1 724 334 4454
mobile: +1 699 006 9072
cn: Stefan W
sn: W
roomNumber: 123
telephoneNumber: 456
street: Auf dem Franzensberg
homePhone: +1 698 343 6105
l: Potsdam
mail: stefan@maildomain.net
st: BR