[Samba] Samba4 + Winbind + PAM Installation/Configuration
Daniel Müller
mueller at tropenklinik.de
Thu Aug 15 03:34:34 MDT 2013
Just install pam and pam-devel
And:
/etc/nsswitch.conf:
passwd: files winbind
shadow: files
group: files winbind
And:
ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib64/libnss_winbind.so
ln -s /lib64/libnss_winbind.so /lib64/libnss_winbind.so.2
Test now:
[root at s4master lib]# ldconfig -v | grep winbind
ldconfig: /etc/ld.so.conf.d/kernel-2.6.32-358.11.1.el6.x86_64.conf:6:
duplicate hwcap 1 nosegneg
libnss_winbind.so -> libnss_winbind.so.2
libnss_winbind.so -> libnss_winbind.so.2
and it should work
with getent group and getenet passwd
-----------------------------------------------
EDV Daniel Müller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Andreas Krupp
Gesendet: Donnerstag, 15. August 2013 11:15
An: samba
Betreff: [Samba] Samba4 + Winbind + PAM Installation/Configuration
Hello,
Now that I have my Samba4 DC running great on CentOS6.4 I was wondering if
somebody could help understand better how to install and configure Samba4
with winbind and PAM.
I used the tutorial here:
[http://wiki.samba.org/index.php/Samba4/Winbind](http://wiki.samba.org/index
.php/Samba4/Winbind)
This got me through to the point where "Using pam_winbind" starts.
Could anybody help me understand how to do these steps + compile samba4 with
pam_winbind on CentOS 6.4? I am more than willing to update the wiki page
after that ;-)
My questions in detail are:
- How do I compile/install Samba4 with pam_winbind support and which
prerequisits do I need to install with yum before doing that?
- Which pam configuration files do I have to change on CentOS6.4?
Cheers & thx,
Andreas
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list