The userers are in the ldap tree and not in the linux system so they
have no rights on the linux system. That's why the virtual user are
needed.

For pop3 access of user you do not want them to have access on the local
system

Regards,

didier

-----Original Message-----
From: Timm Korte [mailto:Timm.Korte@;gmx.de] 
Sent: donderdag 14 november 2002 13:07
To: Didier Geheniau
Subject: RE: Ldap, Homedirmake and needed fields?


Yes, i did - well - at least the qmail.schema - it looks like the
problem is something with the user-id's - if I add the fields qmailuid
and qmailgid (as for virtual users), the homedirectory is created using
those id's - but why doesn't qmail just use the real userid and
groupid??

> Did you include qmailuser.schema in the slapd.conf file?
> 
> -----Original Message-----
> From: Timm Korte [mailto:Timm.Korte@;gmx.de]
> Sent: woensdag 13 november 2002 23:36
> To: [EMAIL PROTECTED]
> Subject: Ldap, Homedirmake and needed fields?
> 
> 
> Hello, *
> 
> I just reinstalled qmail-ldap from scratch, set up all control files, 
> added users to the ldap directory - but qmail-ldap won't 
> accept/deliver any mails to local-ldap accounts if i don't create the 
> hone-dir by hand. The script pointet do in ~/control/dirmaker doesn't 
> seem to get executed (it works, if i do a su qmaill, "create_homedir
> /home/testuser") and qmail-send gives up with "Sorry, no mailbox here 
> by that name"
> 
> qmail-ldaplookup -d 255 -m [EMAIL PROTECTED] returns:
> 
> mail:~ # /var/qmail/bin/qmail-ldaplookup -d 255 -m
[EMAIL PROTECTED]
> init_ldap:      passwords are not compared via rebind
>                 localdelivery:   on
>                 clustering:      off
>                 ldapobjectclass: qmailuser
>                 homedirmaker:    /var/qmail/bin/create_homedir
>                 defaultDotMode:  ldaponly
>                 defaultQuota:    25000000S, 1000C
>                 QuotaWarning:
> ------
> You can contact us at +49 XXX XXXXXX
> 
> ------
> qldap_lookup:   searching with
> (&(objectclass=qmailuser)(|([EMAIL PROTECTED])(mailAlternateA
> dd
> [EMAIL PROTECTED])))
> qldap_lookup:   NOT successful: needed object/field is missing
> qldap_lookup:   searching with
>
(&(objectclass=qmailuser)(|([EMAIL PROTECTED])(mailAlternateAdd
> [EMAIL PROTECTED])))
> qldap_lookup:   NOT successful: needed object/field is missing
> user not found giving up
> 
> so it looks like as if there is some field missing in the users ldap 
> entry? - but why are mails delivered, if i create the homediretory by 
> hand first - the ~/Maildir/ is created automatically w/o problem :(
> 
> 
> 
> greetins & bye
> 
> Timm
> 
> P.S.: The users ldif is: (Passwords are XXXed but working with samba 
> pdc / linux login etc..)
> 
> homeDirectory: /home/testuser
> objectClass: account
> objectClass: posixAccount
> objectClass: sambaAccount
> objectClass: qmailUser
> uidNumber: 3001
> gidNumber: 3000
> loginShell: /bin/bash
> userPassword: XXX
> mail: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> mailMessageStore: /home/testuser/Maildir/
> uid: testuser
> pwdLastSet: XXX
> logonTime: 0
> logoffTime: XXX
> kickoffTime: XXX
> pwdCanChange: 0
> pwdMustChange: XXX
> displayName: Dummy Testuser
> cn: Dummy Testuser
> rid: 5002
> primaryGroupID: 7001
> lmPassword: XXX
> ntPassword: XXX
> acctFlags: [UX         ]
> 
> 



Reply via email to