Summary: | net-fs/samba-server-3.4.2[tdb]: "smb passwd file" config directive ignored | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | [OLD] Server | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bfx81, hyedad, mmokrejs |
Priority: | High | ||
Version: | 2008.0 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://us3.samba.org/samba/history/samba-3.4.0.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin von Gagern
2009-10-12 18:05:22 UTC
In a way INVALID (read the changes), but I don't use samba. Unless as an upstream doc bug. Though perhaps elog warning would be useful. (In reply to comment #1) > Unless as an upstream doc bug. Not even sure there; they MIGHT intend the "smb passwd file" directive so that admins can specify the type of backend in one place using passdb backend, and the location for it in another place. Dunno. Some remark would still be useful, though. Sall I report this upstream? > Though perhaps elog warning would be useful. Definitely, and it's a solution I can live with. OK, lets see, if this gets some response. I guess this is the cause of the problem: http://www.samba.org/samba/history/samba-3.4.0.html > Major enhancements in Samba 3.4.0 include: > ------------------------------------------ > > Configuration changes: > o The default passdb backend has been changed to 'tdbsam'! HTH, Marcel This change in backends should have at least warranted a news flash via eselect... I mean really... Ran into same problem, why has this broken ebuild been unmasked and marked as stable, it is broken, smbusers can't access anymore... Cmon guys this really costs time I do not have... switched back to 3.0.37 ... *** Bug 319337 has been marked as a duplicate of this bug. *** I just hit this as well. One of the nice folks at #samba worked me through it. Basically you can upgrade your old smbpasswd file to the tdb database with pdbedit -i smbpasswd:/path/to/oldfile -e tdbsam:/path/to/newfile In my case the old file was in /etc/samba/smbpasswd, and the new one (the default where samba now looks on gentoo without extra config) is /var/lib/samba/private/passdb.tdb Hopefully this can make its way into a news, or ewarn in the ebuild for other people. *** Bug 314817 has been marked as a duplicate of this bug. *** we are all agree about the source of the problem after upgrading to samba 3.4, but probably a different bug regarding the task "document/warn the user" would be more helpful... I've added an elog text to both samba 3.4 and 3.5, perhaps it's too late to fire a news item. Sorry for all the inconveniences *** Bug 352869 has been marked as a duplicate of this bug. *** |