Authentication problem - solved, but maybe a bug in Mac OS X?

Hi,
I've a rather small installation with only a handful of users configured on a Mac mini (Mac OS X Server, 10.6.8). All of them use the mail, calendar and addressbook server on the Mac, nothing more. They use it with Mac, iPhone and iPad. Everything worked fine for months but suddenly all of them were faced authentication problems: it was not possible to login on the imap server, the calendar server, the addressbook server. It was possible to login using the admin account on the server directly. Moreover, all users disappeared from the workgroup manager, however they still were available on the servers LDAP server and findable using ldapsearch.
First, I used to completely restart the server to solve the problem, but it reappeared after only few hours again.
Second, after understanding more about the authentication process, I found the "killall DirectoryService" was sufficient to solve the problem, but it still reappeared after few hours.
Then I found the, once the problem occured, there was nearly no more communication to the local LDAP server on port 389 on localhost. When everything was working fine, the was a lot of such communication, including queries for usernames, when a login attempt was made. I started a "tcpdump -n -i lo0 port 389" and waited for the problem again. After the problem occured, I found in the pcap files that there were a few final query attempts, actually attempts the open a port 389 TCP connection to the slapd running on localhost, which were answered with a TCP RST. Then, no more attempts were made until l restarted the DirectoryService. Using the logfile of the slapd I found that this happened exactly at the time the slapd was stopped and restarted. And - surprisingly for me - stopping and restarting the slapd happened exactly once an hour.
I then found that it happened exactly at the time the time machine backup process was started and indeed it was possible to trigger the event of restarting the slapd by manually starting a time machine backup.
(Indeed, I switched my backup strategy from SuperDuper to time machine the other day and maybe that was the time the problem occured for the first time. I know that time machine is not considered as the best backup strategy for a server but I wanted to try on my own.)
Google helped my to find a hint that time machine will actually stop and restart slapd - which is a generally a good idea, since otherwise a backup from some open database files would be made, which could work but may fail. So, I thing, someone of the developers thought about that problem too and has considered time machine for backups of a server.
However, a not running slapd can not answer queries from a DirectoryService and a stopping or starting process might indeed end up with TCP SYNs answered with TCP RST.
My solution was to disable time machine again and from that time the problem does not occur again.
I'm wondering why the DirectoryService process isn't starting to query the slapd again after a failed connection. Isn't this a bug? After this experience I consider time machine as not only the not preferred backup solution for a server but as completely incompatible with Mac OS X server - although, as I said, it seems that someone thought about backing up the LDAP database using time machine.
(On a Lion server this problem does not occur, the slapd will not be stopped and restarted when time machine is running. Moreover, I saw a com.apple.slapd.start notification in the slapd.log ... maybe this tells DirectoryService to try again.)
Cheers,
Wolfgang

Another problem I found with the MacOS X key bindings: the 6 key doesn't work!
In the config that ships with SQL Developer, I found this:
<Item class="oracle.javatools.util.Pair">
<first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
<second class="oracle.ide.keyboard.KeyStrokes">
<data>
<Item class="javax.swing.KeyStroke">6</Item>
</data>
</second>
</Item>
which should be:
<Item class="oracle.javatools.util.Pair">
<first class="java.lang.String">DOCUMENT_6_CMD_ID</first>
<second class="oracle.ide.keyboard.KeyStrokes">
<data>
<Item class="javax.swing.KeyStroke">meta 6</Item>
</data>
</second>
</Item>

Similar Messages

  • I have a macbook pro and using photoshop elements 12. I dont have a problem before but since i upgraded my mac to an new version IOS Yosemite, then begun the problem. It always sotock or freeze.

    I have a macbook pro and using photoshop elements 12. I dont have a problem before but since i upgraded my mac to an new version IOS Yosemite, then begun the problem. It always sotock or freeze. What should i do?

    properly uninstall, clean and reinstall per Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Mail SASL authentication problem - solved

    My outgoing mail stopped working. I had been relaying mail through my ISP's smtp server and at some point i started getting SASL authentication errors ("no worthy mechs found").
    I searched and found a thread that contained a fix: http://discussions.apple.com/thread.jspa?threadID=2207959
    The fix was rather mysterious (to me at least) in that it involved adding one line to my /etc/postcript/main.cf file. The line was: "smtpsasl_securityoptions =".
    I was going to post a reply to the thread, but the thread is "archived".
    Why do threads get archived? Too old?
    Well, anyway, I don't like having to open a separate thread for this, but I hope this helps someone solve the same problem I was having.
    Also, if anyone has any kind of real explanation for why this fix works and/or whether it is likely to survive future software changes made by apple (or has a better way to fix that will), I would love to hear about it.
    Thanks.

    Try installing ldap1.2.4 and putting ldap.jar and providerutil.jar in your bootclasspath.

  • P2 import problem - solved but still mysterious

    I posted yesterday about my P2 files that had imported before but suddenly did not - with that scary "incomplete or corrupt file" message.
    I keep a cloned backup of my OS and all software on another drive that can be "cloned" back into my main drive. (great software- Carbon Copy Cloner - downloadable shareware, but leave the kind creator a donation.) It takes time to clone everything but not nearly as long as starting from scratch with disks, numbers and a zillion fixes and updates. Just be very careful to save everything like user files and desktop stuff.
    Now, starting again with the pre-problem "cloned" osx and fcp, which are back to 10.4.6 and 5.0.4, the P2 files are importing perfectly again. So clearly the problem was not "incomplete or currupt" files, but some mysterious software glitch that occured in OSX or FCP? If anybody has any thoughts, I would love to dig deeper into this mystery in case it happens again. Meanwhile, if you are told that your P2s are "incomplete or corrupt" and you haven't messed with the locks or txt file at all, don't despair. Wouldn't it be nice to get an error message that said "Whoops - no idea what's goin' wrong honey - but it ain't necessarily your fault"

    Hmmm...so the static isn't consistant?
    Try looking at the footage with something like the Panasonic P2CMS reader/importer:
    https://eww.pavc.panasonic.co.jp/pro-av/sales_o/p2/cms/index.html
    Or try HD Log or P2 Log from www.imagineproducts.com. See if Raylight sees this (www.dvfilm.com - demo available).
    Shane

  • Finally got my problems solved but...

    I got xorg and my wifi working fine, but when I boot into Openbox, I can't use my wifi.  It says it's already connected, but I can't ping nothing or install anything.

    I do sudo /etc/rc.d/network restart and get this.
    Stopping Network
    /etc/conf.d/dhcpcd: line 5: -C: command not found
    Starting Network
    eth0: dhcpcd 4.0.2 starting
    eth0: broadcasting for a lease
    eth0: offered 192.168.1.106 from 192.168.1.1
    eth0: checking 192.168.1.106 from 192.168.1.1
    eth0: achnowledged 192.168.1.106 from 192.168.1.1
    eth0: leased 192.168.1.106 for 86400 seconds
    Before I had openbox autostart on bootup, my /etc/conf.d/dhcpcd file looked like this.
    # Arguments to be passed to the DHCP client daemon
    DHCPCD_ARGS="-q -L -t 30 -h $HOSTNAME" -C reslove.conf
    That worked perfectly and I was able to use my wireless card to ping, surf, etc.  But now that I made a normal user and installed openbox, it doesn't work now.  It detects the card, but I can't ping, etc on it.  Anyone know the problem?

  • Bug fix for Mac book wireless - problem solved!

    Aparantly there is a rather large number of folks out there who've discovered this dillema with wireless not working very well at this point on the Macbook.
    Well, I can attest there is one very good solution out there for this issue. This application called Sonar Theater from www.sunray.tv includes a bug fix for the wireless connection issues with Macbook in their latest 1.5 release of Sonar Theater.
    I downloaded it, put it into my start up folder and waalaa! problem solved. I've haven't any more issues with dropped wireless since - it's been running constantly for over 2 weeks now.
    I haven't even attempted to touch my router configuration - don't need to.

    Welcome to the better life of Macs. I am using Sonar Theater too and it's been working very well for me. In fact, I'm getting hooked on just texting a message to my Mac book to fire up user sessions now. I think if you give the Mac Book some time however, you'll find that there really is no comparison to PC's. Your life overall is going to just keep getting better as you dig in to the resources available to new Mac users.
    I'm sure it seems confusing to PC users at first, but here's how to set up any application as part of your startup sequence. It really is extremely easy and simple compared to the PC world. Oh and by the way, in reality, Mac users refer to this as your login sequence. So, at login time, you can do a multitude of different things for each user account you might want to set up. Naturally, you can choose to share or not share applications and data between these user accounts on your Mac too....
    Mac OS X 10.3 or later
    1. Log in as the user who wishes to have a login item or as an admin user.
    2. Choose System Preferences from the Apple menu.
    3. Choose Accounts from the View menu.
    4. Click the name of the user.
    5. Click the Startup Items button
    6. Click the "Add {+}" button.
    The item you selected will automatically open the next time you log in.
    there are several ways to get good info from the apple community on tips and tricks as well. you should just try the apple os x web site...here,
    http://www.apple.com/macosx/resources/
    happy mac-ing!

  • The sound quality of my speaker suddenly got really poor when playing music or videos.  Sounds like an old AM radio or Sputnik.  Pretty sure it's hardware related but maybe not.  Thoughts on what the problem might be and if it can be repaired?

    The sound quality of my speaker suddenly got really poor when playing music or videos.  Sounds like an old AM radio or Sputnik.  Pretty sure it's hardware related but maybe not.  Thoughts on what the problem might be and if it can be repaired?

    The batterys the ipods come with are very sensetive somtimes they dont react right to the first couple of charges. Try fully charging it and then leaving it on until its completely drained a few times. If that doesnt work it might be a lemon.

  • TS4123 I have problem with iTunes story (secure link to itunes store failed). I make In the "Command Prompt" screen, type in   netsh winsock reset the itune story is solve but after i close itunes the problem is back

    I have problem with iTunes story (secure link to itunes store failed). I make In the "Command Prompt" screen, type in   netsh winsock reset the itune story is solve but after i close itunes the problem is back

    The results show that you have a proxy server set and this can often cause problems with iTunes.
    The proxy setting can be accessed in Internet options>>Connections>>LAN Settings.
    Try un-checking the proxy server check box.
    It might also be a good idea to run a malware check if you didn't know you had the proxy server set.
    You can download a free version of an excellent scanner- Malwarebytes here:
    http://www.malwarebytes.org/

  • How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution??? thanks before best regard

    How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution???
    thanks before
    best regard
    -ariansyah-

    You can disable or remove that button, but that won't prevent users from making the changes on the about:config page directly.<br />
    You can lock the related network.proxy prefs if you do not want users to change the connection settings.
    See:
    *http://kb.mozillazine.org/Locking_preferences
    * http://kb.mozillazine.org/network.proxy.type
    * http://kb.mozillazine.org/network.proxy.%28protocol%29
    * http://kb.mozillazine.org/network.proxy.%28protocol%29_port

  • I am getting an error message "Adobe_unable to download, license server communications problem, e_act_not_ready".  I have downloaded Adobe Digital Editions and have authenticated the computer, but cannot download a book from the library.  What should I do

    I am getting an error message "Adobe_unable to download, license server communications problem, e_act_not_ready".  I have downloaded Adobe Digital Editions and have authenticated the computer, but cannot download a book from the library.  What should I do?

    Having exact same problem, only it's with a book I've paid for, so it hurts more . Any ideas?

  • After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    After updating to ios 5, my calendar sometimes freezes when entering a new event. I have tried syncing but it doesn't fix the problem. Are there any bug fixes for this? Any ideas would be great thanks, I don't really want to have to reset everything!

    Try to reset the iPod by  pressing the home and sleep button for about 10sec, until the Apple logo comes back again. You will not lose data doing a reset, but it can clear some glitches after installing new software or apps.

  • Wifi Authentication Problem in Lenovo K900

    Hi,
    I am able to connect to wifi at home network. And when I try it at office it is showing Authentication problem and "Not in Range". The password and everything is correct. All my colleagues are able to connect with the same password. I searched online for the solution and there are many other lenovo tab and phone users facing the same problem and I am unable to find the solution. Can anyone resolve this issue and give appropriate answer for this.

    This is the first time I'm hearing this issue, I'm also an K900 user but this never happmed to me or my other friends.
    Are you sure that's the right password, maybe its case sensitive, because this bug is not present in K900.
    Facebook Profile I'm a carefree type of guy but always there to help, so if you have anything to ask don't hesitate.

  • Randomly when I plug my Iphone 4s into Itunes it will tell me that it can't detect my phone and that I need to restore it. It doesn't happen every time, but maybe every two weeks.

    Randomly when I plug my Iphone 4s into Itunes it will tell me that it can't detect my phone and that I need to restore it. It doesn't happen every time, but maybe every two weeks.I restore it and then it works for a while, but then a couple weeks later I'll plug it in and I get the same message again. It's very frustrating because even though I have all the settings to save to cloud, my apps and data don't all come back.

    Thank you both. I suppose I should have prefaced my question with the concern that I've read a number of other posts from people who have had a similar issue and when they tried to follow the directions, they ran into a multitude of other problems. As you might imagine, I'm hoping to avoid the creation of new problems as I try to solve this one. Thanks again.

  • Authentication problem in Directory Utility (Standard Mode)

    I misposted this in the 10.4-and-earlier section...I have Leopard.
    Okay, I suppose I am in over my head as I am not a NA but just had so many macs I thought it would be fun to see if I can make OS X Server work.
    I have at the moment 3 users set up: 1 admin and 2 Standard users. When one of the remote Macs tries to use Directory Utility to authenticate, it insists that "The name and password you entered for the user account on the server do not match." Well, I have reset the passwords on the server several times and I am darn sure I have them right. I can connect to the server and use folders and whatnot; i just can't use any of the services.
    I suspect this is a permissions issue, because I also get errors if I try to "Allow (one of the standard users) to administer this server" in the Server Preferences/Users pane. I get "Error '-14120' occurred while processing a command of type 'setMembership' in plug-in 'servermgr_accounts'. That's very descriptive and helpful except that I do NOT know what I am doing.
    Uh, little help? Did I just do something very stupid that is making everyone chuckle?

    I've been at this for eight days myself. Lots of problems. So don't feel bad if things don't sort of "click" into place - they haven't been for me.
    First off - I noticed that you have server_name.local. I'll say something right here about that. I had no end of grief when I configured my server with a .local extension. All my machines are named after Kellogg's cereals - so I decided to name this one honeycomb. So during installation I named it honeycomb.local.
    Now before I explain this - understand this is my understanding .. I could be dead wrong - but this is how I understand it. Apple uses Bonjour technology to locate network resources. In a network environment there will no doubt already be conventional methods for locating computers - such as DNS, Directory Services, etc. Bonjour is designed to happily coexist with all of those. It essentially uses multicast technology to find other devices on the network and configure it. When a device is using Bonjour - it utilizes the .local suffix. You can see where I am going with this.
    So I had some issues and decided to pull the plug. Reinstalled the OS and used honeycomb.private. I STILL see honeycomb.local being referenced throughout - so I feel good now that I made the right choice. Things have been going a lot better since.
    I am going to use mymachine.private as the computer, and jdoe as the username in the next bit. Replace them with your own info.
    +From my own experiences, here are some things to check+
    *_1) Server must respond to the Client's Requests _*
    On the Server:
    -Use 'ipfw flush' and clear out firewall rules while you are testing.
    -Does 'ping mymachine' work?
    -Does 'ping mymachine.private' work?
    _*2) Client must be able to find the data in Open Directory:*_
    -Is Open Directory running in Server Admin.
    -In Server Admin, under Open Directory, under Overview - do you have everything running? Is there an LDAP search base and a Kerberos Realm? Are they correct?
    -Connect with an LDAP client if you must, and manually verify that the user information is in there. I love Apache Directory Studio (http://directory.apache.org/studio/)
    -Perhaps there are certificate or identity issues - turn off the SSL options during testing.
    -In Workgroup Manager->User jdoe->Home ensure the information is correct.
    *_3) Client must be able to mount the home directory:_*
    -Can you manually mount /Users/ on the client, and read / write everything in the jdoe folder ?
    In Server Admin, under File Sharing
    -/Users/ share point - Automount should be enabled (AFP, Home Folders)
    -/Users/ permissions - others should be at least read-only
    This is my preference .. but...
    -/Users/jdoe permissions should be:
    ACL: jdoe - Allow, +Full Control+
    POSIX:
    jdoe - Allow, +Read & Write+
    admin - Allow, +Read & Write+
    Others - Allow, None
    Select jdoe folder, click on the Cog and Propagate Permissions. Check all permission boxes and click OK.
    _On the Client_
    I usually start off, by verifying:
    -Does the client have a DHCP address from my server?
    -Can my client ping the shortname and fullname of my server?
    -Can I manually connect to the server and mount a share?
    -Did I do an *ipfw /flush* on the client too?
    If all that is correct, then I will go into Directory Utility and click the + to add a directory server. I will select type "Open Directory", type in the server name (mymachine.private), and leave SSL unchecked. Click OK. When done it should say:
    mymachine.private(Open Directory Server) - This server is responding normally
    Once you get this far, try logging out and logging in as a user - ie. jdoe
    If it won't let you log in then answer this - did it do its shAkE at you or did it give you an error message?
    Kerberos shouldn't be rearing its ugly head at this stage of the game - its more for single sign on .. but if you see any authentication windows with the words "REALM" or "PRINCIPLE" - those words should set off little Kerberos alarm bells in your head. Like I said - at this stage in the game I don't think those have anything to do with it.
    _*Few other notes:*_
    #1) In Workgroup Manager - you could add the client computer. Enter its full name and short name (you can get them from the sharing option in the client's system preferences). Once the computer is added, you can go into the preferences for the computer, click on Login Preferences and set it to always manage. Put a message in the message box such as "Directory has been consulted" and check the "Show Network Users" box. This way - when you log out .. you will have an indication as to whether the open directory is working at all on the client, or if the problem is more focused with the user account.
    #2) I have been getting
    +Error of type Not a known DirStatus (-1) on line 2075 of SourceCache/ WorkgroupManager/WorkgroupManager-319/Plugins/UserAccounts/UserAdvancedPluginVi ew.mm+
    when creating a user in Workgroup Manager. I just close out of the user and then it allows me back in.
    Drop a post if you manage to solve the problem.

  • PROBLEM SOLVED--CS5 WIN7 X64 INSTALL ERROR DEPENDENCY FAILURE

    PROBLEM SOLVED!!!!!!!!!!!!
    I just spent 9  hours straight on this, but will was stronger than "its". Now I have  both cs4 and cs5, but hopefully it will work if you just have cs5 as  well. I also did not try runnning cs5 installer first after implementing  the fix, maybe that will work too..And when getting the cs5 error, I  went to re-install cs4 but got an error as well so that is why I took  the steps I did. On 7x64 do the followin
    First  run the cs5 cleanup tool and reboot.
    Second,  go into c:\program file(x86)\common files\adobe\installers . Delete  everything in it
    Then go into you registry  (start, run, then type regedit) and expand to this registry key:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\ Components  ...(if this isnt there, try an install again, then go to the folder  that you deleted the files from a moment ago and extract the log from  the zip file and open it and go to the end. where it says error 1402  will be followed by a unknown\components\(a bunch of numebers right  here)\(more numbers)  ...
    Copy the numbers  directly after the components\ and go back into registry and click edit  then "find" paste those numbers into the box and hit find..when you get  to the key, scroll ALL the way back up to components again. Right click  components and hit permissions.. Go to advanced and then the ownership  tab up top.. click edit, hightlight administrator(s), check the box to  "replace subcontainers" and click apply. respond yes to everything and  close that and hit apply again if asked. then click the add button above  the advanced button you just clicked. when the new box appears, click  advanced and then click find now. Highlight Administrators and SYSTEM  and hit OK. Then give both of them full rights and hit apply. Then click  advanced again and in the first window check the box that says "replace  all child objects...." and hit apply. accept the prompts and hit okay.
    Now  go into c:\windows and on the system32 folder, right click and go to  properties. Go to the security tab. Click advanced and then "owner" and  click edit. highlght administrators and check the box "replace all child  object....." again and hit apply.... 
    Now give  Administrators, SYSTEM, AND TrustedInstaller full rights by clicking  edit above the advanced tab in the first properties box.. Then click  advanced again and in the first window click replace all child  object....." again and hit apply.... 
    Now  do the same for the winsxs folder and (for good measure i did syswow64  but not sure if its necessary)... 
    Now you should  be able to install both versions..(as i said, I installed cs4 first,  maybe it was not necessary)... 
    If you dont  like the idea of just blindly giving administrators full rights to all  system folders, you can spend MANY MANY hours running the installs over  and over and getting the faulty registry value that caused it to fail  and create specific permissions for that and then go on to the next  value that fails......what a pain 
    Message was edited  by: DarkMatter78

    Thank you for this.
    I have been trying to install CS5 MC now for weeks. I first got it to install everything except After Effects and Premiere Pro. Then trying to follow all the suggestions on this forum I wound up not being able to install any part of it at all. Now..
    Well...following your kind suggestions as much to the letter as I could I have now been able to install everything...except Affter Effects and Premiere Pro. Sigh.
    At least I can get back to work on everything that doesn't require AE and PPro.  I still need to get them installed and working.

Maybe you are looking for

  • USB modem and Internet Sharing causes system to hang.

    First my setup. I have a Mac mini (early 2009) running 10.7.2 connected to the Internet using a Sony Ericsson W910 as a USB modem. I am using Internet sharing via Ethernet to a 1st generation (n) AirPort Extreme to give Wi-Fi to other devices (iPhone

  • How to order / group a report by a placeholder column ?

    How to order / group a report by a placeholder column populated by the group filter ? In more detail ..... My Data model editor's select statement brings back (say 1000 rows) from the database. The group filter decides (on performing certain validati

  • User-authorized only values in matchcode

    Hi people, I get a strange behaviour of the BEx variable Input matchcode. I implemented 2 Multiproviders, containing a common authorization on an characteristic. The authorization variable is "ready to Input". In the first multiprovider, when I launc

  • BW 3.5 upgrade to BW 7.3

    Dear Expert : We also have a plan to updrade BW 3.5 to BW 7.3. I have following questions need you kindly sharing your experience. We will plan to perform Technical upgrade from BW 3.5 to BW 7.3, After that we will migrate BW 3.5 Object to BW 7.3 nat

  • Help menubar flash to director

    when import a menu developed with the component menubar flash and give transparency to the menubar, which happens to it is necessary to give it a click off, I need you to help me that it is disabled once the mouse is not on it.