LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Question about the bash_profile (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-the-bash_profile-4175469976/)

dkwrong 07-17-2013 02:53 PM

Question about the bash_profile
 
Hello all,

I'm fairly new to Linux and have been tasked with editing a user's .bash_profile file. I haven't received much instructions around how to actually do this but the scenario is that we are trying to query our AD servers but some of the hosted accounts are setup as "referrals" and our application does not support a referral from AD by default. To allow this, I need to specify that our user account will follow any AD based referral by adding the Context.REFERRAL = follow to the .bash_profile file.

Noone seems to understand the syntax that is required in order for this to work. Do I just simply add Context.REFERRAL = follow anywhere in the file? Should is say export Context.REFERRAL = follow? I've tried a bunch of different combos but none of them seem to work ( I get logon errors saying that the command is not found when I sudo to that user).

I've tried using the following options in the file:
1. export Context.REFERRAL = follow
2. export Context.REFERRAL=follow
3. export Context.REFERRAL= follow
4. Context.REFERRAL = follow

Any ideas? I apologize if this is in the wrong locations but thank you all for assistance!

Sydney 07-17-2013 05:32 PM

this page talks about Context.REFERRAL directly, it kind of says that it will not work with AD on the last line of the first page, but what you are doing may be different.


All times are GMT -5. The time now is 03:24 AM.