LDAP
Материал из noname.com.ua
LDAP
Заметки
- sudo apt-get install slapd ldap-utils
- sudo apt-get install phpldapadmin
slapcat 56f012d9 ldif_read_file: checksum error on "/etc/ldap/slapd.d/cn=config.ldif" dn: dc=demo,dc=com objectClass: top objectClass: dcObject objectClass: organization o: demo dc: demo structuralObjectClass: organization entryUUID: f046b510-83c2-1035-8829-29ac45b577b5 creatorsName: cn=admin,dc=demo,dc=com createTimestamp: 20160321151131Z entryCSN: 20160321151131.872452Z#000000#000#000000 modifiersName: cn=admin,dc=demo,dc=com modifyTimestamp: 20160321151131Z dn: cn=admin,dc=demo,dc=com objectClass: simpleSecurityObject objectClass: organizationalRole cn: admin description: LDAP administrator userPassword:: e1NTSEF9cjVNc0tEUUkyRmlMNzRmYmYra1BLcENwY2xOZGw3eDA= structuralObjectClass: organizationalRole entryUUID: f0474e9e-83c2-1035-882a-29ac45b577b5 creatorsName: cn=admin,dc=demo,dc=com createTimestamp: 20160321151131Z entryCSN: 20160321151131.876381Z#000000#000#000000 modifiersName: cn=admin,dc=demo,dc=com modifyTimestamp: 20160321151131Z
ldapsearch -D "cn=admin,dc=demo,dc=com" -w r00tme # extended LDIF # # LDAPv3 # base <> (default) with scope subtree # filter: (objectclass=*) # requesting: ALL # # search result search: 2 result: 32 No such object # numResponses: 1
Jenkins
Manage Jenkins -> Configure Global Security --> LDAP