Index: openacs-4/packages/acs-authentication/www/doc/ext-auth-pam-install.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-authentication/www/doc/ext-auth-pam-install.html,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-authentication/www/doc/ext-auth-pam-install.html 14 Oct 2003 09:54:26 -0000 1.2 +++ openacs-4/packages/acs-authentication/www/doc/ext-auth-pam-install.html 20 Oct 2003 15:44:31 -0000 1.3 @@ -20,13 +20,13 @@ -DUSE_FIONREAD=1 -DHAVE_COND_EINTR=1 -c -o pam_support.o pam_support.c /bin/rm -f nspam.so gcc -shared -nostartfiles -o nspam.so nspam.o pam_support.o -lpam -[root@yourserver nspam]# cp nspam.o /usr/local/aolserver/bin +[root@yourserver nspam]# make install [root@yourserver nspam]#
cd /usr/local/src/aolserver
tar xzf /tmp/ns_pam-0.1.tar.gz
cd nspam
make
-cp nspam.so /usr/local/aolserver/bin
Set up a PAM domain.�A PAM domain is a set of rules for granting +make install
Set up a PAM domain.�A PAM domain is a set of rules for granting privileges based on other programs. Each instance of AOLserver uses a domain; different aolserver instances can use the same domain but one AOLserver instance @@ -49,7 +49,13 @@ tar xf /tmp/pam_radius-1.3.16.tar cd pam_radius-1.3.16 make -cp pam_radius_auth.so /lib/security/pam_radius_auth.so
Debian users: apt-get install libpam-radius-auth
Set up the PAM domain by creating the file +cp pam_radius_auth.so /lib/security/pam_radius_auth.so
Debian users: apt-get install libpam-radius-auth
Set up the PAM domain. Recent PAM + distributions have a different file for each domain, + all in /etc/pam.d. + Previous PAM setups put all domain configuration lines + into a single file, + /etc/pam.conf. On + Red Hat, create the file /etc/pam.d/service0 with these contents:
auth sufficient /lib/security/pam_radius_auth.so
Modify the AOLserver configuration file to use @@ -58,25 +64,5 @@ The OpenACS server itself is the "Local Authority," used by default.
Browse to the authentication administration page, http://yourserver/acs-admin/auth/. - Create and name an authority (in the sitewide admin UI)
Set Authentication to PAM.
If the PAM module contains a password command, you can set Password Management to PAM. If not, the PAM module cannot change the user's password and you should leave this option Disabled.
Leave Account Registration disabed.
Set Batch sync enabled to Yes. Set GetDocumentImplementation to HTTP GET. Set ProcessDocumentImplementation to IMS Enterprise 1.1. These settings will cause OpenACS to attempt to retrieve via HTTP a list of users in XML format from a location we will specify in a few steps.
Click OK.
On the next page, click Configure on the GetDocument Implementation line.
Enter the IncrementalURL and SnapshotURL. These are the URLs which the external Authority will supply with XML files in IMS Enterprise 1.1 format.
Configure your Authority (RADIUS server, etc) to supply XML files to the URLs IncrementalURL and SnapshotURL
-<enterprise> - <person recstatus = "1"> added person - <sourcedid> - <id>[username]</id> - </sourcedid> - <name> - <family>[last_name]</family> - <given>[first_names]</given> - </name> - <email>[email]</email> - <url>[homepage_url]</url> - </person> - <person recstatus = "2"> modified person - ... - </person> - <person recstatus = "3"> deleted person - <sourcedid> - <id>LL1</id> only requires username - </sourcedid> - </person> -</enterprise>
(More information: Section�, “IMS Sync driver design”, The IMS 1.1 spec)