They both came back with "enterprise" and nothing else? At the very least the domain_dn should have had "DC=enterprise". Also if system_domain was literally just "enterprise" then it may be a problem related to Windows not liking single label domains. You could try setting your domain to "enterprise.local" or something like that.
This is a minimal test for the failing bits. Set system_domain as appropriate for your config and see if you can get it to work.
put in file named domaintrans.vbs and run cscript domaintrans.vbs from a command prompt. [code] system_domain = "domain.com"
domain_dn = "DC=" & Replace(system_domain,".",",DC=") set oTranslate = CreateObject("NameTranslate") hr = oTranslate.Init (3, "") hr = oTranslate.set (1, domain_dn) full_ad_domain = oTranslate.Get(1) full_domain = oTranslate.Get(2) domain_nb = oTranslate.Get(3) domain_nb = Left(domain_nb,Len(domain_nb)-1)
wscript.echo "full_ad_domain: " & full_ad_domain wscript.echo "full_domain: " & full_domain wscript.echo "domain_nb: " & domain_nb[/code]
|