winbind patch

2002-09-01 Thread Rafal Szczesniak
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,

Re: Winbind patch fixes broken client. Please have a look.

2002-07-31 Thread Hannes Schmidt
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

Re: Winbind patch fixes broken client. Please have a look.

2002-07-31 Thread Andrew Bartlett
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

Winbind patch fixes broken client. Please have a look.

2002-07-28 Thread Hannes Schmidt
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

Re: Winbind patch fixes broken client. Please have a look.

2002-07-28 Thread Andrew Bartlett
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

Re: Winbind patch fixes broken client. Please have a look.

2002-07-28 Thread Hannes Schmidt
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