diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-01-20 23:17:36 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-01-20 23:17:36 +0000 |
commit | 93e9fd542dfbde89ab84717db3b0981773b63923 (patch) | |
tree | abf74d691ae7b25d0d578f18809d4b8a786456ef /source3/passdb/pdb_tdb.c | |
parent | 5b5b6771a84caddd8ebdbb6ad24f5b10b15fce3e (diff) | |
download | samba-93e9fd542dfbde89ab84717db3b0981773b63923.tar.gz |
Inititialise the gid to what standard_sub_advanced wants for 'no value'.
Andrew Bartlett
(This used to be commit a96503475d9c1d91c2dfcdebb4f60183432d9aff)
Diffstat (limited to 'source3/passdb/pdb_tdb.c')
-rw-r--r-- | source3/passdb/pdb_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c index 90b7cb5a0a4..e05a9066cd3 100644 --- a/source3/passdb/pdb_tdb.c +++ b/source3/passdb/pdb_tdb.c @@ -86,7 +86,7 @@ static BOOL init_sam_from_buffer (struct tdbsam_privates *tdb_state, uint32 lmpwlen, ntpwlen, hourslen; BOOL ret = True; BOOL setflag; - gid_t gid; + gid_t gid = -1; /* This is what standard sub advanced expects if no gid is known */ if(sampass == NULL || buf == NULL) { DEBUG(0, ("init_sam_from_buffer: NULL parameters found!\n")); |