# LDIF Export for dc=likegene,dc=com
# Server: My LDAP Server (192.168.1.66)
# Search Scope: sub
# Search Filter: (objectClass=*)
# Total Entries: 8
#
# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on October 11, 2011 9:05 am
# Version: 1.2.1.1
version: 1
# Entry 1: dc=likegene,dc=com
dn: dc=likegene,dc=com
dc: likegene
description: Fictional example domain
objectclass: top
objectclass: domain
userpassword: {MD5}TPuewIh/mNDFMlz5CBVR6w==
# Entry 2: ou=Group,dc=likegene,dc=com
dn: ou=Group,dc=likegene,dc=com
objectclass: organizationalUnit
objectclass: top
ou: Group
# Entry 3: cn=administrator,ou=Group,dc=likegene,dc=com
dn: cn=administrator,ou=Group,dc=likegene,dc=com
cn: administrator
member: cn=zhangsan,ou=People,dc=likegene,dc=com
objectclass: groupOfNames
objectclass: top
# Entry 4: cn=user,ou=Group,dc=likegene,dc=com
dn: cn=user,ou=Group,dc=likegene,dc=com
cn: user
member: cn=lisi,ou=People,dc=likegene,dc=com
member: cn=wangerma,ou=People,dc=ufinity,dc=com
objectclass: groupOfNames
objectclass: top
# Entry 5: ou=People,dc=likegene,dc=com
dn: ou=People,dc=likegene,dc=com
objectclass: organizationalUnit
objectclass: top
ou: People
# Entry 6: cn=lisi,ou=People,dc=likegene,dc=com
dn: cn=lisi,ou=People,dc=likegene,dc=com
cn: lisi
displayname:: 5p2O5Zub
homephone: 0551-9999999
mail: [email protected]
objectclass: inetOrgPerson
objectclass: top
sn: 002
userpassword: 123456
# Entry 7: cn=wangerma,ou=People,dc=likegene,dc=com
dn: cn=wangerma,ou=People,dc=likegene,dc=com
cn: wangerma
displayname:: 546L5LqM6bq7
homephone: 0551-33333333
mail: [email protected]
objectclass: inetOrgPerson
objectclass: top
sn: 003
userpassword: 123456
# Entry 8: cn=zhangsan,ou=People,dc=likegene,dc=com
dn: cn=zhangsan,ou=People,dc=likegene,dc=com
cn: zhangsan
displayname:: 5byg5LiJ
homephone: 0551-2222222
mail: [email protected]
objectclass: inetOrgPerson
objectclass: top
sn: 001
userpassword: 123456
]# ldapadd -x -D "cn=Manager,dc=likegene,dc=com" -f sample.ldif -W