Sure Did!
Is there anyway to be sure that webmin is using it though?

On 01/03/12 11:46, Galen Johnson wrote:

Did you put the Webmin pam config file in the proper location for your system?  Typically, for linux, it would live under /etc/pam.d.

 

=G=

 

From: Gino Lisignoli [mailto:gino.lisignoli@opus.co.nz]
Sent: Wednesday, February 29, 2012 4:50 PM
To: webadmin-list@lists.sourceforge.net
Subject: [webmin-l] Webmin Pam / ldap authentication

 

Hello!

I've managed to get webmin running on an older etch system. But I'm having trouble with gettig pam (ldap) authentication working. I've looked through the mailing list and google but haven't had much luck.

Users are able to ssh into the machine using ldap credentials so I'm sure that much is working.
Authem::PAM is installed

Miniserv.conf
================================
port=10000
root=/opt/webmin-1.580
mimetypes=/opt/webmin-1.580/mime.types
addtype_cgi=internal/cgi
realm=Webmin Server
logfile=/opt/webmin-1.580/var/miniserv.log
errorlog=/opt/webmin-1.580/var/miniserv.error
pidfile=/opt/webmin-1.580/var/miniserv.pid
logtime=168
ppath=
ssl=0
env_WEBMIN_CONFIG=/opt/webmin-1.580/etc
env_WEBMIN_VAR=/opt/webmin-1.580/var
atboot=1
logout=/opt/webmin-1.580/etc/logout-flag
listen=10000
denyfile=\\.pl$
log=1
blockhost_failures=5
blockhost_time=60
syslog=1
session=1
premodules=WebminCore
server=MiniServ/1.580
userfile=/opt/webmin-1.580/etc/miniserv.users
keyfile=/opt/webmin-1.580/etc/miniserv.pem
passwd_file=/etc/shadow
passwd_uindex=0
passwd_pindex=1
passwd_cindex=2
passwd_mindex=4
passwd_mode=0
preroot=blue-theme
passdelay=1
preroot_root=theme-stressfree
logouttimes=
pam=webmin
sudo=
pamany=
unixauth=@general_comp_support=lana
pam_conv=
blockuser_time=
blocklock=
blockuser_failures=
no_pam=0
logouttime=
utmp=
preroot_lana=theme-stressfree
================================

/etc/pam.d/webmin
================================
#%PAM-1.0
# description: webmin authentication
auth    sufficient      pam_ldap.so
account sufficient      pam_ldap.so
password        sufficient      pam_ldap.so
session sufficient      pam_ldap.so
================================

/var/log/auth.log
Mar  1 10:20:15 zvsv01 webmin[24526]: Invalid login as xxxxxx from 10.0.4.40
.....
.....
Mar  1 10:32:18 zvsv01 webmin[25199]: Successful login as root from 10.0.4.40



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/


-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list