From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Rich Fox Newsgroups: gmane.os.tru64.managers Subject: SIA, boot, siacfg Date: Tue, 25 May 2004 14:14:39 -0400 (EDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1085507936 654 80.91.224.253 (25 May 2004 17:58:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 17:58:56 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue May 25 19:58:40 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BSgCF-0003NC-00 for ; Tue, 25 May 2004 19:58:40 +0200 Original-Received: (qmail 12984 invoked by uid 5); 25 May 2004 17:58:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 12905 invoked by uid 49501); 25 May 2004 17:58:28 -0000 Original-Received: from rfox@mbl.edu by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.9/5.0):. Processed in 1.202112 secs); 25 May 2004 17:58:28 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 25 May 2004 17:58:26 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HYA00EH078HHR@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 May 2004 13:58:24 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HYA00H0277RRZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 May 2004 13:57:31 -0400 (EDT) Original-Received: from sonic.futurequest.net (sonic.futurequest.net [69.5.8.3]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with SMTP id <0HYA00ANT77Q9H@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 25 May 2004 13:57:27 -0400 (EDT) Original-Received: (qmail 19604 invoked from network); Tue, 25 May 2004 17:57:25 +0000 Original-Received: from foxengines.net (foxengines.net [69.5.8.162]) by sonic.futurequest.net ([69.5.8.3]); Tue, 25 May 2004 17:57:25 +0000 Original-Received: from local6. ([67.21.192.104]) by foxengines.net ([69.5.8.162]) with ESMTP via TCP; Tue, 25 May 2004 17:57:25 +0000 X-Sender: rich@192.168.1.6 Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:6998 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6998 Hi, I have searched the archives for an answer to these quesitons, but the closest I found was from 1994 and was referencing a mechanism that doesn't appear to be present on contemporary Tru64 systems. Also, forgive me if this is elementary, I am a Tru64 newbie, and this is my first post... I have a DS20 running Tru64 5.1a... # uname -a OSF1 astro.mbl.edu V5.1 1885 alpha On this system, another sysadmin managed to setup the /etc/sia/matrix.conf file so that it would authenticate root from the local BSD files and authenticate all other users via an LDAP server we have set up based on OpenLDAP. Everytime the system boots (and apparently, otherwise periodically), the /etc/sia/matrix.conf file that he managed to hack together gets overwritten by a BSD only conf file. Our silly workaround is to go in as root and copy a backup of the good matrix.conf (that he hacked together) over the updated one so that our authentication works again. I have been trying to use siacfg to configure this file the 'correct' way, but have run into a number of problems and wierdness, thus, this message. My questions are: I want to try to place the LDAP settings after the BSD settings in the default matrix.conf (with default BSD settings). If I follow the instructions in man siacfg, it says that I should use the -A with the -a and positioning with -R BSD in order to specify that the LDAP should be checked following the BSD files so that it looks something like this: [snip] siad_chg_password=(BSD,libc.so) (LDAP,/usr/shlib/libsialdap.so) siad_chg_shell=(BSD,libc.so) siad_chk_user=(BSD,libc.so) (LDAP,/usr/shlib/libsialdap.so) siad_ses_init=(BSD,libc.so) (LDAP,/usr/shlib/libsialdap.so) [snip] So, I constructed the command: siacfg -a -A -R BSD -F matrix-rich.conf LDAP /usr/shlib/libsialdap.so (Note: I know that there are no group specifications in this command) and I end up with: ... siad_chg_password=(LDAP,/usr/shlib/libsialdap.so) (BSD,libc.so) siad_chg_shell=(LDAP,/usr/shlib/libsialdap.so) (BSD,libc.so) siad_chk_user=(LDAP,/usr/shlib/libsialdap.so) (BSD,libc.so) siad_ses_init=(LDAP,/usr/shlib/libsialdap.so) (BSD,libc.so) ... Furthermore, the command tells me lots of: ... Warning: mechanism 'BSD' not found for 'siad_getpwnam'. Warning: mechanism 'BSD' not found for 'siad_getpwuid'. Warning: mechanism 'BSD' not found for 'siad_init'. Warning: mechanism 'BSD' not found for 'siad_ses_init'. ... I get the exact same result if I do this without the -A -R song and dance. What am I missing here? In addition, the man 8 siacfg specifies the following command line options: /usr/sbin/siacfg [-[arul]] [-g group_codes] [-[PA]] [-R other_mech] [-D] [-F matrix_file] name path but -D is not documented in the man pages. I appreciate any advice, and especially any pointers to relevant documentation. Most of the docs I have found online talk extensively about setting up enhanced security, but I'm not sure how relevant that is. Thanks much, Rich. Rich Fox Systems Administrator JBPC - Marine Biological Laboratory http://www.mbl.edu/ 7 MBL Street - Woods Hole, MA 02543 508-289-7292 (Phone/voicemail) rfox@mbl.edu