[Samba] Re: schannel_store.tdb appearing in /etc/samba

Kent Tong kent at cpttm.org.mo
Wed Jun 6 03:45:05 GMT 2007

Steve Granger <steveg <at> magellan-technology.com> writes:

> smbd -b | less
> to see the private_dir and other file location. From my knowledge these
> are set with compile time options.

Thanks! Got this:

   SBINDIR: /usr/sbin
   BINDIR: /usr/bin
   SWATDIR: /usr/share/samba/swat
   CONFIGFILE: /etc/samba/smb.conf
   LOGFILEBASE: /var/log/samba
   LMHOSTSFILE: /etc/samba/lmhosts
   LIBDIR: /usr/lib/samba
   LOCKDIR: /var/run/samba
   PIDDIR: /var/run/samba
   SMB_PASSWD_FILE: /etc/samba/smbpasswd
   PRIVATE_DIR: /etc/samba

/var/lib/samba is not one of them, but why are those .tdb files put 
into there (instead of /etc/samba)?

Does it make sense to set the private dir to /etc/samba? If not, I'll
file a bug report to Debian.

More information about the samba mailing list