Arthur de Jong <adej...@debian.org> writes:

> I think it is a good idea to keep the te debconf questions close to
> configuration options. This is probably also clearer to the user and
> limits the number of questions.

I made some more tests, using a separate question for the auth type
permit to remember settings in debconf, for exemple:
- nslcd/ldap-auth-type:
  * none: nslcd/ldap-binddn and nslcd/ldap-sasl-mech disabled
  * simple: nslcd/ldap-binddn enabled and nslcd/ldap-sasl-mech disabled
  * SASL: nslcd/ldap-binddn disabled and nslcd/ldap-sasl-mech enabled

This facilitate the switch from one auth-type to another without loosing
configuration.

This permit to answer only one question to disable authentication,
instead of two (empty binddn and SASL mech=none)

I attached the patch which implement your proposal, mutually exclusives
binddn and sasl.

I'm working now on nslcd/ldap-auth-type verision.

Regards.
-- 
Daniel Dehennin
Récupérer ma clef GPG:
gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1

Attachment: pgpPmeCptunYo.pgp
Description: PGP signature

Reply via email to