[Samba] nsswitch.conf & winbind

David Michaels dragon at raytheon.com
Wed Apr 20 20:42:25 GMT 2005


Samba 3.0.4 // Solaris 8

I saw this behavior as well, when doing wbinfo -u or -g, when I had 
"winbind default domain = yes" in my smb.conf file.  If you comment that 
out, then restart winbind, you should see your domain in wbinfo -u and 
-g.  For me, "getent" still returns my NIS entries only, but I think 
it's because I didn't properly install the "nsswitch" stuff from Samba.  
I'm tinkering with that now.  I don't think it's installed by default, I 
think you have to do some manual copying for that to work.

I'll post results once/if I get it working.

--Dragon


Guillaume C. wrote:

>Hi!
>When a configured samba server i enter the following
>command, i don't see any of my domain user.
>
>MORGOTH:~# getent passwd
>root:x:0:0:root:/root:/bin/bash
>daemon:x:1:1:daemon:/usr/sbin:/bin/sh
>bin:x:2:2:bin:/bin:/bin/sh
>sys:x:3:3:sys:/dev:/bin/sh
>...
>nobody:x:65534:65534:nobody:/home:/bin/sh
>guillaume:x:1000:1000:Guillaume
>C.,,,:/home/guillaume:/bin/bash
>identd:x:100:65534::/var/run/identd:/bin/false
>sshd:x:101:65534::/var/run/sshd:/bin/false
>
>It don"t list the domain user. but, the command wbinfo
>-ug list all I want...
>
>Here is my nsswitch.conf file
>#####/etc/nsswitch.conf#####
>############################
>passwd:         compat winbind
>group:          compat winbind
>shadow:         compat
>
>hosts:          files wins  dns
>networks:       files
>
>protocols:      db files
>services:       db files
>ethers:         db files
>rpc:            db files
>
>netgroup:       nis
>
>
>I don't think that the error come from this file
>but....
>
>Thanks for your help.
>
>
>
>
>
>
>	
>
>	
>		
>__________________________________________________________________
>Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails ! 
>Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
>  
>

-- 

	Raytheon 	

	*David P. Michaels*
Senior Multi-Disciplined Engineer II W.H.
NPOESS IS
Platform OS Unix
303.344.6840
720.858.5952 fax
720.521.0561 pager
dragon at raytheon.com <mailto:dragon at raytheon.com> 	*aka "Dragon"*

"I wonder what news is doing..."

 news at newshost <29> ps -fu news      
 news 18624 12367 2 0:00 makehistory 

"News is making history."
      



More information about the samba mailing list