Server App does not change SMB AFP option as expected

I have been fighting SMB shares on Mac OS since upgrading to Mountain Lion (I skipped Lion) and I think I have the situation figure out at least in my case.
First Opportunistic Locking needs to be turned off in Windows 7. It does not appear that Mac OS supports it and this is why my connection got disconnected.
In the regestry at, [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanWorkstation\Paramet e rs] add this,  "OpLocksDisabled"=dword:00000001
Now for the SMB shares for people using the Server App. The Server App. is where you setup shares but I think there is a bug. In my case the Server App. was not actually turning on SMB and/or AFP services for the users listed in the server permissions. I had to go to Sharing under System Preferences then select the share I want the service to apply to then select Options. I found that the SMB and AFP services were not enabled even though they had been set in the Server App. Once I enabled them all was as it should be.

Same problem. I had to rebuild my LDAP database and when I imported the users and groups, they appear in Workgroup Manager but they don't appear in Server app. Well..   they do sometimes.  If I click the "Add Users" button, sometimes they'll appear briefly then go away in Server app. I can also edit a user and look at their group membership via Server app and the groups from Workgroup Manager appear but they are grayed out...  also, the users from the LDAP server will disappear at first and I have to click on another button, like "Configure Network" and then click back on "Add Users" and the network users will be there...  but no group.
This is crazy.  It's like working on a '74 Chevy Vega.  Did ANYONE at Apple QA this?

Similar Messages

  • Defining Virtual Hosts so the Server App does not hijack them?

    Does anyone know how one might define manually define virtualhosts in Lion Server so the OS does not go and trash them, or mess with the conf files? Right now the server keeps stealing any virtual hosts I create manually and creating conf files to the standard of the Server App. The problem is I have several virtual hosts that have custom information in them and I need to restore the file whenever this happens. Any ideas?

    Put all your config files in something unknown to Apple. I like to use 'vhosts' instead of 'sites'.
    Then just add this to your httpd.conf...
    Include /private/etc/apache2/vhosts/*.conf
    I would keep a copy of your httpd.conf at all times. Apple likes to wipe that out on system updates.

  • TS3960 After upgrading to Lion server 10.7.4, Server.app does not start.

    I upgraded from 10.6.8 Server.  The Mac OS 10.7.4 starts fine, but when attempting to launch 'Server' (which does appear in the launchpad) nothing happens (the application does not start).
    I checked for this:
    sh-3.2# sudo launchctl list | grep -q com.apple.servermgrd && echo loaded || echo not loaded
    loaded
    Thank you in advance for any help on this front. AV

    I got solution.After I reset the Server.App i could able to login the Server.App.
    For reference : http://krypted.com/mac-os-x-server/hosed-your-mountain-lion-server-reset-it/

  • Server.app does not authenticate network admin users

    Running fresh installation of Lion Server 10.7.3. I'm logged in as the original, local, administrator.
    I open Server.app and successfully log in to the local machine with the local administrator creditials. I create a networked user allowed to administer the machine. Close Server.app window.
    Attempt to log in as the new networked administrator. I get a message about using the server's self-signed certificate. I click accept, then the log-in shakes it head, won't let network admin log-in. Repeated attempts to log in do not show the certificate warning -- the log-in fails every time, though.
    Attempt to log is as local admin, works OK.
    How to fix?

    Hi Stefan, I have the Server app problem here on my Xserve 2009 and it happened after about 14 days of working correctly. No users or groups(850 network) show in the panes other than the two local admin users on the server. The +/- buttons are greyed out also. If you enter some letters for a search in Users/Groups it will actually display the network users containing the letters and eventually it populates the window with network users up to the usual 500+ limit but refresh and they all disappear again. Thinking back before it happened I used WGM to add a new user instead of Server and it was shortly after when the users "disappeared" and the+- buttons greyed out. I dont have much confidence in Server app at the moment and im just glad WGM/SA is still in operation. I agree with Danny_Sch that Server app starts to act strangely after using WGM
           WGM acts as usual with all my 850 users showing from the OD and Server admin shows all my services running ok. All users can log in and out fortunately at the moment. This happened initially when I migrated to Lion and I had to use my OD archive demoting and promoting to master to get it to work but I dont want to have to rebuild the whole thing again as we have very limited downtime to do it in a big institution etc. I'm trawling the net looking for a fix but no definitive answer. Has anyone reported this as a bug to Apple I wonder?

  • Socket problem with reading/writing - server app does not respond.

    Hello everyone,
    I'm having a strange problem with my application. In short: the goal of the program is to communicate between client and server (which includes exchange of messages and a binary file). The problem is, when I'm beginning to write to a stream on client side, server acts, like it's not listening. I'd appreciate your help and advice. Here I'm including the source:
    The server:
    import java.io.IOException;
    import java.net.ServerSocket;
    public class Server
        public static void main(String[] args)
            ServerSocket serwer;
            try
                serwer = new ServerSocket(4443);
                System.out.println("Server is running.");
                while(true)
                    ClientThread klient = new ClientThread(serwer.accept());
                    System.out.println("Received client request.");
                    Thread t = new Thread(klient);
                    t.start();
            catch(IOException e)
                System.out.print("An I/O exception occured: ");
                e.printStackTrace();
    }ClientThread:
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.net.Socket;
    import java.net.SocketException;
    public class ClientThread implements Runnable
        private Socket socket;
        private BufferedInputStream streamIn;
        private BufferedOutputStream streamOut;
        private StringBuffer filePath;
        ClientThread(Socket socket)
                this.socket = socket;     
        public void run()
            try
                 this.streamIn = new BufferedInputStream(socket.getInputStream());
                 this.streamOut = new BufferedOutputStream(socket.getOutputStream());
                int input;
                filePath = new StringBuffer();
                System.out.println("I'm reading...");
                while((input = streamIn.read()) != -1)
                     System.out.println((char)input);
                     filePath.append((char)input);
                this.streamOut.write("Given timestamp".toString().getBytes());
                ByteArrayOutputStream bufferingArray = new ByteArrayOutputStream();
                  while((input = streamIn.read()) != -1)
                       bufferingArray.write(input);
                  bufferingArray.close();
                OutputStream outputFileStream1 = new FileOutputStream("file_copy2.wav");
                  outputFileStream1.write(bufferingArray.toByteArray(), 0, bufferingArray.toByteArray().length);
                  outputFileStream1.close();
                this.CloseStream();
            catch (SocketException e)
                System.out.println("Client is disconnected.");
            catch (IOException e)
                System.out.print("An I/O exception occured:");
                e.printStackTrace();
        public void CloseStream()
            try
                this.streamOut.close();
                this.streamIn.close();
                this.socket.close();
            catch (IOException e)
                System.out.print("An I/O exception occured:");
                e.printStackTrace();
    }The client:
    import java.io.*;
    public class Client
         public static void main(String[] args) throws IOException
              int size;
              int input;
              //File, that I'm going to send
              StringBuffer filePath = new StringBuffer("C:\\WINDOWS\\Media\\chord.wav");
              StringBuffer fileName;
              InputStream fileStream = new FileInputStream(filePath.toString());
            Connect connection = new Connect("127.0.0.1", 4443);
            String response = new String();
            System.out.println("Client is running.");
              size = fileStream.available();
              System.out.println("Size of the file: " + size);
            fileName = new StringBuffer(filePath.substring(filePath.lastIndexOf("\\") + 1));
            System.out.println("Name of the file: " + fileName);
            connection.SendMessage(fileName.toString());
            response = connection.ReceiveMessage();
            System.out.println("Server responded -> " + response);
            ByteArrayOutputStream bufferingArray = new ByteArrayOutputStream();
              while((input = fileStream.read()) != -1)
                   bufferingArray.write(input);
              bufferingArray.close();
            FileOutputStream outputFileStream1 = new FileOutputStream("file_copy1.wav");
              outputFileStream1.write(bufferingArray.toByteArray(), 0, bufferingArray.toByteArray().length);
              outputFileStream1.close();
              byte[] array = bufferingArray.toByteArray();
              for (int i = 0; i < array.length; ++i)
                   connection.streamOut.write(array);
              response = connection.ReceiveMessage();
    System.out.println("Server responded -> " + response);
    connection.CloseStream();
    Connect class:import java.io.*;
    import java.net.Socket;
    import java.net.UnknownHostException;
    public class Connect
    public Socket socket;
    public BufferedInputStream streamIn;
    public BufferedOutputStream streamOut;
    Connect(String host, Integer port)
    try
    this.socket = new Socket(host, port);
    this.streamIn = new BufferedInputStream(this.socket.getInputStream());
    this.streamOut = new BufferedOutputStream(this.socket.getOutputStream());
    catch (UnknownHostException e)
    System.err.print("The Host you have specified is not valid.");
    e.getStackTrace();
    System.exit(1);
    catch (IOException e)
    System.err.print("An I/O exception occured.");
    e.getStackTrace();
    System.exit(1);
    public void SendMessage(String text) throws IOException
    this.streamOut.write(text.getBytes());
    System.out.println("Message send.");
    public void SendBytes(byte[] array) throws IOException
         this.streamOut.write(array, 0, array.length);
    public String ReceiveMessage() throws IOException
         StringBuffer elo = new StringBuffer();
         int input;
         while((input = streamIn.read()) != -1)
              elo.append((char)input);
         return elo.toString();
    public void CloseStream()
    try
    this.streamOut.close();
    this.streamIn.close();
    this.socket.close();
    catch (IOException e)
    System.err.print("An I/O exception occured: ");
    e.printStackTrace();

    The problem that was solved here was a different problem actually, concerning different source code, in which the solution I offered above doesn't arise. The solution I offered here applied to the source code you posted here.

  • HT2534 I already made an accoount, so how can I change it so that I do not have to choose a type of credit card. Cause it does not give me the option of NONE

    I already made an accoount, so how can I change it so that I do not have to choose a type of credit card. Cause it does not give me the option of NONE

    Did you follow the instructions on that page exactly ? The instructions work for me e.g. selecting a free app in the App Store app and tapping on 'free', then 'install app' and 'create new apple id' - filling in my details then gave a 'none' option on the payment details :

  • Since upgrading to the newest version of ios 8, I can no longer share my photos on facebook. I have tried going to setting-photos, but the facebook app does not show up for me to change the settings. Any suggestions?

    Since upgrading to the newest version of ios 8, I can no longer share my photos on facebook. I have tried going to settings-privacy-photos, but the facebook app does not show up for me to change the settings. Any suggestions?

    when you opened the shared library with the newer version of iPhoto (iPhoto '11) you were given a warning that your library would be converted and could not be used by older versions - you clicked ok to go ahead - there is no updo available - either upgrade to iphoto '11 of the MBP or load your backup of the iPhoto '09 library on it - older versiopns of i{Photo can not read newer libraries
    LN

  • I'm applying for jobs online through my iPad using the safari app. For some reason when I try to attach my resume, which I have saved in Pages, it does not give me an option to go to Pages. It only gives my an option to choose a file from photos. Does it

    I’m applying for jobs online through my iPad using the safari app. For
    some reason when I try to attach my resume, which I have saved in
    Pages, it does not give me an option to go to Pages. It only gives
    my an option to choose a file from photos. Does it not have the
    capability to choose a location other than photos??

    No. Safari does not have the option to attach files for uploading other than photos.
    Look at iCab Mobile in the App Store. There are other browsers that may do this, but I'm pretty sure that iCab will fill the need.
    iCab Mobile (Web Browser) on the App Store on iTunes
    take a look at this.
    http://www.icab-mobile.de/faq.html

  • TS1702 When I try to update an App I am getting my old email address (which no longer works) and when I put in its password it says password or username is wrong. but it does not give me an option to put in my new user name. How can I correct this.

    When I try to update an App I am getting my old email address (which no longer works) and when I put in its password it says password or username is wrong. but it does not give me an option to put in my new user name. How can I correct this.

    What you are getting is the AppleID (AppleID can be an email adress) used at the time of the purchase of this app.  It is an identifiant allowing Apple to link your purchase to your account.
    If you want to manage associated email, you can go at https://appleid.apple.com but the AppleID could never be modified.  
    I do not know if in your case, it is just that you no longer use your old email address or that you actually a 2 AppleID.  In any case, you will have to remember the password related to the account used for your purchase.  If you don't, just use the link above to try to retreive your password.

  • Menubar does not change when switching apps

    Sometimes when I switch applications, the menu bar does not change.
    The proper menu bar is there, I can use it, but the text shown is some previously focused application.
    Switching apps once or twice fixes the issue, but it is very annoying.
    This is a fresh re-install of Lion, but I retained my users and applications.
    I have tried removing the systemuiserver plist file and rebooting, but the problem persists.
    Any ideas?

    A link would be nice but I suspect that you are not gettign the finger (you knwo what I mean) when you roll over the link because your href is  not set to anything.
    <a href="" onclick=MM_openBrWindow('images/image.jpg','largeDisplay','scrollbars=yes,resizable=yes,width=100,height=120')
    Set your href to "#" or "javascript:;" - the latter is preferred.

  • Tables are deleted but database size does not change in sql server 2008r2

    Hi All,
    20GB Tables are deleted in my database but database size does not change and disk size showing same size.

    Hi ,
    I have ran the Disk usage by Top Tables report and Identified couple of tables with unwanted data for last 5 years. I have deleted the data for the first 3 years and then ran the Disk usage by Top Tables report again. When I compared the report before
    and after the data deletion, I have noticed certain facts which is not matching with what I know or learned from experts like you. The following are the points where I am looking for clarification:
    1.Reserved (KB) has been reduced. I was expecting the data Reserved (KB) will remain the same after the data deletion. 
    2. The Data(KB) and Indexes(KB) fields have been reduced as expected. The Unused(KB) field have been increased as expected.
    I was expecting the total of Data(KB) and Indexes(KB) field space gained will be equal to the Unused(KB) field gained after deleting the data. But that is not the case. When I deducted(subtracted) the difference in  the Reserved(KB)(Difference before
    and after data deletion) field from the Total of space gained from the data deletion is equal to the Unused(KB) gained field value.
    I am not a SQL expert and not questioning but trying to understand whether we really gain space by deleting data from the tables. Also keen to get the concepts right, but my testing by deleting some records confused me.
    Looking ahead to all your expert advice.
    Thanks,
    Vennayat

  • In my firefor options window I have two zipped folders one allows me to brows and see what is inside the other does not give me this option. how can I see what is inside please?

    I have had MyWebSearch install itself as my primary browser....I have needed to reset Firefox in safe mode but I am not sure that the changes have actually been done! In Options in the Options menu the window displays all the add on's and features that are on Firefox....I have two zipped folders here One allows me to see inside the other does not. How do I access this one that does not give me the option to as I want to know what is inside...as this "MyWebSearch has been an enormous hassle...and needless to say has compromised my PC and the security of all of my passwords.....I want to be sure that the resetting the browser default has actually worked and that MyWebSearch is gone!
    Regards
    Coco

    Are you talking about MyWebSearch toolbar (http://help.mywebsearch.com/sbar2.html#q1) which offers apps such as Smiley Central, Cursor Mania???
    If yes, uninstallation instructions are here - (http://help.mywebsearch.com/sbar2.html#q4). Could you provide me some details about the ZIP folders. If I get a screenshot, I can help you very well.

  • Manage Account does not appear in the options sync tab. How do I manage my account to get the recovery key?

    I cannot sync my Firefox 18 desktop with iPad or iPhone browsers. I have tried everything suggested on the Web and have tried safe mode as well. When I enter the three-line synch code, I get a sync failure. I have deleted my account and then set up a new account without success. Manage Account does not appear in the options sync tab. How do I manage my account to get the recovery key?
    I’ve spent hours on this and am considering using Chrome as my regular browser since I have no trouble syncing Chrome with apps. Help appreciated.

    You can only inspect the sync key via manage account if this device is has been setup and is connected to the sync server.
    You can find the sync account password and the sync (recovery) key in the password manager on computers where a sync account with a specific e-mail address has been set up.
    Look for:
    * chrome://weave (Mozilla Services Password)
    * chrome://weave (Mozilla Services Encryption Passphrase)
    You can look at this version of the about:synckey extension that I have modified to show the sync key in current Firefox versions (desktop and mobile).
    * http://www.freefilehosting.net/aboutsynckey-11-fnfx
    * [[/questions/942893]]

  • HELP: "web-app" does not allow "filter"

    Here is my web.xml, but everytime I tried to start the web server 6.1, it complains:
    info: CORE3282: stdout: PARSE error at line 108 column -1
    info: CORE3282: stdout: org.xml.sax.SAXParseException: Element "web-app" does not allow "filter" here.
    failure: ContextConfig[simple] WEB3524: Parse error in application web.xml
    org.xml.sax.SAXParseException: Element "web-app" does not allow "filter" here.
    at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
    The following is my web.xml file, thank you let me know what make it!
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd">
    <web-app>
    <display-name>webapps-simple</display-name>
    <description>
    The jakarta-tomcat-4.0.3 sample apps ports over to Sun One Web Server.
    </description>
    <distributable></distributable>
    <servlet>
    <servlet-name>HelloWorldExample</servlet-name> <servlet-class>samples.webapps.simple.servlet.HelloWorldExample</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorldExample</servlet-name>
    <url-pattern>/helloworld</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <taglib> <taglib-uri>http://java.apache.org/tomcat/examples-taglib</taglib-uri> <taglib-location>/WEB-INF/tlds/example-taglib.tld</taglib-location>
    </taglib>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Protected Area</web-resource-name>
    <url-pattern>/jsp/security/protected/*</url-pattern>
    <http-method>DELETE</http-method>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    <http-method>PUT</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>tomcat</role-name>
    <role-name>role1</role-name>
    </auth-constraint>
    </security-constraint>
    <filter>
    <filter-name>Validation Filter</filter-name> <filter-class>filter.ISValidationFilter</filter-class>
    <init-param> <param-name>onlyAllowRequestWithToken</param-name>
    <param-value>true</param-value>
    </init-param>
    </filter>
    <filter-mapping>
    <filter-name>Validation Filter</filter-name>
    <url-pattern>/filtered/*</url-pattern>
    </filter-mapping>
    </web-app>

    I also getting the same error
    my web.xml
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <filter>
              <filter-name>Security Filter</filter-name>
              <filter-class>org.securityfilter.filter.SecurityFilter</filter-class>
              <init-param>
                   <param-name>config</param-name>
                   <param-value>/WEB-INF/securityfilter-config.xml</param-value>
                   <description>Configuration file location (this is the default value)</description>
              </init-param>
              <init-param>
                   <param-name>validate</param-name>
                   <param-value>true</param-value>
                   <description>Validate config file if set to true</description>
              </init-param>
         </filter>
         <filter-mapping>
              <filter-name>Security Filter</filter-name>
              <url-pattern>/*</url-pattern>
         </filter-mapping>
    <!-- Action Servlet Configuration -->
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <init-param>
    <param-name>debug</param-name>
    <param-value>3</param-value>
    </init-param>
         <init-param>
              <param-name>application</param-name>
              <param-value>ApplicationResources</param-value>
         </init-param>
    <init-param>
    <param-name>detail</param-name>
    <param-value>3</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <!-- Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Welcome File List -->
    <welcome-file-list>
    <welcome-file>abc.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
    </taglib>
    </web-app>
    if I change as you said
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    line with
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    then it's not loading the application
    pls suggest me
    my mail id is [email protected]

  • Under Snow Leopard I used a WD My World NAS to back up my Mac Pro (Mid 2010). When I upgraded to Lion I am unable to access the backup because the NAS does not yet support AFP. I have now bought a Time Capsule and want to transfer the old backup onto it.

    Under Snow Leopard I used a WD My World NAS to back up my Mac Pro (Mid 2010). When I upgraded to Lion I am unable to access the backup because the NAS does not yet support AFP. I have now bought a Time Capsule and want to transfer the old backup onto it.
    How can I recover the NAS back up to put on my new Time Machine.
    Talking to Apple Support Adviser was a waste of time on case number 239647273
    Any thoughts or pointers?

    Keep the old OS around and just kick the tires and test new OS. Apple has a history and habit of breaking support in things like this.
    You can use TimeMachine as one level of backup, and even there there were changes with Lion, I would always recommend foremost backup clones of every volume. And clone (SuperDuper etc) can be stored on something like HP NAS Media Server which also was supporting TimeMachine, iTunes - until Apple made that harder and more their own proprietary format.
    Apple AirPort Time Capsule Support
    Lion Communities
    Cloning as a Backup Strategy
    Rather than "upgrade" I would clone the system, and do a clean install, then allow Setup Assistant to import your files.
    Others who are asking the same question:
    http://www.bing.com/search?q=mac+os+x+lion+WD+My+World+NAS

Maybe you are looking for

  • Problem with SmartSound in Premire Elements 11.

    Hi, Here is the problem: PE 11 automatically installed SmartSound SonicFire Pro5 ver. 5.7.3 and when I click on <Use SmartSound> button, I have an Error message pop-up saying 'Unable to acquire Serial number for express track. Please make sure you ar

  • To know the exact timing

    hi all, 1)How can i know that in a oracle 10g table when i modified a row or deleted a row and which row i have inserted when i want to know the particular time. can it is possiable if possiable then tell me how. 2)what is the difference between rais

  • Calling Stored Function

    Hi all, Trying to call a stored function from vfp5 using odbc, not ado. I'm having issues with the correct syntax of the statement. Can I not use the standard vfp sqlexec() command? ( i.e. sqlexec( connhandle, "{call package.function()}, "returncurso

  • Output control in VOFM

    Hi All, I have written a routine in output control of VOFM to check the sales order type before generating the invoice. I am not able to find the sales order number which is generated currently before creating the invoice. I have given the Query as b

  • Disturbed display in Itunes store

    Since 2 days the display of itunes Store is completely broken/ messed up : all icons are displayed in one column, there is no more the band display of tunes and films, but only one column containing all images and texts. texts are appearing as underl