Andrea Ferrari - 2016-10-04

Dear All, Anyone know how can i activate webmin autentication by users from my Active Directory? I have samba with winbind configurated and can i access in ssh and run sudo command with Active Directory users. However i didn't find any way to login in webmin with an Active Directory User.

Webmin 1.810 on Redhat Enterprise 5.8
Samba 3.6

In the miniserv.conf i have this line
unixauth=DOMAIN\myaccount=root

In the /etc/pam.d/webmin i have this configuration:

auth sufficient pam_winbind.so
auth required pam_unix.so nullok
account sufficient pam_winbind.so
account required pam_unix.so
password include system-auth
session sufficient pam_winbind.so
session required pam_unix.so

However in the secure log i saw that webmin cannot use pam for the autentication:
Oct 4 17:50:26 xxxxxx webmin[3141]: Webmin starting
Oct 4 17:50:33 xxxxxx webmin[3150]: Invalid login as DOMAIN\myaccount from xxx.xxx.xxx.xxx

Anyone have an idea about this integration?
Thank you in advance