search for: pam_const

Displaying 2 results from an estimated 2 matches for "pam_const".

Did you mean: num_const
2014 Apr 24
0
Help implementing username_format in auth PAM driver
...client supplied username as I am *not* changing it anywhere in my config? Thanks, Lee -------------- next part -------------- diff --git a/src/auth/passdb-pam.c b/src/auth/passdb-pam.c index cf0b3c9..5f42a5a 100644 --- a/src/auth/passdb-pam.c +++ b/src/auth/passdb-pam.c @@ -37,6 +37,7 @@ typedef pam_const void *pam_item_t; #define PASSDB_PAM_DEFAULT_MAX_REQUESTS 100 +#define PASSDB_PAM_DEFAULT_USERNAME_FORMAT "%u" struct pam_passdb_module { struct passdb_module module; @@ -47,6 +48,7 @@ struct pam_passdb_module { unsigned int pam_setcred:1; unsigned int pam_session:1; unsigne...
2011 Aug 19
1
Password sync in 3.6.0 on OS X 10.7, Lion
My company, which is a mac-heavy shop in the printing industry, needed to migrate to a faster file server. As our directory trees are very large, both Samba, and Netatalk were bogging down badly on our Linux server (Samba, due to heavy CPU usage during directory listings - the case-sensitive file system issue, and netatalk because the cnid db was getting too big). Our solution was to switch to a