[ldapvi] ldavi in crontab - strange stuff
David Lichteblau
david at lichteblau.com
Tue Jul 29 11:14:00 CEST 2008
Quoting Ivaylo Mitov (cmptuomp3 at gmail.com):
...
> */30 * * * * TERM=xterm ldapvi > /file
>
> otherwise file is just an empty file and ldapvi says:
> TERM variable not set
>
> Just to let you know. May be this is the intended behaviour.
Thanks for the report. No, I think that is a bug.
In older versions I might not have thought about this much, but now that
we have options like --ldapsearch which are meant to simulate other LDAP
tools (in spirit at least, if not exactly) it seems silly to check for a
terminal that is not required. ldapvi should just continue and error
out only if and when a terminal actually turns out to be required (say,
for authentication purposes).
Unfortunately I don't have a patch at this point, but I'll put it on my
"to do" list.
d.
More information about the ldapvi
mailing list