From: Kurt Zeilenga Date: Mon, 14 Dec 1998 20:55:59 +0000 (+0000) Subject: Import mail500 change from rel eng 1.1. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~929 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9bd0b8f78985660f3a00eff43ff9faa2505712af;p=openldap Import mail500 change from rel eng 1.1. --- diff --git a/clients/mail500/main.c b/clients/mail500/main.c index b147908db6..3c4bb7529b 100644 --- a/clients/mail500/main.c +++ b/clients/mail500/main.c @@ -105,20 +105,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",