Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#499359: samba-common didn't create /var/lib/samba/

22 views
Skip to first unread message

Neale Banks

unread,
Sep 18, 2008, 2:00:23 AM9/18/08
to

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.


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Christian Perrier

unread,
Sep 18, 2008, 2:00:11 PM9/18/08
to
Quoting Neale Banks (ne...@lowendale.com.au):
>
> 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:


The guess is apparently good and I would say that this can be
considered to be an important bug, deserving to be fixed in lenny.

signature.asc
0 new messages