Here's a sample LDIF from the development stage:
dn: o=Inter7
o: Inter7
objectclass: organization
dn: ou=test.com, o=Inter7
ou: test.com
objectclass: organizationalUnit
dn: uid=test2, ou=test.com, o=Inter7
mailMessageStore: directory
uid: test2
userPassword: {crypt}password
objectclass: qmailUser
That creates o=Inter7,ou=test.com with a username of [EMAIL PROTECTED]
and a hash test of 'password'.
All you need to create is the first dn of o=Inter7.
Make sure your vldap.h matches your schema.
Also, be sure you have at least the following variables in your
qmailUser schema..
objectclass qmailUser
requires
objectClass,
uid,
qmailGID,
qmailUID,
qmaildomain,
userPassword,
mailQuota,
mailMessageStore,
name
For slapd, you'll want these configurations in your slapd.conf
suffix "o=Inter7"
rootdn "cn=Manager, o=Inter7"
rootpw password
..and be sure they match up to vldap.h again.
Hope this all helps. I know it's a lot.
Xiao Hua Huang wrote:
>
> Thanks for your reply.
> But how can you create?
> Could you get me some sample?
>
> Thanks
> Bill
>
>
> vol
> Sent by: vol To: Xiao Hua Huang
> <[EMAIL PROTECTED]>
> cc: [EMAIL PROTECTED], Ken Jones
> 2001-08-31 <[EMAIL PROTECTED]>
> 01:12 Subject: Re: "Unable to chdir to
> vpopmail/usrs diretory" error in LDAP module
>
>
> You most likely need to create your manager user, and setup
> the schema inside the database that you'll be using.
>
> The LDAP module does not do this itself.
>
> Xiao Hua Huang wrote:
> >
> > Hi All:
> > Just now I installed vpopmail-4.10.35 + openLDAP-2.0.7 just following the
> > README.ldap in the vpopmail tar file.
> > Everything looks OK but when I run:
> > vadddomain test.com
> >
> > It is said ""Unable to chdir to vpopmail/usrs diretory"
> >
> > Anyone have idea about this problem???
> >
> > Thanks
> > Bill
>
> --
> [EMAIL PROTECTED]
> Inter7 Internet Technologies, Inc.
> www.inter7.coom - 847-492-0470
> Prices at http://www.inter7.com/prices
--
[EMAIL PROTECTED]
Inter7 Internet Technologies, Inc.
www.inter7.coom - 847-492-0470
Prices at http://www.inter7.com/prices