diff options
author | Simo Sorce <ssorce@redhat.com> | 2009-05-28 20:22:44 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-05-28 20:22:44 -0400 |
commit | ea5f7231a7b4b3414419d0e4ae53b04f7132bf58 (patch) | |
tree | 8a142e7ed06e78d176ade86a8a023f5d0849cc77 /server/responder | |
parent | 99d12568b3e7e49d27022410790b0f8e0610d5f7 (diff) | |
download | sssd-ea5f7231a7b4b3414419d0e4ae53b04f7132bf58.tar.gz sssd-ea5f7231a7b4b3414419d0e4ae53b04f7132bf58.tar.bz2 sssd-ea5f7231a7b4b3414419d0e4ae53b04f7132bf58.zip |
Fix user enumeration bug
The previous patch to fix an enumeration bug found with group enumeration
inadvertently introduced a bug with user enumeration.
Yeah, almost funny!
Diffstat (limited to 'server/responder')
-rw-r--r-- | server/responder/nss/nsssrv_cmd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/responder/nss/nsssrv_cmd.c b/server/responder/nss/nsssrv_cmd.c index d49fe2eb..2cfdd99c 100644 --- a/server/responder/nss/nsssrv_cmd.c +++ b/server/responder/nss/nsssrv_cmd.c @@ -141,10 +141,6 @@ static int fill_pwent(struct sss_packet *packet, if (add_domain) dom_len = strlen(domain); - /* first 2 fields (len and reserved), filled up later */ - ret = sss_packet_grow(packet, 2*sizeof(uint32_t)); - if (ret != EOK) return ret; - rp = 2*sizeof(uint32_t); num = 0; |