I have configured Netscape Directory Server 4.12 to provide an LDAPS
service. I need to be able to start the directory unattended so
created the

NSROOT/alias/slapd-<hostname>-pin.txt

file. At first it just contained the password (without CR, then with
CR) and then I found a comment in Sun's Solaris LDAP Blueprint book
which lead me to put this:

Internal (Software) Token=<password>

in the file.

None of these approaches stopped the directory asking for the password
on startup. I have traced the process and it is reading the pin file:

...
8254:   open("/opt/netscapeds/alias/slapd-sldn5093dap-pin.txt",
O_RDONLY) = 9
8254:   fstat64(9, 0xEFFFE768)                          = 0
8254:   ioctl(9, TCGETA, 0xEFFFE6F4)                    Err#25 ENOTTY
8254:   read(9, " I n t e r n a l   ( S o".., 8192)     = 36
8254:   read(9, 0x0025BC2C, 8192)                       = 0
8254:   llseek(9, 0, SEEK_CUR)                          = 36
8254:   close(9)                                        = 0
...
8254:  write(1, " E n t e r   P I N   f o".., 41)      = 41
...


For now I am starting the directory as follows:

start-slapd < pin.txt > /dev/null

This seems to work, but I'd like to do it properly.

Can anyone help?

Thanks,

Frank Taylor

Reply via email to