Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

[Samba] samba3 backend ldap max groups..

 
   Soft32 Home -> Linux -> Samba RSS
Next:  [Samba] Bizarre Problem ( Samba 3/Win2k )  
Author Message
manuel.piessnegger

External


Since: Oct 21, 2003
Posts: 4



(Msg. 1) Posted: Thu Oct 30, 2003 8:10 am
Post subject: [Samba] samba3 backend ldap max groups..
Archived from groups: linux>samba (more info?)

Hello,

I'm testing samba3 with the backend ldap on Linux to replace our NT 4
Domain.
OS: Linux UL1
Samba3
OpenLdap 2.1
Samba3 works as PDC with the backend ldapsam.

There a problem I'm still hanging. If a user is member of more then 32
groups I just can work with my defaultGroup (atrribute:
sambaPrimaryGroupSID),
all other authorisation will be denied although the user is member of all
others groups too.
But if the user is member of less then 32 groups everything works perfect.

This restriction comes from Linux (NGroup_Max : 32). Is this the only
workaround, too recompile the kernel?
Did samba support groupmember more then 32? Have someone a idee to manage
this problem?

Regards Manuel

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
"Gerald

External


Since: Aug 27, 2003
Posts: 1431



(Msg. 2) Posted: Thu Oct 30, 2003 4:40 pm
Post subject: Re: [Samba] samba3 backend ldap max groups.. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

manuel.piessnegger DeleteThis @straumann.com wrote:
|
| This restriction comes from Linux (NGroup_Max : 32).
| Is this the only workaround, too recompile the kernel?
| Did samba support groupmember more then 32? Have someone
| a idee to manage this problem?

There is a possiblity to take the first 32 groups
and truncate the list for initgroups(). That's the
call that is failing. Problem with this is that
can provide some random behavior. Access works one
times and fails another session.

I think bumping the max groups up and recompiling is the
best solution, but then you might have to recompile your
entire system Smile (well maybe just glibc but that's enough).



cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard ------------------------- http://www.hp.com
~ SAMBA Team ---------------------- http://www.samba.org
~ GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~ --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/oYOcIR7qMdg1EfYRArL4AJ0XmRjS4ns2FleyQQmxbd2mvsisoACg7o91
w14KrWUFOnknqfqK1COcQA8=
=gWqL
-----END PGP SIGNATURE-----

--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Back to top
Login to vote
Display posts from previous:   
Related Topics:
[Samba] Samba3 password backend - Hi! I tried to upgrade to Samba3 (RedHat Linux) but I couldn't find any doc about setting plain password backend. Thi...

[Samba] Authenticating to BDC with LDAP backend - Hello, I'm still trying to get this straightened out. I have the following system: System description RedHat 8.0 LDAP...

[Samba] samba3.0.0rc1 - Problems managing groups with UsrMgr - Dear list, I have two problems managing groups from Win2kSP2 client using UserManager for domains. My Linux user and....

[Samba] 3.0rc4 + ldap backend (Advice? Suggestions?) - Howdy Folks, I'm working on implimenting centralized authentication for a mixed environment: - Samba(3.0rc4) ->...

[Samba] LDAP backend: "sambaDomain" object not created. - I have problems when adding a new user to a fresh installed Samba+LDAP. Somewhere I read that the "sambaDomain&qu...

[Samba] Hot-failover between a Samba 3.x.x PDC and BDC wit.. - I would like to know how to achieve a "hot-failover" setup between a Samba 3.x.x primary domain controller an...
       Soft32 Home -> Linux -> Samba All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]