[Samba] Share permission problem if user is member in more than 16 groups on AD

2010-07-14 Thread Marcis Lielturks
Hi! Running OpenSolaris snv_134 with Samba 3.0.37. Samba is successfully joined to AD domain. AD user user1 is member in 17 AD groups including group1, but he cannot access Samba share which have read permissions for group1. If user account is modified and group1 becomes users primary group,

Re: [Samba] Auto directory creation not working

2010-07-15 Thread Marcis Lielturks
Hi! I think that root preexec is the smb.conf parameter you might be interested in. MMM On 07/15/10 10:44 AM, Rok Kosir wrote: Hello, I am experiencing problems with auto directory creation for user shares. I have samba instance that is authenticated against samba PDC, on PDC i have 2

Re: [Samba] Share permission problem if user is member in more than 16 groups on AD

2010-07-15 Thread Marcis Lielturks
Compiled 3.5.4 successfully, but new binaries seem to be defective or missing something. I get errors about PKCS 11 library calls when trying to join domain. I've seen these errors with original Samba 3.0.37 in log.winbindd and log.wb-DOMAIN, but besides that, 3.0.37 worked and could join

Re: [Samba] Share permission problem if user is member in more than 16 groups on AD

2010-07-16 Thread Marcis Lielturks
Hi! First of all, thanks for replies to all ;)! Using GCC was a fail for me - too much errors and 2 additional things must be compiled (tdb talloc) . I only managed to compile using Sun's cc and gmake and will stick to them. I'm a bit further now. Now I don't get PKCS 11 erros, when trying

Re: [Samba] Share permission problem if user is member in more than 16 groups on AD

2010-07-16 Thread Marcis Lielturks
native mode.Changing the client DNS settings on the samba machine seemed to help with locating the 2003 native mode. DC. On 07/16/2010 05:29 AM, Marcis Lielturks wrote: Hi! First of all, thanks for replies to all ;)! Using GCC was a fail for me - too much errors and 2 additional things

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-19 Thread Marcis Lielturks
and one AD domain that was in Windows 2003 native mode.Changing the client DNS settings on the samba machine seemed to help with locating the 2003 native mode. DC. On 07/16/2010 05:29 AM, Marcis Lielturks wrote: Hi! First of all, thanks for replies to all ;)! Using GCC was a fail for me

Re: [Samba] make fails with samba-3.5.4 Solaris 9

2010-07-20 Thread Marcis Lielturks
Hi! I had exactly the same behavior on OpenSolaris until I installed gnu make. I'm compiling Samba 3.5.4 using SunStudio12.1 cc and gnu make. MMM 00371 2832 7826 by the way, did you know, that mouse initially was invented just for simplifying text selection in xterm? On 07/20/10 11:37 PM,

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-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
/limits.h modifications be enough? MMM by the way, did you know, that mouse initially was invented just for simplifying text selection in xterm? On 07/23/10 10:49 AM, Marcis Lielturks wrote: Hi! Thanks, yes I was using -i. Now everything seems to work OK. My main reason, why I compiled samba

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-23 Thread Marcis Lielturks
for machine user was connecting from - on when user can connect and another when he cannot. MMM by the way, did you know, that mouse initially was invented just for simplifying text selection in xterm? On 07/23/10 12:57 PM, Marcis Lielturks wrote: Hi! I still have problems, now user can't

Re: [Samba] Compile 3.5.4 on Opensolaris snv_134

2010-07-23 Thread Marcis Lielturks
, Marcis Lielturks wrote: 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

Re: [Samba] Samba and ZFS

2010-08-04 Thread Marcis Lielturks
Hi! You also can run into problems if you have AD environment (workgroup mode could be affected as well btw) and users who are members of more than 16 groups and are using ZFS acls. Faced this problem and could not solve even by compiling samba 3.5.4, adding ngroups_max=1024 in /etc/system

Re: [Samba] Samba and ZFS

2010-08-05 Thread Marcis Lielturks
On 08/ 4/10 10:35 PM, David Magda wrote: On Wed, August 4, 2010 10:33, Gaiseric Vandal wrote: the ngroup_max issue isn't specific to an active directory environment.I found with samba 3.0.x, if you were in more than 16 groups, you might not have all the access you thought you should but