[Pkg-samba-maint] Bug#726472: share passwords not working after upgrade from samba3

Steve M. Robbins steve at sumost.ca
Sat Oct 19 01:41:10 UTC 2013


Hi,

On Fri, Oct 18, 2013 at 07:35:10PM +0200, Ivo De Decker wrote:

> In addition to the smb.conf (which Andrew asked in the other mail), 

steve at riemann{~}cat /etc/samba/smb.conf
# Samba config file created using SWAT
# from UNKNOWN ()
# Date: 2010/01/17 16:53:25

[global]
        workgroup = SUMOST
        interfaces = lo, eth*
        passwd program = /usr/bin/passwd %u
        passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n *Password\schanged.* .
        log level = 5
        syslog = 0
        max log size = 1000
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
        os level = 200
        preferred master = Yes
        domain master = Yes
        message command = /bin/sh -c /usr/bin/linpopup
        remote announce = 192.168.43.255
        panic action = /usr/share/samba/panic-action %d
        invalid users = root

[homes]
        read only = No
        browseable = No
        browsable = No

[root]
        comment = All Files
        path = /
        browseable = No
        browsable = No

[Music]
        path = /sound+vision/Music
        read only = No

[Pictures]
        comment = Our Picture Book
        path = /sound+vision/Pictures
        force group = household
        read only = No
        force create mode = 0664
        force directory mode = 0775


> could you also provide the following info (if available):
> - a directory listing of /etc/samba, /var/lib/samba and /var/lib/samba/private
>   (there were some issues with the path of certain config files during the
>   wheezy freeze)

steve at riemann{~}ls -l /etc/samba/ /var/lib/samba/ /var/lib/samba/private/
/etc/samba/:
total 52
-rw-r--r-- 1 root root     8 Aug 27  2008 gdbcommands
-rw-r--r-- 1 root root   955 Oct 14 21:12 smb.conf
-rw-r--r-- 1 root root 22568 Oct 13 22:49 smb.conf.merge-error
-rw-r--r-- 1 root root  9228 Oct 14 21:08 smb.conf.ucf-dist
-rw------- 1 root root   209 Sep  8  2008 smbpasswd
drwxr-xr-x 2 root root  4096 Oct 12 04:09 tls

/var/lib/samba/:
total 344
-rw-------  1 root root       16384 Sep  7  2008 account_policy.tdb
-rw-------  1 root root       77824 Sep  7  2008 group_mapping.ldb.replaced
-rw-------  1 root root         696 Nov 27  2011 group_mapping.tdb
-rw-------  1 root root        8192 Sep  7  2008 ntdrivers.tdb.bak
-rw-------  1 root root         696 Sep  7  2008 ntforms.tdb.bak
-rw-------  1 root root       20480 Sep  7  2010 ntprinters.tdb.bak
-rw-------  1 root root       61440 Feb 16  2012 passdb.tdb
drwxr-xr-x  2 root root        4096 Sep  7  2008 perfmon
drwxr-xr-x 10 root root        4096 Sep  7  2008 printers
drwxr-xr-x  2 root root        4096 Oct 13 23:17 private
-rw-------  1 root root       98304 Oct 13 23:17 registry.tdb
-rw-------  1 root root       24576 Sep  7  2008 secrets.tdb
-rw-------  1 root root       16384 Nov 27  2011 share_info.tdb
drwxrwx--T  2 root sambashare  4096 Sep  7  2008 usershares
-rw-r--r--  1 root root         696 Jul 24  2011 winbindd_idmap.tdb

/var/lib/samba/private/:
total 832
-rw------- 1 root root 421888 Oct 15 23:14 passdb.tdb
-rw------- 1 root root 430080 Oct 13 23:17 secrets.tdb



> - the samba version you were running before the upgrade

I was following the "samba" packages (not "samba4") so it would have
been from the version currently in testing: 2:3.6.19-1.


> - did you ever install samba4

No, not that I recall.  I suppose it's possible that I did install it
at one time, discovered it didn't work, then reverted.


> - do you have backups from before the upgrade? Could you get the contents of
>   smb.conf and the directory listings mentioned above from before the upgrade?

Yes, I have backups.  I'll recover them and send in a separate email.



> BTW please check the contents of this data before sending it to the bug. It
> might contain sensitive information (share names, user names, etc), you might
> want to strip out.

Appreciate the warning.  

-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20131018/6711a9e6/attachment.sig>


More information about the Pkg-samba-maint mailing list