Click to See Complete Forum and Search --> : Samba and winbind help


Any
09-24-2002, 09:49 AM
HI
Im trying to set up a linux PC to see if it can do everything our windows desktop machines can.

I need to set samba up so that it can log on to a windows PDC and take user/groups from it. Then i can share folders on the linux machines without the users needing to be a user on each linux PC.

Is this what winbind is for? Im having trouble finding much information on what it does and how to configure it. Or even if it is part of samba(i guess it is). Can anyone point me in the right direction please?

Im using RedHat 7.3, without SWAT as it doesnt seem to be installed.

Thanks for any help.

Any

sandman65
09-24-2002, 10:25 AM
I am new to linux but I managed to do it following to the letter the article at http://asia.cnet.com/itmanager/netadmin/printfriendly.htm?AT=39050042-39006400t-39000223c

The only problem that I have is that I can no longer log in to Swat but apart from that everything works great.
Good luck
Sandman65

vestar
09-24-2002, 10:42 AM
Use LinNeighborhood, I say!
It's included in the Mandrake 8.2 distro.

Or to be found at: www.bnro.de/~schmidjo/ (http://www.bnro.de/~schmidjo/)

Any
09-24-2002, 10:53 AM
Thanks Sandman, that article looks like what im after. Will give it a go. Swat hasnt worked yet so thats no real loss. :p

Im allready using LinNeighborhood vestar :)

Any

vestar
09-24-2002, 10:59 AM
K.
Sorry to bother then... :)

jumpedintothefire
09-24-2002, 10:18 PM
You should have a look at your
/usr/share/doc/samba-2.2.5/docs/htmldocs/winbind.html

I'd suggest you read up on PAM as well...

opps almost forgot, I uninstalled the RH rpm and use the rpm from samba.org

I set this up, works well, no need to have local accounts with login setup like that... Going to uses it for pop3 mail.... :D

sandman65
09-25-2002, 06:41 AM
If you follow the article that I told you about take the advice that jumpedintothefire gave me and modify your pam.d/samba file to look like the following, that way you will be able to use swat as well:

>>auth required /lib/security/pam_winbind.so
root is not a user on the pdc... and all the auth request are going there...

try this...


#%PAM-1.0
auth sufficient /lib/security/pam_winbind.so
auth sufficient /lib/security/pam_unix.so use_first_pass
auth required /lib/security/pam_stack.so service=system-auth
account required /lib/security/pam_stack.so service=system-auth
account sufficient /lib/security/pam_winbind.so
password required /lib/security/pam_stack.so service=system-auth
session required /lib/security/pam_stack.so service=system-auth

Sould give the option of using a local account...
back your config up first..
Hope it works for you...