Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

usermin PAM LDAP Authentication problem

Usermin
ppessolani
2007-12-23
2013-05-21
  • ppessolani
    ppessolani
    2007-12-23

    Hi:

    I have upgraded a Debian Woody server to Etch.
    I used usermin to bring users a web to change their passwords. All the configuration works fine with Debian Woody (see software versions below).
    Since I upgraded to Etch, the users can't be authenticated through pam_ldap.so.
    There is no request from usermin to LDAP server.

    Can you help me?
    Thanks in advance.

    LINUX DEBIAN WOODY

    Linux kernel 2.6.19
    usermin        1.110-31
    webmin        1.180-3
    libauthen-pam-perl     0.15-1
    libpam-cracklib        0.76-22
    libpam-ldap            1780-1sarge1
    libpam-modules         0.76-22
    libpam-radius-auth     1.3.16-3
    libpam-runtime         0.76-22
    libpam0g               0.76-22

    LINUX DEBIAN ETCH

    Linux kernel 2.6.19
    usermin        1.310         
    webmin         1.380 
    libauthen-pam-perl     0.16-1
    libpam-cracklib        0.79-4
    libpam-ldap            180-1.7
    libpam-modules         0.79-4
    libpam-radius-auth     1.3.16-4.3
    libpam-runtime         0.79-4
    libpam0g               0.79-4

    /etc/usermin/miniserv.conf

    port=20000
    root=/usr/share/usermin
    mimetypes=/usr/share/usermin/mime.types
    addtype_cgi=internal/cgi
    realm=Usermin Server
    logfile=/var/usermin/miniserv.log
    errorlog=/var/usermin/miniserv.error
    pidfile=/var/usermin/miniserv.pid
    logtime=168
    ppath=
    ssl=1
    env_WEBMIN_CONFIG=/etc/usermin
    env_WEBMIN_VAR=/var/usermin
    atboot=1
    logout=/etc/usermin/logout-flag
    listen=20000
    denyfile=\.pl$
    log=1
    blockhost_failures=3
    blockhost_time=120
    session=0
    unixauth=user
    pam=usermin
    userfile=/etc/usermin/miniserv.users
    keyfile=/etc/usermin/miniserv.pem
    passwd_file=/etc/shadow
    passwd_uindex=0
    passwd_pindex=1
    passwd_cindex=2
    passwd_mindex=4
    passwd_mode=1
    sidname=usid
    preroot=blue-theme
    passdelay=0
    domainstrip=
    domainuser=
    pam_conv=
    blockuser_time=
    passwd_blank=1
    blockuser_failures=
    logouttime=5
    syslog=1
    utmp=
    user_mapping_reverse=0
    libwrap=
    alwaysresolve=

    /etc/usermin/config

    ld_env=LD_LIBRARY_PATH
    passwd_cindex=2
    passwd_uindex=0
    find_pid_command=ps auwwwx | grep NAME | grep -v grep | awk '{ print $2 }'
    path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
    passwd_pindex=1
    passwd_mindex=4
    passwd_file=/etc/shadow
    tempdelete_days=7
    by_view=0
    os_type=debian-linux
    os_version=4.0
    real_os_type=Debian Linux
    real_os_version=4.0
    userconfig=.usermin
    overlang=ulang
    nofeedbackcc=2
    nofeedbackconf=1
    theme=blue-theme
    product=usermin
    noremember=1
    realname=
    nohostname=
    create_homedir=

    /etc/pam.d/usermin

    #%PAM-1.0
    auth        sufficient    pam_ldap.so
    @include common-auth
    account     sufficient    pam_ldap.so
    @include common-account
    @include common-session