Paul Richards
2003-Sep-20 00:05 UTC
[Samba] samba-3.0.0rc4: -P common option handler can't open secrets.tdb
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
Gerald (Jerry) Carter
2003-Sep-20 14:34 UTC
[Samba] samba-3.0.0rc4: -P common option handler can't open secrets.tdb
-----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-----
Possibly Parallel Threads
- Error: Failed to open /etc/samba/secrets.tbd
- Can not open secrets.tdb. Win XP can't access Mac OSX 10.5.1.
- SWAT: Non privileged user cannot access secrets.tdb
- Can login with a bogus username which ends with a "/" or a "\"
- problems compiling Samba 2.2.8 on Solaris 2.8