Terminal Command to set LDAP server

How do I do it? I want to save it as a template in ARD3 to blast out to our clients.

Nick, I'm not sure what your original post was asking, but if you're just trying to figure out how to set up a LDAP server, you might want to search the forum and see if you can find a thread I started (and Gary contributed to) on LDAP several months ago.
The bottom line was that you can more or less follow the recipe in the first few chapters in O'Reilly's LDAP book (Amazon or Barnes & Noble will have it). It's not Mac-specific (so doesn't tell you about using NetInfo) -- but the book explains how to install Berkeley DB to set up the database. Pretty much any free articles I found about LDAP were of no help (and in fact served to confuse me rather badly -- that's not hard to do in general, however).
There are some utilities out there for exporting from Mac's address book for easy importing to LDAP. And there are also a few GUI apps for manually entering data. And there's phpLDAPadmin. You'll have to use google to track those down.
And the REAL bottom line was that LDAP disappointed me. I wanted a universally-accessible editable universal address book for myself (I use Outlook, Thunderbird, Mail.app, SquirrelMail, Address Book, etc etc) -- LDAP provides something kind of half-baked and uneditable from any of those programs, so it didn't serve my purposes. (Though yours may be different!)
(And I suppose I shouldn't blame LDAP alone. Those clients could include LDAP editing if the developers wanted it, I suppose. LDAP, however, is designed as a read-often write-infrequently system -- so maybe my expectations were ill placed to begin with.)

Similar Messages

  • Terminal command for setting software update to defaults

    terminal command for setting software update to defaults?

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • Terminal command which set background a picture

    hello
    i am search 2 days now to find a terminal command which set a picture as wallpaper but i didnt find anything.
    System/Library/Frameworks/ScreenSaver.framework/Resources/
    ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background
    I found that this set as background the screen saver. I tried use the path of wallpaper and then -bakcground but i got the message "permission denied".

    the easiest way to do that is using apple script as follows:
    tell application "System Events"
    -- SET DESKTOP TO SPECIFIC PICTURE
    tell current desktop
    set picture rotation to 0 -- (0=off, 1=interval, 2=login, 3=sleep)
    set picture to file "Mac OS X:Library:Desktop Pictures:Plants:Agave.jpg"
    end tell
    end tell
    you can call an apple script from a shell script using osascript command. You can also directly embed it into a shell script using osascript with -e switch.

  • Need terminal command for setting display colors ASAP!!!!!

    Hello everyone,
    I was being dumb and figured, oh what will this do?
    I know, I know one of those button pushers...anyway I set the Display colors to 256 on my Xserve, which has no video card in it, and now all I see in Chicken of the VNC is a black screen. Im sure there is a terminal command out there where
    I can ssh into the Xserve, and change the colors back, but I can't find it...could someone post it up here or point me in the right direction please?
    Thanx in advance!!!!!!!

    didn't even think of that...seems to be the most obvious things, seem to be the first to be overlooked.
    Will let you know.

  • Automate Terminal command for Adobe Update Server

    Hi all,
    I'm using and internal Adobe Server to distribute the applications updates to all the clients.
    The internal server need to be updated via Terminal, using this command
    sudo /Applications/Utilities/Adobe\ Application\ Manager/CCP/utilities/AUSST/AdobeUpdateServerSetupTool --root="Volumes/Backup_Interno/AdobeServer" --incremetal
    I would like to use Automator to launch this command every sunday at 8AM, possibly without manually insert the admin password.
    Can someone help with this?
    Thanks

    hi ned
    thanks for answer
    i setup adobe update server with IIS (AUSST), when i start downloading the updates for the inhouse server it automatic creates 2 dirctories (MAC and WIN) and download the whole adobe updates for MAC and WIN together, the question is if i can download the updates only for Windows without MAC
    Sharoni

  • Using terminal command to set apple display factor

    I have been doing support for a friend and we have run into a problem with Outlook 2011 for Mac since we upgraded to Mavericks.
    In the old version I was able to use the command defaults write com.microsoft.Outlook AppleDisplayScaleFactor 1.25
    Now this command no longer works.
    The approach has been documented since early 2011.
    Has the command line changed or bee

    As this has been a minor issue that I have somewhat obsessively been pursuing an answer for....
    The above command DOES infact change the value, however it never actually effects the GUI.
    You can easily confirm this by running a before and after
         defaults read com.microsoft.Outlook AppleDisplayScaleFactor
    It should return a 1 (or rather 1.0) before, and then a 1.25 after, or whatever value you changed it to via your defaults write command [sorry, don't post here really and dont know how to properly format the command line text]
    I've tried running this command as the current user, in sudo, and even as su - all of which (when pathed properly) change the actual value in the plist, but they never actually make the change to the GUI.
    Does anyone have any information as to why this apparently broke in Lion?
    Hope this helps someone out there, I've had zero success with this for my users.
    Edit:
    Melophage - the single (or even double) quotes had no effect on making the change effective - the value still is "set" to 1.25 with or without those quote marks, it just doesn't display that change in Outlook.  Thanks for the thought though, was worthwhile

  • Is there a Terminal command to set alternate row colors in Mail?

    I'd like to enable the alternate row colors in the message list, but the only way I can find to do it requires Developer tools to be installed.
    Not bad for my Mac, but it seems a bit of a workload for the other 19 Macs in the office. There's nothing in Onyx or Secrets that'll do this.
    Here's what I found on the web: http://pjkh.com/articles/2007/10/08/alternating-row-colors-in-apple-mail
    There's a plug-in called WideMail which I'm using but it doesn't seem 100% stable.
    Thanks

    Just do the hack once and copy that version of the Mail.app application (or just the MessageViewerContents.nib file) to the other machines. Just make sure that they are running exactly the same version of Mail and MacOS X. This hack will probably not work in Snow Leopard, by the way.

  • Terminal Command, how to set defaults write, make application(s) use directory path where file last saved?

    Does anyone know whether there's a terminal command to make all applications remember/use the last directory/path where I last saved a file?
    For example, let's say there are (10) ten PDF's on a website, and I want to use Preview.app to open and save each file to the same directory.
    Problem is, after each time I save a file, Preview.app doesn't automatically remember/use the last directory where I saved my file(s).
    Forcing me to navigate back to the same directory after each time I save a file; super-annoying.
    But, for some reason, when saving images from the web, Firefox remembers the last directory where I saved the file (jpeg).
    So I'm hoping there's some way, possibly a terminal command to set/force all applications (including Preview.app) to remember/use the directory/path where file(s) were last-saved.
    Anyone?

    Get the third-party utility Default Folder X 4.4.9.

  • SOLVED Setting up LDAP server.

    Arch is boring because everything runs too smooth .  So for a challenge, I tried to set up an LDAP server and I can't getting it to work.  I even have a book in front of me!!
    I keep getting this error: ldap_result: Can't contact LDAP server (-1)
    This is my query: ldapsearch -x '(objectclass=*)' -W -D "cn=admin, dc=example, dc=com"
    This is my slapd.conf:
    include /etc/openldap/schema/core.schema
    pidfile /var/run/slapd.pid
    argsfile /var/run/slapd.args
    access to *
    by self write
    by users read
    by anonymous auth
    database bdb
    suffix "dc=exemple,dc=com"
    rootdn "cn=admin,dc=exemple,dc=com"
    rootpw secret
    directory /var/lib/openldap/openldap-data
    index objectClass eq
    And this is my ldap.conf:
    BASE dc=exemple,dc=com
    URI ldap://localhost
    nmap localhost shows : 389/tcp  open  ldap so I guess the server is running
    Can someone give me some hint??
    EDIT:
    hosts.allow damn it.
    slapd:ALL:ALLOW.
    I did not see any mention whatsoever in Mastering OpenLDAP book from Packt Publishing
    Last edited by marxav (2007-09-30 22:46:47)

    That is correct. I was indeed able to use the app server (10g) to give the LDAP user permission to access the objects, then used sql commands to register the objects inside the LDAP.
    However, I am finding NOTHING about actually creating a unique connection factory that can be registered in the LDAP. I find reference to registering Queues/Topics/Factories inside the LDAP, but nothing about actually creating the factories.
    In fact, here
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28420/aq_envir.htm#sthref409
    it's listed that you cannot use sql to create a connectionfactory... not to mention the create java commands for factories look strikingly similar to the queue/topic GET commands, and not the create commands. You can add an alias for that factory using sql, but can't actually create the factory using sql... ???

  • How to change LDAP server setting in Access Manager 6.2

    Hi,
    We have initially set authentication as a SunONE Directory Server 5.1 (master DS1) in Sun Java System Access Manager 6.2. In both /etc/opt/SUNWam/config/serverconfig.xml
    /etc/opt/SUNWam/config/AMConfig.properties
    conf files, DS1 was set initially. Also on console's Service Configuration ->LDAP->Primary LDAP Server was set as "DS1"
    Now the problem is that I am not able to change the DS1 to the other master "DS2". I set DS2 in both above conf files and also the Service Configuration page as Primary LDAP Server. I restarted the server. When I stopped the DS1, I couldn't login access manager console with any user. It looks like it is still trying to get authentication from DS1.
    Does anybody know what I am missing here?
    Regards,

    After hopeless tries, I finally made it work;) The trick was actually updating the sunKeyValue attribute of the entry:
    "dn:ou=default,ou=OrganizationConfig,ou=1.0,ou=iPlanetAMAuthLDAPService,ou=ser
    vices,dc=company,dc=com" in one of the master DS I have.
    Even though I set DS2 and loadBalancer hosts in all conf files and in Primary LDAP conf in amconsole's Service Configuration, it just didn't work until I inserted loadBalancer host in sunKeyValue attribute.
    Hope it helps to someone....
    -Bora

  • Need help setting up LDAP server for Address Book

    I've set up Panther servers before for AFP which is pretty simple but now the office I work at wants me to setup an LDAP server so they can share the same contact information, probably about 2,000+ entries. I'm guessing that this will have to be entered in the LDAP server entry by entry.
    I need to know how to setup the server and what settings need to be on the clients' computers, such as in Address Book.
    The server is an older G4 tower and I've got 8 computers hooked up to it on a simple network. I don't think I'll need to make the LDAP server accessible from outside the network but it's something I'll have to worry about for the future.
    Thanks for any help you can offer.

    bump

  • Set or sign up at a LDAP Server

    Hi all,
    first off a happy new year to all readers - I´m just setting up a network with FileMaker Server and inside my network at home everything is going OK. In order to connect to the FileMaker Server - which is on my home G4 without steady IP - but I have internet address which constantly watches the changes and therefore is fixed - I have to sign up at a LDAP Server. Is that possible from inside my computer with 10.4.8. - can I be myself the LDAP server or do I need anything else? Can somebody maybe guide me to a page with a link?
    Thanks in advance - Christoph
    MDD G4 DP876   Mac OS X (10.4.8)  

    Hi Christoph,
    Best I can find is this...
    http://www.padl.com/Articles/AdvancedOpenDirectoryConf.html
    But also of interest may be...
    http://www.udel.edu/topics/e-mail/macosxmail/index.html#TigerLDAP
    http://docs.info.apple.com/article.html?artnum=32478
    http://www.macosxhints.com/article.php?story=20040111075453713

  • Setting up LDAP Server to lookup Connection Factories using JNDI

    Can someone let me know how to setup LDAP server within 10G to lookup connection factories using JNDI?
    I read through the Advanced Queuing User Guide and Reference document where this is mentioned and it says use the Database Configuration Assistant to do this but I could not find how.
    When I install 10G is LDAP server automatically setup? How do I get to it?
    Thanks

    That is correct. I was indeed able to use the app server (10g) to give the LDAP user permission to access the objects, then used sql commands to register the objects inside the LDAP.
    However, I am finding NOTHING about actually creating a unique connection factory that can be registered in the LDAP. I find reference to registering Queues/Topics/Factories inside the LDAP, but nothing about actually creating the factories.
    In fact, here
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28420/aq_envir.htm#sthref409
    it's listed that you cannot use sql to create a connectionfactory... not to mention the create java commands for factories look strikingly similar to the queue/topic GET commands, and not the create commands. You can add an alias for that factory using sql, but can't actually create the factory using sql... ???

  • Yast2 channel-upgrade-oes command looking for wrong ldap server

    a little background info
    Today I upgraded our first OES-Linux server from OES11 to OES11sp1.This
    was the first OES-L server that we installed for our migration from
    NetWare. Everything has been working fine and today I upgraded it so it
    would be at the same patch level as the other servers before we moved to
    OES11sp2.
    The upgrade went fine until the final step
    I was following the "Novell Doc: OES 11 SP1: Installation Guide -
    Channel Upgrade from OES 11 to OES 11 SP1"
    The final step says:
    "After the reboot, log on to the server and run the yast2
    channel-upgrade-oes command to complete the OES services
    reconfiguration. This will prompt for eDirectory" password...
    When I put in the eDirectory password it fails with a message that it
    cannot contact the LDAP server on the NetWare server that used to be our
    main LDAP server. That server has been gone for almost 2yrs.
    I'm assuming there is a conf file I can change the address in and move
    forward. I poked around and could not find a file that had the old LDAP
    servers IP address in it. Does anyone know where this configuration file
    would be?

    Nevermind - I spoke too soon (and apparently forgot how to use grep to
    search for strings in files...)
    it was reading the old NetWare server IP address in a file named
    /etc/sysconfig/novell/edir2_oes11
    I put the correct address into the /etc/sysconfig/novell/edir_oes11 and
    it worked
    On 4/12/14, 5:26 PM, Steve B wrote:
    > a little background info
    > Today I upgraded our first OES-Linux server from OES11 to OES11sp1.This
    > was the first OES-L server that we installed for our migration from
    > NetWare. Everything has been working fine and today I upgraded it so it
    > would be at the same patch level as the other servers before we moved to
    > OES11sp2.
    >
    > The upgrade went fine until the final step
    > I was following the "Novell Doc: OES 11 SP1: Installation Guide -
    > Channel Upgrade from OES 11 to OES 11 SP1"
    >
    > The final step says:
    > "After the reboot, log on to the server and run the yast2
    > channel-upgrade-oes command to complete the OES services
    > reconfiguration. This will prompt for eDirectory" password...
    >
    > When I put in the eDirectory password it fails with a message that it
    > cannot contact the LDAP server on the NetWare server that used to be our
    > main LDAP server. That server has been gone for almost 2yrs.
    >
    > I'm assuming there is a conf file I can change the address in and move
    > forward. I poked around and could not find a file that had the old LDAP
    > servers IP address in it. Does anyone know where this configuration file
    > would be?

  • Terminal command equivalent to Automator's 'set metadata pdf'

    Hi,
    When I make pdf docs I sometimes want to erase my name from the Author metadata, and put something into Title and so on.
    I know that Automator has an action called set pdf metadata, which I have successfully used.  But I would like a Terminal command that I could use instead.
    Googling this question returns suggestions of downloading pdf-manipulation libraries which are too elaborate for me to use.  I'm hoping that Automator is simply utilising a terminal command already built-in.
    Is there such a command?
    Diddles

    A bit of experimenting.
    Given a file temp.pdf in the current working directory . . .
    xattr -w "com.apple.metadata:kMDItemAuthors" "diddles1234" temp.pdf
    writes the string "diddles1234" to the Authors metadata field of temp.pdf.
    xattr -w "com.apple.metadata:kMDItemTitle" "newmetatitle" temp.pdf
    writes the string "newmetatitle" to Title metadata field of temp.pdf.
    However, if you try to put spaces into the string like this:
    xattr -w "com.apple.metadata:kMDItemTitle" "new meta title" temp.pdf
    the title field will not be changed to "new meta title". In fact, if you start with "original title" as the value of kMDItemTitle, successfully change it to "newmetatitle", and then later try to change it again to "new meta title", the value of kMDItemTitle reverts to "original title". The OS appears to "forget" the intermediate change to "newmetatitle".
    As best I can figure, in the event of a failed xattr write command, the original kMDItemTitle is rebuilt from semi-redundant data within the PDF--but more experimentation would be required to prove it. (The same is true of kMDItemAuthors, by the way.) Quick take away: The first two commands above will work if you don't use spaces in the strings to be inserted into the metadata fields. Someone more proficient in UNIX may have a better solution or explanation.

Maybe you are looking for

  • I am trying to back up my mail (5.1) directories but I can no longer locate them. They used to be in the user library. Would be grateful for some assistance.

    I am trying to back up my mail (5.1) directories but I can no longer locate them. They used to be in the user library. Would be grateful for some assistance.

  • Acrobat 9 Printer Setting reverts to Acrobat 8 in 9.2 Update ?

    Hi there.... I have been working away creating Postscript files using Acrobat 9 in Snow Leopard with no problems... I would go into my Quark Print dialog box.. select my printer which would normally be Acrobat 9 and then select the Output Style.... t

  • No hotspots in IE

    On my website I created a map page with hotspot links. The hotspots work fine in Safari and Netscape but not at all in Internet Explorer. What did I do wrong? Here's the URL http://www.kayakamelia.com/maps.html Jo-D

  • At new sum

    hello, i am trying to sum the quantity for the same item numbers through the following logic. the problem is that menge is of type quan so will it be be summed? if not how do we tackle this sum problem. itab_Schedule is my table control table. can a

  • Installing .gz files

    I feel stupid asking this question. This is actually in Solaris 8, but I can not figure out how to install this .gz file. I type gunzip and the file name and is expands the file and removes the .gz extension and that is were I get lost. The file I am