8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 00:03:02 +01:00
firebird-mirror/src/jrd/pwd.h
2002-11-10 14:04:55 +00:00

74 lines
1.7 KiB
C

/*
* PROGRAM: JRD Access Method
* MODULE: pwd.h
* DESCRIPTION: User information database name
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the License at http://www.Inprise.com/IPL.html
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
* or implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
* Copyright (C) Inprise Corporation.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*
* 2002.10.29 Sean Leyne - Removed obsolete "Netware" port
*
*/
/*
$Id: pwd.h,v 1.7 2002-11-10 14:04:54 dimitr Exp $
*/
#ifndef _JRD_PWD_H_
#define _JRD_PWD_H_
#define PASSWORD_SALT "9z"
#define MAX_PASSWORD_ENC_LENGTH 12
#ifdef VMS
#define USER_INFO_NAME "[sysmgr]isc4.gdb"
#endif
#if defined(WIN_NT)
#define USER_INFO_NAME "isc4.gdb"
#endif
#ifdef SINIXZ
#define USER_INFO_NAME "isc4.gdb"
#endif
#ifdef LINUX
#define USER_INFO_NAME "isc4.gdb"
#endif
#if defined FREEBSD || defined NETBSD
#define USER_INFO_NAME "isc4.gdb"
#endif
#ifdef DARWIN
#define USER_INFO_NAME "isc4.gdb"
#endif
#ifdef AIX_PPC
#define USER_INFO_NAME "isc4.gdb"
#endif
#ifndef USER_INFO_NAME
#ifdef SUPERSERVER
#define USER_INFO_NAME "isc4.gdb"
#else
#define USER_INFO_NAME FB_PREFIX "/isc4.gdb"
#endif /* SUPERSERVER */
#endif /* USER_INFO_NAME */
#endif /* _JRD_PWD_H_ */