diff options
author | Jeremy Allison <jra@samba.org> | 2001-03-23 02:14:08 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-03-23 02:14:08 +0000 |
commit | da8805b377e361a7cab399b3c786a25f7175e7cf (patch) | |
tree | 303b5ee23528c69fb7bb1f5e1dc166f87d3db7a5 /source3/utils | |
parent | 810ea03f9b1960ca7e9a775cd3582ca6bc080597 (diff) | |
download | samba-da8805b377e361a7cab399b3c786a25f7175e7cf.tar.gz samba-da8805b377e361a7cab399b3c786a25f7175e7cf.tar.bz2 samba-da8805b377e361a7cab399b3c786a25f7175e7cf.zip |
groupdb/mapping.c:
include/proto.h: Fix missing (void) in proto.
rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that
clash with users.
smbd/posix_acls.c: Ensure default ACE's are sensible.
utils/pdbedit.c: Fix from Simo Sorce.
Jeremy.
(This used to be commit 29414fe0d6665642d9b5f88a35e712426376c47f)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/pdbedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index a86ea2ef5f..6022f9aef2 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -185,6 +185,8 @@ static int new_user (char *username, char *fullname, char *homedir, char *drive, uchar new_nt_p16[16]; char *password1, *password2; + ZERO_STRUCT(sam_pwent); + if (pdb_getsampwnam (username)) { fprintf (stderr, "Username already exist in database!\n"); |