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 04-14-2009, 07:56 PM
New Member
 
Posts: 3
Question how do I programmatically verify user's password?

Greetings,

Is there a Zimbra SOAP API to verify user's password?

That is I have a user name and a password, how do I know that the
password is valid?

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-15-2009, 11:45 PM
Loyal Member
 
Posts: 87
Default Maybe this command is useful for you

you can use this command to have a try:

[zimbra@mail ~]$ cd /opt/zimbra/cyrus-sasl/sbin/
[zimbra@mail sbin]$ ./testsaslauthd -u user@domain -p password
0: OK "Success."

__________________
Ask Forever...
Reply With Quote
  #3 (permalink)  
Old 04-16-2009, 02:53 PM
Moderator
 
Posts: 6,237
Default

Preauth - Zimbra :: Wiki

Quote:
The SOAP interface uses the standard AuthRequest message, but instead of passing in a password, you specify <preauth> data.
[snip]
The auth token will be return in the AuthResponse. At which point, you can "inject" it into the app via the URL interface.

Last edited by mmorse; 04-16-2009 at 02:58 PM..
Reply With Quote
  #4 (permalink)  
Old 04-16-2009, 03:10 PM
New Member
 
Posts: 3
Default

Thanks for the reply, but I do need to *verify* the user password once I am presented with it.
Pre-authentication is not exactly what I need.

Do you have other suggesstions?
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.