Re: [Jamm-devel] Cleaner broke domain in LDAP

"Keith T. Garner" <[email protected]>
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
On Fri, Apr 30, 2004 at 01:34:59, Fredrik Wendt said:
> Hi all!
> 
> I'm using the binary distribution of jamm 0.9.6 and have been using it
> for about a year, it now manages accounts and alias for 15 domains.
> Until today, I haven't had the need to clean/remove anything but as I
> ran jammCleaner today it broke one of the test-domains I set up when I
> installed/set it all up initially.

Did you manually edit this test domain in LDAP at all?  It looks like
either the postmaster entry isn't in LDAP (that's a special entry in
LDAP that is hidden from the jamm user) or that the postmaster's
roleOccupant attribute is empty.

The later seems more likely as you probably would have thrown an
exception before then if postmaster was totally missing.

> The WUI shows that the domain has two accounts (as before) and zero
> aliases, when looking at "Manage domains" (site_admin.do), but when I
> click the domain name (test.test) to see accounts I get an exception
> (only pasting top rows of root cause):

[stack trace removed]

> When I run jammCleaner I get the same exception:

I'm not surprised, its the same code path more-or-less at the end.

[other stack trace removed]

> I'd happily supply any other information for debugging purposes, but I'm
> uncertain of what could've caused this. I successfully delete accounts
> within separate domains (not test.test) and then just marked three
> test-domains for deletion and I got this exception.
> 
> What should I do?

Something is amiss in LDAP land, but I need a closer view.

Can you share with us a dump of the LDAP structure from that domain
down?  A command something like this should fit the bill:
    ldapsearch -b "jvd=test.test,o=hosting,dc=ttt,dc=intranet" -x


The answer to your problem is probably just to go into LDAP and clean
it up.  However, that doesn't fix Jamm's problem if its Jamm related.
Jamm *shouldn't* leave a mess like this behind, but what's an
application without bugs?

Thanks,

Keith

-- 
  Keith T. Garner                                         [email protected]
   The whole problem with the world is that fools and fanatics are always so
 certain of themselves, and wiser people so full of doubts. --Bertrand Russell


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.