Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
I keep getting error 1063: object doesn't exist, on my own user account. For example, this does not run for me.
AddExtender("wwads34i.dll") ; Set credentials. dsSetCredent("adminacct", "********") ; An Active Directory example. ; The user object "Russ T Gate" on the "win2000" server. ; Make sure the following on one line sAdsiPath = "LDAP://myserver/CN=rgate,CN=Users,DC=myserver,DC=bpk1,DC=com" ; Test if object is a container. if dsIsContainer(sAdsiPath) message("Container Check", "It is a container") else message("Container Check", "It is NOT a container") exit endif
; samAccountName of user of interest AddExtender("wwads34i.dll") MyUser = "rgate" ServerDn=dsGetProperty("LDAP://rootDSE", "serverName") ServerName=ItemExtract(1, ServerDn, ",") ServerName=ItemExtract(2, ServerName, "=") ServerDn=dsGetProperty("LDAP://rootDSE", "defaultNamingContext") ServerPath="LDAP://%ServerName%/%ServerDN%" UserPath=dsFindPath(ServerPath, "(&(objectCategory=person)(sAMAccountName=%MyUser%))")There are other possibilities involving firewalls, ports, OS version and group policy to name a few but give this a try first.
Article ID: W15809
File Created: 2004:03:30:15:40:58
Last Updated: 2004:03:30:15:40:58