Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 61426 invoked from network); 13 May 2009 21:49:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 May 2009 21:49:10 -0000 Received: (qmail 41990 invoked by uid 500); 13 May 2009 21:49:10 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 41833 invoked by uid 500); 13 May 2009 21:49:10 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 41761 invoked by uid 99); 13 May 2009 21:49:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 21:49:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 May 2009 21:49:06 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A3874234C1ED for ; Wed, 13 May 2009 14:48:45 -0700 (PDT) Message-ID: <1467392168.1242251325669.JavaMail.jira@brutus> Date: Wed, 13 May 2009 14:48:45 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-491) Export and Re-Import ldif: "invalid password syntax" In-Reply-To: <2098768223.1242208365608.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12709145#action_12709145 ] Emmanuel Lecharny commented on DIRSTUDIO-491: --------------------------------------------- There is no way for you to export your encrypted passords from a server to import them into another server changing the encyption in the process. Both crypt and MD5 are one-way encryption algorithm. You have either to keep the passwords unchanged (ie, keep the {crypt} in front of the current password), or ask every users to change their password. > Export and Re-Import ldif: "invalid password syntax" > ---------------------------------------------------- > > Key: DIRSTUDIO-491 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-491 > Project: Directory Studio > Issue Type: Bug > Affects Versions: 1.4.0 > Environment: Windows XP SP2 > Reporter: andrea > > I export the userdata as ldif, delete all the userdata in the dit and re-import the same userdata again. Out of 344 entries I get 31 errors: > #!RESULT ERROR > #!CONNECTION ldap://xx.xx.xx.xx:636 > #!DATE 2009-05-13T11:27:12.781 > #!ERROR [LDAP: error code 19 - invalid password syntax - password must contain at least 1 digit characters] > dn: uid=xxxxx,ou=users,ou=posix,o=unixdb > objectClass: posixaccount > objectClass: account > the password might be something like: > userPassword:: a2NyeXB0fUVtVmh5RWtNUUVwQ0E= > if I change the "::" to simple ":", I do not have any problem with importing the whole stuff. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.