Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 25574 invoked from network); 27 Aug 2009 08:51:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Aug 2009 08:51:31 -0000 Received: (qmail 94548 invoked by uid 500); 27 Aug 2009 08:51:31 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 94464 invoked by uid 500); 27 Aug 2009 08:51:31 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 94456 invoked by uid 99); 27 Aug 2009 08:51:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Aug 2009 08:51:30 +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; Thu, 27 Aug 2009 08:51:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 51F39234C04C for ; Thu, 27 Aug 2009 01:50:59 -0700 (PDT) Message-ID: <775726495.1251363059334.JavaMail.jira@brutus> Date: Thu, 27 Aug 2009 01:50:59 -0700 (PDT) From: "liangkun (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4818) Can not configure username and password of logging in the server through ldap In-Reply-To: <1572635642.1251362699361.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/GERONIMO-4818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] liangkun updated GERONIMO-4818: ------------------------------- Attachment: ldap.xml geronimo-realm.ldif The file to configure the ldap server and geronimo server > Can not configure username and password of logging in the server through ldap > ----------------------------------------------------------------------------- > > Key: GERONIMO-4818 > URL: https://issues.apache.org/jira/browse/GERONIMO-4818 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: security, Tomcat > Affects Versions: 2.2 > Environment: xp:sp2 > jdk 1.6 > Reporter: liangkun > Attachments: geronimo-realm.ldif, ldap.xml > > > 1.Setup Apache Directory Server > 2.Copy geronimo-real.ldif to your ldap server and run command to import your ldap entries: > $ ldapmodify -h [your_ldap_server_ip] -p 10389 -D "uid=admin,ou=system" -w secret -a -f [your_geronimo-realm_path] > aslo you can use other 3-rd party directory client tool such as Apache directory studio to import this ldap file. > 3.Customize ldap server ip : ldap://:10389 in ldap.xml and copy it to your wasce server , and go to wasce server bin directory and run command: > deploy.sh/bat --user system --password manager deploy /ldap.xml > also you can deploy it via admin console "deploy new"->"achive plan" :ldap.xml > 4.Shutdown wasce server, and modify $your_geronimo_server/var/config/config.xml as below: > change to > > > > 5.Restart Geronimo server, and login it with username: test, password: manager. > 5.Restart geronimo server, and login it with username: test, password: manager. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.