[Samba] samba-3.0.0rc4: -P common option handler can't open secrets.tdb

Paul Richards richards at richards-fam.org
Sat Sep 20 00:05:02 GMT 2003


It appears that there is some setup missing for handling the -P
option to commands (via popt_common_credentials_callback()).

I was trying to use the example file examples/printing/smbprint.sysv
which suggested using the "-P" option to smbclient.  I am always
getting an error that "/secrets.tdb" can't be opened.

I think that what is mis-ordered is that secrets_init() is called
before smb.conf is loaded, so the path to the private directory
is not initialized in time.

-Paul




More information about the samba mailing list