Skip to content
Snippets Groups Projects
Commit 18d3c5bd authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6604

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