Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6010 - pam_group does not use /etc/security/group.conf
Summary: pam_group does not use /etc/security/group.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-04 14:08 UTC by dynamotwain
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dynamotwain 2002-08-04 14:08:45 UTC
With the patches applied to sys-libs/pam-0.75-r7, the Makefile in 
/var/tmp/portage/pam-0.75-r7/work/.../modules/pam_group/ defines 
DEFAULT_CONF_FILE="$(CONF)" which is NOT correct, as it should be 
/etc/security/group.conf
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-05 13:43:39 UTC
Think you got something.  How does:

DEFAULT_CONF_FILE="${INSTALLED_CONFILE}"

look ?  Seems a bit more generic according to the rest of pam.

This is what I get if I change to that:

---------------------------------snip------------------------------------
nosferatu pam_group # make
gcc -march=i686 -O3 -pipe -fPIC -Wall -Wwrite-strings 	 -Wcast-qual -Wcast-align 
-Wstrict-prototypes -Wmissing-prototypes 	-Wnested-externs -Winline -Wshadow
-Dlinux  -I./include
-I/space/var/tmp/portage/pam-0.75-r7/work/Linux-PAM-0.75/libpam/include
-I/space/var/tmp/portage/pam-0.75-r7/work/Linux-PAM-0.75
-I/space/var/tmp/portage/pam-0.75-r7/work/Linux-PAM-0.75/libpamc/include 
-DDEFAULT_CONF_FILE=\"/etc/security/group.conf\" -DPAM_DYNAMIC  -c pam_group.c
-o dynamic/pam_group.o
gcc -shared -Xlinker -x -o pam_group.so dynamic/pam_group.o  -lc
nosferatu pam_group # 
---------------------------------snip------------------------------------
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-05 13:52:33 UTC
Try latest version of pam-0.75-r7 and let me know, thanks.