summaryrefslogtreecommitdiff
path: root/source3/utils/net_rap.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-08 09:46:52 +0200
committerVolker Lendecke <vl@samba.org>2009-06-08 09:53:20 +0200
commit054ef88b036cd1601ac658f004bc9889a302f119 (patch)
tree42847efe2b19087b08e55d991667fc4a254fc8dc /source3/utils/net_rap.c
parentbb4cffbd97793c9ea1001571639ff12348644ae4 (diff)
downloadsamba-054ef88b036cd1601ac658f004bc9889a302f119.tar.gz
Fix a valgrind error in "net rap user add"
Diffstat (limited to 'source3/utils/net_rap.c')
-rw-r--r--source3/utils/net_rap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c
index 573f18db60e..88db5122b1e 100644
--- a/source3/utils/net_rap.c
+++ b/source3/utils/net_rap.c
@@ -826,6 +826,7 @@ static int rap_user_add(struct net_context *c, int argc, const char **argv)
userinfo.priv = 1;
userinfo.home_dir = NULL;
userinfo.logon_script = NULL;
+ userinfo.passwrd[0] = '\0';
ret = cli_NetUserAdd(cli, &userinfo);