[PATCH] Fix endless loops on passdb backends fail

Jelmer Vernooij jelmer at nl.linux.org
Thu May 23 09:14:03 GMT 2002


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

Oops.. Seems these patches were against an old CVS tree... I'll try to
make a new (only strict) one...

Jelmer

> These patches both fix a bug I found in the current passdb backend
> system. Question, however is what to do whenever the initialisation of
> one backend fails. Have the whole passdb initialisation return
> NT_STATUS_UNSUCCESSFUL? Or return NT_STATUS_OK unless they all fail ?

> The pdb_fix_strict.diff makes the passdb backend return
> NT_STATUS_UNSUCCESSFUL whenever at least one backend fails to be
> loaded.

> The pdb_fix_nonstrict.diff makes the passdb backend return
> NT_STATUS_OK if at least one backend loads successfully. 

> Personally, I think we should be strict, because otherwise the user
> might not notice that the loading of a backend has failed.



- -- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://nl.linux.org/~jelmer/
Development And Underdevelopment: http://library.thinkquest.org/C0110231/
Listening to 
 18:08:42 up 5 days, 17:22, 14 users,  load average: 1.57, 2.20, 2.51
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE87RQ9Pa9Uoh7vUnYRAhHMAKCUxF1B6PjoYq4xS5Fenu/ri/e/xACfWQ7Y
v+xq3+3DUySmClHU+BPRXXw=
=gGxD
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list