just for the records you can use a default administrator to script your needs
[root@ns7dev9 ~]# account-provider-test dump
{
"BindDN" : "NETHSERVERTEST\\NS7DEV9$",
"LdapURI" : "ldaps://ad.nethservertest.org",
"StartTls" : "",
"port" : 636,
"host" : "ad.nethservertest.org",
"isAD" : "1",
"isLdap" : "",
"UserDN" : "dc=ad,dc=nethservertest,dc=org",
"GroupDN" : "dc=ad,dc=nethservertest,dc=org",
"BindPassword" : "!%@1h@Q:?eNXdz",
"BaseDN" : "dc=ad,dc=nethservertest,dc=org",
"LdapUriDn" : "ldap:///dc%3Dad%2Cdc%3Dnethservertest%2Cdc%3Dorg"
}
you need the
"BindDN" : "NETHSERVERTEST\\NS7DEV9$",
"BindPassword" : "!%@1h@Q:?eNXdz",
in short it gives here
[root@ns7dev9 ~]# ldapmodify -Z -h 192.168.12.86 -D NETHSERVERTEST\\NS7DEV9$ -w '!%@1h@Q:?eNXdz' -f spower.ldif
modifying entry "cn=stephane,cn=Users,dc=ad,dc=nethservertest,dc=org"
I did an update yesterday for nethserver-delegation-ns6, to set the shell to /bin/bash if the sudo is delegated, reasonably it should be easy for ns7, once we determine which user account we use and write the good relevant template