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
bb156772
Commit
bb156772
authored
16 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#4750
parent
8423a07e
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
configure
+3
-1
3 additions, 1 deletion
configure
configure.in
+1
-0
1 addition, 0 deletions
configure.in
include/portable.hin
+3
-0
3 additions, 0 deletions
include/portable.hin
libraries/libldap/init.c
+10
-0
10 additions, 0 deletions
libraries/libldap/init.c
with
18 additions
and
1 deletion
CHANGES
+
1
−
0
View file @
bb156772
...
...
@@ -9,6 +9,7 @@ OpenLDAP 2.4.13 Release (2008/11/20)
Fixed libldap interaction with GnuTLS CN IP-based matches (ITS#5789)
Fixed libldap MAXHOSTNAMELEN typo (ITS#5815)
Fixed libldap Ipv6 detection (ITS#5739)
Fixed libldap setuid usage with .ldaprc (ITS#4750)
Fixed slapacl crasher (ITS#5820)
Fixed slapd acl checks on ADD (ITS#4556,ITS#5723)
Fixed slapd acl application to newly created backends (ITS#5572)
...
...
This diff is collapsed.
Click to expand it.
configure
+
3
−
1
View file @
bb156772
#! /bin/sh
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.1
5
2008/11/
08 00:14:44
quanah Exp .
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.631.2.1
6
2008/11/
10 19:15:16
quanah Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
...
...
@@ -37109,6 +37109,7 @@ fi
for ac_func in \
...
...
@@ -37121,6 +37122,7 @@ for ac_func in \
flock \
fstat \
getdtablesize \
geteuid \
getgrgid \
gethostname \
getpass \
This diff is collapsed.
Click to expand it.
configure.in
+
1
−
0
View file @
bb156772
...
...
@@ -2423,6 +2423,7 @@ AC_CHECK_FUNCS( \
flock \
fstat \
getdtablesize \
geteuid \
getgrgid \
gethostname \
getpass \
...
...
This diff is collapsed.
Click to expand it.
include/portable.hin
+
3
−
0
View file @
bb156772
...
...
@@ -190,6 +190,9 @@
/* Define to 1 if you have the `getdtablesize' function. */
#undef HAVE_GETDTABLESIZE
/* Define to 1 if you have the `geteuid' function. */
#undef HAVE_GETEUID
/* Define to 1 if you have the `getgrgid' function. */
#undef HAVE_GETGRGID
...
...
This diff is collapsed.
Click to expand it.
libraries/libldap/init.c
+
10
−
0
View file @
bb156772
...
...
@@ -18,6 +18,10 @@
#include
<stdio.h>
#include
<ac/stdlib.h>
#ifdef HAVE_GETEUID
#include
<ac/unistd.h>
#endif
#include
<ac/socket.h>
#include
<ac/string.h>
#include
<ac/ctype.h>
...
...
@@ -629,6 +633,12 @@ void ldap_int_initialize( struct ldapoptions *gopts, int *dbglvl )
#endif
openldap_ldap_init_w_sysconf
(
LDAP_CONF_FILE
);
#ifdef HAVE_GETEUID
if
(
geteuid
()
!=
getuid
()
)
return
;
#endif
openldap_ldap_init_w_userconf
(
LDAP_USERRC_FILE
);
{
...
...
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