Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 191942

Summary: net-fs/samba - make better use of pam.eclass
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: New packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakub Moc (RETIRED) gentoo-dev 2007-09-10 07:03:08 UTC
The patch is pretty much self-explanatory ;)

--- samba-3.0.25c-r1.ebuild	2007-09-09 13:06:49.000000000 +0200
+++ samba-3.0.25c-r1.ebuild	2007-09-10 09:00:05.000000000 +0200
@@ -160,11 +160,9 @@
 	fi
 
 	if use pam ; then
-		exeinto /$(get_libdir)/security
-		doexe bin/pam_smbpass.so
+		dopammod bin/pam_smbpass.so
 		if use winbind ; then
-			exeinto /$(get_libdir)/security
-			doexe bin/pam_winbind.so
+			dopammod bin/pam_winbind.so
 		fi
 	fi
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-09-10 08:21:57 UTC
Fixed without rev-bump. Thanks again!