You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Ole Ersoy <ol...@yahoo.com> on 2006/02/27 00:29:35 UTC

Password Change

Hey Guys,

I tried changing the password in server.xml.

After doing this and restarting in debug mode, I get
this message:

[17:26:49] WARN
[org.apache.directory.server.core.DefaultDirectoryService]
- You didn't change the admin password of directory
service instance 'default'.  Please update the admin
password as soon as possible to prevent a possible
security breach.
[17:26:50] ERROR
[org.apache.directory.daemon.Bootstrapper] - Failed on
org.apache.directory.server.Service.init(InstallationLayout,
String[])
org.apache.directory.shared.ldap.exception.LdapAuthenticationException
        at
org.apache.directory.server.core.authn.AuthenticationService.bind(AuthenticationService.java:483)
        at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.bind(InterceptorChain.java:1424)
        at
org.apache.directory.server.core.interceptor.BaseInterceptor.bind(BaseInterceptor.java:224)
        at
org.apache.directory.server.core.interceptor.InterceptorChain.bind(InterceptorChain.java:720)
        at
org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.bind(DirectoryPartitionNexusProxy.java:649)
        at
org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.bind(DirectoryPartitionNexusProxy.java:678)
        at
org.apache.directory.server.core.jndi.ServerContext.<init>(ServerContext.java:122)
        at
org.apache.directory.server.core.jndi.ServerDirContext.<init>(ServerDirContext.java:76)
        at
org.apache.directory.server.core.jndi.ServerLdapContext.<init>(ServerLdapContext.java:61)
        at
org.apache.directory.server.core.DefaultDirectoryService.getJndiContext(DefaultDirectoryService.java:167)
        at
org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:121)
        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
        at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
        at
javax.naming.InitialContext.init(InitialContext.java:223)
        at
javax.naming.InitialContext.<init>(InitialContext.java:197)
        at
javax.naming.directory.InitialDirContext.<init>(InitialDirContext.java:82)
        at
org.apache.directory.server.Service.init(Service.java:93)
        at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:148)
        at
org.apache.directory.daemon.MainBootstrapper.main(MainBootstrapper.java:76)


Is this a bug?

Cheers,
- Ole



--- Ole Ersoy <ol...@yahoo.com> wrote:

> Ah!  Confluence is very cool.  I see they are
> working
> the myfaces html editor!  
> 
> Thanks - I think I got the hang of it now.
> 
> Cheers,
> - Ole
> 
> --- Ersin Er <er...@gmail.com> wrote:
> 
> > On 2/26/06, Ole Ersoy <ol...@yahoo.com> wrote:
> > > Huh?
> > >
> > > Just kidding.
> > >
> > > So what is the best way to update documentation
> in
> > > order to minimize the effort of incorporating
> the
> > > deltas?
> > 
> > The best way to help now is to make changes to the
> > Confluence for the
> > User's Guide and the Tutorial. Here they are:
> > 
> >
>
http://docs.safehaus.org/display/APACHEDS/User%27s+Guide
> >
>
http://docs.safehaus.org/display/APACHEDS/The+Apache+Directory+Tutorial
> > 
> > Go ahead and get an account if you do not have yet
> > and Alex will
> > provide you edit access if you need.
> > 
> > Thanks!
> > 
> > > Thanks,
> > > Ole
> > >
> > > --- Ersin Er <er...@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > On 2/26/06, Ole Ersoy <ol...@yahoo.com>
> > wrote:
> > > > > OK - Cool!
> > > > >
> > > > > Is there something in the generated maven
> > project
> > > > docs
> > > > > regarding the correct source files to update
> > for
> > > > > documentation etc.
> > > >
> > > > The content here:
> > > >
> > > >
> > >
> >
>
http://docs.safehaus.org/display/APACHEDS/User%27s+Guide
> > > >
> > > > is processed and translated (via a custom
> > > > confluence2xdoc tool written
> > > > by Alex) to the content here:
> > > >
> > > >
> > >
> >
>
http://svn.apache.org/viewcvs.cgi/directory/trunks/apacheds/src/site/xdoc/docs/users/
> > > >
> > > > and then during site deployment they are
> > translated
> > > > to web pages here:
> > > >
> > > >
> > >
> >
>
http://directory.apache.org/subprojects/apacheds/docs/users/index.html
> > > >
> > > > > In the README.txt I saw that maven 2.0 is
> > being
> > > > used
> > > > > now.  Are there apt documents, and site.xml
> > > > documents
> > > > > somewhere?
> > > >
> > > > As I already mentioned the site stuff for
> > ApacheDS
> > > > is here:
> > > >
> > > >
> > >
> >
>
http://svn.apache.org/viewcvs.cgi/directory/trunks/apacheds/src/site/
> > > >
> > > > > Thanks,
> > > > > - Ole
> > > >
> > > > Thanks for your interest.
> > > >
> > > > --
> > > > Ersin
> > > >
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > > http://mail.yahoo.com
> > >
> > 
> > 
> > --
> > Ersin
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: LDAP Constants

Posted by Ole Ersoy <ol...@yahoo.com>.
Sweet - might fit well in the server side JNDI Service
Provider package.  If we find I home for it, I'll be
glad to keep updating it there.  Meanwhile, I'll just
keep adding to this one, and if anyone wants a copy of
an updated version, I'll just shoot one out, ASF
licensed of coarse.

I'll add a task to JIRA to get this incorporated.
I'll also put a use case for it in the documentation.

Cheers,
- Ole


--- Emmanuel Lecharny <el...@gmail.com> wrote:

> Ole Ersoy a écrit :
> 
> >Hey Guys,
> >
> >Just wanted to check if there's a class with LDAP
> >constants in the API.
> >  
> >
> Sory, nope...
> 
> >It would be great to be able a class like this
> >integrated with the server API.  The myfaces
> project
> >has an HTML.java file with constants for all the
> HTML
> >attributes and it's really handy.
> >
> >Just thought I'd throw it out there to see if we
> have
> >one or/and if there's any interest.
> >  
> >
> It may be a good idea to have such a class, because
> we are using a lot 
> of "inetorgperson" string all over the code ;)
> 
> >Cheers,
> >- Ole
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> >http://mail.yahoo.com 
> >
> >  
> >
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: LDAP Constants

Posted by Emmanuel Lecharny <el...@gmail.com>.
Ole Ersoy a écrit :

>Hey Guys,
>
>Just wanted to check if there's a class with LDAP
>constants in the API.
>  
>
Sory, nope...

>It would be great to be able a class like this
>integrated with the server API.  The myfaces project
>has an HTML.java file with constants for all the HTML
>attributes and it's really handy.
>
>Just thought I'd throw it out there to see if we have
>one or/and if there's any interest.
>  
>
It may be a good idea to have such a class, because we are using a lot 
of "inetorgperson" string all over the code ;)

>Cheers,
>- Ole
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>  
>


LDAP Constants

Posted by Ole Ersoy <ol...@yahoo.com>.
Hey Guys,

Just wanted to check if there's a class with LDAP
constants in the API.

I have one that I'm using at the moment, and just
adding to as I go along.  

It looks like this:

package
com.pyramidetechnologies.webapp.mdc.user.management;

public class LDAPConstants {
	
	public static String LDAP_MAIL_ATTRIBUTE_NAME =
"mail=";
	public static String LDAP_USER_ID_ATTRIBUTE_NAME =
"uid=";
	public static String
LDAP_USER_PASSWORD_ATTRIBUTE_NAME = "userPassword";
	public static String
LDAP_AUTH_PASSWORD_ATTRIBUTE_NAME = "authPassword";
	public static String LDAP_OBJECT_CLASS =
"objectclass";
	public static String LDAP_OBJECT_CLASS_TOP = "top";
	public static String LDAP_OBJECT_CLASS_PERSON =
"person";
	public static String
LDAP_OBJECT_CLASS_ORGANIZATIONAL_PERSON =
"organizationalPerson";	
	public static String
LDAP_OBJECT_CLASS_INET_ORG_PERSON = "inetOrgPerson";	

}

It would be great to be able a class like this
integrated with the server API.  The myfaces project
has an HTML.java file with constants for all the HTML
attributes and it's really handy.

Just thought I'd throw it out there to see if we have
one or/and if there's any interest.

Cheers,
- Ole


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Password Change

Posted by Alex Karasulu <ao...@bellsouth.net>.
Ole Ersoy wrote:

>Hey Guys,
>
>I tried changing the password in server.xml.
>
>After doing this and restarting in debug mode, I get
>this message:
>  
>

Ole this is due unfortunately to the fact that the admin password must 
be set in two places. 

1. First while the server is up and running using the default password 
'secret' log into the server as admin and bind to ou=system. 
2. Set the userPassword attribute to a password in the entry 
uid=admin,ou=system. 
3. Then shutdown the server. 
4. Then edit the server.xml file setting secret to your new password 
where ever you see it.
5. Start up the server.
6. Check that you can login as admin with the new password.

This is only this involved for the administrator.  Eventually this 
problem should go away.

Cheers,
Alex