From 4e6fd1a44f7ca15a933c6f506dec6be10b428dcb Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 22 Jul 2005 01:00:21 +0000 Subject: [PATCH] the swap was intended; please see ITS#3876 --- servers/slapd/daemon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index 716123f73b..f84cdddaa6 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -1362,14 +1362,14 @@ slapd_handle_listener( if( getpeereid( s, &uid, &gid ) == 0 ) { authid.bv_val = ch_malloc( - STRLENOF( "uidNumber=4294967295+gidNumber=4294967295," + STRLENOF( "gidNumber=4294967295+uidNumber=4294967295," "cn=peercred,cn=external,cn=auth" ) + 1 ); authid.bv_len = sprintf( authid.bv_val, - "uidNumber=%d+gidNumber=%d," + "gidNumber=%d+uidNumber=%d," "cn=peercred,cn=external,cn=auth", (int) gid, (int) uid ); assert( authid.bv_len <= - STRLENOF( "uidNumber=4294967295+gidNumber=4294967295," + STRLENOF( "gidNumber=4294967295+uidNumber=4294967295," "cn=peercred,cn=external,cn=auth" ) ); } } -- 2.39.5