Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-13 Thread Miki Monguilod
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

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-12 Thread Andrew Morgan
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 OpenLdap libraries (usr/local/lib/libldap.*) and of course, nss_ldap is linked against Sun ldap's libraries /usr/lib/libldap.*) . The

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-12 Thread Tom Crummey
Hello Miki, nss_ldap.so is supposed to use the SUN ldap client libraries. It doesn' work with the OpenLDAP ones. However, it looks like there's a bug in the SUN LDAP library. If you've got a contract try raising a support call with SUN. -- Tom. --

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-12 Thread Miki Monguilod
Hi Gerald, We have Solaris 10 completely updated up today. About samba and libraries, we have compiled Samba againt OpenLdap libraries (usr/local/lib/libldap.*) and of course, nss_ldap is linked against Sun ldap's libraries /usr/lib/libldap.*) . The big deal is why is Samba using Sun's ldap lib

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-11 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miki Monguilod wrote: > Hi! > > Yesterday we finally get the stack trace of Samba. Here you have: > Program received signal SIGSEGV, Segmentation fault. > 0xfefd4f6c in _free_unlocked () from /lib//libc.so.1 > (gdb) bt > #0 0xfefd4f6c in _free_unlock

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-10 Thread Miki Monguilod
Hi! Yesterday we finally get the stack trace of Samba. Here you have: Program received signal SIGSEGV, Segmentation fault. 0xfefd4f6c in _free_unlocked () from /lib//libc.so.1 (gdb) bt #0 0xfefd4f6c in _free_unlocked () from /lib//libc.so.1 #1 0xfefd4f14 in free () from /lib//libc.so.1 #2 0xfe

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-04 Thread Miki Monguilod
Hi, I've compiled samba 3.0.20a version, but the problem still continues Otherwise, thanks for telling me. bye! Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miki Monguilod wrote: zeus3:/var/log/samba# cat log.172.16.1.187 [2005/12/28 19:37:44, 0] lib

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2006-01-04 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miki Monguilod wrote: > zeus3:/var/log/samba# cat log.172.16.1.187 > [2005/12/28 19:37:44, 0] lib/fault.c:fault_report(36) > === > [2005/12/28 19:37:44, 0] lib/fault.c:fault_report(37) > IN

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2005-12-29 Thread Miki Monguilod
Hi, I've got the logs in "log level 10" and a "truss" of the PID that tries to connect one of the problematic "shares". Both files are in: log file: http://www.salleurl.edu/~mikim/log.txt 'truss' file: http://www.salleurl.edu/~mikim/truss.txt well, I explain you the situation: I log in the win

Re: [Samba] "valid users" + ldap on Solaris 10 problems

2005-12-28 Thread Miki Monguilod
Hi, We are currently using Directory Server 5.2 but in a different machine. I've look for this error in /var/adm/messages and it doesn't appear. On the other hand, I show you my config file (using 'testparm' command): [global] unix charset = CP850 workgroup = MYWORKGROUP se

[Samba] "valid users" + ldap on Solaris 10 problems

2005-12-28 Thread Miki Monguilod
Hello, We have just migrated a server from sun solaris 8 to sun solaris 10. In the old machine we had a Samba 3.0.20b and in the new one, we have samba 3.0.21, both compiled like this with no problems: env LD_FLAGS="-L/usr/local/lib" ./configure --with-ldapsam --without-pam --with-quotas --wit