From 4235c93fe8eb638510cea376e569fe6843052fef Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 9 Apr 2003 17:10:44 +0000 Subject: Convert Logon parameters. (This used to be commit 7766cf5e2fff429b4769e1183bce0ce560570efe) --- docs/docbook/smbdotconf/logon/adduserscript.xml | 85 +++++++++++++------------ 1 file changed, 43 insertions(+), 42 deletions(-) (limited to 'docs/docbook/smbdotconf/logon/adduserscript.xml') diff --git a/docs/docbook/smbdotconf/logon/adduserscript.xml b/docs/docbook/smbdotconf/logon/adduserscript.xml index 3afea231a5..34d3e7ea58 100644 --- a/docs/docbook/smbdotconf/logon/adduserscript.xml +++ b/docs/docbook/smbdotconf/logon/adduserscript.xml @@ -1,49 +1,50 @@ - - add user script (G) - This is the full pathname to a script that will - be run AS ROOT by smbd - 8 under special circumstances described below. + + + This is the full pathname to a script that will + be run AS ROOT by smbd + 8 under special circumstances described below. - Normally, a Samba server requires that UNIX users are - created for all users accessing files on this server. For sites - that use Windows NT account databases as their primary user database - creating these users and keeping the user list in sync with the - Windows NT PDC is an onerous task. This option allows smbd to create the required UNIX users - ON DEMAND when a user accesses the Samba server. + Normally, a Samba server requires that UNIX users are + created for all users accessing files on this server. For sites + that use Windows NT account databases as their primary user database + creating these users and keeping the user list in sync with the + Windows NT PDC is an onerous task. This option allows smbd to create the required UNIX users + ON DEMAND when a user accesses the Samba server. - In order to use this option, smbd - 8 must NOT be set to security = share - and add user script - must be set to a full pathname for a script that will create a UNIX - user given one argument of %u, which expands into - the UNIX user name to create. + In order to use this option, smbd + 8 must NOT be set to security = share + and add user script + must be set to a full pathname for a script that will create a UNIX + user given one argument of %u, which expands into + the UNIX user name to create. - When the Windows user attempts to access the Samba server, - at login (session setup in the SMB protocol) time, smbd - 8 contacts the password server and - attempts to authenticate the given user with the given password. If the - authentication succeeds then smbd - attempts to find a UNIX user in the UNIX password database to map the - Windows user into. If this lookup fails, and add user script - is set then smbd will - call the specified script AS ROOT, expanding - any %u argument to be the user name to create. + When the Windows user attempts to access the Samba server, + at login (session setup in the SMB protocol) time, smbd + 8 contacts the password server and + attempts to authenticate the given user with the given password. If the + authentication succeeds then smbd + attempts to find a UNIX user in the UNIX password database to map the + Windows user into. If this lookup fails, and add user script + is set then smbd will + call the specified script AS ROOT, expanding + any %u argument to be the user name to create. - If this script successfully creates the user then smbd - will continue on as though the UNIX user - already existed. In this way, UNIX users are dynamically created to - match existing Windows NT accounts. + If this script successfully creates the user then smbd + will continue on as though the UNIX user + already existed. In this way, UNIX users are dynamically created to + match existing Windows NT accounts. - See also - security, - password server, - delete user - script. + See also + security, + password server, + delete user + script. - Default: add user script = <empty string> - + Default: add user script = <empty string> - Example: add user script = /usr/local/samba/bin/add_user - %u - - + Example: add user script = /usr/local/samba/bin/add_user %u + + -- cgit