Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-2011, 06:40 AM
New Member
 
Posts: 4
Default Custom Authentication issue

Hi,

I have written a custom authentication module to enable client IP address check (using Zimbra Server Extensions).

This is working fine when logging in from Zimbra web client. But when using IMAP/POP client, client IP is being received as null.

This is the method I am using to get client IP:
(String)context.get(AuthContext.AC_ORIGINATING_CLI ENT_IP)

How can we get the IP address of the client when logging in from IMAP/POP.

================================================== ====
This is the mailbox.log. "aa.bb.cc.dd" is the correct client IP address which I want.

2011-02-10 20:02:19,085 INFO [ImapServer-11] [ip=aa.bb.cc.dd;] CustomAuth - ::::Current IP:::null
2011-02-10 20:02:19,085 INFO [ImapServer-11] [ip=aa.bb.cc.dd;] CustomAuth - ::::No IPs match for user. Denying logon
================================================== ====

Regards
Srini
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.