Last active
March 28, 2019 16:38
-
-
Save obourdon/758b5c316fd4e0008336dfff93ecb9e5 to your computer and use it in GitHub Desktop.
Full search output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ldapadd -x -H ldap://localhost -D "cn=admin,dc=example,dc=org" -w admin -f additions.ldif | |
dn: ou=Users,dc=example,dc=org | |
objectClass: top | |
objectClass: organizationalUnit | |
ou: Users | |
dn: ou=Groups,dc=example,dc=org | |
objectClass: top | |
objectClass: organizationalUnit | |
ou: Groups | |
dn: uid=billy,dc=example,dc=org | |
uid: billy | |
cn: billy | |
sn: 3 | |
objectClass: top | |
objectClass: posixAccount | |
objectClass: inetOrgPerson | |
loginShell: /bin/bash | |
homeDirectory: /home/billy | |
uidNumber: 14583102 | |
gidNumber: 14564100 | |
userPassword: {SSHA}j3lBh1Seqe4rqF1+NuWmjhvtAni1JC5A | |
mail: billy@example.org | |
gecos: Billy User | |
dn: uid=john,ou=Users,dc=example,dc=org | |
uid: john | |
cn: john | |
sn: 3 | |
objectClass: top | |
objectClass: posixAccount | |
objectClass: inetOrgPerson | |
loginShell: /bin/bash | |
homeDirectory: /home/john | |
uidNumber: 14583103 | |
gidNumber: 14564101 | |
userPassword: {SSHA}j3lBh1Seqe4rqF1+NuWmjhvtAni1JC5A | |
mail: john@example.org | |
gecos: John User | |
dn: cn=admin,ou=Groups,dc=example,dc=org | |
objectClass: groupOfUniqueNames | |
cn: admin | |
description: Admin users | |
uniqueMember: uid=admin,dc=example,dc=org | |
uniqueMember: uid=john,ou=Users,dc=example,dc=org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ldapsearch -LLL -x -D cn=admin,dc=example,dc=org -w admin -b dc=example,dc=org -h 127.0.0.1 | |
dn: dc=example,dc=org | |
objectClass: top | |
objectClass: dcObject | |
dn: cn=admin,dc=example,dc=org | |
objectClass: simpleSecurityObject | |
objectClass: organizationalRole | |
cn: admin | |
description: LDAP administrator | |
userPassword:: e1NTSEF9TlMwMk9JeFJtMHR0bUp5VHBuK0VuNnVWOHhjVENEZ1E= | |
dn: ou=Users,dc=example,dc=org | |
objectClass: top | |
objectClass: organizationalUnit | |
ou: Users | |
dn: ou=Groups,dc=example,dc=org | |
objectClass: top | |
objectClass: organizationalUnit | |
ou: Groups | |
dn: uid=billy,dc=example,dc=org | |
uid: billy | |
cn: billy | |
sn: 3 | |
objectClass: top | |
objectClass: posixAccount | |
objectClass: inetOrgPerson | |
loginShell: /bin/bash | |
homeDirectory: /home/billy | |
uidNumber: 14583102 | |
gidNumber: 14564100 | |
userPassword:: e1NTSEF9ajNsQmgxU2VxZTRycUYxK051V21qaHZ0QW5pMUpDNUE= | |
mail: billy@example.org | |
gecos: Billy User | |
dn: uid=john,ou=Users,dc=example,dc=org | |
uid: john | |
cn: john | |
sn: 3 | |
objectClass: top | |
objectClass: posixAccount | |
objectClass: inetOrgPerson | |
loginShell: /bin/bash | |
homeDirectory: /home/john | |
uidNumber: 14583103 | |
gidNumber: 14564101 | |
userPassword:: e1NTSEF9ajNsQmgxU2VxZTRycUYxK051V21qaHZ0QW5pMUpDNUE= | |
mail: john@example.org | |
gecos: John User | |
dn: cn=admin,ou=Groups,dc=example,dc=org | |
objectClass: groupOfUniqueNames | |
cn: admin | |
description: Admin users | |
uniqueMember: uid=admin,dc=example,dc=org | |
uniqueMember: uid=john,ou=Users,dc=example,dc=org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment