ptloader setup

Igor Brezac igor at ipass.net
Wed Jan 5 15:19:45 EST 2005


On Wed, 5 Jan 2005, Mike O'Rourke wrote:

> Igor Brezac 12/31/04 12:21am
>
>> On Thu, 30 Dec 2004, Mike O'Rourke wrote:
>>
> ...<snip>
>>
>> I would start with basics and get ptloader to work first.  Clear out the
>> pt cache db and start from the begining.
>>
>> Can you email me queries from the ldap server log and ptdump output?
>>
>> I just tested a setup similar to your and things work for me.
>>
>> --
>> Igor
>
> Hello Igor,
>
>
> This is a login attempt from a SquirrelMail client. I first emptied the 
> cache (is it normal that the cache has a "^Y^F" at the end of the 
> username?) then tried the login.

It should not show this, but this may be just syslog display issue.

> imapd.log:
>
> Jan  5 03:24:36 server12 ptexpire[20488]: Expiring entries older than 10 seconds (currently 1104917076)
> Jan  5 03:24:36 server12 ptexpire[20488]: $Id: ptexpire.c,v 1.18 2004/05/26 16:05:59 rjs3 Exp $
> Jan  5 03:24:36 server12 ptexpire[20488]: deleteing entry for test3 at testdom.mydom.com^Y^F
> Jan  5 03:24:36 server12 ptexpire[20488]: mydelete: starting txn 2147483737
> Jan  5 03:24:36 server12 ptexpire[20488]: mydelete: committing txn 2147483737
> Jan  5 03:24:36 server12 ptexpire[20488]: finished
> Jan  5 03:25:18 server12 master[20491]: about to exec /usr/cyrus/bin/imapd
> Jan  5 03:25:18 server12 imap[20491]: executed
> Jan  5 03:25:18 server12 imap[20491]: accepted connection
> Jan  5 03:25:18 server12 imap[20491]: ptload(): pinging ptloader
> Jan  5 03:25:18 server12 ptloader[6849]: accepted connection
> Jan  5 03:25:18 server12 ptloader[6849]: mystore: starting txn 2147483739
> Jan  5 03:25:18 server12 ptloader[6849]: mystore: committing txn 2147483739
> Jan  5 03:25:18 server12 imap[20491]: badlogin: server11.mydom.com [192.168.7.11] plaintext test3 at testdom.mydom.com SASL(-13): user not found: checkpass failed
> Jan  5 03:26:21 server12 master[6846]: process 20491 exited, status 0
>
>
> ptdump (after login attempt):
>
> user: test3 at testdom.mydom.com time: 1104917118 groups: 1
>  secret
>
> transaction from slapd (removing the hex representations):
>

I just wanted to see if any other searches were performed.  You should 
just use slapd -d 256 ...

I think you have acls on this mailbox (or you have a shared mailbox with 
acls) and you do not have an ldap entry for each of the identities listed 
in those acls.

-- 
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list