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

Gerald (Jerry) Carter jerry at samba.org
Sat Sep 20 14:34:26 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Richards wrote:

| 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.

Already fixed in CVS.



cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard            ------------------------- http://www.hp.com
~ SAMBA Team                 ---------------------- http://www.samba.org
~ GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/bGVwIR7qMdg1EfYRAuZ7AKCmCrkPYVoNdqgHGb6c2Kuuq91mkACg3bsK
tB5lsZBrcfsbxfiijRYfDwU=
=rkHW
-----END PGP SIGNATURE-----





More information about the samba mailing list