Summary: | samba-server-3.3.7 does not authenticate existing local users | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Manolis Stamatogiannakis <mstamat> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED INVALID | ||
Severity: | major | CC: | tetromino |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Manolis Stamatogiannakis
2009-09-16 13:24:13 UTC
There's this bit among changes: The passdb tdbsam version has been raised as among other things the RID counter has been moved from the winbindd_idmap.tdb to the passdb.tdb file to make "passdb backend = tdbsam" working in clustered environments. Please note that an updated passdb.tdb file is _not_ compatible with Samba versions before 3.3.0! Please backup your passdb.tdb file if you use "passdb backend = tdbsam". That can be achieved by running 'tdbbackup /etc/samba/passdb.tdb' before the update. Relevant ? I've already tried using "passdb backend = tdbsam" after reading some comments in /etc/samba/smb.conf.default. I don't think it helps. An interesting aspect of the problem is that there is no problem when I use smbclient. Which is really weird. Could it be a PAM issue here? I would like to try completely wiping samba files (passwords etc) and resetting my password (there are no other users). Is there any other place except /var/lib/samba that I should wipe? (In reply to comment #1) > There's this bit among changes: > The passdb tdbsam version has been raised as among other things the RID counter > has been moved from the winbindd_idmap.tdb to the passdb.tdb file to make > "passdb backend = tdbsam" working in clustered environments. > > Please note that an updated passdb.tdb file is _not_ compatible with Samba > versions before 3.3.0! Please backup your passdb.tdb file if > you use "passdb backend = tdbsam". That can be achieved by running > > 'tdbbackup /etc/samba/passdb.tdb' > > before the update. > > Relevant ? > Same problem here with samba-server-3.3.8 Wiping /var/lib/samba (and reemerging samba-server, to recreate the directory structure) did not help. It looks like my problem wasn't with samba-3.3, it was with my ISP! Apparently, if your ISP redirects invalid DNS requests to advertisement pages (and many major ISPs in the US have started doing this), Samba stops working. To work around ISP idiocy, you have to: * add "name resolve order = lmhosts wins bcast host" to global section of smb.conf * add "wins" to hosts line in nsswitch.conf See https://bugs.launchpad.net/ubuntu/+source/samba/+bug/375593 and http://ubuntuforums.org/showthread.php?t=1169149 Seems to be fixed - samba-server package is removed (samba now), and the original issue seems to be braindead ISP. |