diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-08 09:46:52 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-08 09:53:20 +0200 |
commit | 054ef88b036cd1601ac658f004bc9889a302f119 (patch) | |
tree | 42847efe2b19087b08e55d991667fc4a254fc8dc | |
parent | bb4cffbd97793c9ea1001571639ff12348644ae4 (diff) | |
download | samba-054ef88b036cd1601ac658f004bc9889a302f119.tar.gz samba-054ef88b036cd1601ac658f004bc9889a302f119.tar.bz2 samba-054ef88b036cd1601ac658f004bc9889a302f119.zip |
Fix a valgrind error in "net rap user add"
-rw-r--r-- | source3/utils/net_rap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c index 573f18db60..88db5122b1 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); |