Re: sudo-ldap support
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
Re: sudo-ldap support
- From: Vadim Zotov <z [at] zenit.ru>
- To: Joke de Buhr <joke [at] seiken.de>, nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: Re: sudo-ldap support
- Date: Fri, 27 Aug 2010 10:54:13 +0400
Joke de Buhr пишет:
> hi,
>
> newer versions of sudo (sudo-ldap with ldap support enabled) use
> /etc/ldap.conf to configure basic ldap settings. The format is basically the
> same as the old pam-ldap (the new nslcd.conf) format. sudo just added some
> directives like:
>
> sudoers_base dc=ldap,dc=domain
>
> Other options such as "uri", "ldap_version", "ssl", etc. were copied. sudo
> ignores unknown options like the new option "rootpwmoddn".
>
> It would be nice if nss-pam-ldapd would do the same and ignore unknown
> options
> or recognize the sudo options. This way the configuration files could be
> identical or could be link. Currently nss-pam-ldapd terminates with an error
> message.
>
>
Hi,
here is the patch
> ------------------------------------------------------------------------
>
> --
> To unsubscribe send an email to
> nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
> http://lists.arthurdejong.org/nss-pam-ldapd-users
--- nslcd/cfg.c 2010-05-28 12:22:25.000000000 +0400
+++ nslcd/cfg.c 2010-05-28 12:22:49.000000000 +0400
@@ -1034,7 +1034,7 @@
else
{
log_log(LOG_ERR,"%s:%d: unknown keyword: '%s'",filename,lnr,keyword);
- exit(EXIT_FAILURE);
+ /* exit(EXIT_FAILURE); */
}
#endif
}
--
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users