General discussion

  • Creator
    Topic
  • #2280369

    Changing Context –Tips?

    Locked

    by evll ·

    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.

All Comments

  • Author
    Replies
    • #3387641

      Reply To: Changing Context –Tips?

      by evll ·

      In reply to Changing Context –Tips?

      Point value changed by question poster.

    • #3387628

      Reply To: Changing Context –Tips?

      by budthegrey ·

      In reply to Changing Context –Tips?

      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?

      • #3387607

        Reply To: Changing Context –Tips?

        by evll ·

        In reply to Reply To: Changing Context –Tips?

        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.

    • #3387612

      Reply To: Changing Context –Tips?

      by evll ·

      In reply to Changing Context –Tips?

      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

    • #3387613

      Reply To: Changing Context –Tips?

      by evll ·

      In reply to Changing Context –Tips?

      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

    • #3387611

      Reply To: Changing Context –Tips?

      by evll ·

      In reply to Changing Context –Tips?

      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.

    • #3387606

      Reply To: Changing Context –Tips?

      by evll ·

      In reply to Changing Context –Tips?

      This question was closed by the author

Viewing 5 reply threads