Fw: Performance of smbldap-user tools when adding large numbers
of users
Gerald (Jerry) Carter
jerry at samba.org
Tue Mar 23 23:02:39 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John P Janosik wrote:
| This isn't totally a Samba issue but I am hoping
| someone here can provide some ideas how to update the
| smbldap tools to perform well with large numbers of users
| and groups. The tools currently get the next gid or uid
| to use by iterating through every group or user in ldap
| to find the maximum uid/gid currently used. I would like
| to change to tools to store a next gid and uid in ldap but
| I don't know where it would go.
That's what this is for (from samba.schema):
## used for idmap_ldap module
objectclass ( 1.3.6.1.4.1.7165.1.2.2.7 NAME 'sambaUnixIdPool'
~ SUP top AUXILIARY
~ DESC 'Pool for allocating UNIX uids/gids'
~ MUST ( uidNumber $ gidNumber ) )
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAYMIPIR7qMdg1EfYRAmsQAKC/Bu7hiuMk3ENd1pLrFOaniZ8stwCg0Bg/
mbVj9uDNg7RFBxiH1q2Gng0=
=41W2
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list