ReportPortal
ReportPortal
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 ReportPortal General Forum
 Report Portal General Issues
 "Synch Users" won't show domain users

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Message:

* HTML is ON
* Forum Code is OFF
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
jkocherhans Posted - 05/12/2006 : 10:27:21
"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?
7   L A T E S T    R E P L I E S    (Newest First)
admin Posted - 05/17/2006 : 20:05:31
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.

jkocherhans Posted - 05/17/2006 : 09:08:49
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.

admin Posted - 05/16/2006 : 22:16:31
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

jkocherhans Posted - 05/16/2006 : 09:04:14
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.
admin Posted - 05/15/2006 : 21:07:13
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
jkocherhans Posted - 05/15/2006 : 08:09:10
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.
admin Posted - 05/12/2006 : 21:16:02
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.

ReportPortal © 2000-2002 Snitz Communications Go To Top Of Page