This is proposed fix to have completed trusted domains enumeration
in winbind. This implementation checks returned code and depending
on it does another call (STATUS_MORE_ENTRIES) or exits.
As stored domain names and sids needs potential reallocation,
I expect comments on this matter.
of course,
As you suggested, I checked how other NSS libraries deal with this problem.
The libnss_files module in glibc doesn't leave files open like
libnss_winbind.
E.g., getpwent() (I should say its implementation in libnss_files) and
setpwent()
open /etc/passwd and endpwent() closes it. getpwnam() and
Hannes Schmidt wrote:
As you suggested, I checked how other NSS libraries deal with this problem.
The libnss_files module in glibc doesn't leave files open like
libnss_winbind.
E.g., getpwent() (I should say its implementation in libnss_files) and
setpwent()
open /etc/passwd and
Even if this is complete crap, I would appreciate any feedback saying so.
A couple of days ago I posted a problem report to the samba list with some
diagnostics. I seem to have found a
solution on my own and provide a patch here. The problem is related to the
fact that the winbind client code in
Hannes Schmidt wrote:
Even if this is complete crap, I would appreciate any feedback saying so.
Firstly, don't expect instant responses - particularly over the
weekend...
A couple of days ago I posted a problem report to the samba list with some
diagnostics. I seem to have found a
Andrew Bartlett wrote:
Hannes Schmidt wrote:
Even if this is complete crap, I would appreciate any feedback
saying so.
Firstly, don't expect instant responses - particularly over the
weekend...
Sure, I guess I was getting a little too excited.
A couple of days ago I posted a