winbind

Thierry ITTY thierry.itty at besancon.org
Mon Mar 8 02:51:08 UTC 2004


you don't have to create linux users when using winbind
it's all in the way you configure your accesses

for example

in /etc/nsswitch.conf :
passwd:     files winbind ...
shadow:     files winbind ...
group:      files winbind ...

in /etc/pam.d/samba
auth    sufficient      /lib/security/pam_pwdb.so       shadow  
auth    required        /lib/security/pam_winbind.so                    
account sufficient      /lib/security/pam_pwdb.so                       
account required        /lib/security/pam_winbind.so                    

the first will be used to gather users/groups information
the second to allow samba access using domain accounts

hth


A 20:54 05/03/2004 +0200, vous avez écrit :
>Hi All,
>
>I am using winbind for the first time. I can see a list off
>all the users and groups in a windows 2000 domain from my
>RH9 box.
>
>I use samba to make a few shares available to the windows
>clients. If i want the windows clients to access the share
>i have to create their username on the linux box but i do
>not need to create a passwd for them because winbind is
>getting it from the w2k DC. Why do i need to create a user
>on the linux box? Why cant it get it from the DC like with
>the passwd?
>
>I am also trying to login with a user/passwd created on the
>w2k DC on the RH9 box but it doesnt want to work. I want to
>be able to login with any domain account on the RH9 box
>without createing any user/passwd on the RH9 box. I also
>want to be able to connect from a w2k machine to smb shares
>without having to create their user account on the RH9
>box.Am i doing anything wrong or cant this be done? 
>
>The RH9 box has successfully joined the w2k domain.





More information about the redhat-list mailing list