From 571e95fc594b97b6a3ac3b59c0f19e851e5dd455 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Thu, 20 Oct 2005 21:16:38 +0000 Subject: [PATCH] Docscovering the rename user script from jmcd. (This used to be commit b6a17f4f7cb76468343925db007f375e52c16c35) --- docs/smbdotconf/security/renameuserscript.xml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/smbdotconf/security/renameuserscript.xml diff --git a/docs/smbdotconf/security/renameuserscript.xml b/docs/smbdotconf/security/renameuserscript.xml new file mode 100644 index 00000000000..1ec1dcb6eb1 --- /dev/null +++ b/docs/smbdotconf/security/renameuserscript.xml @@ -0,0 +1,33 @@ + + + + This is the full pathname to a script that will be run as root by smbd + 8 under special circumstances described below. + + + + When a user with admin authority or SeAddUserPrivilege rights renames a user (e.g.: from the NT4 User Manager + for Domains), this script will be run to rename the POSIX user. Two variables, %uold and + %unew, will be substituted with the old and new usernames, respectively. The script should + return 0 upon successful completion, and nonzero otherwise. + + + + The script has all responsibility to rename all the necessary data that is accessible in this posix method. + This can mean different requirements for different backends. The tdbsam and smbpasswd backends will take care + of the contents of their respective files, so the script is responsible only for changing the POSIX username, and + other data that may required for your circumstances, such as home directory. Please also consider whether or + not you need to rename the actual home directories themselves. The ldapsam backend will not make any changes, + because of the potential issues with renaming the LDAP naming attribute. In this case the script is + responsible for changing the attribute that samba uses (uid) for locating users, as well as any data that + needs to change for other applications using the same directory. + + + + +no + -- 2.47.3