1 /*************************************************************************
2 * create_alias_files.h
3 * Author: Leslie Van Exel, Jr.
4 * Description: Header file for creating alias files for redirecting mail
5 **************************************************************************
6 * Version Date       Changes
7 * 2       2010/08/19 Updated for version change.
8 * 1       -          Creation.
9 *************************************************************************/
10 #ifndef _CREATE_ALIAS_FILES__H_
11 #define _CREATE_ALIAS_FILES__H_
12 /* If you have more than 255 groups within your sites,
13  * change this number to whatever seems reasonable to you*/
14 #define MAX_SITEGROUPS 255
15 
16 
17 /* Comment out below to only query the single server in AD_SERVERNAME
18  * If you do, and it's a Global Catalog connection, then all groups
19  * must be "Universal" groups to get the member listings.
20  * Universal groups create a lot of overhead in the Global Catalog
21  * so this isn't recommended.  If you only have one site, you might
22  * as well just use ldap instead of the active directory*/
23 #define CONNECT_TO_LOCAL_LDAP_SERVERS
24 
25 
26 /*You shouldn't need to change anything below this*/
27 
28 
29 #define AD_CURRENT_VERSION "0.17"
30 
31 /* This can be whatever you want, just as long as it is
32  * never used for anything else, or it will get overwritten*/
33 #define TEMPFILENAME ALIAS_DIR_HEADER "thisisatempaliasfilenamedfile"
34 
35 #define AD_CN_FIELD "cn"
36 #define ALIAS_FILE_HEADER ".qmail-"
37 
38 // #define AD_USERS_CONTAINER_STRING "Users"
39 #define AD_USERS_CONTAINER_STRING "Users"
40 
41 struct Site_Group{
42 	char *site;
43 	char *group;
44 } typedef sitegroup;
45 
46 #endif
47