[Logo] LDAPSoft LDAP And Active Directory Tools Community Forums
  [Search] Search   [Register] Register /  [Login] Login 
 
DN String on windows machine  XML
Forum Index » General Discussion
Author Message
john5



Joined: 03/07/2008 01:12:22
Messages: 3
Offline

I am trying to connect to our Active Directory server from a machine which is connected to workgroup and not domain, I can I get the full DN string for connection?
support



Joined: 27/06/2008 19:01:18
Messages: 123
Offline

Please logon on to a computer which is connected to domain.

Copy the following txt and save it into a file with the name "logininfo.vbs"
run the file and it will give you the full logon information, use the full dn in the dn field.

Set objSysInfo = CreateObject( "ADSystemInfo" )
strUserName = objSysInfo.UserName
WScript.Echo "User Name: " & strUserName


Thanks
LDAPSoft Support
 
Forum Index » General Discussion
Go to:   
[Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
Powered by JForum 2.1.9 © JForum Team