]> git.pld-linux.org Git - packages/pam.git/commitdiff
fix mkhomedir patch chunk
authorElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 09:34:50 +0000 (12:34 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 30 Apr 2015 09:34:50 +0000 (12:34 +0300)
pam-mkhomedir-notfound.patch
pam.spec

index 5816e6f7fd96e7e9371b8add4a13cd0dbf18c781..4f36bf4bc691115fa78402690df0a9b41c84e468 100644 (file)
@@ -80,7 +80,7 @@ diff -urN Linux-PAM-0.99.7.1.orig/modules/pam_mkhomedir/pam_mkhomedir.8.xml Linu
  
 -   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
index b429dc9c515e49611aba1f420e41a9c9976cb7de..cf160c040ef690c2ccd700faedf0efb1a80cf865 100644 (file)
--- a/pam.spec
+++ b/pam.spec
@@ -1,5 +1,6 @@
 # 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
This page took 0.258039 seconds and 4 git commands to generate.