Every once in a while, a single user will not be able to login no matter where they try. Check the SID. The SID in the database must match the SID in AD.
VBScript to determine a User's SID in AD
Code:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objAccount = objWMIService.Get _
("Win32_UserAccount.Name='OCSUser1',Domain='Contoso'")
Wscript.Echo objAccount.SID
Use DBAnalyze.exe from the OCS resrouce kit. Run the following command.
Code:
DBAnalyze /report:user /user:<sip uri of user>
Snooper Version: 3.0.6362.0
Report created at 7/25/2008 6:59:59 AM on CON-OCS-SE01.Contoso.com.
User : ocsuser1@contoso.com
------------------------------------------------
Resource Id : 1
Home server : CON-OCS-SE01.Contoso.com
GUID : 1e35404d-7938-4ac8-a5ba-e270ce6747ea
SID : S-1-5-21-3196233165-1280936689-530780249-1148
Display Name : OCSUser1
OptionFlags : 262
ArchivingFlags : 0
Enabled : True
MovingAway : False
Unavailable : False
RichMode : True
Contact Version : 6
Permission Version : 1
Email : OCSUser1@Contoso.com
Phone : (xxx) xxx-xxxx
Presence data :
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.