Commit 18d3c5bd authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6604

parent b0baeb61
...@@ -30,6 +30,7 @@ OpenLDAP 2.4.24 Engineering ...@@ -30,6 +30,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapo-syncprov filter race condition (ITS#6708) Fixed slapo-syncprov filter race condition (ITS#6708)
Fixed slapo-syncprov active mod race (ITS#6709) Fixed slapo-syncprov active mod race (ITS#6709)
Fixed contrib/nssov to only close socket on shutdown (ITS#6676) Fixed contrib/nssov to only close socket on shutdown (ITS#6676)
Fixed contrib/nssov multi platform support (ITS#6604)
Documentation Documentation
admin24 guide typo fixes (ITS#6609) admin24 guide typo fixes (ITS#6609)
ldap_open(3) document ldap_set_urllist_proc (ITS#6601) ldap_open(3) document ldap_set_urllist_proc (ITS#6601)
......
...@@ -260,9 +260,11 @@ static void handleconnection(nssov_info *ni,int sock,Operation *op) ...@@ -260,9 +260,11 @@ static void handleconnection(nssov_info *ni,int sock,Operation *op)
uid_t uid; uid_t uid;
gid_t gid; gid_t gid;
char authid[sizeof("gidNumber=4294967295+uidNumber=424967295,cn=peercred,cn=external,cn=auth")]; char authid[sizeof("gidNumber=4294967295+uidNumber=424967295,cn=peercred,cn=external,cn=auth")];
char peerbuf[8];
struct berval peerbv = { sizeof(peerbuf), peerbuf };
/* log connection */ /* log connection */
if (lutil_getpeereid(sock,&uid,&gid)) if (LUTIL_GETPEEREID(sock,&uid,&gid,&peerbv))
Debug( LDAP_DEBUG_TRACE,"nssov: connection from unknown client: %s\n",strerror(errno),0,0); Debug( LDAP_DEBUG_TRACE,"nssov: connection from unknown client: %s\n",strerror(errno),0,0);
else else
Debug( LDAP_DEBUG_TRACE,"nssov: connection from uid=%d gid=%d\n", Debug( LDAP_DEBUG_TRACE,"nssov: connection from uid=%d gid=%d\n",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment