Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
authserv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ai
authserv
Commits
00134ba9
Commit
00134ba9
authored
10 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
add a PAM account management hook
parent
2129f5dd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pam/pam_authclient.c
+5
-1
5 additions, 1 deletion
pam/pam_authclient.c
with
5 additions
and
1 deletion
pam/pam_authclient.c
+
5
−
1
View file @
00134ba9
...
...
@@ -203,13 +203,17 @@ PAM_EXTERN int pam_sm_setcred(pam_handle_t *pam, int flags, int argc, const char
return
PAM_SUCCESS
;
}
PAM_EXTERN
int
pam_sm_acct_mgmt
(
pam_handle_t
*
pam
,
int
flags
,
int
argc
,
const
char
**
argv
)
{
return
PAM_SUCCESS
;
}
#ifdef PAM_STATIC
struct
pam_module
_pam_authclient_modstruct
=
{
"pam_authclient"
,
pam_sm_authenticate
,
pam_sm_setcred
,
NULL
,
pam_sm_acct_mgmt
,
NULL
,
NULL
,
NULL
...
...
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