[Date Prev][Date Next] [Chronological] [Thread] [Top]

Base Array in main.c



Question 1**************
Does anyone know what "O, USER", "1, Oxff" means in 
the following Base Array which is located in the
/ldap/clients/mail500/main.c:
( I would like to note that the example at 
http://www.openldap.org/software/man.cgi?query=mail500
does not use the above.)

} Base;

Base    base[] =
        { "ou=People, o=University of Michigan, c=US",
                0, USER,                                  
                "uid=%s", "cn=%s", NULL,
          "ou=System Groups, ou=Groups, o=University of Michigan, c=US",
                1, 0xff,                                   
                "(&(cn=%s)(associatedDomain=%h))", NULL, NULL,
          "ou=User Groups, ou=Groups, o=University of Michigan, c=US",
                1, 0xff,                       
                "(&(cn=%s)(associatedDomain=%h))", NULL, NULL,
          NULL
        };

Question 2. ************ 
The README tells me to configure LDAPHOST in main.c.  However,
a find in the main.c only produces the following:

LDAP    *ld;
char    *vacationhost = NULL;
char    *errorsfrom = NULL;
char    *mailfrom = NULL;
char    *host = NULL;
char    *ldaphost = NULL;                     #here?????????
int     hostlen = 0;
int     debug = 0;
Is this where I put in the hostname of my ldap server?

******That's all*********
Thanks,
See you all again in two days
Kristina
.°・.。*.°・.。・.°・.。・.°*。・.。・...゜☆¨・.。・.°゜・。