Bug 170471 - Add support for pam_smbpass.so to system-config-authentication
Add support for pam_smbpass.so to system-config-authentication
Product: Fedora
Classification: Fedora
Component: authconfig (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Brian Brock
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-10-11 20:05 EDT by Kenneth Porter
Modified: 2008-03-10 10:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-10 10:29:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kenneth Porter 2005-10-11 20:05:05 EDT
The pam_smbpass.so module provided with Samba is useful for keeping Unix and
Windows passwords synchronized. The module must currently be installed manually
and one must take care to avoid use of system-config-authentication which will
remove it.

authconfig-5.0.1-1 in today's Fedora Development lacks the string "smbpass" so
I'm assuming no support is present in the latest version.

An example of how to install the module in system-auth can be found in the
following post, with the caveat that one must use 0.76 or later due to a bug in


One should be able to use the module in both the auth and password sections.

The module documentation can be found here:

Comment 1 Kenneth Porter 2005-10-11 20:20:29 EDT
A working example, from my Fedora Core 2 server:

# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      /lib/security/$ISA/pam_env.so
auth        requisite     /lib/security/$ISA/pam_unix.so likeauth nullok
auth        optional      /lib/security/$ISA/pam_smbpass.so migrate
auth        sufficient    /lib/security/$ISA/pam_ldap.so use_first_pass
auth        sufficient    /lib/security/$ISA/pam_smb_auth.so use_first_pass nolocal
auth        required      /lib/security/$ISA/pam_deny.so

account     sufficient    /lib/security/$ISA/pam_succeed_if.so uid < 100
account     required      /lib/security/$ISA/pam_unix.so
account     [default=bad success=ok user_unknown=ignore]

password    requisite     /lib/security/$ISA/pam_cracklib.so retry=3 type=
password    requisite     /lib/security/$ISA/pam_smbpass.so nullok use_authtok
password    sufficient    /lib/security/$ISA/pam_unix.so nullok use_authtok
try_first_pass md5 shadow
password    sufficient    /lib/security/$ISA/pam_ldap.so use_authtok
password    required      /lib/security/$ISA/pam_deny.so

session     required      /lib/security/$ISA/pam_limits.so
session     required      /lib/security/$ISA/pam_unix.so
session     optional      /lib/security/$ISA/pam_ldap.so
Comment 2 Tomas Mraz 2005-10-12 03:28:48 EDT
A valid enhancement request.

Note You need to log in before you can comment on or make changes to this bug.