How to Append Search & Contact in LDAP Settings with CLI

hi,
i'd like to be able to send a unix command vai ARD to add several OD servers to our workstations' Search Policy and have them appear in "Authentication" and "Contacts".
i've tried the following:
/usr/bin/dscl localhost -append /Search CSPSearchPath /LDAPv3/10.10.32.78
but, i get this in return:
<main> attribute status: eDSNodeNotFound
<dscl_cmd> DS Error: -14008 (eDSNodeNotFound)
what am i missing?
thanks.

you want something like this, though i'd use a fqdn instead of the ip here:
dscl localhost -create /Search SearchPolicy dsAttrTypeStandard:CSPSearchPath
dscl localhost -merge /Search CSPSearchPath /LDAPv3/10.10.32.78
dscl localhost -create /Contact SearchPolicy dsAttrTypeStandard:CSPSearchPath
dscl localhost -merge /Contact CSPSearchPath /LDAPv3/10.10.32.78

Similar Messages

  • I want to SHARE Sync Settings with my Family Members, How Can I Share Some of My Settings with Them.

    I want to SHARE Sync Settings with my Family Members & Friends, How Can I Share Some of My Settings like tabs, bookmarks, browser extension with them. Also it is obvious I would not like to share my Passwords. Can you please help. This feature "Sharing with Friends & Family Members" is functional in 'XMARKS Sync'.

    All apps are forever tied to the Apple ID used to originally obtain them. They cannot be transferred to another Apple ID, nor can they be updated using any ID other than the ID used to originally obtain them.

  • How do I search for just a folder with Spotlight

    How do I search for a folder with Spotlight, not a file?  Spotlight is a great tool for finding a file, but often I just want to locat a folder.
    When I find a file, how to I see the path to this file?
    These are probably obvious question for longtime Mac users, but I come from the Windows world.

    Activate the Finder's window. Put the folder name in the search field in the Finder's toolbar. Enter COMMAND-F which should change the Finder's window and give a toolbar above the column headers:
    If you click on the dropdown menu with "Any" you will see this:
    Select the "Folder" entry.

  • How do I search contacts by a field other than name (e.g. category)?

    I recently switched from Blackberry to iPhone 4, and I use my iPhone 4 primarily for business. I have a PC and use Outlook as my contacts application.
    I regularly populate my Outlook contact records with various notes, and I regularly categorize my contacts. With Blackberry I could (and regularly did) search my contacts by fields other than by contact name (e.g. words which I had entered into fields such as Notes, City, State, Company, or Category, and this was very useful. For example, if I created a category called "Accountants" and categorized 3 contacts in that category, I could search my contacts for "Accountants" on my Blackberry and it would show a list of the 3 contacts I have who are Accountants. Or if I wanted a list of all contacts who reside in Chicago so that I can put together a slate of meetings during a visit to Chicago, I could search my contacts for "Chicago" and the search would result in a list of all my contacts with "Chicago" in their record (either in location, category, or notes fields).
    With iPhone 4, so far I've only figured out how to search the name fields of my contact records, but hopefully it is possible to search other fields or the entire contact record. How do I do that?
    Thanks.

    http://www.apple.com/iphone/features/search.html

  • How do I delete contacts on my iPad with iOS 7

    I have seen a lot of stuff that doesn't work. I can't even delete my entire list of contacts and start over. I want these contacts out of my iPad how do I do that.

    Try the following free app call My Contacts Backup (search the App Store)
    It will gather your contacts, put them into either vCard format or CSV format. It will then allow you to email the vCard or CSV file to yourself.
    After doing so, the app also has the ability to "Remove all contacts" from the device. This is accessible from the main screen, pressing the Settings button on the lower-right, then scrolling down to the "Remove all contacts" button (be sure you're ready to do this).
    I've used this feature before in the past and it worked great. Restoring your contacts is easy...just open the email that you sent to yourself and tap on the attachment.
    Try it out...first backup your contacts with the app and email them to yourself, delete all contacts using the app, then restore them with the app. It may resolve your issue and knock your contacts list back into shape. If not, it should at least wipe out all your contacts and start over again.
    EDIT: If you need to, you can also use some type of contacts/vCard/CSV editor to be used with your PC (search for one on Google) to manually go into the vCard or CSV file and manually remove the unwanted contact(s).

  • How to restore data (contacts mainly) after synchronising with wrong options

    Hi I hope someone can help me?
    It seems I must have changed the settings of synchronisation with PC Suite, because it suddenly deleted quite a bunch of contacts from my phone!
    Before (unfortunately long ago) I know I synchronised by combining both the PC content and the Phone content.
    Is there a detailed report to get anywhere in the depths of either phone or PC showing not only names, but also the numbers of the contacts deleted?
    I am totally frustrated and could like to eat my phone .....
    PLEASE anyone - is there any help?
    Thanks a lot for your support!
    Kind regards
    derklenepunker

    If you search on the web, there are software programmes which claim to recover deleted data from the phone memory.The extent of success of this recovery will depend on the amount of data saved on your phone after deletion, which gradually ovewrite deleted data and become permanently deleted.You can always contact SE for more information and advice. I don't know about recovering deleted data from PC suite.

  • HT1918 How do you change your country/region settings with a balance?

    I've relocated to another country and still have a 1 yuan balance with my itunes account that was synced in China.  When I try to change my region settings to Canada, it says that I must spend my balance in order to make the switch.  There is nothing that I can purchase that is 1yuan (even when if I top up the balance, there isn't an app that is 51 yuan or 101 yuan).  How can I get rid of the balance so that I can change my country settings to Canada?

    sakurasakura3 wrote:
    ...How can I get rid of the balance so that I can change my country settings to Canada?
    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • How do I sync Contacts on my Mac with my iPhone and iPads?

    When I add a contact on my Mac, it does not sync with my iPhone or iPads.

    Maybe this will help:
    http://support.apple.com/kb/PH12117

  • How can I search events inside my calendar with Lightening enabled?

    I have Lightening enabled in Thunderbird. I have all my calendars working. I just can't see any way to search events. All my toolbars are selected. I see no search function. Is there one? Can someone offer assistance? Thanks!

    Clarification: Search is not a problem on the email side...but I cannot search my calendar events. Looking for help.

  • How to create search form in jsf telnet with auto submit?

    I am trying to create a simple search form on a jsf telnet page
    with jdeveloper 10.1.3 and and j2se version 1.4.2.
    The problem I am having is the example search form I have seen
    uses an execute command button, which I can't use on the telnet page.
    I would like to query the results upon entering the criteria, without the
    user pressing a button. This is because the page will used with a barcode
    scanner. I am attempting to use a valueChange listener on the input field, but
    I am unsure if this is the right approach. Any feedback is appreciated.
    Thanks

    In my application whenever I change a value or want to follow a commandLink, my page just refreshes and I end up with the old values. I have not been able to navigate in my application. I am using the arrows or tab to navigate in my page and press enter to submit.
    I have set the STATE_SAVING_METHOD to server, but this is not helping.
    I have a deadline that is closing in on me, can anyone hint me in the right direction?

  • How to create search engine in JSF page with AJAX

    I want to create Java Server Faces page with search engine using AJAX. I'm interested can I do this with PL/SQL statement which searches strings into all Oracle tables at database level? What are the best practices in this case?

    user10484841 wrote:
    I want to create Java Server Faces page with search engine using AJAX.
    I'm interested can I do this with PL/SQL statement which searches strings into all Oracle tables at database level? I give up.
    Can you?
    What are the best practices in this case?Best practice is to know where data is stored to avoid search of all Oracle tables.

  • How to append new rows in a table with Javascript ?

    Hi ,
    I'd like to append new rows in a table dynamically using javascript?
    Do some of you have already done this before ?

    Rui's answer will create copies of the entire table.  There may be times where thsi is what you want, but you asked about creating new rows.  If your new row is a copy of one of your existing rows, then you could use
    _RowName.addInstance(1);
    (the underscore at the beginning invokes the instance manager).  Is this what you're looking for?

  • How do you sync contacts on iphone 4 with outlook and not lose contacts on i phone?

    I  have an I Phone 4 and a pc with outlook 2007.  When I sync my iphone all my contacts are overwritten on the iphone and I loose any new contacts that were entered on the iphone.  HELP

    Is there a way to sync my iPhone 4 with multiple computers
    No.
    Is there a way around this because i'm tired of this bullsh#t about not being able to use multiple computers with my iPhone.
    Bummer.
    You can thank the music industry for penalizing everyone who wants to legitimately use music by (attempting) to prevent music theft.

  • How to recover lost contacts from address book with isync.

    Hi everyone,
    I've just lost all my contacts even in my Nokia N95 when I use iSync. I've deleted my contacts manually in my address book to make a refresh sync with my Nokia. After I conected again and start sync, it deleted all my contacts on my Nokia... I am very dissapointed and angry with Apple.
    Can you guys help me bring back my 500 contacts in my address book so I can put back in my Nokia as well?
    Thank you in advance.
    Matt

    Not to my knowledge.  As I see it you now are in a position of manually recreating you contact list or as I previously suggested engage a professional in data recovery with no guarantee of 100% or any recovery.
    I wish it were otherwise.
    Ciao.

  • How to append calling and called number with translation rules?

    Hello,
    I have one question about digit manipulations.
    How to append calling number and called number with IOS commands?
    For example, when 123 dials 45678, translations have to be performed and the new called number to be 12345678.
    Thank you,
    I will vote this conversation.

    It is not possible with translation rules.
    However, you can do that with a TCL/IVR script.

Maybe you are looking for