{"id":2695,"date":"2022-12-20T15:17:03","date_gmt":"2022-12-20T18:17:03","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/winbindd-man8\/"},"modified":"2022-12-20T15:17:03","modified_gmt":"2022-12-20T18:17:03","slug":"winbindd-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/winbindd-man8\/","title":{"rendered":"WINBINDD (man8)"},"content":{"rendered":"<h1 align=\"center\">WINBINDD<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#NAME AND ID RESOLUTION\">NAME AND ID RESOLUTION<\/a><br \/> <a href=\"#CONFIGURATION\">CONFIGURATION<\/a><br \/> <a href=\"#EXAMPLE SETUP\">EXAMPLE SETUP<\/a><br \/> <a href=\"#NOTES\">NOTES<\/a><br \/> <a href=\"#SIGNALS\">SIGNALS<\/a><br \/> <a href=\"#FILES\">FILES<\/a><br \/> <a href=\"#VERSION\">VERSION<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">winbindd \u2212 Name Service Switch daemon for resolving names from NT servers<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"89%\">\n<p style=\"margin-top: 1em\">winbindd [\u2212D|\u2212\u2212daemon] [\u2212F|\u2212\u2212foreground] [\u2212S|\u2212\u2212stdout] [\u2212i|\u2212\u2212interactive] [\u2212d\u00a0<debug\u00a0level>] [\u2212s\u00a0<smb\u00a0config\u00a0file>] [\u2212n|\u2212\u2212no\u2212caching] [\u2212\u2212no\u2212process\u2212group]<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This program is part of the <b>samba<\/b>(7) suite.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">winbindd is a daemon that provides a number of services to the Name Service Switch capability found in most modern C libraries, to arbitrary applications via PAM and ntlm_auth and to Samba itself.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Even if winbind is not used for nsswitch, it still provides a service to smbd, ntlm_auth and the pam_winbind.so PAM module, by managing connections to domain controllers. In this configuration the <b><font color=\"#0000FF\">idmap config bodies manpages.csv script_extrae_body.sh script.sh usr : range<\/font><\/b> <font color=\"#000000\">parameter is not required. (This is known as \u2018netlogon proxy only mode&#8217;.)<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">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 through 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.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The service provided by winbindd is called \u2018winbind&#8217; 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.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The pam_winbind module supports the <i>auth<\/i>, <i>account<\/i> and <i>password<\/i> module\u2212types. It should be noted that the <i>account<\/i> module simply performs a getpwnam() to verify that the system can obtain a uid for the user, as the domain controller has already performed access control. If the libnss_winbind library has been correctly installed, or an alternate source of names configured, this should always succeed.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The following nsswitch databases are implemented by the winbindd service:<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">hosts<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">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.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">passwd<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">User information traditionally stored in the passwd(5) file and used by getpwent(3) functions.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">group<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Group information traditionally stored in the group(5) file and used by getgrent(3) functions.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">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.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">passwd: files winbind <br \/> group: files winbind <br \/> ## only available on IRIX: use winbind to resolve hosts: <br \/> # hosts: files dns winbind <br \/> ## All other NSS enabled systems should use libnss_wins.so like this: <br \/> hosts: files dns wins<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">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.<\/font><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"17%\"><\/td>\n<td width=\"-9%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\">\n<p><font color=\"#000000\">hosts:<\/font><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"69%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"17%\"><\/td>\n<td width=\"-9%\"><\/td>\n<td width=\"7%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"69%\">\n<p><font color=\"#000000\">files wins<\/font><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212D|\u2212\u2212daemon<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">If specified, this parameter causes the server to operate as a daemon. That is, it detaches itself and runs in the background on the appropriate port. This switch is assumed if winbindd is executed on the command line of a shell.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212F|\u2212\u2212foreground<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">If specified, this parameter causes the main winbindd process to not daemonize, i.e. double\u2212fork 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. Bernstein&#8217;s daemontools package, or the AIX process monitor.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212S|\u2212\u2212stdout<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">If specified, this parameter causes winbindd to log to standard output rather than a file.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212d|\u2212\u2212debuglevel=level<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\"><i>level<\/i> is an integer from 0 to 10. The default value if this parameter is not specified is 0.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">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\u2212to\u2212day running \u2212 it generates a small amount of information about operations carried out.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">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.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Note that specifying this parameter here will override the<\/font> <b><font color=\"#0000FF\">log level<\/font><\/b> <font color=\"#000000\">parameter in the smb.conf file.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212V|\u2212\u2212version<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Prints the program version number.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212s|\u2212\u2212configfile=<configuration file><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The file specified contains the configuration details required by the server. The information in this file includes server\u2212specific 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.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212l|\u2212\u2212log\u2212basename=logdirectory<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Base directory name for log\/debug files. The extension <b>&#8220;.progname&#8221;<\/b> will be appended (e.g. log.smbclient, log.smbd, etc&#8230;). The log file is never removed by the client.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212\u2212option=<name>=<value><\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Set the <b>smb.conf<\/b>(5) option &#8220;<name>&#8221; to value &#8220;<value>&#8221; from the command line. This overrides compiled\u2212in defaults and options read from the configuration file.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212?|\u2212\u2212help<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Print a summary of command line options.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212\u2212usage<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Display brief usage message.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212i|\u2212\u2212interactive<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Tells winbindd to not become a daemon and detach from the current terminal. This option is used by developers when interactive debugging of winbindd is required. winbindd also logs to standard output, as if the \u2212S parameter had been given.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212n|\u2212\u2212no\u2212caching<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Disable some caching. This means winbindd will often have to wait for a response from the domain controller before it can respond to a client and this thus makes things slower. The results will however be more accurate, since results from the cache might not be up\u2212to\u2212date. This might also temporarily hang winbindd if the DC doesn&#8217;t respond. This does not disable the samlogon cache, which is required for group membership tracking in trusted environments.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\u2212\u2212no\u2212process\u2212group<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Do not create a new process group for winbindd.<\/font><\/p>\n<h2>NAME AND ID RESOLUTION <a name=\"NAME AND ID RESOLUTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Users and groups on a Windows NT server are assigned a security id (SID) which is globally unique when the user or group is created. To convert the Windows NT user or group into a unix user or group, a mapping between SIDs and unix user and group ids is required. This is one of the jobs that winbindd performs.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">As winbindd users and groups are resolved from a server, user and group ids are allocated from a specified range. This is done on a first come, first served basis, although all existing users and groups will be mapped as soon as a client performs a user or group enumeration command. The allocated unix ids are stored in a database and will be remembered.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">WARNING: The SID to unix id database is the only location where the user and group mappings are stored by winbindd. If this store is deleted or corrupted, there is no way for winbindd to determine which user and group ids correspond to Windows NT user and group rids.<\/font><\/p>\n<h2>CONFIGURATION <a name=\"CONFIGURATION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Configuration of the winbindd daemon is done through configuration parameters in the <b>smb.conf<\/b>(5) file. All parameters should be specified in the [global] section of smb.conf.<\/font><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">winbind separator<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">idmap config bodies manpages.csv script_extrae_body.sh script.sh usr : range<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">idmap config bodies manpages.csv script_extrae_body.sh script.sh usr : backend<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">winbind cache time<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">winbind enum users<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">winbind enum groups<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">template homedir<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">template shell<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">winbind use default domain<\/font><\/b><\/p>\n<p style=\"margin-left:28%; margin-top: 1em\"><font color=\"#000000\">\u2022<\/font> <b><font color=\"#0000FF\">winbind: rpc only<\/font><\/b> <font color=\"#000000\">Setting this parameter forces winbindd to use RPC instead of LDAP to retrieve information from Domain Controllers.<\/font><\/p>\n<h2>EXAMPLE SETUP <a name=\"EXAMPLE SETUP\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">To setup winbindd for user and group lookups plus authentication from a domain controller use something like the following setup. This was tested on an early Red Hat Linux box.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">In \/etc\/nsswitch.conf put the following:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">passwd: files winbind <br \/> group: files winbind<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">In \/etc\/pam.d\/chage \/etc\/pam.d\/chage-chfn-chsh \/etc\/pam.d\/chfn \/etc\/pam.d\/chpasswd \/etc\/pam.d\/chpasswd-newusers \/etc\/pam.d\/chsh \/etc\/pam.d\/config-util \/etc\/pam.d\/crond \/etc\/pam.d\/cups \/etc\/pam.d\/groupadd \/etc\/pam.d\/groupdel \/etc\/pam.d\/groupmod \/etc\/pam.d\/lightdm \/etc\/pam.d\/lightdm-autologin \/etc\/pam.d\/lightdm-greeter \/etc\/pam.d\/login \/etc\/pam.d\/mageia-console-auth \/etc\/pam.d\/mageia-simple-auth \/etc\/pam.d\/newusers \/etc\/pam.d\/other \/etc\/pam.d\/passwd \/etc\/pam.d\/pluto \/etc\/pam.d\/polkit-1 \/etc\/pam.d\/postlogin \/etc\/pam.d\/ppp \/etc\/pam.d\/remote \/etc\/pam.d\/runuser \/etc\/pam.d\/runuser-l \/etc\/pam.d\/simple_root_authen \/etc\/pam.d\/su \/etc\/pam.d\/su-l \/etc\/pam.d\/system-auth \/etc\/pam.d\/systemd-user \/etc\/pam.d\/useradd \/etc\/pam.d\/userdel \/etc\/pam.d\/user-group-mod \/etc\/pam.d\/usermod \/etc\/pam.d\/vlock \/etc\/pam.d\/xdm \/etc\/pam.d\/xfce4 \/etc\/pam.d\/xserver replace the <i><br \/> auth<\/i> lines with something like this:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">auth required \/lib\/security\/pam_securetty.so<\/font><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"17%\"><\/td>\n<td width=\"-9%\">\n<p><font color=\"#000000\">auth required<\/font><\/p>\n<\/td>\n<td width=\"15%\"><\/td>\n<td width=\"8%\"><\/td>\n<td width=\"69%\">\n<p><font color=\"#000000\">\/lib\/security\/pam_nologin.so<\/font><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">auth sufficient \/lib\/security\/pam_winbind.so <br \/> auth required \/lib\/security\/pam_unix.so  <br \/> use_first_pass shadow nullok<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\"><b><big>Note<\/big><\/b> <br \/> The PAM module pam_unix has recently replaced the module pam_pwdb. Some Linux systems use the module pam_unix2 in place of pam_unix.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Note in particular the use of the <i>sufficient<\/i> keyword and the <i>use_first_pass<\/i> keyword.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Now replace the account lines with this:<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">account required \/lib\/security\/pam_winbind.so<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The next step is to join the domain. To do that use the net program like this:<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">net join \u2212S PDC \u2212U Administrator<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The username after the <i>\u2212U<\/i> can be any Domain user that has administrator privileges on the machine. Substitute the name or IP of your PDC for &#8220;PDC&#8221;.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Next copy libnss_winbind.so to \/lib and pam_winbind.so to \/lib\/security. A symbolic link needs to be made from \/lib\/libnss_winbind.so to \/lib\/libnss_winbind.so.2. If you are using an older version of glibc then the target of the link should be \/lib\/libnss_winbind.so.1.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Finally, setup a <b>smb.conf<\/b>(5) containing directives like the following:<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">[global]<\/font><\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"8%\"><\/td>\n<td width=\"92%\">\n<p><font color=\"#000000\">winbind separator = +<\/font><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">winbind cache time = 10 <br \/> template shell = \/bin\/bash <br \/> template homedir = \/home\/%D\/%U <br \/> idmap config bodies manpages.csv script_extrae_body.sh script.sh usr : range = 10000\u221220000 <br \/> workgroup = DOMAIN <br \/> security = domain <br \/> password server = *<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">Now start winbindd and you should find that your user and group database is expanded to include your NT users and groups, and that you can login to your unix box as a domain user, using the DOMAIN+user syntax for the username. You may wish to use the commands getent passwd and getent group to confirm the correct operation of winbindd.<\/font><\/p>\n<h2>NOTES <a name=\"NOTES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The following notes are useful when configuring and running winbindd:<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\"><b>nmbd<\/b>(8) must be running on the local machine for winbindd to work.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">PAM is really easy to misconfigure. Make sure you know what you are doing when modifying PAM configuration files. It is possible to set up PAM such that you can no longer log into your system.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">If more than one UNIX machine is running winbindd, then in general the user and groups ids allocated by winbindd will not be the same. The user and group ids will only be valid for the local machine, unless a shared<\/font> <b><font color=\"#0000FF\">idmap config bodies manpages.csv script_extrae_body.sh script.sh usr : backend<\/font><\/b> <font color=\"#000000\">is configured.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">If the Windows NT SID to UNIX user and group id mapping file is damaged or destroyed then the mappings will be lost.<\/font><\/p>\n<h2>SIGNALS <a name=\"SIGNALS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The following signals can be used to manipulate the winbindd daemon.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">SIGHUP<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Reload the <b>smb.conf<\/b>(5) file and apply any parameter changes to the running version of winbindd. This signal also clears any cached user and group information. The list of other domains trusted by winbindd is also reloaded.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Instead of sending a SIGHUP signal, a request to reload configuration file may be sent using <b>smbcontrol<\/b>(1) program.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">SIGUSR2<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The SIGUSR2 signal will cause winbindd to write status information to the winbind log file.<\/font><\/p>\n<p style=\"margin-left:17%; margin-top: 1em\"><font color=\"#000000\">Log files are stored in the filename specified by the log file parameter.<\/font><\/p>\n<h2>FILES <a name=\"FILES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/etc\/nsswitch.conf(5)<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Name service switch configuration file.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/tmp\/.winbindd\/pipe<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The UNIX pipe over which clients communicate with the winbindd program. For security reasons, the winbind client will only attempt to connect to the winbindd daemon if both the \/tmp\/.winbindd directory and \/tmp\/.winbindd\/pipe file are owned by root.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">$LOCKDIR\/winbindd_privileged\/pipe<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">The UNIX pipe over which &#8216;privileged&#8217; clients communicate with the winbindd program. For security reasons, access to some winbindd functions \u2212 like those needed by the ntlm_auth utility \u2212 is restricted. By default, only users in the &#8216;root&#8217; group will get this access, however the administrator may change the group permissions on $LOCKDIR\/winbindd_privileged to allow programs like &#8216;squid&#8217; to use ntlm_auth. Note that the winbind client will only attempt to connect to the winbindd daemon if both the $LOCKDIR\/winbindd_privileged directory and $LOCKDIR\/winbindd_privileged\/pipe file are owned by root.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">\/lib\/libnss_winbind.so.X<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Implementation of name service switch library.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">$LOCKDIR\/winbindd_idmap.tdb<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Storage for the Windows NT rid to UNIX user\/group id mapping. The lock directory is specified when Samba is initially compiled using the <i>\u2212\u2212with\u2212lockdir<\/i> option. This directory is by default \/usr\/local\/samba\/var\/locks.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">$LOCKDIR\/winbindd_cache.tdb<\/font><\/p>\n<p style=\"margin-left:17%;\"><font color=\"#000000\">Storage for cached user and group information.<\/font><\/p>\n<h2>VERSION <a name=\"VERSION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">This man page is part of version 4.14.14 of the Samba suite.<\/font><\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">nsswitch.conf(5), <b>samba<\/b>(7), <b>wbinfo<\/b>(1), <b>ntlm_auth<\/b>(8), <b>smb.conf<\/b>(5), <b>pam_winbind<\/b>(8)<\/font><\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">wbinfo and winbindd were written by Tim Potter.<\/font><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><font color=\"#000000\">The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.<\/font><\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  winbindd \u2212 Name Service Switch daemon for resolving names from NT servers <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,50],"class_list":["post-2695","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-winbindd"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2695","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2695"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2695\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2695"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2695"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2695"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}