Miki Monguilod Serena
2006-Jan-12 19:35 UTC
[Fwd: Re: [Samba] -- SOLVED -- "valid users" + ldap on Solaris 10 problems]
Hi All! We have just solved the problem. The error resides in the code placed in /samba-X.X.X/source/lib/util_getent.c between line 275 and 291 . By default, when you compile samba with solaris support, samba uses "getgrnam" function because of the "BROKEN_GETRNAM=1" in Makefile. This function is what's making samba going wrong. The soluction was to undefine "BROKEN_GETRNAM" in order to make samba use " getgrent()" funtcion instead. Thanks for all your help guys! bye!> On Thu, 12 Jan 2006, Miki Monguilod wrote: > >> Hi Gerald, >> >> We have Solaris 10 completely updated up today. >> About samba and libraries, we have compiled Samba againt OpenLdaplibraries>> (usr/local/lib/libldap.*) and of course, nss_ldap is linked against Sunldap's libraries /usr/lib/libldap.*) .>> The big deal is why is Samba using Sun's ldap libraries instead ofOpenLdap>> one's when is getting any group entry. >> Otherwise thanks for your reply. Have anybody got more ideas? > > I bet it works if you run nscd... :) > > Andy > -- > To unsubscribe from this list go to the following URL and read theinstructions: https://lists.samba.org/mailman/listinfo/samba>