[Samba] Samba4 + Winbind + PAM Installation/Configuration
andreaskrupp at akrupp.ch
Thu Aug 15 06:17:36 MDT 2013
Thx a lot for the quick reply.
Actually I did all these steps already and the tests that you proposed and
that are documented on the wiki are working fine.
It is the next section "Using pam_winbind" that I cannot get to work.
My goal is that I can log on to the linux box with an AD Account, or run a
service with an AD account or connect via SSH with an AD account.
So where I am stuck is:
-> I do not know which pam files to edit under CentOS
-> and it seems that I do not have "pam_winbind.so" installed/compiled with
On the wiki it says:
"Ensure that you built Samba 4 with libpam0g-dev installed on your system.
If not, install the PAM development libraries and re-compile Samba 4 from
the ./configure.developer stage. Install pam_winbind.so in the usual place:"
... and I cannot make much sense out of that.
Is pam-devel = libpam0g-dev?
Would you know the difference between "./configure" and
Cheers & thx,
From: Daniel Müller [mailto:mueller at tropenklinik.de]
Sent: jeudi 15 août 2013 11:35
To: andreaskrupp at akrupp.ch; 'samba'
Subject: AW: [Samba] Samba4 + Winbind + PAM Installation/Configuration
Just install pam and pam-devel
passwd: files winbind
group: files winbind
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
[root at s4master lib]# ldconfig -v | grep winbind
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
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
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
Betreff: [Samba] Samba4 + Winbind + PAM Installation/Configuration
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:
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,
To unsubscribe from this list go to the following URL and read the
More information about the samba