[Samba] Cant get getent to work with Winbind

Joe Giles jgiles at joeman1.com
Thu Jun 27 10:54:03 GMT 2002


Hay, I enabled enum passwords and groups, restarted the services, and it works now. I guess you do have to have them enabled :)

Thanks

Joe

> I have this installed on 2 machines and I have the same results. Would you like to see a copy of my smb.conf file?
>  
>  Thanks
>  Joe
> > 
> > > Correct, I have this SymLk...
> > > 
> > > libnss_winbind.so.2 -> libnss_winbind.so
> > > 
> > > I also have glibc version 2.2.5-34
> > > 
> > > 
> > > Joe
> > > 
> > > 
> > > > I wouldn't know about th enum part, but if you're running on
> > > > Linux and you're using glibc you should have the correct
> > > > symlink in /lib (something like libnss_winbind.so.[1,2] -> 
> > > > libnss_winbind.so)
> > > > 
> > > > N.
> > > > 
> > > > 
> > > > 
> > > > --
> > > > Nir Soffer -=- Software Engineer, Exanet Inc. -=-
> > > > "Father, why are all the children weeping? / They are merely crying son
> > > >  O, are they merely crying, father? / Yes, true weeping is yet to come"
> > > >         -- Nick Cave and the Bad Seeds, The Weeping Song
> > > >  
> > > > 
> > > > > -----Original Message-----
> > > > > From: Joe Giles [mailto:jgiles at joeman1.com]
> > > > > Sent: Thursday, June 27, 2002 5:36 PM
> > > > > To: Nir Soffer; Joe Giles
> > > > > Subject: RE: [Samba] Cant get getent to work with Winbind
> > > > > 
> > > > > 
> > > > > I have libnss_winbind.so installed in the /lib folder and 
> > > > > here is the entry from my nsswitch file
> > > > > 
> > > > > 
> > > > > passwd:     files  winbind
> > > > > shadow:     files
> > > > > group:      files  winbind
> > > > > 
> > > > > then the hosts infor an such...
> > > > > 
> > > > > I have Enum Users and Groups dissabled in the SMB.CONF file 
> > > > > cause our domain is rather large and there was some 
> > > > > performance issues. Would this cause it?
> > > > > 
> > > > > Thanks for the help..
> > > > > 
> > > > > Joe
> > > > > 
> > > > > > 
> > > > > > If wbinfo -u and wbinfo -g work and getent doesn't, it 
> > > > > sounds like the
> > > > > > problem you're having is related to nss. Is the correct nss 
> > > > > library for
> > > > > > winbind installed? Is /etc/nsswitch.conf configured correctly?
> > > > > > 
> > > > > > Regards,
> > > > > > Nir.
> > > > > > 
> > > > > > --
> > > > > > Nir Soffer -=- Software Engineer, Exanet Inc. -=-
> > > > > > "Father, why are all the children weeping? / They are 
> > > > > merely crying son
> > > > > >  O, are they merely crying, father? / Yes, true weeping is 
> > > > > yet to come"
> > > > > >         -- Nick Cave and the Bad Seeds, The Weeping Song
> > > > > >  
> > > > > > 
> > > > > > > -----Original Message-----
> > > > > > > From: Joe Giles [mailto:jgiles at joeman1.com]
> > > > > > > Sent: Thursday, June 27, 2002 5:29 PM
> > > > > > > To: samba at lists.samba.org
> > > > > > > Subject: [Samba] Cant get getent to work with Winbind
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > All,
> > > > > > > 
> > > > > > > I am having trouble with the getent passwd and getent group 
> > > > > > > command. I am using 2.2.4-4 version of Samba on a redhat 
> > > > > > > system with 2.4.18-SMP kernel. This issue seems to be 
> > > > > > > intermittent. Sometimes is works and others it doesnt. More 
> > > > > > > often than  not, it failes. 
> > > > > > > 
> > > > > > > I can do a wbinfo -g and -u and get the info so I am 
> > > > > > > connected to the doamin, but not getent. This will affect my 
> > > > > > > users from loging on I think. Any thoughs as to how to fix this...
> > > > > > > 
> > > > > > > Thanks
> > > > > > > 
> > > > > > > Joe Giles
> > > > > > > jgiles at joeman1.com
> > > > > > > AOL ID: mcigiles
> > > > > > > 
> > > > > > > -- 
> > > > > > > To unsubscribe from this list go to the following URL and read the
> > > > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > Joe Giles
> > > > > jgiles at joeman1.com
> > > > > AOL ID: mcigiles
> > > > > 
> > > > 
> > > 
> > > 
> > > 
> > > 
> > > Joe Giles
> > > jgiles at joeman1.com
> > > AOL ID: mcigiles
> > 
> > 
> > 
> > 
> > Joe Giles
> > jgiles at joeman1.com
> > AOL ID: mcigiles
> 
> 
> 
> 
> Joe Giles
> jgiles at joeman1.com
> AOL ID: mcigiles
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 




Joe Giles
jgiles at joeman1.com
AOL ID: mcigiles




More information about the samba mailing list