summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-03-10 18:10:10 +0000
committerLuke Leighton <lkcl@samba.org>2000-03-10 18:10:10 +0000
commit83ee9372fc18eaef6d00fbc7c1fb68747e2303bb (patch)
treef646a267754f976afac0a55bac041c03f6da9a6f /source3/smbd
parente0ebb76a7453c07c16e8f736233226a774ab58e8 (diff)
downloadsamba-83ee9372fc18eaef6d00fbc7c1fb68747e2303bb.tar.gz
samba-83ee9372fc18eaef6d00fbc7c1fb68747e2303bb.tar.bz2
samba-83ee9372fc18eaef6d00fbc7c1fb68747e2303bb.zip
you know, when you do a cvs commit, you _really_ expect it to actually work.
this explains why j-f wasn't happy. (This used to be commit c51e38214a5323d0aa9b6dcd948a76ddc29f5305)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 19e7d36443..bdb0385a48 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -122,18 +122,12 @@ void invalidate_vuid(uint16 vuid)
vuser->uid = (uid_t)-1;
vuser->gid = (gid_t)-1;
- vuser->n_sids = 0;
-
/* same number of igroups as groups */
vuser->n_groups = 0;
if (vuser->groups)
free((char *)vuser->groups);
- if (vuser->sids)
- free((char *)vuser->sids);
-
- vuser->sids = NULL;
vuser->groups = NULL;
}
@@ -255,9 +249,6 @@ uint16 register_vuid(uid_t uid,gid_t gid, char *unix_name, char *requested_name,
fstrcpy(vuser->name,unix_name);
fstrcpy(vuser->requested_name,requested_name);
- vuser->n_sids = 0;
- vuser->sids = NULL;
-
vuser->n_groups = 0;
vuser->groups = NULL;