You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stephan Hermann (JIRA)" <ji...@apache.org> on 2007/09/18 16:25:43 UTC

[jira] Created: (DIRSERVER-1065) http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature

http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature
---------------------------------------------------------------------------------------------------

                 Key: DIRSERVER-1065
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1065
             Project: Directory ApacheDS
          Issue Type: Bug
         Environment: linux ubuntu 7.10/ apacheds from your side
            Reporter: Stephan Hermann


On this page http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html you mention that you change your admin password via apache directory studio with the SHA algorythm. Setting this up like its described on the page, the server doesn't startup. If you setup the {SHA} string in the server.xml the server starts up but you can't authenticate against the server anymore.
After a discusson on #directory@freenode, we came to the conclusion that this is not working.

To avoid problems for other users, please correct the information, that this setup is only working with plain text passwords.

Thx for your great work,

\sh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1065) http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature

Posted by "Stephan Hermann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528675 ] 

Stephan Hermann commented on DIRSERVER-1065:
--------------------------------------------

HI Stefan,

first, sorry for the wrong paste of the link...
I followed the admin steps of the page, and it didn't work in 1.5.0....(I missed the installer for 1.5.1).

I set a MD5 password in the ldap tree. stopped the server, edited the server.xml and add the plain text password, the server didn't come up anymore.
Then I set in the server.xml the MD5 hash string of the password, and server came up.
But, connecting via ldap browser to this server with the very same password, it didn't work anymore.
"error 49, cannot bind" was the message.

I'll check out 1.5.1 during the day and check if it works there.

Regards,

\sh 

> http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1065
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1065
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: linux ubuntu 7.10/ apacheds from your side
>            Reporter: Stephan Hermann
>
> On this page http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html you mention that you change your admin password via apache directory studio with the SHA algorythm. Setting this up like its described on the page, the server doesn't startup. If you setup the {SHA} string in the server.xml the server starts up but you can't authenticate against the server anymore.
> After a discusson on #directory@freenode, we came to the conclusion that this is not working.
> To avoid problems for other users, please correct the information, that this setup is only working with plain text passwords.
> Thx for your great work,
> \sh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1065) http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528486 ] 

Stefan Zoerner commented on DIRSERVER-1065:
-------------------------------------------

The relevant page seems to be this:
http://directory.apache.org/apacheds/1.5/143-changing-the-admin-password.html

> http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1065
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1065
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: linux ubuntu 7.10/ apacheds from your side
>            Reporter: Stephan Hermann
>
> On this page http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html you mention that you change your admin password via apache directory studio with the SHA algorythm. Setting this up like its described on the page, the server doesn't startup. If you setup the {SHA} string in the server.xml the server starts up but you can't authenticate against the server anymore.
> After a discusson on #directory@freenode, we came to the conclusion that this is not working.
> To avoid problems for other users, please correct the information, that this setup is only working with plain text passwords.
> Thx for your great work,
> \sh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSERVER-1065) http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature

Posted by "Stefan Zoerner (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSERVER-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528592 ] 

Stefan Zoerner commented on DIRSERVER-1065:
-------------------------------------------

I do not find anything about password changes on page
http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html 
and therefore assume he means this page
http://directory.apache.org/apacheds/1.5/143-changing-the-admin-password.html

I have tested the steps described on the page with ApacheDS 1.5.1 and it works. I am quite sure that the reporter has either made a mistake during the password change, or refers to another page.

It is possible to set the value for the userPassword of the admin within the server to a hashed value (e.g. "{SHA}kGByAB793z4R5tK1eC9Hd/4Dhzk=" as the value for "geheim") and startup the server.  *But* you have to modify the value within the server.xml before restarting as well, *and* it does only work if you use the clear text value here (i.e. hashed value for the entry, clear text within the XML configuration):

...
<prop key="java.naming.security.credentials">geheim</prop>
...

Of course it also works if both values are not encrypted.

DIRSERVER-1064 describes the problem correctly. It is possible to have a hashed value in the attribute of the user entry (uid=admin,ou=system), but the password within the server.xml has te be stored in clear text. This is obviously an issue, but I assume that the problem described here  does not exist. 

Can anybody confirm by replaying the steps from this page?
http://directory.apache.org/apacheds/1.5/143-changing-the-admin-password.html




> http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1065
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1065
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: linux ubuntu 7.10/ apacheds from your side
>            Reporter: Stephan Hermann
>
> On this page http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html you mention that you change your admin password via apache directory studio with the SHA algorythm. Setting this up like its described on the page, the server doesn't startup. If you setup the {SHA} string in the server.xml the server starts up but you can't authenticate against the server anymore.
> After a discusson on #directory@freenode, we came to the conclusion that this is not working.
> To avoid problems for other users, please correct the information, that this setup is only working with plain text passwords.
> Thx for your great work,
> \sh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSERVER-1065) http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-1065:
-----------------------------------------


Status ?

> http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1065
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1065
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: linux ubuntu 7.10/ apacheds from your side
>            Reporter: Stephan Hermann
>
> On this page http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html you mention that you change your admin password via apache directory studio with the SHA algorythm. Setting this up like its described on the page, the server doesn't startup. If you setup the {SHA} string in the server.xml the server starts up but you can't authenticate against the server anymore.
> After a discusson on #directory@freenode, we came to the conclusion that this is not working.
> To avoid problems for other users, please correct the information, that this setup is only working with plain text passwords.
> Thx for your great work,
> \sh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSERVER-1065) http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature

Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSERVER-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-1065.
----------------------------------------

    Resolution: Cannot Reproduce

Closed as there is no status, and as this bug was affecting 1.5.0.

If someone can reproduce it on any vrsion, this issue can be reopened.

> http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html describes wrong feature
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1065
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1065
>             Project: Directory ApacheDS
>          Issue Type: Bug
>         Environment: linux ubuntu 7.10/ apacheds from your side
>            Reporter: Stephan Hermann
>
> On this page http://directory.apache.org/apacheds/1.5/apacheds-v15-developers-guide.html you mention that you change your admin password via apache directory studio with the SHA algorythm. Setting this up like its described on the page, the server doesn't startup. If you setup the {SHA} string in the server.xml the server starts up but you can't authenticate against the server anymore.
> After a discusson on #directory@freenode, we came to the conclusion that this is not working.
> To avoid problems for other users, please correct the information, that this setup is only working with plain text passwords.
> Thx for your great work,
> \sh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.