RE: Re: An unknown error has occured

"John Dunsire" <[email protected]> Tue, 8 Feb 2005 08:39:23 +0800
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
> > Nothing has change, i'm not the admin of this server, but 
> the user tell me, i did no change on it.
> > I dont'find no error an different log file.
> > Can i change the version of Jamm for make a test with the 
> last release ??
> 
> One thing I have found is that if the user cuts and pastes a 
> username in and accidently adds a leading space Jamm will 
> blow chunks. The only way I can find to fix it was to look at 
> ldap directly with something like phpldapadmin and rm the 
> leading space.
> 
> Not sure if this is what you are seeing but I just thought I 
> would mention it just in case.
> 
> One of the real weaknesses I have found in Jamm is its error 
> reporting. It appears to me that most errors return the 
> dreaded unknown error message. :-(
> 
> If I understood how to fix this I would but alas I do not.
> 
> Regards,
> 
> Tom Diehl		[email protected]		
> Spamtrap address [email protected]
> 
I once had a similar issue when I was using JAMM 0.9.6 where a user
created an account called postmaster and then marked it for deletion.
JAMM cleaner then deleted the postmaster account defaulty created by
JAMM and left the user postmaster account. This caused JAMM cleaner to
throw a JAVA error and I could no longer manage that domain, but all the
others were OK. I had to restort to backup (Yes I'm a wimp) and pulled
the postermaster details out of the nightly ldif dump I perform. I
reimported those details and used phpldapadmin to delete the incorrect
postmaster account. I was immediately able to gain control over that
domain and JAMM cleaner would perform correctly.

So can you manage any other domains within JAMM? If so it is mostly
likely a problem with one of the accounts within that domain. Either
dump the LDAP to a file and use a text editor to look for invalid
accounts or use phpldapadmin. The following command will dump the entire
JAMM LDAP entires to a LDIF format file:

ldapsearch -b "dc=example,dc=com,dc=au" -D
"cn=Manager,dc=example,dc=com,dc=au" -W -x > dump.ldif

Dumping the entire JAMM LDAP information is a bit heavy if you have a
large number of domains and accounts but it will let you see the format
of other working domains. Either way it looks like you might need the
help of the LDAP administrator if that is not you.

John


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click