Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
18d3c5bd
Commit
18d3c5bd
authored
14 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#6604
parent
b0baeb61
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
contrib/slapd-modules/nssov/nssov.c
+3
-1
3 additions, 1 deletion
contrib/slapd-modules/nssov/nssov.c
with
4 additions
and
1 deletion
CHANGES
+
1
−
0
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)
...
...
This diff is collapsed.
Click to expand it.
contrib/slapd-modules/nssov/nssov.c
+
3
−
1
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
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment