winbindd — Name Service Switch daemon for resolving names from NT servers
winbindd [-F] [-S] [-i] [-Y] [-d <debug level>] [-s <smb config file>] [-n]
This program is part of the samba(7) suite.
winbindd is a daemon that provides a service for the Name Service Switch capability that is present in most modern C libraries. The Name Service Switch allows user and system information to be obtained from different databases services such as NIS or DNS. The exact behaviour can be configured throught the /etc/nsswitch.conf file. Users and groups are allocated as they are resolved to a range of user and group ids specified by the administrator of the Samba system.
The service provided by winbindd is called `winbind' and can be used to resolve user and group information from a Windows NT server. The service can also provide authentication services via an associated PAM module.
The pam_winbind module in the 2.2.2 release only supports the auth and account module-types. The latter simply performs a getpwnam() to verify that the system can obtain a uid for the user. If the libnss_winbind library has been correctly installed, this should always succeed.
The following nsswitch databases are implemented by the winbindd service:
This feature is only available on IRIX. User information traditionally stored in the hosts(5) file and used by gethostbyname(3) functions. Names are resolved through the WINS server or by broadcast.
User information traditionally stored in the passwd(5) file and used by getpwent(3) functions.
Group information traditionally stored in the group(5) file and used by getgrent(3) functions.
For example, the following simple configuration in the /etc/nsswitch.conf file can be used to initially resolve user and group information from /etc/passwd and /etc/group and then from the Windows NT server.
passwd: files winbind group: files winbind ## only available on IRIX; Linux users should us libnss_wins.so hosts: files dns winbind
The following simple configuration in the /etc/nsswitch.conf file can be used to initially resolve hostnames from /etc/hosts and then from the WINS server.
hosts: files wins
If specified, this parameter causes the main winbindd process to not daemonize, i.e. double-fork and disassociate with the terminal. Child processes are still created as normal to service each connection request, but the main process does not exit. This operation mode is suitable for running winbindd under process supervisors such as supervise and svscan from Daniel J. BJ�/tt> and'pan>supeonize, is s frompackage 1 ifAdminIXcess supeze, t
If specified, this parameter causes the n>winbindd undeervfileervitay grt. thuid .
Prints the program version number.
The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide. See smb.conf for more information. The default configuration file name is determined at compile time.
debuglevel is an integer from 0 to 10. The default value if this parameter is not specified is zero.
The higher this value, the more detail will be logged to the log files about the activities of the server. At level 0, only critical errors and serious warnings will be logged. Level 1 is a reasonable level for day-to-day running - it generates a small amount of information about operations carried out.
Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.
Note that specifying this parameter here will override the smb.conf file.
Base directory name for log/debug files. The extension ".progname" will be appended (e.g. log.smbclient, log.smbd, etc...). The log file is never removed by the client.
Print a summary of command line options.
The fpaci n>winbindd undeervspeceforeandeaemon thatdisasl ws e the Wient domainal. Cs operperat in thsd by lopers and invrs vitieeug lev Confperafan>winbindd is callired by .he n>winbindd unde provfilseervitay grt.winbaSanspan> proceeter here adn corrs thn
Deletsocban bech
man peainbindShow an on must odep> man peainbind
This oup to ahndd to ousers
group ids lookare plua serntication with a
Wiin controller. Tbonlysoods localike man done mann a DomaRedHs p6.2ux userbox.i
ThIn class="filename">/etc/nsswitch.conf filephe acti
owing sim:> The In class="filename">/etc/nsswpam.d/*> fileaceable authsernti> is a optth Sambsoods localike The thatileeettiou
touser bethe -n
suffs
ThNNT aceable winbunt
cileired by wpam_ind
grohost pro The highnrm"oedep
notervjohe domain CWD. dnvdoSais p betacti
n>winbnet program to blike The highname and pftrocSamblass="parameter">-n
U> optibe usedany
Dn used isrt has the nistrator of tprivamegn MS-Dmain pch < tthe spec and f tIPthe ycan PDCsuser"PDC"> Note rm"ocopy class="filename">libnss_winbind fileper
class="filename">/etc/ss_> and /etcpam_ind
grohost /etc/ss_/sity
passwd: s winbind
group: s winbind
groue>
/etc/ss_/ss_winbind filepe
class="filename">/etc/ss_/ss_winbind/etc/ss_/ss_winbindNoteFiy sto,up to aahref="smb.conf.5.html">smb.conf(5)
passrnti fileired by wpam_sity
pass[global] inddr= 10 t to a dasr= /hom%D/%U p uid rang= 10000- ser0 p uid gang= 10000- ser0 groupg= in CWD word useder is = *ue> The twvitartahndd to ogetgren
and svscren undeervigurare Wiect for ation modehichndd f
The wbinowing nsswiotre stil asfype the iguratiothe anou uing - itn>winbindd pro:
ThIfe deta thuiby A grou pch < halling - itn>winbindd pro,aomopedeambrate Hlluser belosystp idssRspecaated as tinbindd d be specefbe speci This iee and group ids spec be be usedvalor the usnl winb mach < <
ThIfeopertameows NT SRo a UN user id tgroup ids spped ba prpe is nevedamag d he dict oyhen the ded ba pec be loggedstp>
Remove <smb.conf(5) The filetoGUSR2 ed falv be les
tn>winb
indd procny e()winbindd pro> Leveliles aboutlloed in
he domaname">/ecified by the admi
file is nmeter.
<
The Service can ch dataiguration file nam>
The winbindd processlisthe examsity
The winbindd processlisthe examsityg Thisonables, ac to not soodahndd to ouions. -
like
/etc$LOCKDIRbindd.8.h_privamag d> filectory namnd passclass="filename">/etc$LOCKDIRbindd.8.h_privamag d/pippanfile and und Nwny
If spmented bn modehicnService can ch dataary has
Store usis cthe Nameows NT Slo a Wi user id /p for spped ba phe latte)-n - the-e)/b>/i> option abo
man ctory namepecbyyult valsclass="filename">/etc/sharl winba-3.0/ablrl wks/tt>>Store usis cthe eechgdu ids group information froh/p>