summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-04-21 23:23:24 +0000
committerJeremy Allison <jra@samba.org>2003-04-21 23:23:24 +0000
commit530dc717321abdc8f9f2f5400009119e5fad613c (patch)
treeef994e31e2a5df0e84cd997f9ae544739a190332 /source3
parentd2d6303a05a8621be5027d39d48d8925215c5088 (diff)
downloadsamba-530dc717321abdc8f9f2f5400009119e5fad613c.tar.gz
samba-530dc717321abdc8f9f2f5400009119e5fad613c.tar.bz2
samba-530dc717321abdc8f9f2f5400009119e5fad613c.zip
Fixup a few typos for Jerry.
Jeremy. (This used to be commit 1e5fe87d75ef4bb9d6af787abc501dcf105c9c6c)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_groupmap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index 76c153498a..13b0c4adeb 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -201,8 +201,8 @@ int net_groupmap_add(int argc, const char **argv)
}
}
else if ( !StrnCaseCmp(argv[i], "sid", strlen("sid")) ) {
- fstrcpy( sid_string, get_string_param( argv[i] ) );
- if ( !sid_string[0] ) {
+ fstrcpy( string_sid, get_string_param( argv[i] ) );
+ if ( !string_sid[0] ) {
d_printf("must supply a SID\n");
return -1;
}
@@ -237,13 +237,13 @@ int net_groupmap_add(int argc, const char **argv)
}
}
- if ( !ntgroup[0] || (!rid && !sid_string[0]} || sid_type==SID_NAME_UNKNOWN ) {
+ if ( !ntgroup[0] || (!rid && !string_sid[0]) || sid_type==SID_NAME_UNKNOWN ) {
d_printf("Usage: net groupmap add {rid=<int>|sid=<string>} name=<string>| type=<domain|local|builtin> [comment=<string>]\n");
return -1;
}
/* append the rid to our own domain/machine SID if we don't have a full SID */
- if ( !sid_string[0] ) {
+ if ( !string_sid[0] ) {
sid_copy(&sid, get_global_sam_sid());
sid_append_rid(&sid, rid);
sid_to_string(string_sid, &sid);