- 31 Aug, 2001 17 commits
-
-
-
-
-
-
-
-
to register several functions which will be tried in turn in order to obtain struct passwd*. Changed virtual domain code in pop3d and imap4d to use this approach.
Sergey Poznyakoff authored -
-
-
-
-
-
-
mu_getpwnam calls each function in succession until it finds one which returns non-NULL value.
Sergey Poznyakoff authored -
pathname in a buffer. For a daemon, it is better to stay in "/" the root. Moving in subdirecteris, will not permit the volume to be unmounted. But we do not follow the same rule for imap4d, it should be fix. * pop3d/signal.c: Shutup unused parameter warrning from gcc. * pop3d/user.c: Define macro VIRTUAL_PWDDIR. use sprintf() to build filename instead of chdir(). (PAM_gnupop3d_conv): Shutup unused parameter warrning from gcc. Make sure variable mailbox_name is initialized. * include/mailutils/mutil.h: Typo "struct password" instead of "struct passwd". Use const appropriately in the declaration of mu_register_getpwnam() and mu_getpwnam(). * mailbox/mutil.c: Use const appropriately in the definition of mu_register_getpwnam() and mu_getpwnam(). Typo "struct password" instead of "struct passwd".
Alain Magloire authored
-
- 30 Aug, 2001 14 commits
-
-
mu_getpwnam function. The function first calls system getpwnam, if it fails, it calls application-defined getpwnam function. mu_register_getpwnam can be used to register such a function.
Sergey Poznyakoff authored -
-
-
-
-
-
-
When checking for PAM: Append to AUTHLIBS instead of just assigning to it.
Sergey Poznyakoff authored -
-
Append linker flags to AUTHLIBS, since modifying LIBS effectively breaks compilation.
Sergey Poznyakoff authored -
Return values were allocated dynamically but never freed, this caused memory leaks if authentication functions were called more than once. Made them static, so that they get reallocated at each new invocation of getM functions, thus reclaming lost storage. Made <config.h> the first file to be included and guard it with #ifdef HAVE_CONFIG_H Reindented text to conform to GNU coding style.
Sergey Poznyakoff authored -
-
-
- 29 Aug, 2001 5 commits
-
-
-
-
-
-
is rename mu_list_t, as a suggestion from Sam R. * mailbox2/list.c: All the function names are prefix with "mu_".
Alain Magloire authored
-
- 28 Aug, 2001 1 commit
- 27 Aug, 2001 3 commits
-
-