Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-23 Thread Marcis Lielturks
Hi! Thanks, yes I was using -i. Now everything seems to work OK. My main reason, why I compiled samba - 16 group limitation, is solved too! Hopefully I'll later gather up few lines of instructions on how to get 3.5.4 compiling on OpenSolaris (snv_134). Thanks everybody for help! MMM by

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-23 Thread Marcis Lielturks
Hi! I still have problems, now user can't access share if he's member of more than 35 groups! I think I forgot to do one thing - modify /usr/include/limits.h to reflect new NGROUPS_MAX value in kernel. Can I check what NGROUPS_MAX value was used when compiling binaries? Will

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-23 Thread Marcis Lielturks
I recompiled samba with modified /usr/include/limits.h, but it didn't help. User cannot connect to share if he is member of more than 35 groups although share has permissions for one of users group. User can access share only if there is permissions for user or users primary group. I think

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-23 Thread Marcis Lielturks
I modified source3/lib/system.c to print max groups to debugging output and log.smbd outputs. [2010/07/23 15:13:37.690438, 0] lib/system.c:1032(groups_max) _SC_NGROUPS_MAX returned '1024' Where else to look? OS allows me to add user to up to 1024 groups, samba now works with up to 35

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-22 Thread Mārcis Lielturks
Hi! Ok, I now have compiled samba, that can join domain. Only thing, compiled before samba, is MIT Kerberos v5 (notice no LDAP!). * net ads join - WORKS * wbinfo -u/-g/-m - WORKS * nsswitch.conf entries are as follows passwd: files winbind group: files winbind * smbd, nmbd, winbind -

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-22 Thread Volker Lendecke
On Thu, Jul 22, 2010 at 11:13:40AM +0300, Mārcis Lielturks wrote: When tracing smbd with truss smbd -d10 -FiS I see some unsuccessfull stats for nss_winbind.so.1 library (I compiled without --enable-nss-wrapper). For now I'll try to recompile with this option and see what happens. 21017:

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-22 Thread Marcis Lielturks
Hey! Thanks! This helped to get id working, but not smbd. smbd still exiting when domain admin tries to access share, winbindd and nmbd keep running. Last lines from smbd read_fd_with_timeout: blocking read. EOF from client. receive_smb_raw: NT_STATUS_END_OF_FILE setting sec ctx (0, 0) -

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-22 Thread Volker Lendecke
On Thu, Jul 22, 2010 at 07:38:28PM +0300, Marcis Lielturks wrote: Thanks! This helped to get id working, but not smbd. smbd still exiting when domain admin tries to access share, winbindd and nmbd keep running. Last lines from smbd That's just roughly 1000 lines too little... We need the full

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-22 Thread Mārcis Lielturks
Hi! Here's 6 files in compressed tar archive. On 22 July 2010 20:52, Volker Lendecke volker.lende...@sernet.de wrote: On Thu, Jul 22, 2010 at 07:38:28PM +0300, Marcis Lielturks wrote: Thanks! This helped to get id working, but not smbd. smbd still exiting when domain admin tries to access

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-22 Thread Volker Lendecke
On Thu, Jul 22, 2010 at 09:51:40PM +0300, Mārcis Lielturks wrote: Here's 6 files in compressed tar archive. That looks all perfectly fine. The client just disconnects again after it has done some querying. How are you starting smbd? It a bit looks like you're starting it with -i, which for

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-20 Thread Mārcis Lielturks
Hi! I'm still stuck at the point where samba compiles, but I cannot join domain. I see SPNEGO login failure when using debug level 3 and failed to lookup DC info for domain 'DOMAIN.COM' over rpc: Logon failure on STDOUT. I have compiled: - openssl 0.9.8o - openldap 2.4.21 - MIT

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-19 Thread Marcis Lielturks
Hi! Here's comparison of net ads join output, between my first build of samba 3.5.4 that gave pkcs 11 error and second build, that is failing with rpc: Logon failure. Can anyone comment on differences. I'm starting to think, that the diff -u output say's that 2nd build is failing sooner than