[Samba] Winbind issues
I am having problems with Samba and Winbind on RedHat 8.0. Just to let you know I am a Samba and Linux newbie please be gentle. I have put the settings of my files at the end of this message in case these can help. Here is my problem. I can access a share created in the smb.conf file from my NT domain, if that share is shared to a domain group. (valid users = domain+group). However when I issue the command wbinfo -u or wbinfo - g i get the following reponse: 'Error looking up domain users' or 'groups'. If I issues wbinfo -r domainname+usersname I get a listing of the gid's that these groups are using. If I issue: getent -groups only local groups are enumerated What I need to understand is: Why do wbinfo -u and -g and getent not work? If I get them to work, I also need to understand one other thing, will the domain groups be visible in the "User and Groups" in the Gnome Gui? I have read the manpages, and applied the settings as they instruct. I have joined the domain, wbinfo -t tells me "the secret is good". Also if you can let me know. Is Samba working and not winbind? or is part of Winbind working? Any help or directions on what book to buy, or site to visit will be appreciated. *** My smb.conf file has the following items in it: [global] winbind separator = + winbind uid = 1-2 winbind gid = 1-2 winbind enum users = yes winbind enum groups = yes winbind cache time = 15 # workgroup = NT-Domain-Name or Workgroup-Name workgroup = MyDomain # server string is the equivalent of the NT Description field server string = Sfa-SMB1 security = domain My nsswitch.conf file looks like this: passwd: files nis winbind shadow: files nis winbind group: files nis winbind My Pam.d\samba file looks like #%PAM-1.0 auth required /lib/security/pam_securetty.so auth required /lib/security/pam_nologin.so auth required /lib/security/pam_smb_auth.so auth sufficient /lib/security/pam_winbind.so ;auth required/lib/security/pam_pwdb.so use_first_pass shadow nullok auth required /lib/security/pam_pwdb.so accountrequired /lib/security/pam_winbind.so ;sessionrequiredpam_stack.so service=system-auth ;password requiredpam_stack.so service=system-auth password required /lib/security/pam_cracklib.so password required /lib/security/pam_pwdb.so use_first_pass shadow nullok sessionrequired /lib/security/pam_pwdb.so -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Winbind issues
I have RH 8.0, and Samba 2.2.5. I have followed the Man pages and setup Samba,Winbind, and edited PAM settings. I am having some problems I was hoping you could help with. Here is some basic testing info I have performed based on the questions you seem to ask. I have joined the domain successfully. (smbpasswd -j Domain -r PDC - U administrator) I can create a share, and browse if from Network Neighborhood. ** wbinfo - t Secret is Good wbinfo -n DOMAINUSERNAME gives me the users sid wbinfo -m no results wbinfo -a domain+user%password Plaintext password authentication succeeded error code was NT_STATUS_OK (0X0) wbinfo -u or -g Error looking up domain (users/groups) getent passwd lists only local users getent group lists only local groups. Does anyone know what I might have done incorrectly? Or what I still need to do to get this to work properly. I am assuming that since the group and user listings fail that something is just not right. Thanks for any and all help Rich -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Winbind issues
Original Message - From: "Richard Coyle" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 3:06 PM Subject: [Samba] Winbind issues > I have RH 8.0, and Samba 2.2.5. > > I have followed the Man pages and setup Samba,Winbind, and edited PAM > settings. I am having some problems I was hoping you could help with. > > > Here is some basic testing info I have performed based on the questions you > seem to ask. > > I have joined the domain successfully. (smbpasswd -j Domain -r PDC - U > administrator) > I can create a share, and browse if from Network Neighborhood. > > ** > wbinfo - t > Secret is Good > wbinfo -n DOMAINUSERNAME > gives me the users sid > wbinfo -m > no results > wbinfo -a domain+user%password > Plaintext password authentication succeeded > error code was NT_STATUS_OK (0X0) > Check that you have copied /sambapackage/source/nsswitch/pam_winbind.so into /lib/security/pam_winbind.so Make sure you have copied /sambapackate/source/nsswitch/libnss_winbind.so to /lib/libnss_winbind.so and done ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2 Make sure you have added the correct entries to nsswitch.conf Next do wbinfo -A Administrator%password (please not this IS DIFFERENT from wbinfo -a) All should be well. Regards Shaolin * This email has been checked by the altohiway e-Sweeper Service * -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba