10.2.12

nscd 'What a turn off!"

nscd can speed things up. And also slow me down. Modify a LDAP entry. No errors. Fine. But, still no change in what I was supposed to have changed. I'll let this dialogue between the ldap server and root tell the sorry tale.


root@hh3:/home/steve# ldapmodify -h hh3.hh3.site -D Administrator@HH3.SITE -Y GSSAPI
SASL/GSSAPI authentication started
SASL username: Administrator@HH3.SITE
SASL SSF: 56
SASL data security layer installed.
dn: cn=steve2,cn=Users,dc=hh3,dc=site       
changetype: modify
replace: gidNumber
gidNumber: 3000004
modifying entry "cn=steve2,cn=Users,dc=hh3,dc=site"
^C 
root@hh3:/home/steve# getent passwd steve2
steve2:*:3000000:100:steve2:/home/CACTUS/steve2:/bin/bash
root@hh3:/home/steve# service nscd status
 * Status of Name Service Cache Daemon service:                                  * running.
root@hh3:/home/steve# service nscd stop
 * Stopping Name Service Cache Daemon nscd                               [ OK ] 
root@hh3:/home/steve# getent passwd steve2
steve2:*:3000000:3000004:steve2:/home/CACTUS/steve2:/bin/bash
root@hh3:/home/steve#


Moral of the story
Turn off nscd for all debugging!