[Samba] getent passwd not return the same number of records from a call to another call

Hervé Hénoch h.henoch at isc84.org
Tue Feb 24 12:53:15 MST 2015


Hello

On AD Server :
--------------------

We have migrated from S3 to S4 with samba-tools classicupgrade. All is 
ok : bind9, winbind but getent has a strange behavior.

getent passwd doesn't return the same number of records. So a AD user 
can be not present in the response of getent !!!!

it can have a big difference of records returned from a call to another 
call of getent passwd ...

On the other hand, wbinfo -u returns always the same number of records.

What can be the problem ?

(I'm on a debian jessie, rfc2307 is on, and the installation of samba 
has been done by apt-get ... )


On AD domain member :
--------------------------------

We have the same problem (same distribution and installation). 
Futhermore, "getent group" returns some groups with the same ID.

Maybe problems are bounded.


Regards




More information about the samba mailing list