User Tools

Site Tools


classes:la_slapd_l1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
classes:la_slapd_l1 [2016/12/15 15:29] – created curry_searleclasses:la_slapd_l1 [2016/12/15 19:23] (current) curry_searle
Line 12: Line 12:
 </code> </code>
  
-Using your favorite editor, modify /etc/ldap/ldap.conf to contain the following, non-comment lines:+Configure slapd, the LDAP service; enter the following settings when prompted: 
 +<code> 
 +Omit OpenLDAP server configuration: No 
 +DNS domain name: itsm.unt.edu 
 +Org name: UNT 
 +Admin password: 1234567 
 +Confirm passwd: 1234567 
 +Database backend: MDB 
 +Remove database when purged: No 
 +Move old database: Yes 
 +Allow LDAPv2: No 
 +</code> 
 + 
 +Using your favorite editor, modify ''/etc/ldap/ldap.conf'' to contain the following, non-comment lines:
 <code> <code>
 TLS_CACERT      /etc/ssl/certs/ca-certificates.crt TLS_CACERT      /etc/ssl/certs/ca-certificates.crt
Line 210: Line 223:
 </code> </code>
  
-That'all for this section on configuring OpenLDAP and adding our users. Join me in the next section as we configure NFS to export home directories.+And likewise with the groups to confirm they were added as well: 
 +<code> 
 +ldapsearch -x objectClass=posixGroup 
 + 
 +# extended LDIF 
 +
 +# LDAPv3 
 +# base <dc=itsm,dc=unt,dc=edu> (default) with scope subtree 
 +# filter: objectClass=posixGroup 
 +# requesting: ALL 
 +
 + 
 +# kevin, itsm.unt.edu 
 +dn: cn=kevin,dc=itsm,dc=unt,dc=edu 
 +objectClass: top 
 +objectClass: posixGroup 
 +cn: kevin 
 +gidNumber: 9012 
 +memberUid: kevin 
 + 
 +# olive, itsm.unt.edu 
 +dn: cn=olive,dc=itsm,dc=unt,dc=edu 
 +objectClass: top 
 +objectClass: posixGroup 
 +cn: olive 
 +gidNumber: 9011 
 +memberUid: olive 
 + 
 +# tom, itsm.unt.edu 
 +dn: cn=tom,dc=itsm,dc=unt,dc=edu 
 +objectClass: top 
 +objectClass: posixGroup 
 +cn: tom 
 +gidNumber: 9010 
 +memberUid: tom 
 + 
 +# search result 
 +search: 2 
 +result: 0 Success 
 + 
 +# numResponses:
 +# numEntries: 3 
 +</code> 
 + 
 +Now that we've confirmed all of our LDAP attributes are populated, that completes this lesson. Join me in the next section as we configure NFS to export home directories.
  
classes/la_slapd_l1.1481844588.txt.gz · Last modified: 2016/12/15 15:29 by curry_searle