On 19/02/07, Howard Lowndes <[EMAIL PROTECTED]> wrote:
This is out of the script that I an calling from cron:
ldapdelete -x -D uid=admin,dc=$DB -w secret
cn=nospam$MONTH_NOW,ou=valias,dc=$DB &1>/dev/null &2>1
and this is the outout I get:
ldap_delete: No such object (32)
matched DN: ou=valias,dc=lannet.com.au
Replace everything after the "&1>..." with "> /dev/null 2>&1" and see what
happens.
Replace "/dev/null" with a plain file for testing just to make sure that the
output goes where it's supposed to go.
I assume it's Bourne (Agian?) Shell.
--Amos
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html