Changes between Version 48 and Version 49 of Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup
- Timestamp:
- Jun 21, 2013, 9:06:07 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/hNodes/cNodeVer3/dAssembly/e4NodesSetup
v48 v49 328 328 ''' Setting up LDAP server ''' 329 329 330 Decide on the organizational structure for ldap:330 1. Decide on the organizational structure for ldap: 331 331 {{{ 332 332 orbit-lab.org => dc=orbit-lab,dc=org 333 333 }}} 334 Install the server and utilities: 335 {{{ 336 apt-get install slapd ldap-utils phpldapadmin 337 }}} 338 Modify the /etc/default/slapd file and edit the SLAPD_CONF and SLAPD_PIDFILE values to 334 335 2. Install the server and utilities: 336 {{{ 337 apt-get install slapd ldap-utils phpldapadmin 338 }}} 339 340 3. Modify the /etc/default/slapd file and edit the SLAPD_CONF and SLAPD_PIDFILE values to 339 341 {{{ 340 342 SLAPD_CONF="/etc/ldap/slapd.conf" … … 366 368 access to attrs=userPassword by dn.regex="cn=admin,dc=orbit-lab,dc=org" write by anonymous auth by self write by * none 367 369 }}} 368 You can download openssh-lpk_openldap.schema from http://code.google.com/p/openssh-lpk/downloads/detail?name=openssh-lpk_openldap.schema 369 370 Set sizelimit to 10000 by editing slapd.conf file 370 371 4. You can download openssh-lpk_openldap.schema from http://code.google.com/p/openssh-lpk/downloads/detail?name=openssh-lpk_openldap.schema 372 373 5. Set sizelimit to 10000 by editing slapd.conf file 371 374 {{{ 372 375 sizelimit 10000 373 376 }}} 374 Start the service:377 6. Start the service: 375 378 {{{ 376 379 /etc/init.d/slapd start 377 380 }}} 378 381 379 /etc/init.d/slapd start 380 381 make sure you can access the service with admin credentials: 382 7. Make sure you can access the service with admin credentials: 382 383 {{{ 383 384 ldapsearch -x -b "dc=orbit-lab,dc=org" "objectClass=organizationalRole"