What's the terminal command to stop and start LDAP?

I'm trying to intergate my companies AD kerberose with the services hosted on a Lion Server in a golden triangle setup.
Here's what I've tried so far.
1. Bind to AD host.
2. sudo dsconfigad -enablesso
3. Make a Opendirectory Master
4. sudo kinit list, all listed services should point to AD KDC..
Am I missing something?
I've tried other way as well, but it always shuts down LDAP.
1. Bind to AD host.
2. Make a Opendirectory master
4. Sudo disconfigad - enablesso
5. sudo sso_util remove -k -a username -p password -r NAME.OF.KERBEROSREALM
(here use the OD diradmin and PW)
6.. reboot
Help please..!

Hi hello
Tell me, you try make a magic triangle with Lion ?
Have you solve your issue ?
Sudo disconfigad -enablesso ? worked for you ??? for me command not found
Thanks for your help

Similar Messages

  • Command to Stop and Start the SBO Mailer Service

    Good day,
    I have an issue on my SAP server (SAP 2007 SP01 PL10) where the SBO Mailer server is intermittently stopping.  This is causing Emailed Alerts and emails from SAP to stop working.
    I want to create a Scheduled Task in Windows to run a batch file which will stop then restart the SBO Mailer service.
    Do you know the DOS command to stop and also start the SBO Mailer service?
    Thank you
    EvS

    Good Day,
    We have had the same problem. I Added this scheduled task to Validate if service is running and to Restart if Necessary..
    We are still working on this issue. I have a feeling itu2019s the SMTP rejecting the emails
    @echo off
    rem ***********************************************************************
    rem *                                                                     *
    rem *   This script will stop & restart the SAP SBO Mailer service        *
    rem *                                                                     *
    rem *   Created by Anthony Galvano from Syntax to recycle the service     *
    rem *   on Mar 22 2011                                                    *
    rem *                                                                     *
    rem ***********************************************************************
    call wmic /locale:ms_409 service where (name="B1LicenseService") get state /value | findstr State=Running
    if %ErrorLevel% EQU 0 (
        echo Running
    ) else (
        echo **** Now restarting SBOMailer service  ***
    net start SBOMail
    timeout /T 5
    Anthony

  • #30 | can i run the Terminal Command to stop Snapshots with no problems?

    i am somewhat surprised to find out that the 75 GB of "Backups" that are taking up space on my MBP may be due to some "feature" in Mavericks or the new OS's or whatever and i have had to MOVE all my data off my laptop as a consequence of this over the last two months because i have no more space on my Hard Drive.
    is it legit and OK to follow the terminal commands in #30 without having any problems?
    i am on a mid 2009 MBP running Mavericks and i have a 2 TB Time Capsule that i am wirelessly backing up my data.
    as some kind of sadistic test in advance of running this terminal command - can i plug my laptop into the Time Capsule, unplug the laptop from the time capsule, restart and see how much space got recaptured on my HD for my data?
    i mean, well - i must be missing something but i mean i am hoping i can get this to stop so i can get my data back on my laptop. i'm walking around with an external HD of all my Mac Pro information just so i can get work done when i go to a coffee shop or something.

    for those suffering through this:
    https://discussions.apple.com/message/24878591#24878591
    In Terminal:
         sudo tmutil disablelocal
    Turn off local Time Machine snapshots and trigger automatic cleanup of accumulated local snapshot data. Requires root privileges.
    (use sudo tmutil enablelocal to turn back on)
    this got rid of my 75 GB backup file (!!) and now i am going to move my data back to my laptop...
    not sure if there is an apple tech article to link to regarding this issue but it would be good to post if there is one.

  • What is the terminal command to list USB devices?

    In Ubuntu Linux the command lsusb lists all devices connected to the usb ports. What is the equivalent command in OS-X? Thanks.

    Linc:
    Thanks. The new thread, if you want to comment on it is:
    Activate/Deactivate USB connected device
    If I am able to deactivate or unattach or disable the driver that is responsible for controlling the usb web cam that I have in my Mac mini, the virtualization program (VBox) would be able to capture it (already configured with the appropriate filter) for my guest OS. Now, I only get a message saying that the camera is busy from a previous request.
    When I run your command, I get no response.

  • What are the terminal commands to list all plugins, extensions, etc?

    I remember a while ago reading a thread on diagnosing kernel panics and such, where someone listed a number of commands (I think there were four separate terminal commands) which produced lists of plugins, daemons, background enhancers, extensions etc which could sap resources or drive up temperature without necessarily showing up in activity monitor or anything like that.
    Anyone know what these commands are? I'm having some serious overheating problems at the moment when doing nothing but for instance watching a youtube video with no other processes running so I'd like to get these dumps and see if there's anything installed which could be causing trouble.

    Check this out : http://helpx.adobe.com/story/help/keyboard-shortcuts.html

  • What Is The Terminal Command For PRAM & SMC Reset?

    Hi Folks - Cant get my Macbook Pro to shut down (instead it does a re-start) thus the key combination for these re-sets doesnt seem to function (no chimes). I saw in another thread a terminal command entry "sudo nvram boot-args=”-p -r” but I also saw it mentioned that entering that casued the following to pop-up "Note that resetting the PRAM will wipe out the contents of the boot-args environment variable, which means the command would need to be reissued each startup." Whats with "reissued each startup"? Also would like a an SMC re-set command. THANKS in advance!

    I dont know of a terminal command but here is how to reset the SMC:
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can remove
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery (to remove the battery - click here: MacBook or MacBook Pro).
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer.

  • What is the AS3 command to stop your Flex 2 Application

    I've been looking thru the documentation and I can't find the
    AS 3 command (or mxml command) that stops the Flex 2 application. I
    have a 'Log Out' button that will do some general clean up, then it
    should also cause the Flex application to cease operations.
    What are some commands to cause Flex applications to cease
    operations?
    In Java, the equivalent would be something like
    'System.exit(0);'

    I want to terminate operations - The user will be done with
    the appication at this point (when the click the logout button). I
    guess, It could invoke a web page that says its finished. I
    could force it back to the login screen if thats the only option.
    I notice that the AIR environment supports this.

  • What is the terminal command to open sound preferences in Mac Snow Leopard

    Hi
    I want to know what is the command to open sound preferences dialog from command prompt.
    short key for doing this is option key + F12. But I am looking for somehting I can enter in terminal to open sound preferences.

    Get under the hood with Command Line and the Terminal. Unix forum is here for fast answer:
    http://discussions.apple.com/forum.jspa?forumID=735

  • What's the terminal command to reindex mail?

    Hi all!
    I have a corrupt POP mailbox (among a dozen or so active accounts I check with mail). Using the "rebuild" command simply loses all but the past few days of messages. Trashing the envelope files in my library file and forcing a reindex has the same effect -- I lose all but a couple of days worth of messages.
    I have seen, in pre-Lion postings, references to using this command in terminal to fix a corrupt mailbox:
    sqlite3 ~/Library/Mail/Envelope\ Index vacuum;
    But I am not sure that the syntax is correct, given that the subdirectories of the ~/Library/Mail folder were changed in Lion.
    Does anyone have the correct syntax for this?
    Any other help tips and suggestions would also be appreciated. The problem appears to affect only the inbox for one of my many accounts.
    Thanks for any help!
    Greg

    Hi hello
    Tell me, you try make a magic triangle with Lion ?
    Have you solve your issue ?
    Sudo disconfigad -enablesso ? worked for you ??? for me command not found
    Thanks for your help

  • What is the Terminal command to determine whether booted in 32 or 64 bit mode?

    I understand some newer computers are using the 64 bit kernel by default: http://support.apple.com/kb/HT3770
    How do I determine via the command line whether I'm booted in 32 bit mode or 64 bit mode?

    To make your Mac always start up 64 bit  the only thing necessary is to alter one line of a configuration file. You can do that by opening the Terminal and entering:
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' 'arch=x86_64'
    To return to 32 bit mode, you would repeat the command but enter an empty string, which would just be the single quotes (where arch=x86_64 is) with nothing in between.
    sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.Boot 'Kernel Flags' ''

  • What is the terminal command to rename a folder?

    If someone could tell me this it would awesome.
    thx to all replies

    Use the mv command with the current and desired paths supplied. For example:
    mv ~/Desktop/34 ~/Desktop/35
    for a folder on the desktop.
    (32999)

  • What is the terminal command in OS X SL for enabling my touchpad?

    When I boot into the install disc I can use the terminal, but not the touchpad. I can't get past the choosing of a hard disk w/o using my touchpad. Thanks!

    If your touchpad is not working in the installer, it is Broke!
    The Installer software is an incorruptible, "one size fits all" software, provided you are using an Installer appropriate for your Mac.
    Installer Software older than the version that was on your Mac when it was new will not work.
    Installer Software for a different Mac will not work because it will not contain drivers for your Hardware.

  • What's the terminal command to insert the text that appears when I send mail to Bcc addresses?

    I remember there was a cool add-on to some mail clients like Eudora years back where one could juggle the text that people receive instead of the addresses if you send mail in Bcc... Is there any possibility to change what Apple Mail sends?
    What if, insetad of the usual "undisclosed recipients" I want something else like "omissis" to appear?

    (1) you can't insert a sheet in Pages. Only tables !
    (2) before pasting your table in Pages, you may resize it so that it may fit in a page.
    (3) the users which took time to look in Pages User Guide are aware of a feature described as : Linking Text Boxes.
    It's a good answer to your problem.
    In a Word Processor document, create a text box and paste your table in the new tex box.
    At the bottom of the box you will see a small square with a symbol plus. It's a flag warning you  that the box contents is too large for the box.
    No problem, insert a page break to force the opening of a new page then read carefully the user guide :
    Applying what I highlighted, you will create a new box linked to the first one so that your table will flow in it.
    If it's not sufficient, you may link a third box …
    More, we are allowed to rotate the text boxes so you may edit them a way allowing them to host your landscape table.
    From my user's point of view, it's absolutely intuitive.
    Yvan KOENIG (VALLAURIS, France) dimanche 26 juin 2011 21:29:56
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • What's The Terminal Command To Find Apache Log Files?

    I can't find it anywhere.
    Thank you.

    It looks like either:
    $ grep ErrorLog /private/etc/apache2/httpd.conf
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    ErrorLog "/private/var/log/apache2/error_log"
    or
    /usr/sbin/apachectl -V | egrep 'HTTPD_ROOT|ERRORLOG'
    -D HTTPD_ROOT="/usr"
    -D DEFAULTERRORLOG="logs/errorlog"
    Though red_menace probably knows better that I.
    Message was edited by: Nils C. Anderson

  • How to stop and start IGS(internet graphic server)

    Hi Techies
    How to stop and start IGS(internet graphic server) in Solaries
    IGS is 7.0 1patch
    Is this the command to stop and start IGS
    stopigs and startigs
    If this correct will there be any issues if i stop the IGS from the above command
    Thank You
    Haroon

    Hoi Haroon
    On base 6.40 there were stopigs/startigs scripts, yes. When we upgraded our systems to 7.0 I encountered the same problem, the igs could be stopped, but not started anymore (externally). Can you check, if the startigs/stopigs-scripts are 7.0 or 6.40.
    I then opened an oss and got as answer:
    "To start and to stop the igs there's only the offical way by stopping and starting the sap system".
    However I found a solution to start and stop:
    start:
    nohup /sapmnt/<SID>/exe/igswd_mt -mode=profile pf=/usr/sap/<SID>/SYS/profile/<Instaneprofile> &
    e.g.:
    nohup /sapmnt/P72/exe/igswd_mt -mode=profile pf=/usr/sap/P72/SYS/profile/P72_DVEBMGS01_migzmc10 &
    stop:
    --> stopigs, therefore the 6.40-stopigs script has to remain in the exe directory.
    Hope this helps.
    Regards Patrick

Maybe you are looking for

  • Posting Journal Entry in v4.2SP4: Strange Issue. Anyone?

    Behaviour: The post button doesn't work. You can click it but it does nothing When opening the journal manager and selecting the journal id and then posting, it says: "You cannot post/unpost until finishing journal post" After this, you cannot post a

  • Messaging and Contacts Display Issue

    Hello, Having a problem where contacts are appearing as numbers instead of the contact name in the messages page. I have contact and it still says, "(xxx) xxx-xxxx." I've deleted the messages, deleted and added the contact, removed the 1 before the a

  • Unsigned integer

    Hello, I am trying to wrap a c++ dll ,where most of the variables are (unit8,unit16,uni32 ) unsigned integers. Since java doesnt have usigned integer type,I am wondering what to do. 1. Pass the usigned int value as a string to the c++ program.Convert

  • Need to reset my mailbox password

    REset password on mailbox

  • Broadband monthly usage BT Broadband Option 1

    We started using BT Broadband Option 1 last month and have a download limit of 10GB each month.  We were quite surprised to receive an email saying we'd already used over 7.5GB during February.  We don't download music or films and most of our intern