Skip to content
Snippets Groups Projects
Commit c12a697c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Provide example code with dc style baseDN.

parent 0452bab3
No related branches found
No related tags found
No related merge requests found
......@@ -104,20 +104,20 @@ typedef struct baseinfo {
/* (up to three of them) */
} Base;
Base base[] =
{ "ou=People, o=University of Michigan, c=US",
Base base[] = {
{"ou=People, dc=OpenLDAP, dc=org",
0, USER,
"uid=%s", "cn=%s", NULL,
"ou=System Groups, ou=Groups, o=University of Michigan, c=US",
{"uid=%s", "cn=%s", NULL}},
{"ou=System Groups, ou=Groups, dc=OpenLDAP, dc=org",
1, 0xff,
"(&(cn=%s)(associatedDomain=%h))", NULL, NULL,
"ou=User Groups, ou=Groups, o=University of Michigan, c=US",
{"(&(cn=%s)(associatedDomain=%h))", NULL, NULL}},
{"ou=User Groups, ou=Groups, dc=OpenLDAP, dc=org",
1, 0xff,
"(&(cn=%s)(associatedDomain=%h))", NULL, NULL,
NULL
};
{"(&(cn=%s)(associatedDomain=%h))", NULL, NULL}},
NULL
};
char *sendmailargs[] = { MAIL500_SENDMAIL, "-oMrX.500", "-odi", "-oi", "-f", NULL, NULL };
char *sendmailargs[] = { MAIL500_SENDMAIL, "-oMrLDAP", "-odi", "-oi", "-f", NULL, NULL };
static char *attrs[] = { "objectClass", "title", "postaladdress",
"telephoneNumber", "mail", "description", "owner",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment