Libnss winbind Links

From SambaWiki
Revision as of 22:08, 17 October 2015 by Mmuehlfeld (talk | contribs) (New page about libnss_winbind links (page will be linked in a new guide about domain members))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

For hosts that should retrieve user and group information via Winbindd, two symbolic links need to exist in your installation.



x86_64 vs. i686

The folder in which the the links need to be created differ on the platform you are running. To determine, run

# uname -i



Red Hat based Operating Systems

x86_64

# ln -s /usr/local/samba/lib/libnss_winbind.so /lib64/
# ln -s /lib64/libnss_winbind.so /lib64/libnss_winbind.so.2
# ldconfig


i686

# ln -s /usr/local/samba/lib/libnss_winbind.so /lib/
# ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2
# ldconfig



Debian based Operating Systems

x86_64

# ln -s /usr/local/samba/lib/libnss_winbind.so /lib/x86_64-linux-gnu
# ln -s /lib/x86_64-linux-gnu/libnss_winbind.so /lib/x86_64-linux-gnu/libnss_winbind.so.2
# ldconfig


i686

# ln -s /usr/local/samba/lib/libnss_winbind.so /lib/i386-linux-gnu/
# ln -s /lib/i386-linux-gnu/libnss_winbind.so /lib/i386-linux-gnu/libnss_winbind.so.2
# ldconfig



SUSE based Operating Systems

x86_64

# ln -s /usr/local/samba/lib/libnss_winbind.so /lib64/
# ln -s /lib64/libnss_winbind.so /lib64/libnss_winbind.so.2
# ldconfig


i686

# ln -s /usr/local/samba/lib/libnss_winbind.so /lib/
# ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2
# ldconfig