How do I force LDAP to listen to only one interface?

So I've been digging through this process and it seems possible, but none of my efforts have been fruitful.
*The goal*...Have 10.6 slapd (LDAP) listen on the primary interface (bonded EN) so that a secondary (virtual) IP can be used for another directory service. I know this isn't advised, but shy of running a VM for a the task of KMS would just waste resources. Purchasing a second Xserve is out of the question and I/O (mail) is a heavy demand so that cute Mini Server won't work in this environment.
*The setup*...Single Quad-Core Xenon Xserve with more than enough "umph" running 10.6.2 (files.domain.com with a bonded EN *.20 only running AFP and SMB) using an Xserve RAID as the file storage and Kerio MailServer (KMS setup to listen on a secondary *.21 IP) using a mirrored internal array as storage with a hardware firewall doing the security.
Everything works now, except LDAP in KMS. So we I need to get the 10.6 slapd to ONLY listen to *.20 so that my KMS will start on the same port, but with it's own IP *.21
I know this is possible, and Apple pointed me toward a man page for slapd...
http://developer.apple.com/mac/library/DOCUMENTATION/Darwin/Reference/ManPages/m an8/slapd.8.html
It appears that "-h" is my flag. I've tried a handful of things, but nothing has worked. I also am fearful of preventing the system from seeing itself and having the files.. go down. This is a production server for a small business.
Thanks for your thoughts!

It would help to post what you've tried. It does, indeed, appear that -h is the switch, and the man includes several examples, so if you've followed the examples and it's not working then that hints that you should pass it back to Apple.
You also don't say how you're implementing your change. Are you invoking slapd manually, or are you editing /System/Library/LaunchDaemons/org.openldap.slapd.plist ?
You should be doing the latter, and I'd expect to see something like this:
<array>
  <string>/usr/libexec/slapd</string>
  <string>-d</string>
  <string>0</string>
  <string>-h</string>
  <string>ldap://x.x.x.20/ ldap://127.0.0.1/ ldapi://%2Fvar%2Frun%2Fldapi</string>
</array>
(note the inclusion of ldap://127.0.0.1/ as an entry - you'll need to run on localhost as well the .20 address since all the local services will look to localhost)
You might also need an ldaps URL if you're using SSL but let's walk before we try to run

Similar Messages

  • How do I set a Phase Listener to only run for a specific page?

    How do I set a Phase Listener to only run for a specific page?
    I understand that a Phase Listener runs for ever page in the application, however I want a phase listener to only run for one page at the beginning of the application.
    I discovered I can't use a Filter, because the JSF Application instance always returns null.
    Thus, I thought a Phase Listener would be a good approach.
    Thoughts?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I have moved forward with checking the requested URI...
    (shivers)
    Thanks,
    --Todd                                                                                                                                                                                   

  • How do I change my Apple ID on only one device?

    How do I change my Apple ID on only one device? I inherited my husband's iPhone 5. He cleared it but I set it up with same Apple ID so we could share same iTunes account. However, I realised that there are inconveniences such as not being able to Facetime each other. In addition, his iTunes account is UK-based and we'd like to also have a New Zealand iTunes account for various reasons.

    Go to settings/icloud and sign out. Then sign in by creating a new Apple ID. Do the same in Settings for Messages, FaceTime and iTunes & App Store. Next, link your Apple IDs using Family Sharing so you can still share music and apps. Family Sharing - Apple Support

  • How do i confirm whether it is using only one partition.

    I want to select the data from one partition only.
    How do i confirm my select query using only one partition.
    To front end developers how do i suugest to use correct partition.
    I know in the select query we can write partion name also if i know the partition.
    But i don't the correct partition name as a front end developer.

    Hello,
    You can find partitions for the table from following view user_tab_partitions. You can use PARTITION Clause but it defeats the purpose of having partition key column,
    You should be able to do this
    select * from my_part_table where part_key='key';Regards

  • How can I set two different emails in only one contact form?

    How can I set two different emails in only one contact form?

    To enter multiple email address with the Contact Form Widgets:
    Click the Options icon for the selected widget, then
    In the Email to box, enter multiple emails by delimiting them with a semi-colon. For example: [email protected];[email protected]
    Cari

  • How do i make a slideshow lightbox with only one main image

    Hi all,
    i was wondering How do i make a slideshow lightbox with only one main image being seen on the page and once clicked the lightbox will open and have multiple images viewable from prev/next buttons with comments.
    Reason being is i want have a portfolio page with my work all viewable from that one page so i will have say 10 lightboxes on the page but all with one master image.
    Cheers,
    Chris

    hello
    I have the same problem... Its so basic thing and is it really missed in muse ?

  • How can I adjust the skin color of only one person in the photo (Elements 11)

    How can I adjust the skin color of only one person in the photo (Elements 11)?
    Thanks for your help.

    From your question, I assume you know how to do it for all persons :
    Menu : Enhance/Adjust color/adjust color for skin tones
    So what you have to do is to do the color correction on a layer copy. Concentrate on the person to enhance and ignore the rest of the picture.
    When you are satisfied, add a mask to the layer copy and fill it with black.
    Set your foreground color to white
    In the layer palette, click on the mask icon on the right of the layer icon.
    Then use a brush to paint white on the skin of the person to reveal the correction.

  • If I want to purchase PhotoShop CS6 for my company, how many computers can install this copyright or only one time of installation?

    If I want to purchase PhotoShop CS6 for my company, how many computers can install this copyright or only one time of installation?

    YOu can install and activate on 2 computers for non-concurrent use.
    Mylenium

  • When I import an Album or Folder from my computer that is a Various Artist Album it creates as many albums by the same name as there are songs?  How do I fix this so it is only one Album?

    When I import an Album or Folder from my computer that is a Various Artist Album it creates as many albums by the same name as there are songs?  How do I fix this so it is only one Album?

    Before you begin the import, edit the properties of the tracks to set the Album Artist to Various Artists and Part of a Compilation to Yes.
    For more info. see Grouping tracks into albums.
    tt2

  • How to say application module(s) to consume only one DB connection

    Hi,
    In my application, i use UI Shell template. All of my task flows are said to have new transaction always and not to share the data control. i have bunch of application modules (not nested AM) with many view objects. All the view objects are custom java data source implemented and none of them requires DB connection as they interact with DB using tuxedo connection. Expected concurrent users will be around 800.
    i can understand that application module requires DB connection for activation/passivation, but how can i say all of my application modules to consume only one DB connection??
    Thanks in advance.
    Raghuraman

    Jobinesh,
    My application is based on UI tab shell template with each and every task flow set to begin with new transaction always.
    I was using database tables for LOV view objects data population alone. Now that also has been changed to custom view data source implementation because of client requirement (LOV data needs to be cached till user-browser session)
    With the new implementation,
    1. I have some AMs with instances of entity driven VOs. With this, I do transaction with legacy system through Tuxedo. Custom view data source implementation is done to populate data from service. Similarly Update to service will happen by reading transaction listener list on save.
    2. I also have couple of AMs with instances of non entity-driven VOs, which will be used as read-only table/LOV. For this also custom view data source implementation is done by reading the reference database table only one time during deployment.
    3. As of now, none of my AMs are specified as Shared AM.
    Questions:
    1. I want to utilize the AM passivation/activation feature to control memory usage. I came to know "*The passivation process saves information used by the AM into the passivation store - usually a database*". I have a database, from where i am reading data for LOV during deployment. Can i have the single connection of that database configured for all the AMs (Both tuxedo transaction VO's AM and LOV VO's AM) so that i can avail this feature. If so, how can i configure all the AMs to consume only one connection?
    2. Any other way to avail this AM passivation/activation without database.
    Thanks in advance.
    Raghu

  • How to set a keyframe with setValueAtTime for only one axis?

    Hi,
    I´d like to set a keyframe for the layer´s scale, anchor point values but separately. Let´s say I want to add the following keyframes to a layer:
    time: 0, value: 100, axis: X
    time: 0.3, value: 10, axis: Y
    time: 1, value: 110, axis: X
    If I use setValueAtTime(time ,[x, y]) it always places a keyframe for both axis.
    How can I set a keyframe with setValueAtTime for only one axis?
    Regards,
    Thomas

    Dan, thanks for your fast reply. But the problem is a bit difficult to describe for a german like me
    I´m try to convert given keyframes from another application. Let me visually show how it handles keyframes that are set on different axis at different times:
    X: O---O---O
    Y: ---O--O-O
    You see when the user sets a keyframe and both axis were modified, both have a keyframe (see the last key). But if only one axis is transformed and the other not, there is only one keyframe. The problem that I try to solve is that AE is only able to set a keyframe for both axis at a given time. So if I set the 3 keyframes of the X axis first, the AE script will set keys on the Y axis simultaneously. That´s bad because it adds keyframe to the other axis where there is no value "cache". So if I would set all keyframes it would look like this:
    X: O--•O-•-O
    Y: •--O•-O-O
    The small dots indicate those "forced" in-between keys.
    So is there a "native" scripting way to separate the dimensions (like the position prop) for other props and add independent keyframes?

  • How to compare sales of 2 dates with only one date is given?

    I am having a requirement such that the user wants to see the particular company Y2D sales of this year and previous year, and only one variable selection is given (today's date). How can i design the report to see this year sales and last year sales in separate columns?

    Hi ,
    You have to create two RKFs.
    In the first RKF , you have to create a customer exit variable on your date and that too it should be interval . Using the CMOD code , populate this interval from the 1st day of this year till the date user is entering .
    In the second RKF , you have to create a customer exit variable on your date and that too it should be interval . Using the CMOD code, you have to populate the interval from the 1st day of the previous year till the same date as entered by user but it should be of last year .
    You have to write the above 2 codes in I_STEP = 2 mode .
    Hope the above reply was helpful.
    Kind Regards,
    Ashutosh Singh

  • How to generate a delayed retriggerable pulse using only one counter with PXI 6070E card

    Hi
    I have a problem in generating a retriggerable delayed pulse with a single counter(triggered through a signal at gate) using PXI 6070E card. VI was developed in NI LabVIEW traditional DAQ Ver.7.1. I have used the "delayed pulse generator config" VI and a "Start counter" & "Stop counter" VIs for the purpose. But there is no output seen at the out terminal of counter. So I introduced a "wait" VI and set it to 1 sec. Now the pulse output appears but some pulses are missing mometarily after every 1 sec interval. (any solution for this)
    I have gone through a few similar requests in the forum but they suggest either to use two counters or to generate a finite pulse train which does'nt fit my application. Moreover PXI 6070E has only 2 counter timers. I am already using one counter to measure the frequency of a pulse train(signal 1). The application requires to generate a delayed retriggerable pulse for every pulse in signal 1. So I have only one counter left.
    Can I measure the frequency of signal 1 by analog means.? so that I can use two counters for pulse generation. (Signal 1 is a TTL signal).
    Request some help.
    Thanks in Advance
    Regards

    A finite pulse train (N_Pulses >= 2) does require the use of 2 counters on most of our older hardware including your 6070E.  If you're just talking about generating a single retriggerable pulse, you would only need one counter.
    Here's an example in Traditional DAQ that shows you how to set a retriggerable pulse generation (it also allows you to adjust the characteristics of the pulse on-the-fly).
    If you're writing a new program, you might consider switching to DAQmx as it supports NI's latest hardware and recent OSes should you ever need to upgrade.  Traditional NI DAQ is no longer in active development.  Here's an example of how to implement a retriggerable pulse generation in DAQmx.  You should take note that you can't use the two drivers to simultaneously talk to the same piece of hardware, although you should be able to go back and forth by resetting the Traditional DAQ driver before switching to DAQmx.
    Best Regards,
    John Passiak

  • How can i devlope three JSPX pages & having only one backing bean.

    Hello Team,
    I am working on Jdevloper11g
    I have one form registration in this from user enters the self information in first screen, insurance information in second screen, employment information in third screen
    So I developed the following scenario
    I create one JSPX page & in this page I taken 3 panelGroupLayout n I simply rendering the panelGropuLayout that time its very essay stuff.......
    But now I have to implement the af:train component in that I have to implement above scenario in three JSPX pages & I want only one backing bean for this three JSPX pages.
    SelfInformation.jspx ...... SelfInformation.java
    InsuranceInformation.jspx
    EmploymentInformation.jspx
    I done this too…
    But now I want when
    I adding some components on second screen ex af:inputText its backing bean create in SelfInformation.java
    Is this possible?

    HI..
    I created three jspx pages...& i drag n drop af:train & af:trainButtonBar camponant.... by default Back & next button is created...But my requirment is...Only on first form i dont want to show Back Button...
    How can i do this?
    Edited by: Charu on Nov 22, 2009 9:42 PM

  • How can I listen to only one episode on a list of podcasts

    Apologies if this is posted elsewhere...
    I "upgraded" my old 160GB ipod classic to a new 120GB one (actually I dropped the old one down the stairs and had to replace it).
    On my old ipod it used to be that if I wanted to listen to a single podcast (episoode) I just selected the episode from it's list. If I wanted to listen to the entire list of podcasts I would select the "group" from the Podcast menu.
    Now when I listen to a podcast it then goes on to play the next one in the list. I like to listen to podcasts in bed - It used to play one and then stop. Now I find I wake up several hours later to find them still playing and my battery draining.
    Is this a "feature" of the new classic? Can I turn it off? I don't want to have to pre-choose the podcasts and add to a playlist... I just want it to work the way it used to.

    Experience (of iPods) tells me that the 160GB Classic and the 120GB Classic are from the same "family" and should therefore behave the same way. (The nano is a different family and the Touch another family yet again.)
    So, since my 160GB Classic can play one episode at time, your 120GB Classic should too. To achieve this, turn on *shuffle songs/albums.* No, I'm not joking!
    With shuffle on the Podcasts will play one episode at time when you select an episode from the episode list. Be sure to turn on the shuffle from "within a song" or from the ettings menu. If you have shuffle displayed on the main menu and use that to start shuffling songs, it doesn't affect Podcasts. You will know it's set correctly because the display will show 1 of 1 instead of 1 of "X".
    Phil

Maybe you are looking for

  • Problem launching Excel sheet from Button hyperlink

    Re: Access 2010 / Excel 2010 on Win 7 Professional The Problem: ============= When I try to launch an Excel file (Dashboard sheet) from a hyperlink in a command button in an Access app, I get this error in the form of two message boxes: Message box:

  • How to Create Custom Preloader

    Hai, I wnat to create custom Preloader with Progress bar and Percentage Can you help me Thanks

  • Renders fine in everything but firefox

    When I go to preview my page in Firefox the table cells that are supposed to contain content appear white, rather than the bgcolor a6d989 that I have them set to. Everything renders the way it ought to in the other browsers. I built my site using fir

  • I cannot log in to iTunes I keep keep getting error "0x80092013"

    I keep getting error message "0X80092013" when I try to log in to iTunes.  It just says that it cannot connect me try later.  Any suggestions?

  • Customising the google search and new tabs inconsistency

    1. Is there a way to customise the google search bar to the effect of what [https://addons.mozilla.org/en-US/firefox/addon/50999/ this] and [https://addons.mozilla.org/en-US/firefox/addon/51000/ this] add-ons do? 2. I don't like the inconsistency of