Greetings from NY! I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#########.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box. I start smbd and nmbd as I usually do. Then I start winbindd I verified that they are running. I run : smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator Password: Joined domain DOMAIN. Ok, so I'm in the domain Then I run: [root@tux src]# wbinfo -t Secret is good Even better, my secret is good! Then I try and list users/groups: [root@tux src]# wbinfo -u Error looking up domain users [root@tux src]# wbinfo -g Error looking up domain groups And I sit there starting blankly at the screen, searching google, etc, then I join the SaMBa mailing list and cross my fingers that there is someone out there who can help! I'm trying to integrate this Linux/SaMBa server into my Microsoft-only Company, and so far the powers that be are up to it, but I want to show them that the Linux fileserver can authenticate against their current Windows 2000 Server domain controllers so we don't need 2 separate user databases. Any assistance is much appreciated! Regards, -SP ========================================================== \ / ____/ / Sean Patrick Ingles \ / / / Jr. Network Engineer \ / ___ / / \ / / / Vision Systems, Inc. __/ ____/ _/ 142 State Street Albany, NY 12207 www.visionsys.com <http://www.visionsys.com> Landline: +1 518.434.4300 x1406 ingless@visionsys.com <mailto:ingless@visionsys.com> Fax: +1 518.434.4304 ========================================================= -------------- next part -------------- HTML attachment scrubbed and removed
This may be an obvious question, but we had to add the machine to the domain with winbind and samba not running, I am assuming that you have started samba and winbind before trying the wbinfo tests? Karen Wieprecht -------------- next part -------------- HTML attachment scrubbed and removed
Skipped content of type multipart/alternative
---- Original Message ----- From: Sean Patrick Ingles To: samba@samba.org Sent: Thursday, October 31, 2002 2:43 PM Subject: [Samba] Winbindd not listing users/groups Greetings from NY! I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#########.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box. I start smbd and nmbd as I usually do. Then I start winbindd I verified that they are running. I run : smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator Password: Joined domain DOMAIN. Ok, so I'm in the domain Then I run: [root@tux src]# wbinfo -t Secret is good Even better, my secret is good! Then I try and list users/groups: [root@tux src]# wbinfo -u Error looking up domain users [root@tux src]# wbinfo -g Error looking up domain groups ---------------------------------------- wbinfo -A Administrator%password Please lose the HTML Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :.
---- Original Message ----- From: Sean Patrick Ingles To: samba@samba.org Sent: Thursday, October 31, 2002 2:43 PM Subject: [Samba] Winbindd not listing users/groups Greetings from NY! I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#########.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box. I start smbd and nmbd as I usually do. Then I start winbindd I verified that they are running. I run : smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator Password: Joined domain DOMAIN. Ok, so I'm in the domain Then I run: [root@tux src]# wbinfo -t Secret is good Even better, my secret is good! Then I try and list users/groups: [root@tux src]# wbinfo -u Error looking up domain users [root@tux src]# wbinfo -g Error looking up domain groups ---------------------------------------- wbinfo -A Administrator%password Please lose the HTML Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :.
As requested: Here is my smb.conf (I have it stripped down to eliminate anything else, once I get winbindd working I plan on defining shares, etc): Also I noticed that occasionally _something_ happens and I cannot login to the linux box at all when winbindd has been running, I have to hit the reset button. [global] workgroup = DOMAIN server string = Samba %v -- TEST -- security = domain password server = Windows2kDomainController winbind uid = 10000-20000 winbind gid = 10000-20000 winbind separator = + winbind cache time = 10 winbind enum users = Yes winbind enum groups = Yes password server = * Also here is my /etc/pam.d/authconfig #%PAM-1.0 auth sufficient /lib/security/pam_rootok.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_stack.so service=system-auth account required /lib/security/pam_winbind.so #account required /lib/security/pam_permit.so session optional /lib/security/pam_xauth.so session required /lib/security/pam_permit.so Let me know of you need anything further! -SP -----Original Message----- From: Jennifer Fountain [mailto:JFountain@rbinc.com] Sent: Thursday, October 31, 2002 9:56 AM To: Sean Patrick Ingles; samba@samba.org Subject: RE: [Samba] Winbindd not listing users/groups Can you send me (the list) your smb.conf file? -----Original Message----- From: Sean Patrick Ingles [mailto:ingless@visionsys.com] Sent: Thursday, October 31, 2002 9:43 AM To: samba@samba.org Subject: [Samba] Winbindd not listing users/groups Greetings from NY! I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#########.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box. I start smbd and nmbd as I usually do. Then I start winbindd I verified that they are running. I run : smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator Password: Joined domain DOMAIN. Ok, so I'm in the domain Then I run: [root@tux src]# wbinfo -t Secret is good Even better, my secret is good! Then I try and list users/groups: [root@tux src]# wbinfo -u Error looking up domain users [root@tux src]# wbinfo -g Error looking up domain groups And I sit there starting blankly at the screen, searching google, etc, then I join the SaMBa mailing list and cross my fingers that there is someone out there who can help! I'm trying to integrate this Linux/SaMBa server into my Microsoft-only Company, and so far the powers that be are up to it, but I want to show them that the Linux fileserver can authenticate against their current Windows 2000 Server domain controllers so we don't need 2 separate user databases. Any assistance is much appreciated! Regards, -SP ========================================================== \ / ____/ / Sean Patrick Ingles \ / / / Jr. Network Engineer \ / ___ / / \ / / / Vision Systems, Inc. __/ ____/ _/ 142 State Street Albany, NY 12207 www.visionsys.com <http://www.visionsys.com> Landline: +1 518.434.4300 x1406 ingless@visionsys.com <mailto:ingless@visionsys.com> Fax: +1 518.434.4304 ========================================================= -------------- next part -------------- HTML attachment scrubbed and removed
I entered wbinfo -A Administrator%password And now wbinfo -t says: Secret is bad 0xc0000001 Any thoughts? -SP -----Original Message----- From: Gareth Davies [mailto:gdavies@willowbrook.co.uk] Sent: Thursday, October 31, 2002 10:05 AM To: Sean Patrick Ingles; samba@samba.org Subject: Re: [Samba] Winbindd not listing users/groups ---- Original Message ----- From: Sean Patrick Ingles To: samba@samba.org Sent: Thursday, October 31, 2002 2:43 PM Subject: [Samba] Winbindd not listing users/groups Greetings from NY! I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#########.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box. I start smbd and nmbd as I usually do. Then I start winbindd I verified that they are running. I run : smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator Password: Joined domain DOMAIN. Ok, so I'm in the domain Then I run: [root@tux src]# wbinfo -t Secret is good Even better, my secret is good! Then I try and list users/groups: [root@tux src]# wbinfo -u Error looking up domain users [root@tux src]# wbinfo -g Error looking up domain groups ---------------------------------------- wbinfo -A Administrator%password Please lose the HTML Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :.
We have had better luck adding the machine account on the NT domain controller, then joining the domain with the smbpasswd command rather than trying to do the whole thing from the smbpasswd command. You could try deleting the machine account, deleting your secrets.tdb file, and starting that process over. Karen Wieprecht -----Original Message----- From: Sean Patrick Ingles [mailto:ingless@visionsys.com] Sent: Thursday, October 31, 2002 10:20 AM To: Gareth Davies Cc: samba@samba.org Subject: RE: [Samba] Winbindd not listing users/groups I entered wbinfo -A Administrator%password And now wbinfo -t says: Secret is bad 0xc0000001 Any thoughts? -SP -----Original Message----- From: Gareth Davies [mailto:gdavies@willowbrook.co.uk] Sent: Thursday, October 31, 2002 10:05 AM To: Sean Patrick Ingles; samba@samba.org Subject: Re: [Samba] Winbindd not listing users/groups ---- Original Message ----- From: Sean Patrick Ingles To: samba@samba.org Sent: Thursday, October 31, 2002 2:43 PM Subject: [Samba] Winbindd not listing users/groups Greetings from NY! I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#########.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box. I start smbd and nmbd as I usually do. Then I start winbindd I verified that they are running. I run : smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator Password: Joined domain DOMAIN. Ok, so I'm in the domain Then I run: [root@tux src]# wbinfo -t Secret is good Even better, my secret is good! Then I try and list users/groups: [root@tux src]# wbinfo -u Error looking up domain users [root@tux src]# wbinfo -g Error looking up domain groups ---------------------------------------- wbinfo -A Administrator%password Please lose the HTML Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Everyone - I have successfully solved my problem with help from Gareth! I entered: wbinfo -A Administrator%"my long admin pw" (with the quotes) then I sent SIGHUP to winbindd and I can now list users and groups! Thanks a million Gareth! -SP -----Original Message----- From: Sean Patrick Ingles Sent: Thursday, October 31, 2002 10:20 AM To: Gareth Davies Cc: samba@samba.org Subject: RE: [Samba] Winbindd not listing users/groups I entered wbinfo -A Administrator%password And now wbinfo -t says: Secret is bad 0xc0000001 Any thoughts? -SP -----Original Message----- From: Gareth Davies [mailto:gdavies@willowbrook.co.uk] Sent: Thursday, October 31, 2002 10:05 AM To: Sean Patrick Ingles; samba@samba.org Subject: Re: [Samba] Winbindd not listing users/groups ---- Original Message ----- From: Sean Patrick Ingles To: samba@samba.org Sent: Thursday, October 31, 2002 2:43 PM Subject: [Samba] Winbindd not listing users/groups Greetings from NY! I am running SaMBa version 2.2.6 compiled from source on a RedHat 7.3 (Linux tux.#########.net 2.4.19 #1 Fri Oct 25 15:39:52 EDT 2002 i686 unknown) box. I start smbd and nmbd as I usually do. Then I start winbindd I verified that they are running. I run : smbpasswd -j DOMAIN -r Windows2kDomainController -U Administrator Password: Joined domain DOMAIN. Ok, so I'm in the domain Then I run: [root@tux src]# wbinfo -t Secret is good Even better, my secret is good! Then I try and list users/groups: [root@tux src]# wbinfo -u Error looking up domain users [root@tux src]# wbinfo -g Error looking up domain groups ---------------------------------------- wbinfo -A Administrator%password Please lose the HTML Shaolin - IT Systems WB Ltd. .: http://www.security-forums.com :. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba