Samba 2.2.2 / PAM / Winbind

MCCALL,DON (HP-USA,ex1) don_mccall at hp.com
Tue Jan 8 14:30:05 GMT 2002


Hi Josh;
Check your /etc/nsswitch.conf on the working system and the broken system,
and make sure that both have winbind as a method for looking up passwd and
group.
Verify that this part is working by 
doing a getpwent prfmstr2+ejwk; it should come back with information about
the user.
Make sure that the winbindd daemon is actually running.
Also make sure that you copied the appropriate libnss_winbind.so to the
/usr/lib/... for your system.

Finally, you may want to stop nmbd smbd and winbindd, and remove and
recreate the machine account in your PRFMSTR2 domain for the non working
samba installation, and then use smbpasswd -j prfmstr2 -r pdc-name  to
rejoin the domain, and try again.

Hope this helps,
Don


-----Original Message-----
From: Josh Konkol [mailto:susesambaboy at yahoo.com]
Sent: Tuesday, January 08, 2002 4:25 PM
To: Samba List
Subject: Samba 2.2.2 / PAM / Winbind


We are running Suse 7.3 on an s/390 and trying to get the combination of 
Samba 2.2.2 / PAM / Winbind to work.  I have multiple instances setup and I 
have one that is working.  Problem is I can't get any other ones to work.  I

have followed the exact same procedure yet I'm missing something.  I have 
been struggling with this for some time and hope someone out there can help.

I have compared the two instances and the ONLY difference I'm seeing is when

the client tries to connect.

In the log.smbd on the working instance I get the following:

  Domain=[PRFMSTR2]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000

5.0]
[2002/01/08 09:16:58, 3] smbd/reply.c:reply_sesssetup_and_X(866)
  sesssetupX:name=[$ejwk]
[2002/01/08 09:16:58, 3] smbd/reply.c:reply_sesssetup_and_X(927)
  Using unix username PRFMSTR2+$ejwk
[2002/01/08 09:16:58, 3] libsmb/namequery.c:resolve_lmhosts(749)
  resolve_lmhosts: Attempting lmhosts lookup for name GIGDC1<0x20>

In the log.smbd on the NOT working instance i get:

  Domain=[PRFMSTR2]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000

5.0]
[2002/01/08 19:24:30, 3] smbd/reply.c:reply_sesssetup_and_X(866)
  sesssetupX:name=[$ejwk]
[2002/01/08 19:24:30, 3] libsmb/namequery.c:resolve_lmhosts(749)
  resolve_lmhosts: Attempting lmhosts lookup for name GIGDC1<0x20>

To simplify this, in the working instance I can see it translating the 
username to unix username PRFMSTR2+$ejwk, but this step is skipped in the 
broken one.

I suspect this is a PAM or NSSWITCH problem ?? I know it's something I 
did/didn't do.  

ANY help is appreciated!!

Josh Konkol, CNE MCSE

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list