[Samba] PDC with NSVSD/smbpasswd ok, but MySQL backend not quite
James MacLean
macleajb at ednet.ns.ca
Sat Feb 19 02:52:52 GMT 2005
Hi Folks,
Samba-3.0.11.
. Using /etc/passwd, /etc/group, smbpasswd - everything in the PDC world
seems fine.
. Using /etc/passwd, /etc/group, MySQL backend - I can join the domain
but get an error about not being able to find a domain controller when I
try to login to the domain with an mysql user. Logging in as root is ok,
but likely that is because I use both mysql and smbpasswd backends.
. Using the new NSS http://fssos.sourceforge.net/ works ok if I use
smbpasswd.
. Once I switch to NSVS(NSS) and MySQL, I can not log any new users in,
but, if I log in as user who originally got in by being in smbpasswd but
has since been deleted from smbpasswd, I can continue to login
successfully if they exist in the MySQL.
. net rpc group info <smbpasswd user> gives all group info from /etc/group.
. net rpc group info <mysql only user> shows none of the groups they
belong to regardless of there existance in /etc/passwd
Long story short... I can only get a new user logged into a PC via the
domain for their first time if they have an entry in smbpasswd. After
that, being in the MySQL backend appears to be enough.
I can pass along configs if needed, but since it works accept for the
mysql change I didn't want to confuse the problem. I don't see the
NSS/NSVS being any influence, but wanted to show how the solution was
meant to fit together :).
Is this a known limitation in the MySQL backend or more likely, am I
setting something up incorrectly?
thanks,
JES
More information about the samba
mailing list