ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 "Synch Users" won't show domain users
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jkocherhans

USA
9 Posts

Posted - 05/12/2006 :  10:27:21  Show Profile  Reply with Quote
"Synch Users" isn't displaying any users in my domain, but it displays users for the local machine just fine. I disabled anonymous access and enabled windows auth for reportportal/admin/synchUsers.aspx. I logged in as a domain admin when it propmted me. Report Portal 2.1 Build 113. It's working for the trial version I have installed on another machine. :S Any ideas or anything else I can post that might help?

admin

1644 Posts

Posted - 05/12/2006 :  21:16:02  Show Profile  Reply with Quote
ReportPortal is using the following code to list domains:

Set objNameSpace = GetObject("WinNT:")
For Each Domain in objNameSpace
MsgBox Domain.Name
Next

You can paste this code into a VBS file (A text file renamed to test.vbs) and test it on your web server.
Go to Top of Page

jkocherhans

USA
9 Posts

Posted - 05/15/2006 :  08:09:10  Show Profile  Reply with Quote
Thanks for the reponse. The domains themselves actually show up fine, as do the groups within my domain, but when I select a group, none of the users show up.
Go to Top of Page

admin

1644 Posts

Posted - 05/15/2006 :  21:07:13  Show Profile  Reply with Quote
Please try code below if you have problems listing groups:

Dim oGroup, oDomain
Const sDomainName = "Domain1"

Set oDomain = GetObject("WinNT://" & sDomainName)
oDomain.Filter = Array( "Group" )

For Each oGroup In oDomain
MsgBox oGroup.Name
Next oGroup
Go to Top of Page

jkocherhans

USA
9 Posts

Posted - 05/16/2006 :  09:04:14  Show Profile  Reply with Quote
quote:
Originally posted by admin

Please try code below if you have problems listing groups:




Thank you again, but I'm having problems listing users. Groups are fine.
Go to Top of Page

admin

1644 Posts

Posted - 05/16/2006 :  22:16:31  Show Profile  Reply with Quote
please try:

ON ERROR RESUME NEXT

Const sDomainName = "Domain1"
Const sGroupName= "Group1"

Dim oUser
Set oDomain = GetObject("WinNT://" & sDomainName)
Set oGroup = oDomain.GetObject("Group", sGroupName)

For Each oUser In oGroup.Members
MsgBox oUser.FullName
Next oUser

Go to Top of Page

jkocherhans

USA
9 Posts

Posted - 05/17/2006 :  09:08:49  Show Profile  Reply with Quote
quote:
Originally posted by admin

please try:

ON ERROR RESUME NEXT

Const sDomainName = "Domain1"
Const sGroupName= "Group1"

Dim oUser
Set oDomain = GetObject("WinNT://" & sDomainName)
Set oGroup = oDomain.GetObject("Group", sGroupName)

For Each oUser In oGroup.Members
MsgBox oUser.FullName
Next oUser




This returns the users I would expect, as long as I change the last line from:

Next oUser

to:

Next

I ran the vbs as the same user that I use to login when accessing Admin -> Synch Users. Still no luck with doing this inside ReportPortal though.

Go to Top of Page

admin

1644 Posts

Posted - 05/17/2006 :  20:05:31  Show Profile  Reply with Quote
Thank you for testing. It is very hard to reproduce this problem without having access to your environment (domain controller). The next build will have this feature slightly modified but there are no guarantee that this will fix this problem...

Please try to use "Pass-Through Authentication"
http://www.reportportal.com/help/design/security.htm it provides the same functionality as Synch user admin page but the user is created on demand.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page