summaryrefslogtreecommitdiffstats
path: root/server/responder/nss
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-05-28 20:22:44 -0400
committerSimo Sorce <ssorce@redhat.com>2009-05-28 20:22:44 -0400
commitea5f7231a7b4b3414419d0e4ae53b04f7132bf58 (patch)
tree8a142e7ed06e78d176ade86a8a023f5d0849cc77 /server/responder/nss
parent99d12568b3e7e49d27022410790b0f8e0610d5f7 (diff)
downloadsssd-ea5f7231a7b4b3414419d0e4ae53b04f7132bf58.tar.gz
sssd-ea5f7231a7b4b3414419d0e4ae53b04f7132bf58.tar.xz
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/nss')
-rw-r--r--server/responder/nss/nsssrv_cmd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/responder/nss/nsssrv_cmd.c b/server/responder/nss/nsssrv_cmd.c
index d49fe2e..2cfdd99 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;