none
vbscript login script issue

    Question

  • I keep getting error 0x80005000 code 80005000 source null for my login.vbs script.

    It bump out at Set CurrentUser = GetObject("LDAP://ip_address_of DC:389/DC=xxx,DC=xxx,DC=xxx" & ADSysInfo.UserName) 

    Any advice will be greatly appreciated!!!

    Friday, September 04, 2015 4:25 PM

Answers

  • The error is 0x80005000 ("The specified directory service attribute or value does not exist"). 

    Can you post the whole script or more of it?  Sure the attribute exists that is being called since it is username it should be.  Why the domain specification (DC=xxx)?

    Maybe just:

    Set ADSysInfo = CreateObject("ADSystemInfo") 
    Set CurrentUser = GetObject("LDAP://" & ADSysInfo.UserName) 


    Friday, September 04, 2015 4:59 PM

All replies