"; # It is important that you put he double-quotes around the value. # If you should need to insert a double-quote as the value its self, # escape it out by using a backslash (\"). For example: # $variable = "The dog said, \"I like beans.\" Then he ate some."; # Comments are marked with a hash, #, character as the first symbol. # Sections: # 1 - Installation and Graphic Options # 2 - Database Configuration # 3 - LDAP Configuration # Section 1: Installation and Graphic Options # ------------------------------------------- # PREFIX: The installed location of IRM, from the web-browsers point of view. # Syntax: $PREFIX = ""; # Default: $PREFIX = "/irm"; $PREFIX = ""; # USERPREFIX: The location of the "db" directory relative to the installed # location of IRM. This should never need to be changed, unless you move the # "db" directory to another location. The benefit of this option is that # it should fix all of the path problems were created by using the irm.inc # file the way we do. # Default: $USERPREFIX = "$PREFIX/db" $USERPREFIX = "$PREFIX/db"; # UPREFIX: The installed location of IRM including access protocol and server, # from the web-browsers point of view. # Syntax: $UPREFIX = "http://your.webserver.com/"; # Default: $UPREFIX = "http://www.bevenhall.se/irm"; $UPREFIX = "http://$_ENV[HOSTNAME]"; # AUTHSOURCE: The source of authentication information. Note, even if LDAP is # selected, permissions and preferences will be stored in # the database. # # Syntax: $AUTHSOURCE = ""; # Default: $AUTHSOURCE = "DB"; $AUTHSOURCE = "DB"; # Section 2: Database Configuration # --------------------------------- # cfg_dbname: The database server and port. # Syntax: $cfg_dbname = ""; # Default: $cfg_dbname = "localhost:3306"; $cfg_db = "irm"; $cfg_dbname = "localhost"; $cfg_dbuser = "root"; $cfg_dbpasswd = "wektax1"; # cfg_dbtype: Database type # Syntax: $cfg_dbtype = ""; # Default: $cfg_dbtype = "mysql"; $cfg_dbtype = "mysql"; $cfg_docstable = "documents"; # Section 3: LDAP Configuration # --------------------------------- # Use this section if you selected "LDAP" for the "$AUTHSOURCE" variable. # Here you will specify all the options needed to bind to an ldap source. # cfg_ldapserver: Hostname of the LDAP server # Syntax: $cfg_ldapserver = "host"; # Default: $cfg_ldapserver = "ldap.host.com"; $cfg_ldapserver = "mailgot"; # cfg_serverroot: Hostname of the LDAP server # Syntax: $cfg_serverroot = ""; # Default: $cfg_serverroot = "o=host.com"; $cfg_serverroot = "o=vgregion"; # cfg_ldapfullname: The identifier that we should use to determine a # Full Name "First Name Last Name" style from the LDAP database. # Make sure you do NOT add the "=" at the end. # Syntax: $cfg_ldapfullname = ""; # Default: $cfg_ldapfullname = "gecos"; $cfg_ldapfullname = "cn"; # cfg_ldapemail: The identifier that we should use to determine an # email address from the LDAP database. # Make sure you do NOT add the "=" at the end. # Syntax: $cfg_ldapemail = ""; # Default: $cfg_ldapemail = "mail"; $cfg_ldapemail = "mail"; # cfg_ldaplocation: The identifier that we should use to determine a # location from the LDAP database. # Make sure you do NOT add the "=" at the end. # Syntax: $cfg_ldaplocation = ""; # Default: $cfg_ldaplocation = "officelocation"; $cfg_ldaplocation = "department"; # cfg_ldapphone: The identifier that we should use to determine a # phone number from the LDAP database. # Make sure you do NOT add the "=" at the end. # Syntax: $cfg_ldapphone = ""; # Default: $cfg_ldapphone = "officephonenumber"; $cfg_ldapphone = "telephonenumber"; ?>