|
51 |
|
51 |
|
52 |
if [ "$server_role" != 'domaincontroller_master' -a "$server_role" != 'domaincontroller_backup' ]; then |
52 |
if [ "$server_role" != 'domaincontroller_master' -a "$server_role" != 'domaincontroller_backup' ]; then |
53 |
ucr set connector/ldap/bindpw?"/etc/machine.secret" \ |
53 |
ucr set connector/ldap/bindpw?"/etc/machine.secret" \ |
54 |
set connector/ldap/binddn?"$ldap_hostdn" \ |
54 |
connector/ldap/binddn?"$ldap_hostdn" \ |
55 |
set connector/ldap/server?"$hostname.$domainname" |
55 |
connector/ldap/server?"$hostname.$domainname" |
56 |
fi |
56 |
fi |
57 |
|
57 |
|
58 |
# Create an extended attribute to synchronize the GPO attributes |
58 |
# Create an extended attribute to synchronize the GPO attributes |