summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-05-12 00:17:44 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-05-12 00:17:44 +0000
commitca40b71686236ca1b3a219abe8ca36a0895f798a (patch)
tree6cab9de54d4853b04d754be92cda58d3a6c9f224
parent4407869ad2bacd4422d27daf9f8c48b6a3844b21 (diff)
downloadsamba-ca40b71686236ca1b3a219abe8ca36a0895f798a.tar.gz
samba-ca40b71686236ca1b3a219abe8ca36a0895f798a.tar.bz2
samba-ca40b71686236ca1b3a219abe8ca36a0895f798a.zip
Make it possible to actually use --user-SID and --group-SID on a standard command line.
Andrew Bartlett (This used to be commit dd14da756640ba36834a05b9da4759a809c0bb37)
-rw-r--r--source3/utils/pdbedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index 3a3d06a645..e5df6ab038 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -583,8 +583,8 @@ int main (int argc, char **argv)
{"drive", 'D', POPT_ARG_STRING, &home_drive, 0, "set home drive", NULL},
{"script", 'S', POPT_ARG_STRING, &logon_script, 0, "set logon script", NULL},
{"profile", 'p', POPT_ARG_STRING, &profile_path, 0, "set profile path", NULL},
- {"user SID", 'U', POPT_ARG_STRING, &user_sid, 0, "set user SID or RID", NULL},
- {"group SID", 'G', POPT_ARG_STRING, &group_sid, 0, "set group SID or RID", NULL},
+ {"user-SID", 'U', POPT_ARG_STRING, &user_sid, 0, "set user SID or RID", NULL},
+ {"group-SID", 'G', POPT_ARG_STRING, &group_sid, 0, "set group SID or RID", NULL},
{"create", 'a', POPT_ARG_NONE, &add_user, 0, "create user", NULL},
{"modify", 'r', POPT_ARG_NONE, &modify_user, 0, "modify user", NULL},
{"machine", 'm', POPT_ARG_NONE, &machine, 0, "account is a machine account", NULL},