|
Bugzilla – Full Text Bug Listing |
| Summary: | Unable to enforce password on AIX when using LDAP | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Francesco <johnuopini> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | high | ||
| Priority: | low | ||
| Version: | 1.8.3 | ||
| Hardware: | IBM | ||
| OS: | AIX | ||
|
Description
Francesco
2014-11-03 07:27:00 MST
This sounds like a PAM or LAM configuration problem. Are you using the PAM or LAM sudo package or did you compile sudo yourself? How do you have LDAP authentication configured? If it is via pam.conf then you need to be using the sudo PAM package. If it is configured via the SYSTEM attribute in the registry you need to use the sudo LAM package. My guess is that sudo is using PAM to authenticate when it needs to be using LAM. If you build sudo yourself you will need to use the --without-pam configure option since the default is to use PAM on newer AIX versions. Its compiled, my config is: Configure options: --enable-zlib=builtin --prefix=/usr --with-ldap=/opt/IBM/ldap/V6.1 --with-insults=disabled --with-logging=syslog --with-logfac=auth --with-editor=/usr/bin/vim:/usr/bin/vi:/bin/vi --with-env-editor --enable-static --without-sendmail --with-ldap-conf-file=/etc/sudo-ldap.conf I will try to disable pam but i think i already tried that. Did disabling PAM change anything? I'm hoping to add support for the auth_type setting in /etc/security/login.cfg to a future sudo release so we don't have to compile separate LAM and PAM versions. Sudo 1.8.13 uses the value of the auth_type setting in /etc/security/login.cfg to determine whether to use LAM or PAM for user authentication unless either the --with-pam or --with-aixauth configure options are used. If you still have a problem with 1.8.13, please reopen the bug. |