[Samba] User list
Gerald (Jerry) Carter
jerry at samba.org
Fri Oct 7 18:47:37 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John H Terpstra wrote:
> On Friday 07 October 2005 07:32, Scott Mayo wrote:
>> I have a samba server setup with LDAP. Before I was using LDAP, I could
>> get a list of users and groups with my perl script by using the getgrent
>> and getpwent routines. I cannot use this anymore, because for some
>> reason, these routines do not see all of my users. They only see up to
>> a certain point. If I do a 'getent passwd' from the command line, it
>> only shows up to certain number of users. The others are there though
>> and they work fine.
>>
>> IE: I created the user 'johnsonz' as one of my last users. If I do a
>> 'gentent passwd | grep johnsonz', then I do not see this user anywhere
>> at all, but if I do 'id johnsonz', it shows his information.
>>
>> Anyone have any ideas why this would happen? Everything seems to be
>
> Update to a more recent version of nss_ldap. It is available from
> http://www.padl.com.
John,
Just out of curiousity, what in this post make you think that
an update nss_ldap would solve the problem? Have you experienced
this bug ? Just curious.
Off hand I would probably be more apt to point at a corrupted
index in the slapd database.
cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"There's an anonymous coward in all of us." --anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDRsLJIR7qMdg1EfYRAiSJAKCtKs9jqRjX8tkIzbxtkkYRc+ERBACg2mWn
Yf+dCTtjpDuXOahsp583Abc=
=xYmA
-----END PGP SIGNATURE-----
More information about the samba
mailing list