Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.12.9) with ESMTP id m5GKHDHW011730; Mon, 16 Jun 2008 16:17:13 -0400 (EDT) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id m5GKH8PD021304; Mon, 16 Jun 2008 16:17:08 -0400 Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by pch.mit.edu (8.13.6/8.12.8) with ESMTP id m5GKH7lj021290 for ; Mon, 16 Jun 2008 16:17:07 -0400 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id m5GKH5IL008166; Mon, 16 Jun 2008 16:17:05 -0400 (EDT) Received: from NOME-KING.MIT.EDU (NOME-KING.MIT.EDU [18.18.1.160]) (authenticated bits=0) (User authenticated as raeburn@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id m5GKH4v3019596 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 16 Jun 2008 16:17:04 -0400 (EDT) Message-ID: <0E4AC881-78A7-4653-AC04-3AA4EB738A7D@mit.edu> From: Ken Raeburn To: krb5-bugs@MIT.EDU Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: database_name entry in config file MIME-Version: 1.0 (Apple Message framework v924) Date: Mon, 16 Jun 2008 16:17:03 -0400 X-Mailer: Apple Mail (2.924) X-Scanned-BY: MIMEDefang 2.42 X-Spam-Flag: NO X-Spam-Score: 0.00 X-Beenthere: krb5-bugs-incoming@mailman.mit.edu X-Mailman-Version: 2.1.6 Precedence: list Sender: krb5-bugs-incoming-bounces@PCH.MIT.EDU Errors-To: krb5-bugs-incoming-bounces@PCH.MIT.EDU X-RT-Original-Encoding: us-ascii Content-Length: 956 The old database handling used [realms]->REALMNAME->database_name to specify the pathname for the database. After the DAL changes, [dbmodules]->dbmodulename->database_name is where the db2 backend looks first for the pathname, falling back to [realms]->REALMNAME->database_name if it's not found, for backwards compatibility, and then falls back to a hard-coded pathname. The kadm5_config_params handling includes code that looks at [realms]- >REALMNAME->database_name only, and has the same hard-coded default pathname. Some of the code using kadm5_config_params seems to assume that the pathname there is correct. In short, I don't think we currently fully support the mode where the database pathname is specified in the dbmodules section only. Also, for some conceivable database back ends, and in fact for the LDAP back end, there may not *be* a filename. So anything building on that filename may need some rethinking. Ken