/** BEGIN COPYRIGHT BLOCK * Copyright 2001 Sun Microsystems, Inc. * Portions copyright 1999, 2001-2003 Netscape Communications Corporation. * All rights reserved. * END COPYRIGHT BLOCK **/ #define BUCKET_MASK NUM_BUCKETS-1 typedef struct DATABIN { char* pLibraryName; char** pArrayOfLibraryStrings; unsigned numberOfStringsInLibrary; } DATABIN; /* It is intended that this header file be generated by program dblink */ static char emptyString[] = ""; #define NUM_BUCKETS 32 /* must be a power of 2 */ /* strings in library libadmin */ static char* libadminid[] = {"$DBT: libadmin in memory v1 $"}; static char* libadmin[] = { "", " Help ", " OK ", " Reset ", " Done ", " Cancel ", emptyString }; /* libraries in bucket for hashKey==0 */ static struct DATABIN bucket0[] = { {"libadmin",libadmin,5}, {emptyString,NULL,0} }; /* libraries in bucket for hashKey==1 */ static struct DATABIN bucket1[] = { {emptyString,NULL,0} }; /* libraries in bucket for hashKey==2 */ static struct DATABIN bucket2[] = { {emptyString,NULL,0} }; /* libraries in bucket for hashKey==3 */ static struct DATABIN bucket3[] = { {emptyString,NULL,0} }; /* libraries in bucket for hashKey==4 */ static struct DATABIN bucket4[] = { {emptyString,NULL,0} }; /* libraries in bucket for hashKey==5 */ static struct DATABIN bucket5[] = { {emptyString,NULL,0} }; /* strings in library userforms */ static char* userformsid[] = {"$DBT: userforms in memory v1 $"}; static char* userforms[] = { "", "Error: could not open servers list file.
\n", "Error: could not open %s server list file.
\n", "Netscape Server Account", "Server Account Management for %s", "Server Account Management", emptyString }; /* libraries in bucket for hashKey==6 */ static struct DATABIN bucket6[] = { {"userforms",userforms,5}, {emptyString,NULL,0} }; /* libraries in bucket for hashKey==7 */ static struct DATABIN bucket7[] = { {emptyString,NULL,0} }; /* libraries in bucket for hashKey==8 */ static struct DATABIN bucket8[] = { {emptyString,NULL,0} }; /* strings in library libaccess */ static char* libaccessid[] = {"$DBT: libaccess in memory v1 $"}; static char* libaccess[] = { "", "basic-ncsa", "cannot open database %s", "basic-ncsa", "user %s password did not match database %s", "basic-ncsa", "cannot open connection to LDAP server on %s:%d", "basic-ncsa", "user %s password did not match LDAP on %s:%d", "acl-state", "missing realm", "Unable to allocate ACL List Hash\n", "ACLEvalBuildContext unable to PERM_MALLOC cache structure\n", "ACLEvalBuildContext unable to create hash table\n", "ACLEvalBuildContext unable to allocate ACE Entry\n", "ACLEvalBuildContext unable to allocate ACE entry\n", "ACLEvalBuildContext unable to allocate Boundary Entry\n", "ACLEvalBuildContext failed.\n", "ACL_EvalTestRights: an interim, absolute non-allow value was encountered. right=%s, value=%d\n", "LASDnsBuild unable to allocate hash table header\n", "LASDnsBuild unable to add key %s\n", "LASDnsBuild unable to add key %s\n", "LASDnsBuild unable to add key %s\n", "LASDnsBuild unable to add key %s\n", "LASDnsBuild unable to add key %s\n", "LAS DNS build received request for attribute %s\n", "LASDnsEval - illegal comparator %s\n", "LASDnsEval unable to allocate Context struct\n\n", "LASDnsEval unable to get session address %d\n", "LASDnsEval unable to get DNS - error=%s\n", "LAS Group Eval received request for attribute %s\n", "LASGroupEval - illegal comparator %s\n", "LASGroupEval - ran out of memory\n", "LASGroupEval unable to get session address %d\n", "LASGroupEval unable to get session address %d\n", "LASGroupEval - couldn't locate getter for auth-user\n", "LASGroupEval - Attribute getter for auth-user failed\n", "LASGroupEval - Attribute getter didn't set auth-user\n", "Check group membership of user \"%s\" for group \"%s\"\n", "LDAPU_SUCCESS for group \"%s\"\n", "LDAPU_FAILED for group \"%s\"\n", "LAS_EVAL_FALSE\n", "LAS_EVAL_TRUE\n", "LASIpTreeAlloc - no memory\n", "IP LAS unable to allocate tree node\n", "IP LAS unable to allocate tree node\n", "LAS IP build received request for attribute %s\n", "LASIpEval - illegal comparator %s\n", "LASIpEval unable to get session address - error=%s\n", "LASIpEval unable to allocate Context struct\n\n", "LASIpEval - reach 32 bits without conclusion value=%s", "LAS Program Eval received request for attribute %s\n", "LASProgramEval - illegal comparator %s\n", "LASProgram unable to get session address %d\n", "bin", "LASProgramEval: request not of type admin or bin, passing.\n", "LASProgramEval: check if program %s matches pattern %s.\n", "LASProgramEval: Invalid wildcard expression %s.\n", "LAS_EVAL_FALSE\n", "LAS_EVAL_TRUE\n", "Unexpected attribute in dayOfWeek - %s\n", "Illegal comparator for dayOfWeek - %s\n", "Unexpected attribute in timeOfDay - %s\n", "LAS User Eval received request for attribute %s\n", "LASUserEval - illegal comparator %s\n", "LASUserEval - ran out of memory\n", "LASUserEval unable to get session address %d\n", "LASUserEval unable to get session address %d\n", "LASGroupEval - couldn't locate getter for auth-user\n", "LASGroupEval - Attribute getter for auth-user failed\n", "LASGroupEval - Attribute getter didn't set auth-user\n", "Check if uid == user (i.e. check \"%s\" == \"%s)\"\n", "SUCCESS for user \"%s\"\n", "FAILED for user \"%s\"\n", "LAS_EVAL_FALSE\n", "LAS_EVAL_TRUE\n", "", "LASProgram unable to get request address - error=%s", "LASProgram rejecting request for program %s from pattern %s", "ACL_CacheFlush: unable to parse file \"%s\"\n", "ACL_CacheFlush: unable to concatenate ACL list \"%s\"\n", "ACL_CacheFlush: unable to open and process the magnus file \"%s\"\n", "Illegal comparator for timeOfDay - %s\n", "ACL_EvalBuildContext unable to create hash table\n", "ACL_EvalBuildContext unable to PERM_CALLOC cache structure\n", "ACL_EvalBuildContext unable to allocate ACE entry\n", "ACL_EvalBuildContext unable to allocate auth pointer array\n", "ACL_EvalBuildContext unable to allocate auth plist\n", "ACL_EvalTestRights: an interim, absolute non-allow value was encountered. right=%s, value=%s\n", "ACL_INTEvalTestRights: call to ACL_EvalBuildContext returned failure status\n", "ACL_ModuleRegister: module name is missing\n", "ACL_ModuleRegister: call to module init function returned a failed status\n", "ACL_GetAttribute: couldn't determine method for %s\n", "ACL_GetAttribute: couldn't locate getter for %s", "ACL_GetAttribute: attr getter failed to get %s", "ACL_GetAttribute: attr getter failed to get %s", "ACL_GetAttribute: All attribute getters declined for attr %s", "ACL_DatabaseRegister: dbtype for database \"%s\" is not defined yet!", "ACL_DatabaseRegister: database name is missing", "Error reading the DB Map File: %s. Reason: %s", "URL is missing for database %s", "Invalid property value pair for database %s", "\"default\" database must be an LDAP database", "Multiple \"default\" databases are being registered", "\"default\" LDAP database must be registered", "LASGroupEval unable to get database name - error= %s", "received invalid program expression %s", "parse_ldap_url: database url is missing", "parse_ldap_url: database name is missing", "parse_ldap_url: error in parsing ldap url. Reason: %s", "ldap password check: unable to get database name - error=%s", "ldap password check: unable to get parsed database %s", "ldap password check: couldn't initialize connection to LDAP. Reason: %s", "ldap password check: LDAP error: \"%s\"", "get_user_ismember_ldap unable to get database name - error=%s", "get_user_ismember_ldap unable to get parsed database %s", "ldap password check: couldn't initialize connection to LDAP. Reason: %s", "get_user_ismember_ldap: group %s does not exist", "get_user_ismember_ldap: LDAP error: \"%s\"", "ACL_LDAPDatabaseHandle: %s is not a registered database", "ACL_LDAPDatabaseHandle: %s is not an LDAP database", "ACL_LDAPDatabaseHandle: out of memory", "ACL_LDAPDatabaseHandle: couldn't initialize connection to LDAP. Reason: %s", "ACL_LDAPDatabaseHandle: couldn't bind to LDAP server. Reason: %s", "insufficient dynamic memory", "error opening file, %s: %s", "duplicate definition of %s", "file %s, line %s: duplicate definition of %s", "file %s, line %s: syntax error", "file %s, line %s: %s is undefined", "in acl %s, %s %s is undefined", "database %s: error accessing %s", "%s", "file %s, line %s: invalid syntax", "file %s, line %s: syntax error at \"%s\"", "realm %s is not defined", "error code = %d", "internal ACL error", "invalid argument", "ACL_DatabaseRegister: dbtype for database \"%s\" is not defined yet!", "couldn't determine dbtype from: %s", "Failed to register database %s", "ACL call returned failed status", "file %s: ACL IO error - %s", "acl_user_exists: out of memory", "acl_user_exists: user doesn't exist anymore", "acl_user_exists: plist error", emptyString }; /* libraries in bucket for hashKey==9 */ static struct DATABIN bucket9[] = { {"libaccess",libaccess,146}, {emptyString,NULL,0} }; /* libraries in bucket for hashKey==10 */ static struct DATABIN bucket10[] = { {emptyString,NULL,0} }; /* strings in library frame */ static char* frameid[] = {"$DBT: frame in memory v1 $"}; static char* frame[] = { "", "
\n", "Reason:", emptyString }; /* strings in library libir */ static char* libirid[] = {"$DBT: libadmin in memory v1 $"}; static char* libir[] = { "", "An I/O error occurred before all form data could be read.", emptyString }; /* libraries in bucket for hashKey==18 */ static struct DATABIN bucket18[] = { {"admserv",admserv,6}, {"libir",libir,1}, {emptyString,NULL,0} }; /* libraries in bucket for hashKey==19 */ static struct DATABIN bucket19[] = { {emptyString,NULL,0} }; /* strings in library httpdaemon */ static char* httpdaemonid[] = {"$DBT: httpdaemon in memory v1 $"}; static char* httpdaemon[] = { "", "Error in ConvertThreadToFiber", "Error in ConvertThreadToFiber", "Error in md_start_system", "Error in CreateFiber - idlefiber", "Error in GetQueuedCompletionStatus", "Error creating completion port", "Could not SetHandleNonInheritable (%s)", "Error accept/read new conn", "Error in Respond()", "Error in RespondCompleted()", "daemon: unable to fork new process (%s)\n", "daemon: setsid failed (%s)\n", "daemon: can't log pid to %s (%s)\n", "warning: could not set group id to %d (%s)\n", "warning: could not set user id to %d (%s)\n", "warning: daemon is running as super-user\n", "could not determine current user name\n", "error: chroot to %s failed (%s)\n", "WARNING! Netscape executable and library have different versions.\n", "startup: listening to %s://%s, port %d as %s\n", "startup: listening to %s://%s, port %d as %s\n", "seminit failed (%s)\n", "Using single threaded accepts.", "Using multi threaded accepts.", "Using partial single threaded accepts.", "This machine has %d processors.", "Error calling thr_seconcurrency(%d)- (%s)", "Set conncurrency to %d.", "can't fork new process (%s)", "This beta software has expired.\n", "can't create IPC pipe (%s)", "write to wakeup pipe failed (%s)", "select thread miss", "startup failure: could not bind to port %d (%s)\n", "startup failure: could not bind to port %d, IP address %s (%s)\n", emptyString }; /* libraries in bucket for hashKey==20 */ static struct DATABIN bucket20[] = { {"httpdaemon",httpdaemon,35}, {emptyString,NULL,0} }; /* strings in library dsgw */ static char* dsgwid[] = {"$DBT: dsgw in memory v1 $"}; static char* dsgw[] = { "", "Unknown HTTP request method", "Invalid or incomplete HTML form data", "Out of memory", "Required query/form input is missing", "Illegal character in file path", "Bad or missing configuration file", "Unable to initialize LDAP", "An error occurred while contacting the LDAP server", "Unknown search object type", "Unknown attribute label", "Unknown match prompt", "No search filters for object type", "Unable to open HTML template file", "Unknown search mode - use \"smart\", \"complex\", \"pattern\", or \"auth\"", "Distinguished Name missing in URL", "Unknown scope in URL (should be base, sub, or one)", "Unrecognized URL or unknown error", "Bad URL format", "Internal error", "Unable to write template index file", "Unable to open template index file", "Unable to read directory", "LDAP SSL initialization failed (check the security path)", "For the Users and Groups forms to work over SSL with the Administration Server, you must at least temporarily activate SSL through the Admin Preferences|Encryption On/Off form", "Authentication credentials not found in authentication database", "Error retrieving data from the authentication database", "Your authentication credentials have expired", "Unable to create authentication credentials", "No distinguished name was provided when retrieving credentials", "Cannot open authentication database", "Could not append data to the authentication database", "No Directory Manager is defined", "No search string was provided. Please try again", "Too many arguments on one line in the config. file", "Failed to initialize Windows Sockets", "Authentication credentials could not be obtained from the Administration Server", "Distinguished Name missing in ldapdb:// URL", "Unrecognized URL or unknown error", "Bad URL format", "An error occurred while initializing the local LDAP database", "Unknown directory service type - use \"local\" or \"remote\"", "An error occurred while reading the db configuration file", "NSHOME/userdb path was NULL", "The directory service configuration could not be updated.", "The entry could not be read from the directory.", "The LDAP database could not be erased.", "You may not change entries besides your own.", "Problem", "Authentication Problem", ".\n
You must re-authenticate before continuing.\n", ".\n
You must re-authenticate before continuing.\n", "unknown error", "The operation was successful.", "An internal error occurred in the server. This usually\nindicates a serious malfunction in the server and should be\nbrought to the attention of your server administrator.", "The server could not understand the request which was sent to\nit by the gateway.", "A time limit was exceeded in responding to your request. If\nyou are searching for entries, you may achieve better results\nif you are more specific in your search.", "A size limit was exceeded in responding to your request. If\nyou are searching for entries, you may achieve better results\nif you are more specific in your search, because too many entries\nmatched your search criteria.", "The gateway attempted to authenticate to the server using\na method the server does not understand.", "The gateway attempted to authenticate to the server using an\nauthentication method which the server does not support. ", "Your request could not be fulfilled, probably because the server\nthat was contacted does not contain the data you are looking\nfor. It is possible that a referral to another server was\nreturned but could not be followed. If you were trying to make\nchanges to the directory, it may be that the server that holds\nthe master copy of the data is not available.", "Your request exceeded an administrative limit in the server.", "A critical extension that the gateway requested is not available in this server.", "The server was unable to process the request, because the\nrequest referred to an attribute which does not exist in the\nentry.", "The server was unable to fulfill your request, because the\nrequest violates a database constraint.", "The server could not add a value to the entry, because that\nvalue is already contained in the entry.", "The server could not locate the entry. If adding a new entry,\nbe sure that the parent of the entry you are trying to add exists.\nIf you received this error while searching or viewing an entry, it indicates that the\nentry which was being searched for does not exist.", "A distinguished name was not in the proper format. ", "The entry you attempted to authenticate as does not have a\npassword set, or is missing other required authentication\ncredentials. You cannot authenticate as that entry until the\nappropriate attributes have been added by the directory manager. ", "The password (or other authentication credentials) you supplied\nis incorrect. If you just changed your password, you might try exiting your browser and connecting again.", "You do not have sufficient privileges to perform the operation. ", "The server is too busy to service your request. Try again\nin a few minutes.", "The LDAP server could not be contacted.", "The server was unwilliing to process your request. Usually,\nthis indicates that serving your request would put a heavy load\non the server. It may also indicate that the server is not\nconfigured to process your request. If searching, you may wish\nto limit the scope of your search.", "The directory server could not honor your request because it\nviolates the schema requirements. Typically, this means that you\nhave not provided a value for a required field. It could also mean\nthat the schema in the directory server needs to be updated.", "The directory server will not allow you to delete or rename\nan entry if that entry has children. If you wish to do this, you\nmust first delete all the child entries.", "The server was unable to add a new entry, or rename an existing\nentry, because an entry by that name already exists.", "Your request would affect several directory servers.", "The directory server could not be contacted. Contact your\ndirectory server administrator for assistance.", "An error occured while sending data to the server.", "An error occured while reading data from the server.", "The server did not respond to the request. \nThe request timed out.", "The server does not support the authentication method used\nby the gateway.", "The search filter constructed by the gateway was in error.", "The operation was cancelled at your request.", "An internal error occurred in the library - a parameter was\nincorrect.", "A connection to the directory server could not be opened. Contact your\ndirectory server administrator for assistance.", "An unknown error was encountered.", "Entry Already Exists", "An entry named ", "onMouseOver=\"window.status='Click here to view this entry'; return true\"", " already exists.
Please choose another name and/or location.\n
\n", "Parent entry does not exist", "You cannot add an entry by the name:
%s,
\nbecause the parent of that entry does not exist.
\nBefore you can add this entry, you must first add\n", "its parent.\n", "an entry named:
%s.\n", "Warning: no authentication (continuing)...\n", "%s Directory Entry", "
Entry DN: %s
\n", "Changes to %s have been saved.", "%s has been added.", "%s has been deleted.", "Renamed %s to %s.", "
Note: because you %s the entry you were \nauthenticated as, it was necessary to discard your \nauthentication credentials. You will need to authenticate \nagain to make additional changes.\n",
"deleted",
"renamed",
"changed the password of",
"Attribute %s was changed
\n",
" NOT ASCII (%ld bytes)\n",
"No values were entered. Please try again.\n",
"No changes were made.\n",
"
Sending %s to the directory server...\n", "information", "changes", "
Successfully added entry.\n", "
Successfully edited entry. Your changes have been saved.\n", "
Successfully deleted entry.\n", "
The new name for the entry is: %s\n
Successfully renamed entry.\n",
"You must provide the old password.",
"You must provide a new password. Please try again",
"The new and confirming passwords do not match. Please try again",
" The database has been deleted. Creating new database... \n The database could not be deleted \n
The %s %s is already in use. Please choose a different one.
\n",
"missing form data element \"%.100s\"",
"Initializing config info",
"Cannot open file.",
"Malformed dbconf file.",
"Missing property name in dbconf file.",
"Out of memory.",
"Missing directive in dbconf file.",
"Cannot open config file \"%s\"",
"Missing argument for \"authlifetime\" directive\n",
"Missing argument for \"dirmgr\" directive\n",
"Missing argument for \"baseurl\" directive\n",
"Bad URL provided for \"baseurl\" directive - the base DN is missing\n",
"parsing baseurl directive",
"Bad URL provided for \"baseurl\" directive - not an \"ldap://\" URL\n",
"\"ldaps://\" URLs are not yet supported\n",
"Missing arguments for \"template\" directive\n",
"Missing argument for \"sslrequired\" directive\n",
"Unknown argument to \"sslrequired\" directive (should be \"never\", \"whenauthenticated\", \"always\")\n",
"Missing argument for \"securitypath\" directive\n",
"Missing argument for \"location-suffix\" directive\n",
"Three arguments are required for the \"location\" directive\n",
"At least two arguments are required for the \"newtype\" directive\n",
"Unknown location in \"newtype\" directive\n",
"Three or four arguments are required for the \"tmplset\" directive\n",
"Four arguments are required for the \"attrvset\" directive\n",
"Missing argument for \"charset\" directive\n",
"Missing argument for \"ClientLanguage\" directive\n",
"Missing argument for \"AdminLanguage\" directive\n",
"Missing argument for \"DefaultLanguage\" directive\n",
"Missing filename for \"include\" directive\n",
"Unknown directive in config file\n",
"<= erase_db could not open lcache.conf file \"%s\"\n",
"\n
Please type your name:",
"Continue",
"Continue",
"Cancel",
"Authenticate as directory manager\">  (only available to Directory Administrators)\n",
"Authenticate...",
"Discard authentication credentials?",
"Password for %s: ",
"Continue",
"Continue",
"Cancel",
"Authenticate (log in) to the directory",
"You are about to authenticate to the directory as \n",
"To complete the authentication process, you should\ntype your password.\n",
"Before you can edit or add entries, you must authenticate\n(log in) to the directory. This window will guide\nyou through the steps of the authentication\nprocess.\n",
"From this screen you may authenticate, or log in, \nto the directory. You will need to authenticate\nbefore you can modify directory entries. If you\nattempt to modify an entry without authenticating,\nyou will be asked to log in.\n",
"Authentication Status",
"