/* server hostname */
#define UWA_LDAP_HOST "stuart2.mams.org.au"
/* ports for plain and ssl connections */
#define UWA_LDAP_PORT 389
/* Base of group searches */
#define UWA_LDAP_GR_BASE "ou=groups,dc=mams,dc=org,dc=au"
/* Base of userid searches */
#define UWA_LDAP_USR_BASE "ou=demo,dc=mams,dc=org,dc=au"
/* Base of courses searches */
#define UWA_LDAP_CR_BASE "ou=demo,dc=mams,dc=org,dc=au"
/* base is actually "ou=QQQYYYY,ou=courses,..." */
/* formst to make member attribute value from userid */
#define UWA_LDAP_GR_MBRFMT "uwnetid=%s"
/* formst to make member attribute value from eppn */
#define UWA_LDAP_GR_EPPNFMT "eduPersonPrincipalName=%s"
/* attribute of group names */
#define UWA_LDAP_GR_NAMEATTR "cn"
/* attribute of group members */
#define UWA_LDAP_GR_MBRATTR "description"
/* attribute of group members who are groups */
#define UWA_LDAP_GR_GMBRATTR "memberGroup"
/* attribute of group owners */
#define UWA_LDAP_GR_ONRATTR "owner"
/* formst to make course attribute value from sln */
#define UWA_LDAP_CR_MBRFMT "uwnetid=%s"
/* attribute of sln names */
#define UWA_LDAP_CR_NAMEATTR "sln"
/* attribute of course student members */
#define UWA_LDAP_CR_STDATTR "student"
/* attribute of course instructors members */
#define UWA_LDAP_CR_INSATTR "instructor"
/* attribute of other course owners */
#define UWA_LDAP_CR_ONRATTR "owner"
/* attribute of user type codes */
#define UWA_LDAP_TYPATTR "eduPersonAffiliation"
/* local eppn domain */
#define UWA_EPPN_DEFAULT "@stuart2.mams.org.au"