Next / Previous / Contents / TCC Help System / NM Tech homepage

3.3. Manifest constants

These constants, used throughout the program, are placed at the top for easy modification.

3.3.1. UID_ATTR

The name of the LDAP attribute that contains the user's account name.

homelist.py
#================================================================
# Manifest constants
#----------------------------------------------------------------
UID_ATTR  =  "uid"

3.3.2. GECOS_ATTR

The name of the LDAP attribute that contain's the user's full name (first plus last).

homelist.py
GECOS_ATTR      =  "gecos"

3.3.3. LDAP_SERVER

The URL for our LDAP server.

homelist.py
LDAP_SERVER     =  "ldaps://ldap0.nmt.edu:636"

3.3.4. ACCOUNTS_DN

The distinguished name (DN) of the LDAP root node for user accounts.

homelist.py
ACCOUNTS_DN     =  "ou=accounts,dc=tcc,dc=nmt,dc=edu"

3.3.5. WEB_DIR

Name of the top-level subdirectory in a user account where all their Web pages must reside.

homelist.py
WEB_DIR  =  "public_html"