Winbind authentication fails when a few signals are waiting in select_pipe (Samba 3.0.20)

Gerald (Jerry) Carter jerry at samba.org
Wed Jun 7 11:55:20 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dina,

> Winbind (Samba 3.0.20) returns errors on any 
> client request if a few signals were sent to winbindd processes.
> 
> For example if I will send USR1 signal 7 times, 
> the select_pipe will have 7 signals written
> It means that user will success to authenticate only 
> on 8 retry.
> 
> This is because the cm_open_connection() doesn't check the sys_select
> error, and fails even on EINTR. (instead of trying again).

Thanks for the analysis.  This should already be fixed by
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&rev=15672





cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEhr6nIR7qMdg1EfYRAtnmAJ9DKh/3lFDhyOiEsVeYoRH7Blj7bQCfa/k1
1ZPuTiqNRb0Se9obQadh/Ec=
=9tme
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list