summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-10 12:21:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:52 -0500
commit5d5d596206e08be5bb159d9a474dc0b10e07b169 (patch)
tree046d2f4280a8dae442728ca08752711b76fac4d8 /source3/utils
parent34ea46ef8c4d94f59c11a7b1edc79db382970e0c (diff)
downloadsamba-5d5d596206e08be5bb159d9a474dc0b10e07b169.tar.gz
samba-5d5d596206e08be5bb159d9a474dc0b10e07b169.tar.bz2
samba-5d5d596206e08be5bb159d9a474dc0b10e07b169.zip
r6706: * fix bug that prevented smbclient from creating directories
on non-dfs paths * add patch from James Peach to remove use of uninitialized variables (This used to be commit c71f20f1ae5ccfd49cf81af0299c96fe27351222)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_groupmap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c
index b20a37c726..9aae620f6e 100644
--- a/source3/utils/net_groupmap.c
+++ b/source3/utils/net_groupmap.c
@@ -670,7 +670,6 @@ static int net_groupmap_listmem(int argc, const char **argv)
DOM_SID alias;
DOM_SID *members;
int i, num;
- NTSTATUS result;
if ( (argc != 1) ||
!string_to_sid(&alias, argv[0]) ) {
@@ -679,8 +678,7 @@ static int net_groupmap_listmem(int argc, const char **argv)
}
if (!pdb_enum_aliasmem(&alias, &members, &num)) {
- d_printf("Could not list members for sid %s: %s\n",
- argv[0], nt_errstr(result));
+ d_printf("Could not list members for sid %s\n", argv[0]);
return -1;
}