Difference between revisions of "Pam winbind Link"
Mmuehlfeld (talk | contribs) (Restructured page) |
Mmuehlfeld (talk | contribs) (Fixed content. During the last major edit, I accidentally copied the wrong content to the page.) |
||
Line 1: | Line 1: | ||
= Introduction = | = Introduction = | ||
− | To enable | + | To enable users to authenticate to an NT4 or Active Directory (AD) domain, PAM must be able to locate the <code>pam_winbind.so</code> library provided by Samba. Create a link in the PAM modules directory to enable PAM to use Winbind. |
{{Imbox | {{Imbox | ||
Line 16: | Line 16: | ||
To determine the operating system's platform: | To determine the operating system's platform: | ||
− | # uname - | + | # uname -m |
Line 22: | Line 22: | ||
− | = Locating the | + | = Locating the <code>pam_winbind.so</code> Library = |
− | + | If you built Samba, the location of the <code>pam_winbind.so</code> library was set using the <code>configure</code> script's <code>--with-pammodulesdir</code> parameter. The default location is <code>/usr/local/samba/lib/security/pam_winbind.so</code>. | |
− | + | To locate the library, run: | |
− | |||
− | Link the library from this directory to your operating system's | + | # find / -type f -name pam_winbind.so |
+ | /usr/local/samba/lib/security/pam_winbind.so | ||
+ | |||
+ | Link the library from this directory to your operating system's PAM module directory. | ||
Line 41: | Line 43: | ||
=== x86_64 === | === x86_64 === | ||
− | # ln -s /usr/local/samba/lib/ | + | # ln -s /usr/local/samba/lib/security/pam_winbind.so /lib64/security/ |
− | |||
− | |||
Line 49: | Line 49: | ||
=== i686 === | === i686 === | ||
− | # ln -s /usr/local/samba/lib/ | + | # ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/security/ |
− | |||
− | |||
Line 59: | Line 57: | ||
=== x86_64 === | === x86_64 === | ||
− | # ln -s /usr/local/samba/lib/ | + | # ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/x86_64-linux-gnu/security/ |
− | |||
− | |||
Line 67: | Line 63: | ||
=== i686 === | === i686 === | ||
− | # ln -s /usr/local/samba/lib/ | + | # ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/i368-linux-gnu/security/ |
− | |||
− | |||
Line 77: | Line 71: | ||
=== x86_64 === | === x86_64 === | ||
− | # ln -s /usr/local/samba/lib/ | + | # ln -s /usr/local/samba/lib/security/pam_winbind.so /lib64/security/ |
− | |||
− | |||
Line 85: | Line 77: | ||
=== i686 === | === i686 === | ||
− | # ln -s /usr/local/samba/lib/ | + | # ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/security/ |
− | |||
− |
Revision as of 19:11, 14 December 2016
Contents
Introduction
To enable users to authenticate to an NT4 or Active Directory (AD) domain, PAM must be able to locate the pam_winbind.so
library provided by Samba. Create a link in the PAM modules directory to enable PAM to use Winbind.
![]() | Do not copy the library to the directory. Otherwise you must replace it manually after every Samba update. |
Determining the Platform
To determine the operating system's platform:
# uname -m
Locating the pam_winbind.so
Library
If you built Samba, the location of the pam_winbind.so
library was set using the configure
script's --with-pammodulesdir
parameter. The default location is /usr/local/samba/lib/security/pam_winbind.so
.
To locate the library, run:
# find / -type f -name pam_winbind.so /usr/local/samba/lib/security/pam_winbind.so
Link the library from this directory to your operating system's PAM module directory.
Operating System-specific Examples
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/