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

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 08-18-2009, 12:45 AM
Senior Member
 
Posts: 54
Default zmprov checking encrypted passwords?

I'm moving some mail accounts from another type of mail server into zimbra; the old server uses standard "{ssha}" hashed passwords, which zimbra imports with:

zmprov ca user@domain '{ssha}alskdjflkjaalsdkfjlkjasdflkjasdlfjalskdfjaj '

Three of the accounts fail with this error however:
ERROR: account.INVALID_PASSWORD (invalid password: not enough numeric characters)

I'm not sure what's going on here --- I don't believe zmprov is really cracking them in a split second unless it's doing a short dictionary attack and they're really simple passwords.

I just realized all three of the affected accounts have pw hashes that don't have numbers in them: it looks like the validity check is treating them as plaintext even though they're not...
Reply With Quote
  #2 (permalink)  
Old 08-18-2009, 02:54 AM
Elite Member
 
Posts: 296
Default

It seems that "zmprov ca" doesn't accept encrypted string as passwd, but
"zmprov ma" does.

so, have you tried to :

zmprov ca account@domain 111111
(111111 is tmp passwd)

and then use "ma" to set passwd :

zmprov ma account@domain userPassword '{crypt}xxxxxxxx'

not sure if this helps.
Reply With Quote
  #3 (permalink)  
Old 08-18-2009, 09:58 AM
Senior Member
 
Posts: 54
Default

Yes, in fact that's what I discovered last night and that approach in fact worked...
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.