Changes between Version 4 and Version 5 of dSite/c0OMF
- Timestamp:
- Oct 1, 2014, 5:46:32 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
dSite/c0OMF
v4 v5 45 45 }}} 46 46 47 You will be promted for Ldap root and administrator passwords. Make them the same. 47 ==== LDAP Server Installation Questions ==== 48 You will be promted for Ldap root passwords. It will be asked for when installing the client. 48 49 49 50 === LDAP Server Installation ===51 50 While installing LDAP it will ask: 52 51 … … 56 55 }}} 57 56 58 (if any error is made during the initial installation, LDAP can be reconfigured with: dpkg-reconfigure slapd) 57 ==== LDAP Client Installation Questions ==== 58 When Installing you will be asked the follow questions: 59 59 60 Use these choices ('''CHECK IF STILL THE SAME''') 60 * base dc=geni,dc=net 61 * uri ldap://ldap.geni.net/ 62 * ldap_version 3 63 * rootbinddn cn=admin,dc=geni,dc=net 61 64 62 * Omit OpenLDAP server configuration? No 63 * DNS domain name: geni.net #The DNS domain name is used to construct the base DN of the LDAP directory. 64 * Organization name: GENI 65 * Password: Sg10l3P 66 * Database backend to use: HDB 67 * Do you want the database to be removed when slapd is purged? : Yes 68 * Move old database? Yes 69 * Allow LDAPv2 protocol? No 65 Use the defaults for any questions not metioned here. 70 66 67 Once completed add the following line to the end of your ''/etc/ldap.conf'' 68 69 {{{ 70 nss_initgroups_ignoreusers backup,bin,daemon,games,gnats,irc,libuuid,libvirt-qemu,list,lp,mail,man,messagebus,news,ntp,postfix,proxy,root,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data 71 }}} 72 73 You can verify your ldap conf config by running: 74 {{{ 75 egrep -v "^#|^$" /etc/ldap.conf 76 }}} 77 It should produce results like: 78 {{{ 79 base dc=geni,dc=net 80 uri ldap://ldap.geni.net/ 81 ldap_version 3 82 rootbinddn cn=admin,dc=geni,dc=net 83 pam_password md5 84 nss_initgroups_ignoreusers backup,bin,daemon,games,gnats,irc,libuuid,libvirt-qemu,list,lp,mail,man,messagebus,news,ntp,postfix,proxy,root,sshd,statd,sync,sys,syslog,usbmux,uucp,www-data 85 }}} 86 87 Next edit /etc/nsswitch.conf file so that is has the follow non comment lines: 88 {{{ 89 passwd: files ldap compat 90 group: files ldap compat 91 shadow: files compat 92 93 hosts: files dns 94 networks: files 95 96 protocols: db files 97 services: db files 98 ethers: db files 99 rpc: db files 100 101 netgroup: nis 102 }}} 103 71 104 === MySQL Installation === 72 105 73 '''Will ask some questions...''' 106 You will be prompted for a MySQL admin password during the install. 74 107 75 108