Hi,
   Can you send one of your ldap enteries ?

Timm Korte wrote:

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])([EMAIL PROTECTED])))
qldap_lookup: NOT successful: needed object/field is missing
qldap_lookup: searching with
(&(objectclass=qmailuser)(|([EMAIL PROTECTED])([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 ]



--
Taymour A El Erian
System Division Manager
T.E. Data
E-mail: [EMAIL PROTECTED]
Web:     www.tedata.net
Tel:    +(202)-7494025
Ext:    1101




Reply via email to