Re: Deleting records - JAMM Interface

Tristan DEFERT <[email protected]> Tue, 6 Jul 2004 11:58:36 +0200
Newsgroups gmane.mail.jamm.user
Message-ID <[email protected]>
Le 1 juil. 04, à 19:15, Tom Diehl a écrit :

> On Thu, 1 Jul 2004, Ilo Lorusso wrote:
>> Hi,
>> Im using JAMM 0.9.6,
>>
>> And when I log in as site admin, well as root and I try delete either 
>> a
>> domain, mail account or mail alias it doesn't happen.
>>
>> All records stay in the LDAP directory.
> Look at jammCleaner.sh. It is part of the Jamm package and needs to be 
> run
> occasionally (hourly??) from cron or by hand to do the actual 
> deletions.
I had the same problem, when i run jammCleaner it tells me this:

mail:~ root# /usr/local/jamm/bin/jammCleaner
Missing required options.
org.apache.commons.cli.MissingOptionException: -D-b
usage: JammCleaner [options]
  -n,--no-execute   Print what would be executed, but do not execute.
  -?,--help         prints help message
  -B,--backups      back up account contents to this directory before
                    deleting
  -D,--dn           the dn to bind with
  -b,--base         base dn to search from
  -h                ldap host  (default: localhost)
  -p                ldap port  (default: 389)
  -v,--verbose      verbose
  -w,--password     password to connect to LDAP with
  -y,--yes          Assume yes for all questions

where should this script get these options ?
should i execute that:  /usr/local/bin/jammCleaner OPTIONS ?
what should i give as options ?

Thx 4 ur answers
__________________________________________________________________
Tristan DEFERT
Société Alpha Mosa
__________________________________________________________________
Tél. (33) 03 26 48 17 56        Internet : http://www.alphamosa.fr
Fax. (33) 03 26 48 10 87               eMail : [email protected]




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com