Migrate users from qmail to sun messaging  (import MD5 hashed passwords)

Hi,
we are planning to migrate about 2000 users from our current mail system (qmail + openldap) to Sun Messaging 6.2.
We have encountered a problem with user password migration. In our current ldap user passwords are MD5 encrypted, but it appears as Directory 5.2 does not support MD5 encryption method.
This is what I have found :
http://docs.sun.com/source/817-7616/config.html#wp26092
The following encryption types are supported by Directory Server:
* SSHA (Salted Secure Hash Algorithm) is the recommended method as it is the most secure.
* SHA (Secure Hash Algorithm). This is the method supported by 4.x Directory Servers.
* CRYPT is the UNIX crypt algorithm. It is provided for compatibility with UNIX passwords.
* If this attribute is set to CLEAR, passwords are not encrypted and appear in plain text.
We want to import MD5 hashed passwords so users can use their old password after we migrate to SUN, but as passwords are updated they will be SSHA hashed.
We only have a problem with importing MD5 hashed passwords in ldap directory.
Current password on openLDAP are created with the following PHP code:
$info["userPassword"]= '{md5}' . base64_encode(pack('H*', md5($passwd)));
I have tried to copy userpassword value from openldap to directory but the directory ignores {md5} and hashed the string again using SSHA.
Example:
cleartextpass: password
md5_base64_hash={MD5}X03MO1qnZdYdgyfeuILPmQ==
after ldap modify userpassword field loks like this:
userpassword:{SSHA}a+dFsejrTGwQAgdU07kkgzWWOC16SiIW2UsPcQ==
What is the correct procedure to import MD5 hashed passwords in Sun Directory?
(NS-MTA-MD5 Password Storage Plug-In is enabled)

Sun Directory 5.2 has a plugin NT-MTA-MD5 which should enable users to authenticate with MD5 hashed passwords.
I have checked in cn=config and NS-MTA-MD5 plugin is enabled.
I have tried with {NS-MTA-MD5} prefix and still directory does not allow users to authenticate.
Example:
cleartextpass: foo
md5_base64_hash={NS-MTA-MD5}rL0Y20zC+Fzt72VPzMSk2A==
after ldap modify userpassword field loks like this( NS-MTA-MD5 is accepted by directory):
userpassword:{NS-MTA-MD5}rL0Y20zC+Fzt72VPzMSk2A==
but
ldap bind fails with "invalid credentials" error
We are using solaris 10 so I tried using the prefix {crypt} and it did not work. You said something about the right config in /etc/security/crypt.conf. Here is the content of my crypt.conf file:
1 crypt_bsdmd5.so.1
2a crypt_bsdbf.so.1
md5 crypt_sunmd5.so.1
This should be the right config "md5 crypt_sunmd5.so.1"
Am I missing something here?
Is there anything else I need to do to enable directory to use MD5 hashed passwords?
Maybe NS-MTA-MD5 plugin is not enough?

Similar Messages

  • Migrating users from Directory Server 4.16 to 5.2

    Hi, I'm trying to migrate users from an old Directory Server 4.16 and importing them to a new 5.2. I tried using the db2ldif script and it succeded in exporting everything into a single file. After I import that data into the new server I can't see those users with Delegated Administrator even though I can see them in the Directory Server. What am I doing wrong?? I also tried exporting single leaves from the server using the db2ldif but I haven't succeded, do you know of a way of doing it??

    You shouldn't need to create a mailbox manually. iMS will do that when it has something to put in it.
    I fully agree about locating the users, iDA is a little limited for how it finds the users in the user tree. It expects to find a DC tree for domains, and a tree for users. If all isn't exactly where it looks, it won't find anything.
    Messaging Server itself may be less restrictive. . .
    Much also depends on where the users came from, and your Messaging setup. iMS is capable of "using" directory entries that are correct for Messaging 4.x, but iDA is not. If you migrated from NMS 4.xx, and didn 't update the schema, then iDA won't find the users. . .

  • Migrating Users from Unity for Domino

    We have two Unity 5.0 servers. One for Domino and one for Exchange (2007). We will soon be ridding ourselves of Domino. When that happens we will want to migrate users from the Unity for Domino server to the Unity for Exchange server. Both Unity servers are in the same VLAN & Subnet and they are both on the same domain.
    Is there a way to migrate user accounts from Unity for Domino to Unity for Exchange?

    I did consider COBRAS.
    http://www.ciscounitytools.com/App_COBRAS.htm
    This site mixes terms. It says:
    "Export works with Unity 4.0(5), 4.1(x), 4.2(x), 5.0(x), and 7.0(x) with Exchange Unity Connection 1.2(x). No support for Domino based Unity installations is planned."
    But it also says:
    "NOTE: Exports of Unity systems with Domino as the back end do not support extracting public distribution list membership details. All other data can be extracted, however, including messages. No imports onto Domino based Unity systems are supported and there are no plans to support this moving forward."
    Can anyone clarify? I am wondering if what this means is that exporting data from Unity for Domino and importing that data to Unity for Exchange should work, but TAC won't support me.

  • Migrating Users from domino directory

    hi
    We are planning to migrate users from domino directory to the sun java directory server. Is it possible to import the csv file of domino into sun directory.
    The imported users should be visible in the corporate address book.
    Would like to know the file in which the directory server saves the users..
    we are using directory server v 6.0
    thanks..

    you will need to crunch your csv and convert it to LDIF

  • Migrate Users from 3.0.9 to 9.0.4

    Hi:
    We successfully migrated our users from Portal 3.0.9 (DB 8.1.7.4) to iAS 9.0.2 follow portalstudio/upgrade notes, running ssomig script. After upgrade the atribute "userpassword" in OID does not exist, and when the user connects for first time the sso page request a new password and the the atribute has a value. Due to a bug we install 9.0.4 and try to migrate users from 3.0.9 to iAS 9.0.4. Unfortunately is necesary upgrade our database 8.1.7.4 to 9.0.1 before run the upgrade.csh script. We cannot do this. And ran the new ssomig script against 8.1.7 and get a error when compile a package. Then we ran the ssomig script (9.0.2 whitout the patch part) and get the ldif files but when the script try to load the files, get the ldap 50 error. Then we modify the ldif files and load with ldapdadd command (note 251775.1) and the users are in the OID whitout the "userpassword" atribute but when we try to connect in the sso page get the invalid password error. Any idea?

    Hi
    The ssomig scripts (patch 2995671) must be run from a 309 SSO schema to an iAS 902 infrastructure. No other combination is currently supported. You can not migrate directly to a 904 infrastructure, although this may change at some future point in time. You must also be careful when running the commands because they require different environment variable settings for the export and the import operations.
    Immediately after migration the password attribute in OID will not have a value. 309 SSO and 902 OID use different one way hashing to encrypt the value therefore it can not be directly transferred. The values are populated when the user logs in again. The password is checked against the old value and if ok is re-encypted into OID. This process is modified if the password does not meet the default password policy and in this scenario the user will be prompted to enter a new value.
    You must follow the steps and sequence in the Portal Upgrade Guide carefully to succeed. Changing from the documented path is not supported and will almost certainly fail.
    I recommend you get in touch with support ie log a TAR and discuss your configuration to put in place the correct upgrade plan for your environment.
    Regards

  • Lync 2013- 4 FE servers-F5 HLB- migrating users from OCS-WMI error

    There are 4 Lync 2013 EE FE's with an F5 HLB.  3 of the FEs are Windows 2012 R2 and one is Windows 2008 (this will be decommissioned).
    Access the Lyncadmin/cscp web page works to migrate users from OCS to Lync most of the time.  We noticed at times the following error message:
    Move-CSLegacyUser: verify that WMI Provider is installed by running OCSWMIBC.MSI. For details, see the inner exception.
    So for troubleshooting we would use the <FEname>/cscp to test each server.  The 2008 and one of the 2012 servers worked fine.  The other 2 2012 servers failed with that same error message.
    I looked at lots of articles and made sure that all of the servers had the HKLM\System\CurrentControlSet\LSA\DisableLoopbackCheck set to 1 as well as putting the Poolname FQDN and LB VIP IP address in the HKLM\System\CurrentControlSet\LSA\MSV1_0 registry
    keys.  Just the pool FQDN alone was tried as well.  All the servers were rebooted one at a time as well after these changes.  The Pool FQDN is a DNS entry with the VIP address.
    The same user account is being used when logging into the CSCP.  Trying the CSCP from any server or client machine and using the <FEname>/cscp fails for the 2 servers.
    I have checked the authentication methods in IIS for CSCP internal and have negotiatekerberos then NTLM listed under Windows authentication\challenge.
    I am running out of resources and ideas.
    Anyone?

    Have you confirmed that ocswmibc.msi is installed on all the 2013 Front Ends?
    "First install the Windows Management Instrumentation (WMI) Backward Compatibility interfaces package; this application is installed
    by running OCSWMIBC.msi. (OCSWMIBC.msi can be found on the installation DVD in the Setup folder.)" - http://technet.microsoft.com/en-us/library/gg413025.aspx
    Please mark posts as answers/helpful if it answers your question.
    Blog
    Lync Validator - Used to assist in the validation and documentation of Lync Server 2013.

  • Migrating User from MCS 7828 H3 to UCS C220

            Hi All
    I wanted to can someone tell me what is the process for migrating users from a MCS 7828 to a UCS C220. A associate of mine called me about doing a migration from the MCS to the UCS series and he wants to know how does he get the users over to the new platform.Thanks in advance for the help and have a great day.         

    Hi Scooter817,
    There are a few options depending on what the customer has today and what will be the end state.  Below are the most common scenarios:
    1st Scenario - Customer is on older SW releases (8.x, 7.x, etc..) on MCS server(s) without UCSS wanting to move to new SW releases (9.x)  on UCS C220.    The most cost effective way is to buy $9 upgrade per user per application SKUs (ex. UPG-6K-ENH) with UCSS for 3 years.  There is more information on the BE6K product page under the partner section around migrations  BE6K Product Page - http://www.cisco.com/go/be6000
    2nd Scenario - Customer is on older SW releases (8.x, 7.x, etc..) on MCS server(s) with UCSS wanting to move to new SW releases (9.x)  on UCS C220.    Since they have UCSS, they can go to PUT with thier contract number request updated SW and licensing, then re-host licenses to the new server.  PUT link: http://tools.cisco.com/gct/Upgrade/jsp/productUpgrade.jsp
    3rd Scenario - Customer is on older SW releases (8.x) on MCS server(s) with or without UCSS wanting to move to same SW releases (8.x)  on UCS C220.   They can re-host licensing to the new server via SWIFT.  Here is the link to the process.  https://tools.cisco.com/SWIFT/LicensingUI/lookupLicenseForRehost
    Thanks
    Blake

  • Migrating user from Exchange 2010 to Exchange 2013 succeeds but OWA redirects to 2010

    Hello everyone,
    I am migrating users from exchange 2010 to 2013, Users migration works perfectly and completes without any issue but after the user migration finishes I try to login to OWA but user goes to OWA exchange 2010 not 2013 as if the mailbox has not been migrated. 
    I have checked the HomeMDB attribute and I can see the new database on 2013 is located there. how to solve this? I have retransfered the user back to 2010 and 2013 but it didn't work.
    I would appreciate your help.
    Thanks
    Mohammed JH

    Hi Amit
    After 30 mins approximately we checked the inboxes that have been migrted (2) and we found out they are working.
    İ wonder why there is this delay ? İ have already done migration before but it never took this much time. İ would appreciate your reply.
    Thanks
    Mohammed JH

  • Migrate Users from a child domain to a root domain in different forest

    Hello,
    it supported to migrate users from child source doman to target root domain?
    I established a trust, but i don't see child domain at ADMT installed on target domain DC. Source root domain is visible

    You should not be needed to establish a trust as all domains within the same forest already trust each other - are you sure those domains belong to the same forest? You can find out using the following command:
    nltest /DOMAIN_TRUSTS
    If ADMT dosen't show a partiuclar domain in the dropdown list, you can/have to type the domain name manually.
    Enfo Zipper
    Christoffer Andersson – Principal Advisor
    http://blogs.chrisse.se - Directory Services Blog

  • How to migrate users from HUB to Shared Services

    Hi,
    We are upgrading Essbase from 7.1.6 to 9.3.1. In 7.1.6 we were using Hyperion HUB for provisioning and we are going to use Shared Services with External authentication for the provsioning from now on.
    My question is what is the best way of migrating users from Hyperion HUB to Shared Services.
    Thanks,
    MP

    After you copy the SQL Repository across to the new environment and log in with the owner account, you will be required to register the application with Shared Services. After registering with SS it should prompt you to "Migrate Users and Groups" which will do the migration for you.

  • How do I prevent other Mac users from changing my Airport Extreme Network Name and Password within the Airport Utility?

    How do I prevent other Mac users from changing my Airport Extreme Network Name and Password within the Airport Utility?  My company is using an Airport Extreme in our office now and I want to prevent other employees from messing with the network/settings.  Is there a way to place a password on the settings to allow only the admin to access the network name and password? 

    Hi - you have will have to change the device passwords on all the base stations and then don't give them to anyone except the administrators and tell them not to save them on their computers that use the older versions of the Airport Utility - for the newer versions like the mobile apps, as soon as you enter the pasword it is saved and is visible in the advanced pane along with the network password - so if anyone gets a hold of your iPad or iPhone, they can edit the whole network - I have this same issue with my networks in the office and it is inconvenient but doable - I hope this helps

  • Cannot access iTunes Store from iPhone 4. Message says 'Your iTunes password was incorrect. Please try again'. I have tried resetting the password on my macbook

    Cannot access iTunes Store from iPhone 4. Message says 'Your iTunes password was incorrect. Please try again'. I have tried resetting the password on my macbook. What should I do?

    I'm having the same problem as well.  I use keychain access often to remind me of my passwords and was happy (initially) to see one for "iphone backup".  When I entered it I got the same error message: 
    "The password you entered to unlock your iPhone backup file was incorrect. Please try again."
    Really frustrating.
    I searched many ways online, finally I tried "iPhone Backup Unlocker" to help me unlock encrypted backup password efficiently!

  • Migrating Users from Exchange 2007 to Exchange 2013 Without redirection through exchange 2013.

    We have all our users and mailboxes on Exchange 2007 and I have introduced two Exchange 2013 servers in my organization and both have mailbox and CAS server installed on them. 
    With Exchange 2007 server, I had not modified any of the internal and external url/uri and had stayed with the defaults.
    For migration most of the documents are suggesting of changing the default internal URL and Auto Discover Service internal URI values.
    In my case, I want to migrate all the users and mailbox (everything that is on Exchange 2007) form 2007 to 2013 and decommission exchange 2007 completely from our organization.
    I am in the phase of transferring users from Exchange 2007 to Exchange 2013 and do not want to change any settings on the existing 2007 servers.
    I have created new dns entry mailx.abc.com with two IPs of both exchange 2013 and changed the Outlook Anywhere internal URL on both Exchange 2013 server to mailx.abc.com.
    So by doing these, I think all existing clients will still connect to exchange 2007 and after moving their mailbox they will be connect to exchange 2013.
    In short I am not redirecting or using 2013 as proxy for 2007 clients and clients whose mailbox is on exchange 2013 will directly connect to 2013 server.
    Questions are, Is this the right way to migrate all the users to Exchange 2013?
    Will it affect the operation of existing Exchange 2007 server?

    Read the below blog on Client Connectivity in Exchange co-existence. There can't be better blog than this on this topic.
    http://blogs.technet.com/b/exchange/archive/2014/03/12/client-connectivity-in-an-exchange-2013-coexistence-environment.aspx
    Clients connect to Exchange from Internal-Outlook, External-Outlook, Web & Active Sync.
    For Internal the configuration that you have mentioned should work as clients would get Autodiscover information from Active Directory (SCP) and get connected to right server.
    However, for external connectivity it makes sense to use External URL on Exchange 2013 servers (keep the Exchange exposed to Internet), configure legacy URL for exchange 2007 and use Exchange 2013 external URL for mailboxes that are Exchange 2007 and Exchange
    2013 for standardization.
    Refer article for configuring URLs -
    http://silbers.net/blog/2014/01/22/exchange-20072013-coexistence-urls/
    - Sarvesh Goel - Enterprise Messaging Administrator

  • Migrate users from FND_USER to OID

    We are planning to authenticate Oracle apps users against OID and have installed a 9iAS Portal 1.0.2.2.2 environment with 11.5.7 and OID for this purpose.
    We need to migrate user information (username and password as a minimum) from FND_USER to OID. Is there a recommended way of doing this? Can the encrypted password in FND_USER be moved directly across to OID?
    Any help much appreciated.

    If your source and target servers can have access to each other use dipassistant utility to migrate all users with passwords to new server.
    Use this article for details.
    http://www.oracle.com/technology/obe/obe_as_10g/im/ads_import/import.htm

  • How to migrate user from IDM 5.5 to 6

    Our current users in IDM 5.5 have many attributes, admin roles and defer tasks. Does anyone know what is the best way to migrate the users withought missing user information from 5.5 database to 6?

    hi,
    u need to export each each user xml from idm 5.5 and import that idm 6.0. thats all i know.
    if anything we can do other than this plz let me know.

Maybe you are looking for

  • PXI System does not appear in MAX 4.0

    Hello, My system comprises LabVIEW RT 7.0, target PXI-8176 controller in PXI-1000B chassis, PXI-6608, PXI-6711, NI-4472, PXI-6704, PXI-6527, PXI-8423/4, PXI-8422/4.  This has been stable for two years. I recently solved an RS-485 2-wire mode configur

  • Vendor & customer invoice posting.....while simulating  -- error ?...

    Dear,    While posting vendor and customer Invoice----       When Invoice date and posting date has given as xx.xx.xxxx with fiscal year xx.xx.xxxx while simulating -  the error message saying that  "posting takes place in the previous fiscal year".

  • Movie Rental Trouble

    I currently am dealing with a home PC, a Mac laptop, and an iPod touch. I recently rented two movies on my mac laptop. My primary iTunes account is through my home PC. I synced my iPod to the home PC with the home share feature on, and my rented movi

  • AsyncOS 5.5.1-014 for Email is now available

    UPDATE: 2008-2-26 5.5.1-014 releases: This release includes a number of fixes: * Fixed: Appliances Are Not Generating SNMP Traps * Fixed: Leftover Files Are Deposited in scanning_temp_files Directory * Fixed: DNS-Related Memory Issues Delay Acceptanc

  • Using #include or EXEC SQL include

    Hi I havent much worked with Pro C so I have question I need to modify a Pro C file to include a new lib, So is it better to use: EXEC SQL INCLUDE multibyte_chars.ph; OR #include "multibyte_chars.ph"Are both basically doing the same thing? Please rep