AD Parent / Child permissions confusion
We have a company in Canada called company.com. We bought some companies in the USA and wanted to create children as city.us.company.com. Step one, as best we could figure, was to create a DC for us.company.com as a child of company.com. Then in each city
we created DCs as child domains newyork.us.company.com and boston.us.company.com to us.company.com.
Domain admins from company.com can administer all the children, but something isn't working as we expected. We have a group in company.com called networkshare_access and tried to add some users from newyork.us.company.com into the group. We can add users
in the child domain but we get permission denied errors from those child domain users trying to access parent resources with that networkshare_access group.
Help?
This is expected & by design. You can use domain admin from root forest to administer child domain users whereas vice versa is not possible. Secondly, enterprise admin account is required when you are doing forest level changes & that account only
exists in root domain. You need to make child domain users member of administrator group into root domain or use AGDULP method to provide permission in child domain to add/delete/modify users in parent domain
AGUDLP(Accounts, Global, Universal, Domain Local, Permissions)method to add user in groups.
-Add the User Accounts to Global Groups> Global Groups to Universal Group> Universal Groups to Domain Local Groups > Domain Local Groups to the group you want to assign the permission.
Accessing resources across forests
http://technet.microsoft.com/en-us/library/cc772808%28WS.10%29.aspx
Awinish Vishwakarma - MVP
My Blog: awinish.wordpress.com
Disclaimer This posting is provided AS-IS with no warranties/guarantees and confers no rights.
Similar Messages
-
How to allow Sharepoint users to login from multiple parent-child accounts?
Our client has mutliple AD domains and wants to allow people which have multiple AD accounts in multiple domains to login as THE SAME user:
- only primary account will be visible in search
- there will be only one user profile with all informations gathered from all sub accounts
- permissions for the sub account will be in sync with parent account
- task generated for parent will be visible for child accouns too etc
- ad admin can link the account together in the Active Directory - this link is permament (even if we move users to another OU) and ad admin can define which account is primary and secondary (parent/child)
How we can implement this in Sharepoint 2010 Std Server?Everything in SharePoint keys of the Security Identifier (SID) of a user. Each user in a domain has a unique SID, so there is no way to have multiple users recognized in SharePoint as the same user.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
i have 2 tables;
Table 1
Parent ID
Parent Name
Amount
table 2
DPND_CODE
DPND_NAME
DPND_RELAT_CODE
DPND_DOB
DPND_YN
DPND_SHARE_AMOUNT
DPND_BANK_CODE
DPND_BANK_AC_NO
DPND_AGENT_CODE
the query should check for the WHERE condition that dpnd_yn "Y"
Parent ID Parent Name Amount
001 emp1 200.000
001_01 emp1_chld1 50.000
001_02 emp1_chld2 50.000
001_03 emp1_chld3 50.000
001_04 emp1_chld4 50.000
.i was totally confused n hasty..Sorry to post with so incomplete info.
actually i have a table that stores the total amount paid to an employee.
for that my Table1 above serves the purpose.
Table 1
Parent ID
Parent Name
Amount
the IInd table stores the distribution of the above (TABLE 1) total amount,
to his family in case he has died. so the correct child table 2 struc is;
table 2
DPND_CODE
DPND_NAME
DPND_RELAT_CODE
DPND_DOB
DPND_YN
DPND_SHARE_AMOUNT
DPND_BANK_CODE
DPND_BANK_AC_NO
DPND_AGENT_CODE
dpnd_PARENT_id (Foreign key)
and therefore the result that m looking for is;
PARENT ID PARENT NAME AMOUNT
001 emp1 200.000 <------FROM TABLE 1
dpnd_code dpnd_name dpnd_share_amount
001_01 emp1_chld1 50.000 |
001_02 emp1_chld2 50.000 |__FROM TABLE 2
001_03 emp1_chld3 50.000 |
001_04 emp1_chld4 50.000 |
a condition should check whether dpnd_YN field = "Y",
as all the next-of-kin members details of the deceased family is entered in the system at the time of his death.
where as per rule only few qualify to get the share from the deceased pension as per policy.
therefore the query should pick up only child records whom dpnd_YN IS MARKED As 'Y'.
You've provided (3), but I don't know if that's really a good illustration of your problem.
Do you have just one root (001), or can you have multiple roots (001, 002, 003, etc.)?
Does the parent-child relationship go beyond two levels? (Thta is, can you have 001_01_01 or 001_01_02_03?)
Yes the ROOT is always one, it will never go beyond two levels. (Just 001_01, 001_02...002_01, 002_02...003_01, 003_02..)
Hope i am much better than before.
ty
Edited by: user613563 on Oct 27, 2008 3:01 PM
Edited by: user613563 on Oct 27, 2008 3:05 PM -
How can provide parent-child nodes relation ships?
how can provide parent-child nodes relation ships?
I was under the impression that scenegraph is like a JTree. But in JavaFX only leaf node rendering in scenegraph. This situation was confusing my mind. In JavaFX CustomNode must be extending and return a group for custom leaf. If we want to a create parent-child node hierarchy we are create CustomNode that return a group and this group contain an another group,etc. So there is maybe only a way. If you learning to JavaFX first time.This way don't look familiar.
-
Hi All
Fairly new at this and am a bit confused.
I have been given the task of cleaning up certain tables in my DB. I am running into parent / child issues.
I want to remove all entries from Table A. When i try and delete one row it gives me a constraint violation. It tells me there is a child record out there. So i go ahead and disable that constraint, go back to table A and try the delete again. I get a different another violation telling me that there is a child record on a different table. And on and on the story goes.
Now I could keep doing this but the schema i am working on has 1051 tables and just over 6000 constraints. So as you can see this might take me a month to sit here and do that. Not very keen on that.
What I am after is:
1. A program / script that will lay out all the parent child relationships for me. Coming across each one as i try and delete is painful
Would it be possible to get something like:
Table A
-- Table B
-- Table C
Table D
-- Table E
-- Table G
-- Table F
2. All the constraints have been created with a delete rule of 'No Action'. I think the easiest thing to do would be to go to the parent table (or what I think is the parent table) and change this to on delete Cascade. From what it looks like I don't think you can do this. Does anybody know how to? Or if its possible?
3. The third option I am thinking of is:
Disable All the constraints on what I think is the parent table. Remove entries from the child tables. Enable the constraints.
Now my issue here is, how do i know all of the child tables? I guess that goes back to my question 1.
Thanks in advance. Sorry for the story.
The lack of documentation / diagrams here is driving me nuts :)You can use tools like Microsoft Visio to reverse engineer the tables and their relationships.
You can also generate a list of parent-child related tables from user_constraints.
something like:
SQL> SELECT TABLE_NAME,
2 (SELECT TABLE_NAME
3 FROM ALL_CONSTRAINTS R
4 WHERE R.OWNER = U.R_OWNER
5 AND R.CONSTRAINT_NAME = U.R_CONSTRAINT_NAME) PARENT_TABLE
6 FROM USER_CONSTRAINTS U
7 WHERE U.CONSTRAINT_TYPE = 'R'
8 /
TABLE_NAME PARENT_TABLE
EMP DEPT
SQL> -
Hide parents in a parent-child hierarchy with dynamic rights
Hi all,
I'm facing the following issue with dynamic rights on a parent-child hierarchy:
scenario:
- a cube with a company parent-child hierarcy
- dynamic security on through a role on dimension data based on a list with user (login names) and their
departments, with Enable
Visual Total is switched ON
- Multiple facts connected to this hierarchy.
When a user connects to the cube (in this case with Excel or through a dashboard in Performance Point services) he/she is allowed to see the facts belonging to theirs departments and all child departments, so far so good. But the totals of the facts are
repeated for all higher parents. Now i know thats nog 'wrong' but our users think thats very confusing in some cases, so is there a way
- to hide the parents in the hierarhcy
- or to set all the parent measures to null/empty?
I prefer to make a solution in the cube so that all client programs can benefit from this solution.
thanx in advance for all input!so that User A have scope: [Dimension_Name].[Attribute XYZ] and User B: [Dimension_Name].[Attribute ABC] ?
Hi Wilfred,
If I understanding correctly, you want different user can see different dimension attributes based on the different right on role, right?
Based on my research, it seems that there is no a directly way to achieve this requirement. What we can do is that "Deselect all members" for each attribute of the dimension in Dimension Data tab, which will hide all members of the dimension for the role.
Even the dimension metadata is visible in the cube in clients, its members can't be seen. Here are some useful links for your reference.
http://saysmymind.wordpress.com/2013/01/15/hide-a-specific-attribute-hierarchy-in-role-playing-dimension-ssas-multidimensional/
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e2596eec-7c2d-48c0-8e81-538a8c632360/hide-dimension-based-on-roles
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
Is Parent-Child mandatory?
Hi everyone,
In my model i have this dimension which it's hirarchy is an unbalanced hirarchy
In my fact table the reference key to this dimension can be in different levels: leaf level and non-leaf levels
Now, one solution is a parent-child hirarchy
the triuble with this solution is that i can have only one parent-child hirarchy per dimension and i do need two hirarchies
- the customer wants one tree of the decriptions and one of the codes - he acttually wants to show data sliced by a tree of codes. that way i have to create two dimension one for codes and one for descriptions
in addition, i understand there are some performance issues within large cubes
another solution is to flatten the dimension
Level_1_Code, Level_1_Desc,Level_2_Code, Level_2_Desc,Level_3_Code, Level_4_Desc till 5 levels (maximum level of unbalanced the tree)
is it possible to flatten the dimension or parent-child is neccacery? I remind you In fact table the reference key can be in different levels: leaf level and non-leaf levels
TIARE: The parent object is the Source. Source is mandatory. Source to child (target) cardinality is "*" - i.e. the parent may have zero to many children.
I think by setting the Source to mandatory you are saying "The parent must have 1 to many children."
I think the problem you are having is the limited detail and sometime confusing User's Manual.
Here's what it says about the first checkbox:
Relation Cardinality: Source Optional: Controls whether the source entity in a relationship must, by default, contain one or more instances. If this option is enabled, source instances are not required for all relationship types; if this option is disabled, one or more source instances are required for all relationship types.
My interpretation of this is that the Source Optional checkbox determines whether or not the target entity is optional for the relationship when viewed from the source. If I'm correct then you are using the checkboxes backwards. (I'm new at this tool, but I've been doing data modeling for 30 years.) -
Multiple regions with parent child info.
I have the need to display parent-child-details on the same page - but more intuitively in 3 regions of a page.
As an example, i want the first region to display a list of departments, the second adjacent region to display employess in a department chosen in the first region, and the third should have employee details for a chosen employee in the 2nd region.
The master details approach may not necessarily fit as an elegant solution.
Any ideas/suggestions/past apps built that would be similar ?
Regards,
AtulDocster wrote:
Hi,
Do you happen to still have this application? I'd love to see it.You are totally wasting your time. There is no point in posting follow-ups to threads this old in the expectation that the original participants will respond—watches on threads that will generate email notifications of thread updates last for only a period of a few weeks.
"Sofie87" is not listening. Gone. An ex-poster. Look at their profile: not posted in *4+ years*.
Posting follow-ups to ancient threads/departed users is NOT an effective way of getting help:
<li>Other users may ignore the thread if it is closed.
<li>Your assumption that the questions are related may be incorrect, leading to confusion about the nature of the problem and potential solutions.
<li>Watches on the thread will have expired, so the original participants are totally unaware of the new post. They may no longer be active on the forum.
<li>You have no ability to mark posts as helpful or correct.
Post your requirements as a new thread, including at least the following information:
<li>Full APEX version
<li>Full DB/version/edition/host OS
<li>Web server architecture (EPG, OHS or APEX listener/host OS)
<li>Browser(s) and version(s) used
<li>Links to related posts and threads (using the methods in the FAQ) -
Problems with Centralized No Delegation DNS with forest wide replication in a Parent-Child domain
Hi,
I have a parent domain "parent" with a child domain "child" as shown below. There are no delegations and DNS replication is set to forest wide DNS replication for both the child and parent zone. I've read that forest wide replication
in this scenario is not recommended, but no one explains why.
Also, running "dcdiag /test:dns" produces the warning below (expected as child is not a DNS zone)
(test:basic (Basc))
Warning: The Active Directory zone on this DC/DNS server was not found (probably a misconfiguration)
I'm looking at upgrading the domain, then forest functional level to 2008, but want to ensure that this DNS config doesn't cause any issues.
Hoping someone can advise.
The only thing I've noticed is that some SRV records for DCs are not up to date when viewed from other DCs (dns diagnostics and event logs report OK) and all else seems OK.
Thanks
IT Support/EverythingHey Aetius2012, So I am a little confused
What is the current domain/forest functional level?
Normally I would expect to see three dns forward lookup zones in a 2 domain (Parent/Child) environment
2 zones if the domain/forest level is 2000/2003 where the _msdcs zone has not been moved to its own forward lookup zone - see image below
In your environment I would expect to see 3 zones (_msdcs.parent.com, parent.com, child.parent.com) on every domain controller because all zones are replicated forest wide.
I would also expect to see 2 delegation records under the parent.com for _msdcs and child
I know you stated there was no delegations, and would like to understand better by what you mean. Not saying that anything is configured wrong just trying to get clarification on your environment to give you the best answer from the community as possible.
Thanks -
Dimension tables - parent child or hierarchical
The data I m dealing with is structured as follow.
A customer has many stores and each store has a POSSystem.
Customer
Stores
POSSystem
So now when I create Dimensions, will I create as:
TableName Cols
DimCustomer CustKey
DimStores StoreKey, CustKey
DimPOS POSKey, StoreKey, CustKey
Are these Hierarchical or Parent Child?
Now when I will create Fact table, will I have:
TableName Cols
Sample1: DimFactPOS CustKey,POSKey,StoreKey, #trans
OR
Sample2: DimFactPOS POSKey, #trans
If I do sample1, then why do I keep "StoreKey, CustKey" in DimPOS?From your question, I can assume that you have beginners knowledge in Data modeling and Data Warehousing.
Let me elaborate it and dilute your confusion.
You have designed
Star Schema; basic intention for having star schema is to have normalized fact tables and de-normalized dimension tables.
Reason you are creating three dimension (i.e. DimCustomer, DimStores and DimPOS) here because you must have many-to-one referential integrity between each level. You can google about Hierarchies,
Levels and Level relationships to get insight information about it.
Keeping normalize data in dimensions and keeping keys in fact table is a business decision. To which level you want to show the aggregated data? You
need to define granuality level based on business needs.
As in star schema, there is 1 fact table related to different dimensions. If I sub divide your assumption, Sample 1 represents
Data Mart and Sample 2 represents Data Warehouse.
I hope it will help you in understanding basic concepts. -
Merge data/result sets that are't parent/child?
Hi:
I've seen a few examples of making a data template so that a BI report can have master/detail data. They make a Q1 data set and a Q2 data set with a bind variable to link the two in a parent/child relationship.
But what I need is effectively a UNION. I have the same table on multiple database instances and I want to show the grouped results in one report as if it all came from one table. The master/detail examples have a section defining grouping but they group by Q1 (see here)
http://blogs.oracle.com/BIDeveloper/data_template/
and I need to group by a column that is in Q1 and Q2 to "merge" the two data sets.
Has anyone done this?
Thanks.I've messed up what I had! lol
I'll try and recreate things tomorrow and get it to you, thanks.
I seem to be having some quirks with all this (or I'm just confused). I initially had a data model that selected a few columns and a count(*) an grouped the results. I modified the data model to not have the count but every time I do "insert table/chart" in RTF the count column shows up as a possible column to move over with >>. I've re-opened the document so it should have the latest data model. Is this normal? A bug? Am I just lost?
Thanks. -
Query Help with Parent, Child, Child's Child
Hi all,
Need some help with a query. I'm trying to create a stored procedure that is sort of like a Customer, Order, Order, Details. In my situation the tables are different but nevertheless, I want to grab all the fields from the Parent, Child,
and Childs' Child, where the Parent.ParentID = @Parameter. I tried this:
CREATE PROCEDURE [dbo].[spGetCompleteProjectXML]
@ProjectID int = 0
AS
SELECT *,
(SELECT *,
(SELECT *
FROM PageControls
WHERE (PageControls.ProjectPageID = ProjectPages.ProjectPageID))
FROM ProjectPages
WHERE (ProjectPages.ProjectID = @ProjectID))
FROM Projects
WHERE (ProjectID = @ProjectID)
FOR XML AUTO, ELEMENTS
RETURN 0
I think I'm close, but it was my best effort. Could someone help?
thanks in advanceHi TPolo,
Regarding your description, are you looking for a sample like below?
CREATE TABLE customer(customerID INT, name VARCHAR(99))
INSERT INTO customer VALUES(1,'Eric')
INSERT INTO customer VALUES(2,'Nelson')
CREATE TABLE orders(orderID INT,customerID INT)
INSERT INTO orders VALUES(1,1);
INSERT INTO orders VALUES(2,1)
INSERT INTO orders VALUES(3,2)
INSERT INTO orders VALUES(4,2)
CREATE TABLE orderDetails(orderID INT,item VARCHAR(99))
INSERT INTO orderDetails VALUES(1,'APPLE1')
INSERT INTO orderDetails VALUES(1,'BANANA1')
INSERT INTO orderDetails VALUES(2,'APPLE2')
INSERT INTO orderDetails VALUES(2,'BANANA2')
INSERT INTO orderDetails VALUES(3,'APPLE3')
INSERT INTO orderDetails VALUES(3,'BANANA3')
INSERT INTO orderDetails VALUES(4,'APPLE4')
INSERT INTO orderDetails VALUES(4,'BANANA5')
SELECT customer.customerID,customer.name,
(SELECT orderId,
SELECT item FROM orderDetails WHERE orderID=orders.orderID FOR XML AUTO,TYPE,ELEMENTS
FROM orders Where customerID=customer.customerID FOR XML AUTO,TYPE,ELEMENTS)
FROM customer WHERE customerID=1
FOR XML AUTO,ELEMENTS
DROP TABLE customer,orderDetails,orders
If you have any feedback on our support, please click
here.
Eric Zhang
TechNet Community Support -
Problem with saving Parent - Child View Objects in ADF 11g.
Hi Every one,
I have a requirment, something like I will be displaying some data on my jsff screen based on one Transient View Object. Whenever user clicks on Save button, I have to do following steps in my AMImpl.
-> Preapre dynamically Parent View Object Rows based on some logic
-> Prepare dynamically Child View object Rows and invoke insertRow method on respective child view object.
When I say commit() First Parent ViewObject data need to be saved and then Child View object data has to be saved. I am having Parent - Child Key relation ship btw these two ViewObjects. Some how I am populating the Parent Primary key in the Child View Object. Please suggest me If there is any other alternative to this.
ThanksI got the solution, Enabling the check box option for Master - Detail Entity association (CompositionAssociation -> Cascade Update Key Attributes) resolved the issue.
Thanks -
Does table STPOX contain parent-child relationship between components
Hello
I need to get a list of components of SO BOM.
FM CS_BOM_EXPL_KND_V1 exports an output table STPOX.
Does this table contain parent-child relationship between components? If yes , can somebody tell me which fields contain parent child id.
thanksHi,
STPOX is not a table, it is a structure & hence there is no storing of data in a structure. The table which stores this info is STPO.
To get the link you can refer to STPO-STLNR & pass this value to MAST-STLNR, this way you can link the child with its parent.
Regards,
Vivek -
Getting parent-child data from a single column in a table
Hi,
I have a parent-child data in a column.
Eg:
0
00
01
010
011
1
10
11
These values are present in the single column itself. My need is to get the parent values for the given child value.
For eg: If I am giving the input as 011, the query should return all its parents, i.e. 01 and 0
Could you please give me any inputs on this?
Thanks,
GVFrank Kulash wrote:
Assuming that each child's id is formed by adding exactly one character to the end of its parent's id:
SELECT id
FROM table_x
START WITH id = :target_id
CONNECT BY PRIOR id LIKE id || '_';
Small tweak to yours Frank if it's just the parents that need identifying...
SQL> ed
Wrote file afiedt.buf
1 with t as (select '0' as x from dual union all
2 select '00' from dual union all
3 select '01' from dual union all
4 select '010' from dual union all
5 select '011' from dual union all
6 select '1' from dual union all
7 select '10' from dual union all
8 select '11' from dual)
9 -- end of test data
10 SELECT x
11 FROM t, (select '&required' as req from dual) req
12 WHERE x != req.req
13 START WITH x = req.req
14* CONNECT BY PRIOR x LIKE x || '_'
SQL> /
Enter value for required: 011
old 11: FROM t, (select '&required' as req from dual) req
new 11: FROM t, (select '011' as req from dual) req
X
01
0
SQL> /
Enter value for required: 11
old 11: FROM t, (select '&required' as req from dual) req
new 11: FROM t, (select '11' as req from dual) req
X
1
SQL>
Maybe you are looking for
-
IPhone not recognised by laptop (or connecting to itunes)
My iphone has recently been repaired with a new dock (since the other was corroded with water damage and would not allow the iphone to charge at all). I got it back today and after updating my itunes, the softwarde on the iphone (to iO6.1.2) and the
-
How do i get my pictures off of my ipod to my macbook air because i lost my iPod?
help me figure this out i really want my pictures
-
How can I unlock an IPod with a locked screen that says Will open in 21,889,406 minutes? It was in our companies lost and found a couple years ago. Was never claimed. If I could unlock it, I could possible find out whose it is/was or at least use it.
-
I recently upgraded to Mavericks and I now cannot find under the file menu the option to "Save As" in my Numbers application. Where did it go?
-
How to send delivery document from external system to ECC
i have a business requirement to send a delivery and billing documents from external system ( MS access ) to ECC could any one light me how to do this ??? Thank you in advance