Pam winbind Link: Difference between revisions
From SambaWiki
Mmuehlfeld (talk | contribs) (New page about where to place pam_winbind.so links) |
m (grammar) |
||
Line 1: | Line 1: | ||
= Introduction = |
= Introduction = |
||
To enable [http://www.linux-pam.org PAM] to authenticate domain accounts via Winbindd, it is necessary that PAM finds "pam_winbind.so". For that, it is recommended to place a symbolic link |
To enable [http://www.linux-pam.org PAM] to authenticate domain accounts via Winbindd, it is necessary that PAM finds "pam_winbind.so". For that, it is recommended to place a symbolic link in the right place instead of copying, so that you don't have to replace the file after every Samba update. |
||
Line 9: | Line 9: | ||
= x86_64 vs. i686 = |
= x86_64 vs. i686 = |
||
The folder, in which the the link |
The folder, in which the the link needs to be created, differs on the platform you are running. To determine, run |
||
# uname -i |
# uname -i |
Revision as of 15:01, 1 November 2015
Introduction
To enable PAM to authenticate domain accounts via Winbindd, it is necessary that PAM finds "pam_winbind.so". For that, it is recommended to place a symbolic link in the right place instead of copying, so that you don't have to replace the file after every Samba update.
x86_64 vs. i686
The folder, in which the the link needs to be created, differs on the platform you are running. To determine, run
# uname -i
Locate pam_winbind.so
The location of pam_winbind.so is defined by the ./configure parameter --with-pammodulesdir=. The default is "/usr/local/samba/lib/security/". If you don't remember the path, use "find", to locate the file
# find / -type f -name pam_winbind.so /usr/local/samba/lib/security/pam_winbind.so
Red Hat based Operating Systems
x86_64
# ln -s /usr/local/samba/lib/security/pam_winbind.so /lib64/security/
i686
# ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/security/
Debian based Operating Systems
x86_64
# ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/x86_64-linux-gnu/security/
i686
# ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/i368-linux-gnu/security/
SUSE based Operating Systems
x86_64
# ln -s /usr/local/samba/lib/security/pam_winbind.so /lib64/security/
i686
# ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/security/