Displaying 1 result from an estimated 1 matches for "user_ldif".
Did you mean:
user_dir
2017 Jul 04
0
[PATCH] samba-tool: Easily edit a users object in AD V2 with test
...ed, so I have attached my new
> > patches for editing users and the test for this.
> Ok, I have only one comment I'd like to be addressed before we accept
> this changeset:
>
> +# create editor.sh
> +echo "#!/usr/bin/env bash" > /tmp/editor.sh
> +echo "user_ldif=\"\$1\"" >> /tmp/editor.sh
> +echo "SED=\$(which sed)" >> /tmp/editor.sh
> +echo "\$SED -i -e 's/userAccountControl: 512/userAccountControl:
> 514/' \$user_ldif" >> /tmp/editor.sh +
> +chmod +x /tmp/editor.sh
> +
>
>...