Name

winbindd — Name Service Switch daemon for resolving names from NT servers

Synopsis

winbindd [-F] [-S] [-i] [-Y] [-d <debug level>] [-s <smb config file>] [-n]

DESCRIPTION

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:

hosts

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.

passwd

User information traditionally stored in the passwd(5) file and used by getpwent(3) functions.

group

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

OPTIONS

-F

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

-n naSan>

If specified, this parameter causes the n>winbindd undeervfileervitay grt. thuid .

-l|--pan>

Prints the program version number.

-s <configuration file>

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.

-d|--debug=debuglevel

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.

-l|--logfile=logdirectory

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.

span class="term">-h|--help

Print a summary of command line options.

-l|--ian>

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

-n naman>

Deletsocban bech

man peainbind
-Y sidan>

Show an on must odep> man peainbind

<
winb indd procerms a gp>

ThAnbind wihe defacated as tu ThWARNING: servlo a Wiu

COMMANNFIGURA

Thisiguration Optioe opern>winbindd procon muststane by Augh the iguration fileeeter hersthe smb.conf(5)

89a>

EXIT SAMPLE SETUP>

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:>

passwd:         s winbind
group:          s winbind
groue>

The In class="filename">/etc/nsswpam.d/*> fileaceable authsernti> is a optth Sambsoods localike

passrnti   fileired by 	wpam_sitywpam_nofilinhostrnti   filesuffs 
wpam_ind
grohostrnti   fileired by  filewpam_pwdbhosbonl_.

ThNNT aceable winbunt cileired by wpam_ind grohost pro

The highnrm"oedep notervjohe domain CWD. dnvdoSais p betacti n>winbnet program to blike winbnetvjohe -S PDCs-Uinistrator u pro

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">

The thatileeettiou touser bethe -n suffs optikey usedthen frclass="parameter">-n onl_. optikey use.i

Note rm"ocopy class="filename">libnss_winbind fileper class="filename">/etc/ss_> and /etcpam_ind grohost /etc/ss_/sity/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)

pass[global]
	inddr= 10         t to a dasr= /homg= in CWD         word useder is 
= *ue>

The twvitartahndd to ogetgren and svscren undeervigurare Wiect for ation modehichndd f

VERSNOTE2>

The wbinowing nsswiotre stil asfype the iguratiothe anou uing - itn>winbindd pro:

winbnmbhan>(8) daem be specing - itS-Dmainl winb pch < h owr n>winbindd undeervgrou. n>winbindd undeies winb indd procny beandeae and NIXnewst accoted uionshipsrbetwcorr ver fore, itt be speci Thmoduallir reeas convmnnectred he Make sis oycain dot prin ycacallodo- it invmodng thismoduiguration file namThe I preseosiifor the usingpsmodu as w fas ycaibe unovfin frofileal UNycan em.

i

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>

wite a daacti n>winbindd procon mus.>
hosttoGHUPan>

Remove <smb.conf(5)

-Y stoGUSR2an>

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. <

<
-F/etc/nsswitch.conf filan>

The Service can ch dataiguration file nam>

-l|-/tmp/.indd/pippan>

The winbindd processlisthe examsitygonables, admi ind sepaet
/etc/tmp/.indd> filectory namnd passclass="filename">/etc/tmp/.indd/pippanfile and und Nwny

-Y s$LOCKDIRbindd.8.h_privamag d/pippan>

The winbindd processlisthe examsityg Thisonables, ac to not soodahndd to ouions. winbntlm_rnti> underty that-presondt Ahihe Byyult val,s This be uusersthe that this onbind sepaet
/etc$LOCKDIRbindd.8.h_privamag d> filectory namnd passclass="filename">/etc$LOCKDIRbindd.8.h_privamag d/pippanfile and und Nwny

-Y s/ss_/ss_winbind

If spmented bn modehicnService can ch dataary has

-Y s$LOCKDIRbindd.8.h_p uid.tdban>

Store usis cthe Nameows NT Slo a Wi user id /p for spped ba phe latte)-n - the-e) option abo

man ctory namepecbyyult valsclass="filename">/etc/sharl winba-3.0/ablrl wks/tt>>
-Y s$LOCKDIRbindd.8.h_eechg.tdban>

Store usis cthe eechgdu ids group information froh/p>

<
/etcitch.conf fil,href="samba.7.html">samba(7) sui,href="sambfo.1">winbio(8) dae,href="smb.conf.5.html">smb.conf(5)