Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Security
»
AD and SQL 2K
AD and SQL 2K
Rate Topic
Display Mode
Topic Options
Author
Message
schleep
schleep
Posted Monday, October 19, 2009 2:04 PM
Old Hand
Group: General Forum Members
Last Login: Yesterday @ 12:35 PM
Points: 345,
Visits: 605
Hello,
I am seeing some strange behaviour. We use AD to manage users, groups, and SQL Server access.
We have various levels of access, supervisor and administrator, among others.
(These are in-house privs, not OS/SQL).
We use the following
SELECT Name AS cName FROM OPENROWSET(NetGroupGetMembers, @cGroupNameArg)) to get the list of members for a given AD group.
Now, in each of the AD console, SQL QA xp_enumgroups, and a seperate app, I can see with my own eyes the groups CIPS\Imp_Prod_TCNW_Administrator_6, CIPS\Imp_Prod_TCNW_Supervisor_6, and the members of each group.
In SQL QA, NetGroupGetMembers returns the members of the Admin group, but none from the Sup group.
This is not a case of slow AD replication, it's been days since the groups were populated. Although if there's a way to force AD replication, can you let me know how?
Other suggestions? The SQL Servers are SP2. The DCs may be Win2K or Win2K3. However, if it works for 99% of the AD groups on our domain, it sholdn't be a SP thing, right?
Thanks,
Paul
P
Post #805267
sudhirnune
sudhirnune
Posted Thursday, February 23, 2012 10:06 PM
SSC Journeyman
Group: General Forum Members
Last Login: Sunday, May 19, 2013 8:29 AM
Points: 79,
Visits: 186
I tried the same query on SQL Server 2008
But not working, it says in correct syntax near rowset
SELECT * FROM OpenRowset(NetGroupGetMembers, 'Domain\user')
Post #1257090
sudhirnune
sudhirnune
Posted Thursday, February 23, 2012 10:07 PM
SSC Journeyman
Group: General Forum Members
Last Login: Sunday, May 19, 2013 8:29 AM
Points: 79,
Visits: 186
I tried the same query on SQL Server 2008
But not working, it says in correct syntax near rowset
SELECT * FROM OpenRowset(NetGroupGetMembers, 'Domain\user')
Please need help to tell me how this works
Post #1257091
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.