if  spell_ok  openldap  &&
    spell_ok  krb5;     then
  config_query  SAMBA_AD                                                  \
    "Enable Active Directory Support ?\n(Requires openldap and krb5)"  y
else
  config_query  SAMBA_AD                                                  \
    "Enable Active Directory Support ?\n(Requires openldap and krb5)"  n
fi  &&

config_query  SAMBA_CIFS                                                \
  "Build CIFS support (for Windows 2003)?"                           y  &&

config_query  SAMBA_SUID                                                \
  "Do you want to install mount tools suid root?"                    n  &&

config_query_option  SAMBA_QUOTA  "Enable disk-quota support?"       n  \
                     '--with-quotas'  '--without-quotas'                &&

message "Samba can use samba-vfs with a virus scanner,"               &&
message "You will still have to select which scanner to use."        &&
config_query  SAMBA_VSCAN  "Do you want to add support for on-acces virus scannning?" n
