summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-11 22:26:28 +0000
committerJeremy Allison <jra@samba.org>2001-03-11 22:26:28 +0000
commitb840dce67639b8d270eaac27b29d7392981f55bd (patch)
tree075eb0e152aad50f6bfc6b1724ad3b9f639aded9 /source3/smbd
parent02fe94f86543dcaa068de59eb4b1928e6f4086e4 (diff)
downloadsamba-b840dce67639b8d270eaac27b29d7392981f55bd.tar.gz
samba-b840dce67639b8d270eaac27b29d7392981f55bd.tar.bz2
samba-b840dce67639b8d270eaac27b29d7392981f55bd.zip
Moved cruft out of smb.h into ntdomain.h where it belongs. dc struct
now in pipe struct (where used) rather than user_struct. Secured machine account password changing in srv_netlog_nt.c - ensure that only the given machine can change its own password. May need to free this up later for NT admin tools, but this is a fail-safe secure position for now. Jeremy. (This used to be commit 46b12f2275dcd4b3114085160cd456441f9e921e)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 9731b4140c..12f7385f06 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -313,8 +313,6 @@ uint16 register_vuid(uid_t uid,gid_t gid, char *unix_name, char *requested_name,
}
}
- memset(&vuser->dc, '\0', sizeof(vuser->dc));
-
return vuser->vuid;
}