summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a9f1c59974..e3b6d71fa8 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -147,7 +147,7 @@ static struct loadparm_service sDefault =
.usershare_last_mod = {0, 0},
.szService = NULL,
.pathname = NULL,
- .szUsername = NULL,
+ .username = NULL,
.szInvalidUsers = NULL,
.szValidUsers = NULL,
.szAdminUsers = NULL,
@@ -1737,7 +1737,7 @@ static bool lp_add_ipc(const char *ipc_name, bool guest_ok)
}
string_set(&ServicePtrs[i]->pathname, tmpdir());
- string_set(&ServicePtrs[i]->szUsername, "");
+ string_set(&ServicePtrs[i]->username, "");
string_set(&ServicePtrs[i]->comment, comment);
string_set(&ServicePtrs[i]->fstype, "IPC");
ServicePtrs[i]->max_connections = 0;