HI Wolfgang,
On Mo 27 Apr 2020 12:31:41 CEST, Wolfgang Schweer wrote:
Moin Mike,
On Sun, Apr 19, 2020 at 11:43:24AM +, Mike Gabriel wrote:
On my customer site, we have 300 host entries or so. Doing the above
loop for every host change in LDAP will let the script walk over 300
LDAP querie
Hi again,
On Mo 27 Apr 2020 12:31:41 CEST, Wolfgang Schweer wrote:
Maybe you can test a follow-up one, based on your proposal to query LDAP
only once. (Host gateway considered too, just in case someone has added
a keytab.)
Here is a slight change...
```
#!/bin/bash
set -e
declare -a host
Moin Mike,
On Fri, May 01, 2020 at 06:18:42AM +, 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 host
On Fri, May 01, 2020 at 06:26:52AM +, Mike Gabriel wrote:
> Here is a slight change...
>
>
> ```
> #!/bin/bash
>
> set -e
>
> declare -a hosts
> num_hosts=0
> while read KEY VALUE ; do
> case "$KEY" in
> dn:) let "num_hosts+=1" ;;
> cn:) hosts[$(($num_hosts
Processing control commands:
> tag -1 pending
Bug #935080 [debian-edu-config] slapcat used in gosa hook script
gosa-modify-host
Added tag(s) pending.
--
935080: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935080
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
5 matches
Mail list logo