Olivier BILHAUT
2021-Sep-28 14:38 UTC
[Samba] LdapSearch returns a user first instead of the domain base
Hi Samba list :) I face to a dev which refuse to connect it's software to our Samba4 for a strange reason. He arges that Samba4 behaves differently than Microsoft one ;) For sure, it behaves really better ;) The problem is tthat whenever he is performing searches against a Microsoft ldap server, the MS ldap server always returns the first domain as first result followed by the remaining objects. In our case, Samba effectivelly returns a user (always the same), and the domain follows but really later on, after a bunch of users. Does anybody knows if this is something that can be fixed by an option ? If that's an issue, is there a chance that it could be fixed someday ? Many thanks to the community BTW, Samba is definitly cool. Regards, -- Olivier B
Rowland Penny
2021-Sep-28 15:03 UTC
[Samba] LdapSearch returns a user first instead of the domain base
On Tue, 2021-09-28 at 16:38 +0200, Olivier BILHAUT via samba wrote:> Hi Samba list :) > > I face to a dev which refuse to connect it's > software to our Samba4 for a strange reason. > > He arges that Samba4 > behaves differently than Microsoft one ;) For sure, it behaves really > better ;) > > The problem is tthat whenever he is performing searches > against a Microsoft ldap server, the MS ldap server always returns > the > first domain as first result followed by the remaining objects. > > In our > case, Samba effectivelly returns a user (always the same), and the > domain follows but really later on, after a bunch of users. > > Does > anybody knows if this is something that can be fixed by an option ? > > If > that's an issue, is there a chance that it could be fixed someday ? > > > Many thanks to the community BTW, Samba is definitly cool. >It might help if you post the ldap search you are using and an example result (sanitised) of what Samba returns And what Windows returns. Rowland