Fixed a problem where when using Kerberos authentication, KDC machine name was being used to create the ldap binding, but not its ip address. If name resolution was not configured, ldap binding would not work, as the dns resolution could not be done.
Now the script checks if the -dc-ip option is configured, it uses the -dc-ip value to perform the ldap binding.
Fixed a problem where when using Kerberos authentication, KDC machine name was being used to create the ldap binding, but not its ip address. If name resolution was not configured, ldap binding would not work, as the dns resolution could not be done.
Now the script checks if the -dc-ip option is configured, it uses the -dc-ip value to perform the ldap binding.