LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2013, 02:53 PM   #1
dkwrong
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
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!
 
Old 07-17-2013, 05:32 PM   #2
Sydney
Member
 
Registered: Mar 2012
Distribution: Scientific Linux
Posts: 147

Rep: Reputation: 36
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about bash_profile script ? greatdictator Linux From Scratch 4 08-02-2012 06:57 AM
.bash_profile question Gald3r Linux - Newbie 8 09-20-2005 07:17 PM
.bash_profile praveenv Linux - Newbie 3 08-14-2004 12:58 PM
.bash_profile question jalburger Linux - Newbie 1 03-18-2003 04:42 PM
.bash_profile question abyss Linux - General 7 03-19-2002 11:04 AM


All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration