Samba4 nmbd/smbd/winbindd

Ricky Nance ricky.nance at weaubleau.k12.mo.us
Sun Aug 26 16:28:29 MDT 2012


Winbindd is the winbind daemon and libnss_winbind is the client so for
samba 3 to be able to read your user accounts, you will need to have those
symlinked .  Otherwise nsswitch doesn't know where to read from. Sorry for
the brevity but I am ony mobile right now.

Ricky

On Aug 26, 2012 4:42 PM, "Rowland Penny" <repenny at f2s.com> wrote:
>
> On 26/08/12 21:40, steve wrote:
>>
>> On 26/08/12 22:07, Ricky Nance wrote:
>>  As for your getent issue how
>>>
>>> is your nsswitch.conf file setup, for winbind or ldap? If setup for ldap
>>> you will need the libnss_ldap files (nss-ldap package), however if you
are
>>> trying to use winbind you will need to link the files from
>>> /usr/local/samba/lib (I think, I don't a terminal handy right at the
>>> moment)... libnss_winbind.so should be linked to where your system libs
are
>>> located (for example ln -sf /usr/local/samba/lib/libnss_winbind.so
>>> /lib/libnss_winbind.so and  ln -sf
/usr/local/samba/lib/libnss_winbind.so
>>> /lib/libnss_winbind.so.2, again I don't have a terminal handy to confirm
>>> those paths, so you may need to add or change something there). Good
luck
>>> and keep us posted.
>>
>>
>> Hi
>> I just found this on the Samba 4 winbind wiki:
>> sudo ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib
>> sudo ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/security
>> sudo ln -s /usr/local/samba/lib/security/pam_smbpass.so /lib/security/
>>
>> You also need to set the PAM settings to able to log in. Don't know if
there is a tool in Centos for that; something like pam-auth-update in
Ubuntu or pam-config --add --winbind
>>
>> Be careful: have a pam.d backup and a few root terminals open before
adjusting the PAM settings.
>>
>> What a way to spend a Sunday eh:)
>>
>> Good luck,
>> Steve
>>
>>
> Thanks Steve, but none of this helps, I just do not have the getent
command. Also if you ever drift to the redhat side, authconfig-tui is the
replacement for pam-auth-update.
>
>
> Rowland
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>


More information about the samba-technical mailing list