- return create_homedir(pamh, &opt, user, pwd->pw_dir);
+ if (opt.ctrl & HOMEDIR_CREATE)
-+ return create_homedir(pamh, &opt, pwd);
++ return create_homedir(pamh, &opt, user, pwd->pw_dir);
+ else if (opt.ctrl & HOMEDIR_DENY)
+ return PAM_PERM_DENIED;
+ else
# TODO
# - check and package docs: https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-1.1.8-docs.tar.bz2
+# - fix pdf gen or disable it: No fo2pdf processor installed, skip PDF generation
#
# Conditional build:
%bcond_without doc # don't build documentation