[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#935080: slapcat used in gosa hook script gosa-modify-host



Moin Mike,

On Fri, May 01, 2020 at 06:18:42AM +0000, Mike Gabriel wrote:
> I looked at your script snippet and modified it and tested it on a live
> system with many hosts and LDAP being out-of-sync with the keytab files:
[..]
> Changes:
> 
>   * avoid the need of a TEMP file
>   * match LDAP hosts case insensitive

Nice.

> I wonder if this script (I tested it as a standalone script) should 
> not be better placed as a daily CRON job on TJENER (?) instead of it 
> being part of the gosa-modify-host hook script.

Yes, could be. IIRC I opted against relying on a cron job and preferred 
to clean it up directly. (Maybe cron would not run in each case because 
people shut down even the main server at the end of a school day.)
 
Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: