|
From: Craig W. <cra...@az...> - 2005-10-31 15:48:27
|
On Mon, 2005-10-31 at 16:44 +0800, Murray Trainer wrote: > On Mon, 2005-10-31 at 16:22, Craig White wrote: > > On Sun, 2005-10-30 at 21:17 -0800, Jamie Cameron wrote: > > > > > > > > > > How about keeping the existing mail aliases field and just adding a > > > > tickbox to allow/disallow duplicates (default ticked or unticked > > > > configurable in the module's config page). > > > > > > That is exactly what I did :-) > > > > > ---- > > I get it now - you're talking about the alias field in the cyrus > > configuration at the bottom of the configuration which I could never > > make work in RHEL 3.x > > > > I was able to get Net::LDAP installed on RHEL 4 (required MIME::Base64 > > and MD5 perl modules) and it appears to be working except I get an > > error... > > Failed to connect to IMAP server localhost. Maybe your module > > configuration is incorrect. > > > > but it seems straightforward enough, server is localhost, username is > > cyrus and cyrus' password - which I can do from command line all day > > long... > > > > # imtest -u cyrus localhost > > S: * OK srv1.azapple.com Cyrus IMAP4 v2.2.12-Invoca-RPM-2.2.12-9 server > > ready > > C: C01 CAPABILITY > > S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS > > NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND > > BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE > > STARTTLS LISTEXT LIST-SUBSCRIBED X-NETSCAPE > > S: C01 OK Completed > > Please enter your password: > > C: L01 LOGIN root {6} > > S: + go ahead > > C: <omitted> > > S: L01 OK User logged in > > Authenticated. > > Security strength factor: 0 > > . logout > > * BYE LOGOUT received > > . OK Completed > > Connection closed. > > > > So what am I doing wrong? > > > > Craig > > > Hi Craig, > > I never figured out imtest. Try a telnet to localhost on the imap port > and do ". login userid password" for cyrus and then a test ldap user > (might need an existing Cyrus mailbox). If they work then the Cyrus > side of things is OK and it must be a problem in the LDAP Users module > config. ---- # telnet localhost 143 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. * OK srv1.azapple.com Cyrus IMAP4 v2.2.12-Invoca-RPM-2.2.12-9 server ready . login cyrus XXXXXXXX . OK User logged in . logout * BYE LOGOUT received . OK Completed Connection closed by foreign host. imtest/telnet to 143 all the same. I can login as cyrus without a problem. But if in configuration, I set host=localhost, username=cyrus, password=XXXXXXX error message as reported above. This isn't rocket science but it isn't working. Thanks Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |