Page 1 of 1

[SOLVED] Modifying the configuration based on parameters

Published: February 17, 2026 - 11:32 AM
by Damien Touraine
Hello,
I need to change the host_organizational_unit_dn parameter based on multiple criteria (Windows Server or workstation, machine name starting with ...).
I tried creating an "empty" package using the inifile_writestring and reload_config_if_updated functions, but this doesn't seem to modify the wapt-get.ini file.
How can I do this?

Sincerely,
Damien
WAPT server: 2.6.1.17472

Re: Modifying the configuration based on parameters

Published: February 17, 2026 - 1:22 PM
by sfonteneau
Hello,

could you share your code?

Perhaps you need to change `default_global` and not `global`.

Re: Modifying the configuration based on parameters

Published: March 16, 2026 - 10:21
by dcardon
Hello Damien,

were you able to resolve your issue? I'd like to close this thread. :-)

Regards,

Denis