[Pkg-samba-maint] Bug#499359: samba-common didn't create /var/lib/samba/

Neale Banks neale at lowendale.com.au
Thu Sep 18 06:04:58 UTC 2008


Package: samba-common
Version: 2:3.2.3-1

With winbind and samba-common installed, attempts to join AD failed with:
  "Failed to open /var/lib/samba/secrets.tdb" and
  "error storing domain sid for XXXXXX".

The underlying problem appears to be that /var/lib/samba/ had not been
created:

fubar:/var/lib# ls -l
total 52
drwxr-xr-x 4 root    root    4096 2008-09-18 14:41 apt
drwxr-xr-x 2 root    root    4096 2008-09-18 14:41 aptitude
drwxr-xr-x 2 root    root    4096 2008-09-17 14:33 dhcp3
drwxr-xr-x 7 root    root    4096 2008-09-17 14:39 dpkg
drwxr-xr-x 2 root    root    4096 2008-09-17 14:34 initramfs-tools
drwxr-xr-x 2 root    root    4096 2008-08-13 00:09 initscripts
drwxrwsr-x 2 libuuid libuuid 4096 2008-09-17 14:33 libuuid
drwxr-xr-x 2 root    root    4096 2006-04-09 08:16 logrotate
drwxr-xr-x 2 root    root    4096 2008-08-06 02:17 misc
drwxr-xr-x 3 root    root    4096 2008-09-17 14:39 ucf
drwxr-xr-x 2 root    root    4096 2008-09-18 13:52 urandom
drwxr-xr-x 2 root    root    4096 2008-09-17 14:34 usbutils
drwxr-xr-x 3 root    root    4096 2008-09-17 14:33 vim

Creating it:

fubar:/var/lib# mkdir samba
fubar:/var/lib# ls -ld samba/
drwxr-xr-x 2 root root 4096 2008-09-18 14:45 samba/

allowed a "net rpc join ...." to work.

Should installation of these packages have caused /var/lib/samba/ to
have been created?

Thanks,
Neale.






More information about the Pkg-samba-maint mailing list