[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]



pam_mkhomedir does not work when there does not
exist parent directory of users homedirectory.

user have directory:
but on machine there is no directory:

then pam_mkhomedir does not work.

Please if somebody make a patch (I think it is trivial for
somebody who sit inside PAM) please announce me.

Best Regards
PS-Here is relevant place of code:
/* Create the new directory */
if (mkdir(dest,0700) != 0)
_log_err(LOG_DEBUG, "unable to create directory

Here mkdir must be changed to procedure which
recusirely makes path (e.g. sample code is in mkdir
(option -p)).

Bartlomiej Solarz-Niesluchowski, Administrator WSISiZ
e-mail: B.Solarz-Niesluchowski@wsisiz.edu.pl
01-447 Warszawa, ul. Newelska 6, pokoj 404, pon.-pt. 8-16, tel. 836-92-53
Motto - nie psuj Win'9x one i bez tego sie psuja....
Jak sobie poscielisz tak sie wyspisz

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []