Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
18d3c5bd
Commit
18d3c5bd
authored
Dec 17, 2010
by
Quanah Gibson-Mount
Browse files
ITS#6604
parent
b0baeb61
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
18d3c5bd
...
...
@@ -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)
...
...
contrib/slapd-modules/nssov/nssov.c
View file @
18d3c5bd
...
...
@@ -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
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment