Discussion Locked

Changing Context --Tips?

0 helpful
10 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Changing context in NDS tree
Asked similar question earlier, but due to my wording did not get the answer I was looking for. I will give an example. I will give the typeful distinguished names for two fictional objects in my NDS tree.
The first representing my logon context.

.CN=RJones.OU=ACCT.OU=BEI.O=EMA

.CN=DSmith.OU=AR.OU=ACCT.OU=EUR.O=EMA

Now,.. I am RJones. I am in the ACCT container in the context as I log on. I wish to move my context to

CN=DSmith.OU=AR.OU=ACCT.OU=EUR.O=EMA

I have been having difficulty learning how to correctly apply the trailing periods in changing context. Any tips on making this easy to understand? What is the answer to this one?

As I understand, this is what I would type:

CX=DSmith.AR.ACCT.EUR..

I would like to know if anyone has any easy tips that would help me to know I am entering this correctly.

10 replies

by budthegrey

Now I understand better.

A context is a "place" in the NDS directory. An object is a person, printer, volume, etc. Objects reside in contexts. In your example, "RJones" is an object in the context "OU=ACCT.OU=BEI.O=EMA", and "DSmith" is an object in the context "OU=AR.OU=ACCT.OU=EUR.O=EMA". These could be shortend to "ACCT.BEI.EMA" and "AR.ACCT.EUR.EMA".

So, you *can't* set your context to "dsmith.ar...."

If you wanted to switch to the same context as dsmith, the command would be

CX .AR.ACCT.EUR.EMA

or, you could log in as DSmith, by specifying .DSMITH.AR.ACCT.EUR.EMA as the user name.

This, of course, still depends on you (RJones.acct...) having rights to the container (context) where DSmith resides (ar.acct.eur.ema)

Is this better?

by evll

I found your information very helpful. I did not think any of the advice was "bad" in any way. I failed to word my original question appropriately. Again,..thank you. I accidentally posted about 4 things on my original post, but am going to mark mine unacceptable,..yours acceptable. Thank you.

by evll

In the course we are using trailing periods to aid in shortneing the path. We are in the tree with full administrative rights. I believe I got a further grasp on it today. I look at it this way. Once I get to the common container that the two objects share, I have referre

by evll

In the course we are using trailing periods to aid in shortneing the path. We are in the tree with full administrative rights. I believe I got a further grasp on it today. I look at it this way. Once I get to the common container that the two objects share, I have referre

by evll

In the course we are using trailing periods to aid in shortneing the path. We are in the tree with full administrative rights. I believe I got a further grasp on it today. I look at it this way:
Once I get to the common container that the two objects share, I have referred to it as "ground zero", then start adding one trailing period for every container back down the tree to my originating container context.

Thus, if I stand correct, this would indeed be entered as:

CX DSmith.AR.ACCT.EUR..

This is not such a long path to type to reach the context I wish to be in, but in a much larger tree, I see the benefits of my fully understanding how to navigate quickly around the tree by using the shortcuts provided.

This discussion is closed to new replies.