I don't know the utilit qadduser. I add a user whith a standard ldapadd 
command.
Try this:
Make a file called user.ldif with this content:

dn: uid=winanjaya, dc=LippoGeneral,dc=com
objectClass: qmailUser
objectClass: person
objectClass: top
objectClass: inetOrgPerson
mail: [EMAIL PROTECTED]
uid: winanjaya
userPassword: password_secret
cn: Winanjaya
sn: your sn
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailMessageStore: /home/vpopmail/domains/lippogeneral.com/winanjaya
mailHost: DNS.LippoGeneral.com
mailQuota: 10000000S, 1000C


and call this command:

cat user.ldif|ldapadd -v -x -D "cn=manager,dc=LippoGeneral,dc=com" -w secret



Winanjaya wrote:

> Yes.. I'm a beginner, so I need a suggestion from the expert and also I am
> learning and reading LWQ
> 
>  after I add the following lines:
> 
> include /usr/local/src/qinstall/vpopmail-5.2/ldap/qmailUser.schema
> include /usr/local/src/qinstall/sqwebmail-3.3.1/authlib/authldap.schema
> schemacheck  off
> 
> qadduser -u [EMAIL PROTECTED] -p 1234 -s DNS.LippoGeneral.com -c
> "Winan" -q "10000000S, 1000C"
> /home/vpopmail/domains/lippogeneral.com/winanjaya
> 
> I found different error message:
> 
> adduser:: Undefined attribute type
>       additional info: mailHost D0
> 
> Thanks a lot
> Have a nice day and good luck
> 
> Winan
> 
> -----Original Message-----
> From: David Rodriguez Fernandez [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 13, 2002 3:17 PM
> To: Winanjaya; [EMAIL PROTECTED]
> Subject: Re: adduser: Undefined attribute type
> 
> 
> You must read more. You level is too low. You must read before the
> http://www.lifewithqmail.org/lwq.html
> and
> http://www.lifewithqmail.org/ldap/
> 
> 
> Winanjaya wrote:
> 
> 
>>I have my QMail installed by QInstall tools .. and so I don't know where
>>
> is
> 
>>it ..? could you please inform me? thanks a lot
>>
>>-----Original Message-----
>>From: David Rodriguez Fernandez [mailto:[EMAIL PROTECTED]]
>>Sent: Friday, September 13, 2002 2:54 PM
>>To: Winanjaya; [EMAIL PROTECTED]
>>Subject: Re: adduser: Undefined attribute type
>>
>>
>>You must add the qmail's schema in the include list. The file is in the
>>qmail's source directory.
>>
>>Winanjaya wrote:
>>
>>
>>
>>>Yes I have edited my /etc/openldap/slapd.conf.. as below:
>>>
>>>include /etc/openldap/schema/core.schema
>>>include /etc/openldap/schema/cosine.schema
>>>include /etc/openldap/schema/inetorgperson.schema
>>>include /etc/openldap/schema/nis.schema
>>>include /etc/openldap/schema/redhat/rfc822-MailMember.schema
>>>include /etc/openldap/schema/redhat/autofs.schema
>>>include /etc/openldap/schema/redhat/kerberosobject.schema
>>>include /etc/openldap/schema/extension.schema
>>>schemacheck  off
>>>
>>>pidfile //var/run/slapd.pid
>>>argsfile //var/run/slapd.args
>>>
>>>access to dn=".*,dc=LippoGeneral,dc=com"
>>>     by * write
>>>     by * read
>>>     by * search
>>>
>>>database ldbm
>>>suffix "dc=LippoGeneral,dc=com"
>>>rootdn "cn=Manager,dc=LippoGeneral,dc=com"
>>>rootpw secret
>>>directory /var/lib/ldap
>>>index objectClass,uid,uidNumber,gidNumber,memberUid   eq
>>>index cn,mail.surname,givenname                           eq,subinitial
>>>
>>>please help .. I have stuck on this .. Thanks
>>>
>>>Regards
>>>Winan
>>>
>>>
>>>
>>>
>>>
>>>-----Original Message-----
>>>From: David Rodriguez Fernandez [mailto:[EMAIL PROTECTED]]
>>>Sent: Friday, September 13, 2002 2:36 PM
>>>To: Winanjaya
>>>Cc: 'QLDAP Admin Groups'; 'QMail-LDAP Mailling List'
>>>Subject: Re: adduser: Undefined attribute type
>>>
>>>
>>>You have edited your slapd.conf including the qmail's schema?
>>>
>>>Winanjaya wrote:
>>>
>>>
>>>
>>>
>>>>I met error when running adduser, the error message is:
>>>>adduser: Undefined attribute type
>>>>    additional info: mailMessageStore: D0
>>>>
>>>>Any idea an or suggestion would be highly appreciated and thanks a lot in
>>>>advance
>>>>
>>>>
>>>>Have a nice day a head
>>>>Regards
>>>>Winan
>>>>
>>>>
>>>>
>>>>
>>>>
> 


Reply via email to