From: <Ben...@fu...> - 2005-09-14 12:32:29
|
Hello List, I am trying to configure webmin to allow users from our LDAP to login = with their LDAP username and password. I=B4ve installed Authen_pam and activated "Use PAM for Unix = authentication" in the Authentication Module. I created a new User with Password set on Unix Auth and put him into a = new group with access to some Modules. If I try to log on without full PAM conversation the user can log in = with any password he wants (but empty password does not work) With full PAM conversation the user cant log in anyway. Has anyone a working webmin authentication with LDAP? =20 Tahnks in advance Benny =20 here=B4s the webmin pam: =20 #%PAM-1.0 auth sufficient pam_unix.so auth sufficient pam_ldap.so use_first_pass account sufficient pam_unix.so account sufficient pam_ldap.so session required pam_unix.so session required pam_ldap.so password required pam_unix.so nullok obscure min=3D4 max=3D8 md5 password required pam_ldap.so nullok obscure min=3D4 max=3D8 md5 and here=B4s the miniserv.conf port=3D20000 addtype_cgi=3Dinternal/cgi realm=3DWebmin Server logfile=3D/var/webmin/miniserv.log errorlog=3D/var/webmin/miniserv.error pidfile=3D/var/webmin/miniserv.pid logtime=3D168 ppath=3D ssl=3D1 env_WEBMIN_CONFIG=3D/etc/webmin env_WEBMIN_VAR=3D/var/webmin atboot=3D1 logout=3D/etc/webmin/logout-flag listen=3D20000 denyfile=3D\.pl$ log=3D1 blockhost_failures=3D5 blockhost_time=3D300 syslog=3D1 session=3D1 userfile=3D/etc/webmin/miniserv.users keyfile=3D/etc/webmin/miniserv.pem passwd_file=3D/etc/shadow passwd_uindex=3D0 passwd_pindex=3D1 passwd_cindex=3D2 passwd_mindex=3D4 passwd_mode=3D0 preroot=3Dmscstyle3 passdelay=3D1 pam=3Dwebmin logouttime=3D root=3D/usr/libexec/webmin mimetypes=3D/usr/libexec/webmin/mime.types bind=3Dxx.xx.xx.xx sockets=3D unixauth=3Duser pam_conv=3D1 no_pam=3D0 =20 =20 =20 |