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
Lukas However
OpenLDAP
Commits
1b787171
Commit
1b787171
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Place passwd extended op into builtin list.
parent
1fadca54
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
servers/slapd/extended.c
+1
-0
1 addition, 0 deletions
servers/slapd/extended.c
servers/slapd/init.c
+0
-2
0 additions, 2 deletions
servers/slapd/init.c
servers/slapd/passwd.c
+1
-7
1 addition, 7 deletions
servers/slapd/passwd.c
servers/slapd/proto-slap.h
+14
-2
14 additions, 2 deletions
servers/slapd/proto-slap.h
with
16 additions
and
11 deletions
servers/slapd/extended.c
+
1
−
0
View file @
1b787171
...
...
@@ -54,6 +54,7 @@ struct {
#ifdef HAVE_TLS
{
LDAP_EXOP_START_TLS
,
starttls_extop
},
#endif
{
LDAP_EXOP_X_MODIFY_PASSWD
,
passwd_extop
},
{
NULL
,
NULL
}
};
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/init.c
+
0
−
2
View file @
1b787171
...
...
@@ -137,8 +137,6 @@ int slap_startup( Backend *be )
rc
=
sasl_init
();
}
slap_passwd_init
();
return
rc
;
}
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/passwd.c
+
1
−
7
View file @
1b787171
...
...
@@ -18,7 +18,7 @@
#include
<lutil.h>
static
int
passwd_
main
(
int
passwd_
extop
(
SLAP_EXTOP_CALLBACK_FN
ext_callback
,
Connection
*
conn
,
Operation
*
op
,
char
*
oid
,
struct
berval
*
reqdata
,
struct
berval
**
rspdata
,
char
**
text
)
...
...
@@ -175,12 +175,6 @@ done:
return
rc
;
}
int
slap_passwd_init
(
void
)
{
return
load_extop
(
LDAP_EXOP_X_MODIFY_PASSWD
,
passwd_main
);
}
int
slap_passwd_check
(
Attribute
*
a
,
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/proto-slap.h
+
14
−
2
View file @
1b787171
...
...
@@ -459,7 +459,13 @@ LIBSLAPD_F (int) dscompare LDAP_P(( const char *s1, const char *s2del, char deli
* starttls.c
*/
LIBSLAPD_F
(
int
)
starttls_extop
LDAP_P
((
SLAP_EXTOP_CALLBACK_FN
,
Connection
*
conn
,
Operation
*
op
,
char
*
oid
,
struct
berval
*
reqdata
,
struct
berval
**
rspdata
,
char
**
text
));
LIBSLAPD_F
(
int
)
starttls_extop
LDAP_P
((
SLAP_EXTOP_CALLBACK_FN
,
Connection
*
conn
,
Operation
*
op
,
char
*
oid
,
struct
berval
*
reqdata
,
struct
berval
**
rspdata
,
char
**
text
));
/*
...
...
@@ -493,7 +499,13 @@ LIBSLAPD_F (void) slap_init_user LDAP_P(( char *username, char *groupname ));
/*
* passwd.c
*/
LIBSLAPD_F
(
int
)
slap_passwd_init
(
void
);
LIBSLAPD_F
(
int
)
passwd_extop
LDAP_P
((
SLAP_EXTOP_CALLBACK_FN
,
Connection
*
conn
,
Operation
*
op
,
char
*
oid
,
struct
berval
*
reqdata
,
struct
berval
**
rspdata
,
char
**
text
));
LIBSLAPD_F
(
int
)
slap_passwd_check
(
Attribute
*
attr
,
...
...
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