What are you running as a PDC?
Post by Stuart MuellerI have also got PAM working on Slackware,
I was hoping that I wouldn't need PAM.
Post by Stuart MuellerI removed
samba from my slack install. then downloaded the source. i used the source
that comes with my disks rather than the latest samba version (I didn't
have much luck with samba 3)
I was hoping it would work without all of that. I was
thinking of downloading the Slack Samba 3.0 package and
trying it. It would be nice to have a BDC, which 3.0 can do.
Post by Stuart MuellerI then recompiled samba with the --with-winbind switch,
Is the version included in Slack not compiled with the
winbind switch? It seems to recognize the the daemon when
its running.
Post by Stuart Muellerafter make this gives the libnss_winbind.so file
I was surprised to find winbindd in Slack and not find the
library. I think it might work if the library were present.
It seems to be trying to.
Post by Stuart Muellerwhich should be copied to the /lib
folder, you should also make a symlink to libnss_winbind.so.2.
I read that in the winbindd man page. That's how I found out
that the library was not there.
Post by Stuart MuellerThen edit the /etc/nsswitch file so that you have these entries
passwd: files winbind nis
shadow: files nis
group: files winbind nis
Did that, except I'm not running nis.
Post by Stuart Muellerstop smbd and nmbd as well as winbindd if it is running, type
smbpasswd -j DOMAIN -r PDC_NAME -U DOMAIN\USERNAME making sure that the
file secrets.tdb doesn't exist and that there is not account on the PDC
for the machine.
Did that.
Post by Stuart MuellerYou should then get a message saying welcome to the DOMAIN domain. start
smbd and nmbd and winbindd, type wbinfo -t to check the secrets file, type
wbinfo -u to give a list of users on the PDC and getent passwd gives a
list of local and domain users.
Did that.
Post by Stuart MuellerMake sure your smb.conf file is correct and has the proper winbind
settings, I can post mine if you aren't sure
I have changed mine according the winbindd man page but, I'm
not sure they are correct, since I'm apparently missing the
library needed to make it all work.
Thanks. Maybe someone else will chime in here and say there
is a simpler way to make it work.
--
Rob
"Never ascribe to malice that which can adequately be
explained by stupidity."