Authconfig not passing password when using windbindjoin

Latest response

Hello,

we are integrating our Linux systems into Active Directory using winbind and the following line:

/usr/sbin/authconfig --enablewinbind --enablewinbindauth --smbsecurity=ads --smbworkgroup="DOMAIN" --smbrealm="DOMAIN.DOM" --winbindjoin="user%password" --winbindtemplatehomedir="/export/home/%U" --winbindtemplateshell="/bin/bash" --enablelocauthorize --enablewinbindusedefaultdomain --enablemkhomedir --enablecache --enablewinbindoffline --enablepamaccess --update

This has worked whole the time until some recent RHEL 6.5 or 6.6, when the authconfig asks for the password. I found BZ1194397 which show identical behavior but the bug has been closed and the update has been released: https://rhn.redhat.com/errata/RHBA-2015-0760.html

However, even with the latest authconfig-6.1.12-19.el6.x86_64, the command still asks for password. We are also getting the same error in RHEL 7.1 with authconfig-6.2.8-9.el7.x86_64.

Does anyone see the same issue (in that case I will create a support case) or was there any change in the way the authconfig passes parameters?

Thank you!

//Zdenek

Responses

Some times this error occur, due to misconfiguration in pam authentication configruation file.

pam authentication config file:

/etc/security/pam-winbind.conf

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.