Quotes in options /etc/default/slapd

I want to start the openldap-server (slapd) on two of the four interfaces I have: eth1 and localhost. On the commandline you can start slapd with the option -h "ldap://127.0.0.1 ldap://192.168.1.1". The quotes surround all the options to the -h parameter.
With arch, I'm supposed to supply the options in /etc/defaults/slapd. There's the line:
SLAPD_OPTIONS=""
If I put the above options in there, I get an error message about ldap://192.168.1.1 not being a command. I tried to escape the quotes by putting a  in front of 'm, but that didn't work either. Is there a way to do this?

I don't use this package, so this may not help, but I can assign the right value for SLAPD_OPTIONS on the command line like this:
$ SLAPD_OPTIONS="-h "ldap://127.0.0.1 ldap://192.168.1.1""
$ echo $SLAPD_OPTIONS
-h "ldap://127.0.0.1 ldap://192.168.1.1"
Any use to you?

Similar Messages

  • Questions on /etc/default/grub

    i'm currently switching from syslinux to grub2 due to lack of support with xen and lvm/luks and just general information that i have a massive headache from googling for hours about.
    anyways, i'm configuring grub very cautiously because i would prefer a simple reboot in opposition to having to stick a live cd in and unlock and mount all my partitions and do all this messy work.
    is it possible to configure all options designating kernel, initrd, and kernel parameters from the "GRUB_CMDLINE_LINUX_DEFAULT" variable and its friends?
    i know that i can configure grub.cfg by hand but i would much rather prefer to do it from /etc/default/grub
    i use lvm on luks and i'm setting up my arch installation as a dom0
    any help?

    You don't need to specify the kernel and initrd if you are going to have grub generate the configuration automatically - just the kernel parameters.
    Please read the wiki. The documentation on this is excellent.

  • I am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to ope

    i am currently running a trial version of indesign. i am trying to make a cd booklet. when i open a new document and try to find 'compact disc' in the document presets, it isn't there. all i have for options are 'default and custom'. is it possible to open the 'compact disc' preset from a trial version?

    Are you sure, Eugene? I have this option:

  • When I click on the Moilla button on my desktop, the firefox start page that shows up has no Mozilla button to access print, history. options etc., it just says mozilla firefox start page at the top. rt page tc.

    When I click on the Mozilla icon on my desktop, a mozilla firefox startpage come up that has NO mozilla button to click and access print, history, options etc. Also the whole page automatically shifts down slightly to show only google question box and no address bar. Also, there used to be a place where I could click on most accessed pages, but that disappeared a couple of weeks ago. I have an HP computer and never know what the start page will look like.

    Hey plainmad,
    Did you recently upgrade Firefox? I would be willing to be that everything is still there, it's just hidden. Take a look [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 this article]. It will give you some tips on how to bring back any of the options you might not see.
    Hopefully this helps!

  • How can I use bookmark script to deselct sidebar option by default?

    I am trying to include a User Friendly 1-Click link on my site to automatically bookmark a page.
    Using the Ultimate Bookmark script this works fine in IE, but when the bookmarking window pops up it always has the "Load this bookmark in the sidebar" option pre-checked by default.
    When testing the script I missed that point & took me quite a while to figure out what had gone wrong.
    The thing is that while I may be fairly Computer Savvy, it must be be assumed that the vast majority of the visitors to the site are not, so what I want is to be able to deselect the Sidebar option by default, allowing the user to select it, should they want it.
    Can I use a simple snippet of code in order to facilitate this?

    Those page javascripts for "Bookmark this Page" either don't work for Firefox or automatically "check" the "Load this bookmark in the Sidebar" in Firefox (and other Gecko based browsers). A Bug was filed 10 or 11 years ago to address that "Load ... bookmark ... Sidebar" issue, but it was closed with WONTFIX. The developers feel that "fixing" that feature might create a potential exploit for Firefox users.
    Best thing to do is under that "button" for other browsers, is put text along the lines of "Firefox users can Bookmark this Page using the Star or with Ctrl + D."

  • How to set the default boot kernel in /etc/default/grub or /etc/grub.d

    and without messing with /boot/grub/grub.cfg  ?
    I need this so that new kernels show up but do not change the default boot kernel
    Is there a way to do it by file name instead of position within the menuentry / submenu list?
    I found some ubuntu and fedora sugestions but all by position, none by name
    AND how to set the kdump kernel as the default?
    Arch is putting this kernel under a submenu - would this pose problems for setting it as the default?
    Last edited by Sanjeev K Sharma (2015-04-06 12:59:22)

    Sanjeev K Sharma wrote:
    and without messing with /boot/grub/grub.cfg  ?
    I need this so that new kernels show up but do not change the default boot kernel
    Is there a way to do it by file name instead of position within the menuentry / submenu list?
    I found some ubuntu and fedora sugestions but all by position, none by name
    AND how to set the kdump kernel as the default?
    Arch is putting this kernel under a submenu - would this pose problems for setting it as the default?
    In /etc/default/grub you can use the name of your entry you wish to use as default
    GRUB_DEFAULT='Arch Linux, with Linux core repo kernel'
    You can tell grub to stop using submenus by doing:
    GRUB_DISABLE_SUBMENU=y
    Or you can just make a purely custom menuentry in /etc/grub.d/40_custom if you'd like:
    menuentry "Other Linux" {
    linux <KERNEL IMAGE HERE>
    initrd <INITRD IMAGE HERE>
    EDIT: /etc/grub/default -> /etc/default/grub
    Last edited by Slabity (2015-04-07 11:16:22)

  • The Outlook links do not connect to Firefox even after setting the customize option in Default Programs. Please help.

    The''' Outlook links do not connect to Firefox '''even after setting the customize option in Default Programs. Please help.

    Message to Toad-Hall
    Thank you, for that. To be sure, I tried your suggestion, and selected "System Proxy" as the choice, for Thunderbird and Firefox. Rebooted, and looked at the outcome.. NO Joy.. :-(
    I believe that I shall send the output of the Error Log in my next post. Perhaps someone can point me in the right direction after looking at the Error.log.
    Thank you...Toad Hall. If you think of something else to try, I am ALL ears.. I shall keep trying..

  • HT201406 My 2nd generation iPod Touch is unresponsive to touch... tried the restore options, etc., no go... any suggestions?

    My 2nd generation iPod Touch is unresponsive to touch... tried the restore options, etc., no go... any suggestions?

    If you  restored to factory settings/new iPod and and still have the problem that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • [SOLVED] grub2 recreate /etc/default/grub and /etc/grub.d

    I made lot of changes on /etc/default/grub so i decided to remove it along with the /etc/grub.d/* to start from scratch. I thought that after reinstalling grub-bios package these files will be automatically recreated. But I wasn't right. How can I get them recreated?
    Last edited by dummyan (2012-08-25 19:06:29)

    Found the solution, files are actually included in grub-common package. Marking as solved.

  • Bugreport: Build Option Flag "Default on Export" not copied to Translation

    In a multilingual environment the Build-Option Flag "Default on Export" seems to be nulled when publishing the translations.
    The main application has the correct Default on Export-Flag, but the translations don't.
    This leads to the result that after publishing and exporting the build option is excluded in the main application but included in the translations.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

    Joel,
    thanks for confirming.
    For now i'm using another one of my "dirty" workarounds: after publishing the translations i do an Update on APEX_040000.WWV_FLOW_PATCHES and set the DEFAULT_ON_EXPORT to the value it should have.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Filling the Bucket of Select-option as DEFAULT??

    Hi Experts,
    Pls. clarify my doubt reg. Selection screen,
    When I, <i><b>F8</b></i> the my_z_report, the selection screen is coming with default values (say,  A; B; C; D) in the bucket of <i><b>multiple selection</b></i> of the <b><i>select option s_doctype</i></b>.
    I know, its possible, by coding in prog. it self, by filling the <i><b>SELTAB</b></i> explicitly as A; B; C; D after populating <b><i>SIGN; OPTION; LOW; HIGH</i></b> values!
    but, when I see the code of my_z_prog., I did not find any such code, all over??
    1) So, How the prevoius programmer filled it? bcoz, now I need add E;F;G etc. to the same!
    2) Wht r the other altrnatives (other than I mentioned above) to get it done?
    thanq.

    Hi,
    Check the following..
    1) Put a where-used list of the select-options variable..and check if it getting appended.
    2) If you execute the program with a transaction code..Then in the transaction code setup in SE93..You can start the report with a variant..If so..modify the report variant to add more values..
    Thanks
    Naren

  • I've lost the File, Edit, Tools, Options etc from the top of my browser window. How do I fix this?

    At the top of my browser page I used to have File, Edit, Tools, Options, Help etc. well that has vanished. How do I get them back?
    == This happened ==
    Every time Firefox opened
    == not sure when, but after an update, I think.

    i pressed F10 then the prob was ok - i then went into the view option and toolbars where my menu bar had been un clicked problem solved :-)

  • How can I make folder View Options the default in Snow Leopard?

    Hi everybody! Here I am, learning to Mac!
    When I do a secondary click on an open folder's background and click on +show visualization options+ (actually, +mostrar opciones de visualización+ in spanish), there's an option +set as default+ ( +ajustes por omisión+ ) which, as far as I understood, should change all the rest folder's aspect, as icon's size, font size, background image and so on... but all the rest folder's aspect keep being shown as before, just the folder where I am working changes.
    My questions are: if I am wrong with the use of that "ajustes por omisión", what is it for? And how can I personalize the aspect of all folders on my mac?
    Thanks for your help

    It's "show view options" in English. Also obtained by typing CMD+J
    Those only apply to the top-level folder. Each folder you open uses whatever you've elected to use as the defaults. Select a folder, CMD+J, set the view as you desire, click on Use as Default button. That setting will be used for all windows that you open in the future that have never been opened previously. All other windows that you opened will retain whatever view you previously selected for them.
    If you want to reset everything to one view, close all open Finder windows, launch the Terminal app (/Applications/Utilities/), copy & paste this command into the window that pops up,
    find ./ -name ".DS_Store" -depth -exec rm {} \;
    hit the return key, quit the Terminal app, restart, open a Finder window, CMD+J, set up the view options as desired, click the Use as Defaults button, and close the view options window. Now, every Finder window you open will have this view.
    Once you sort this out, see:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    Mac 101: Mac Essentials,
    Mac OS X keyboard shortcuts,
    Anatomy of a Mac,
    MacTips, and
    Switching to the Mac: The Missing Manual, Snow Leopard Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist,
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

  • Don't want the wide white area with 'options, etc.' at bottom of page, I've already got it at the top of the page.

    The menu bar has file, edit, view, tools, bookmark, etc, I don't need it taking up an inch or MORE at the bottom below my tiles, they are already too tightly together. Thanks.

    There's a large partial menu at the bottom of the default homepage, but the "tiles" are on the NewTab page. I'm a bit confused as to what you are referring to, so please provide a screenshot of that page.
    https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem
    It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.
    Then use the '''Browse ....''' button below the '''''Post a Reply''''' text box to upload the screenshot.

  • Difference between 'Camera Raw Defaults' option and Default button

    I am using ACR 4.6 under CS3 in Windows.
    If I open an image and click the Default button above the exposure sliders, all the tonal settings are reset to the defaults, but Clarity, Vibrance and Saturation are not altered.
    If I select 'Camera Raw Defaults' from the menu the tonal settings are reset to the defaults as above, but Clarity, Vibrance and Saturation are also reset to 0.
    I was under the impression that the Default button and the 'Camera Raw Defaults' option did the same thing, but apparently not. What is the difference?

    The default button you are talking about only affects the sliders in the same group with the button.

Maybe you are looking for

  • Error while updating or deleting a record

    Hi to all... i have created atable group_master with 2 fields Group_id and Group_name the user will specify a group_name in a text box and press save. Before commiting a seq number will be generated inside the form procedure and it will be inserted.

  • Does anyone know how to customize a adapter (PI7.1)(not adapter module)

    Dear PI experts:   i want to develop a adapter to  fulfill the user' requirements,my pi version is pi7.1,and had download the sample adapter code,it's a zip file which contents some java class. and i now i have a double about developing the adapter:

  • Bootcamp question..Starts up windows 7 over mac OS

    Ok so I installed windows 7 this week for school through boot camp and all went well, but now when ever I shut down the computer and have to boot it back up it automatically goes and boot up to the windows 7 side even if it was previously running in

  • Sql server agent permission

    Hello Experts Very Urgent here what kind of permission do we need to grant for night operators that execute/kick off a sql server agent job ? because I saw some of them have a sysadmin access? Always Thankfull!

  • Currency figure with 5 decimals

    is it possible to load (from a flat file) currency figures with 5 decimal places?  The figures come in various currencies and so need to be a CURR but for me it seems that all I can see is 2 decimals. Is there a way to do this?