SMB Protocol disconnect (deadtime) setting

We are implementing an Xserve G5 as a NAS, and Apple has confirmed that using the SMB protocol (which we must use due to connections from Windows clients) has a default setting to disconnect after a certain time of inactivity.
I was told to modify the /etc/smb.conf file to include the setting:
deadtime = 0
After doing this and restarting the server, we are noticing clients are still getting disconnected after being idle. I am certain other people have needed to do this, so wondering if anyone has any experience setting this up properly? Thank you,

Haha,
I figured it out, although I don't pretend to know exactly why it works.
Here is what I did.
Instead of "smb://servername/share", I put in "smb://servername.mycompany.com/share".
On the WinXP computer, typing in "\\servername.mycompany.com\share" also worked.
I'm thinking it has something to do with DNS, but I'm not sure exactly. I'm just glad that it worked. I got the idea from this link here. http://hints.macworld.com/article.php?story=20080307092123215
Thanks all,
Ck

Similar Messages

  • Error to Connect Oracle Files from Mac Os10  using smb protocol .

    I connect my MacOs10 to oracle Workspaces using smb protocol but when I try to copy a file into a folder the system show me "error -36".
    From the finder I type "apple -k" and then I write "smb://nomeserver". The system show me "User name" and "Password" and after the authentication I see "MyHome" resource on my desktop.
    I navigate into MyWorkspaces folders and than I copy a file from a local directory. After a few second the system show me "error -36" and the file is not transferred from local to server.
    Any idea?
    Thanks

    In OCS10g SMB protocol not supported, use FTP or WebDav.

  • Smb protocol problem after upgrading to IOS 8

    Hi,
    I use SMB protocol to connect to Windows share folders in our company.
    Using IOS 7 on the iPad was working great until i upgrade one iPad to IOS 8.
    I can't connect using SMB protocol on the iPad with IOS 8. With an iPad with IOS 7 still works great.
    The settings are the same. I tested Goodreader v3 and v4 and FileExplorer program on the iPad with IOS 8 and on the iPad with IOS 7.
    The problem is only on the iPad with IOS 8. It does not matter which program I use. All are not working.
    On the iPad with IOS 7 all the programs works just fine.
    It seems that after upgrading to IOS 8, I have problem connecting to the share folders in Goodreader v3, v4 and in FileExplorer.
    It seems the problem is not on the settings of the server, account etc, also not program related but with the IOS 8.
    Does someone have this problem or now how to fix this?

    Hi all,
    I have run some more test and the problem is not with the SMB protocol but to connect to a DFS server.
    One share name like company.local and behind this we have some servers.
    The problem is with the DFS name (routing) When I connect directly to one server share location, it works fine.

  • Unable to connect to the server with smb protocol

    I have recently upgraded to Lion. On Snow Leopard I was able to access my work server using SMB protocol. Since the upgrade I am not able to do that and not able to login to my personal folder located on the network server.
    Any help is much appreciated
    Thanks

    Hi Sir,
    >>The week before it work perfectly and we have had nothing changed since then except for the fact that we have changed the RD web access public IP to the same as the RD Gateway's
    Is it possible to change the public IP back for troubleshooting ?
    Beset Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • SMB Protocol Broadcast

    Hi,
    Does SMB protocol in linux really broadcasts more? because recently in my network there was a broadcasting probz occured, i was suspecting that looping would hav formed juz bcoz HSRP is running between 6509 & 3750, after trouble shooting, i juz disabled the SMB services in linux machinez. the network was perfect.

    When SMB moved to NetBIOS (and thus TCP/IP), finding remote resources became a bigger problem. Machines needed a new way to locate each other, besides sending broadcast packets?this was the only way to successfully handle spanning across multiple subnets.

  • A4 BAD Protocol Error: "Specified set of flags is not valid"

    Hi there
    I try to implement a copying procedure for mails. The application should copy all messages (with flags and all that stuff) from one mail account to another one. As mail server are used an Exchange 2003 Server and a Zimbra server (version 5). The connection protocol is IMAP. I'm using javaMail 1.4.0
    Anyway, if I'm trying to copy a message which has set the flags RECENT and SEEN as well as some user flags, I get this error message:
    javax.mail.MessagingException: A4 BAD Protocol Error: "Specified set of flags is not valid".;
      nested exception is:
         com.sun.mail.iap.BadCommandException: A4 BAD Protocol Error: "Specified set of flags is not valid".
         at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2337)
         at com.sun.mail.imap.IMAPFolder.appendMessages(IMAPFolder.java:1289)
         at org.zimbra.exchange.MyTestClass.main(MyTestClass.java:323)
    Caused by: com.sun.mail.iap.BadCommandException: A4 BAD Protocol Error: "Specified set of flags is not valid".
         at com.sun.mail.iap.Protocol.handleResult(Protocol.java:296)
         at com.sun.mail.imap.protocol.IMAPProtocol.appenduid(IMAPProtocol.java:881)
         at com.sun.mail.imap.protocol.IMAPProtocol.append(IMAPProtocol.java:835)
         at com.sun.mail.imap.IMAPFolder$10.doCommand(IMAPFolder.java:1292)
         at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2387)
         at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
         ... 2 moreThis is a shortened source code which I'm using. In principle it is based on the sample files given in the documentation:
    eStore = eSession.getStore();
    eStore.connect(user, password);
    zStore = zSession.getStore();
    zStore.connect(userZimbra, passwordZimbra);
    IMAPFolder fe = (IMAPFolder) eStore.getDefaultFolder().getFolder("inbox");
    IMAPFolder f = (IMAPFolder) zStore.getDefaultFolder().getFolder("inbox");
    f.open(Folder.READ_ONLY);
    Message[] msgs = f.getMessages();
    fe.appendMessages(msgs);Can someone help me and describe what I'm doing wrong??
    thanks

    Could You make an example?
    I tried to subclass the class 'IMAPMessage' (messages which are returned with folder.getMessage() are of that type) and cast the messages to my new class. Unfortunately, I get always a 'ClassCastException'.
    This are parts of my code:
    public class MyIMAPMessage extends IMAPMessage {
         protected MyIMAPMessage(IMAPFolder folder, int msgnum, int seqnum) {
              super(folder, msgnum, seqnum);
              // TODO Auto-generated constructor stub
         public Flags getFlags() {
              Flags flags = new Flags();
              for (int i=0; i<flags.getSystemFlags().length; i++)
                   flags.add(flags.getSystemFlags());
              return(flags);
    f.open(Folder.READ_ONLY);
    Message[] msgs = f.getMessages();
    System.out.println(((MyIMAPMessage)msgs[0]).getFlags());
    I think I do not exactly get your point. Maybe You could explain it a little more in detail.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • [svn:bz-trunk] 19782: Add Remoting test application and endpoints for testing login-after-disconnect channel setting .

    Revision: 19782
    Revision: 19782
    Author:   [email protected]
    Date:     2011-01-17 11:21:11 -0800 (Mon, 17 Jan 2011)
    Log Message:
    Add Remoting test application and endpoints for testing login-after-disconnect channel setting.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/remoting-config.mods.xml
        blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/services-config.mods.xml
    Added Paths:
        blazeds/trunk/qa/apps/qa-manual/remoting/
        blazeds/trunk/qa/apps/qa-manual/remoting/RemotingApp.mxml

    I appreciate Adobe teams efforts to reproduce the issue and acknowledged it as a  Bug in AIR
    But now I am waiting on them to come back with an answer -  Is it going to be fixed in future versions? Is there a work around?
    Is adobe even considering this as an Issue? What are the next steps after acknowleding the issue?
    I hope I am not too aggressive but I also want Adobe to understand the urgency of the situation when it comes to a product release.
    I have experimented with couple of work arounds but none seem to work.
    If anyone has come across this issue please comment.
    Thanks,

  • Which is the better one, between AFP and SMB protocol for files' transporti

    Hi,
    I'm a newbie here and I have a question for MAC AFP protocol.
    For files' transporting, MAC os has AFP protocol, and it also supports SMB protocol. Is there any difference between these two protocols?
    Is the AFP protocol better than the SMB protocol , for files' transporting between two MACs, MACs and Windows,or two Windows?

    AFP is preferred for Mac -> Mac transfers. It's the native Mac protocol and easiest to maintain.
    Windows systems typically don't understand AFP so it's not an option for them. For Windows transfers you should use SMB.
    The Mac can talk SMB, too, so if you had to choose only one, and you have Windows clients on your network, then SMB would be the way to go.
    You are not limited to running just one, though. It's perfectly valid to have the server talk both AFP and SMB at the same time, letting each client use the protocol it prefers.

  • SMB protocol

    who knows if the SMB protocol will be supported in the future release of CMSDK (after 9.0.4.2.0) ?
    Gérard

    It is supported in 90422 (personal experience), and in talking to support and sales people from Oracle it is part of OCS. I think as long as you have a UNIX version of the software they will have to support it. Otherwise, how would Windows clients talk to the software.

  • Finder is UNSTABLE - especially when SMB shares disconnect

    Hello Everyone,
    Yosemite is the bane of my existence - it is SO unstable especially Finder.
    The main problem I have is that if a SMB disconnect (i.e. I reboot the Windows machine) there is a greater than 50% chance that Finder will hang. Finder seems to be trying to reconnect to the share - unfortunately this causes OSX to bog down significantly and act very strange. I can't even terminate Finder!
    Anyone else having this issue? It seems Finder has a lot of trouble handling disconnect scenarios.
    Thanks.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your documents or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this behavior; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Please take this step regardless of the results of Step 1.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of Steps 1 and 2.

  • SMB Protocol Version on Zfs

    Hi,
    It's seens that smb shares created with zfs share command are using smb 1.0; after some wireshark on Windows Machines, the protocol used is smb not smb2.
    On previous versions, I could set this on /etc/samba/smb.conf (max protocol = SMB2). "- The Oracle Solaris 11 OS introduces a new method for sharing and managing SMB and NFS shares. The zfs command has been enhanced to manage shares and share properties on Solaris ZFS file systems. The zfs command now supports SMB and NFS sharing by means of the share, sharesmb, and sharenfs properties"
    Is there a way to force zfs smb shares to exported on smb2?
    Regards
    M

    cindys wrote:
    My very limited view is that if you create an SMB share of a Solaris ZFS file system, then the share should be available on Windows system running SMB or SM2. SMB and SM2 should interoperate, like different versions of NFS do. What is the actually problem?
    Thanks, CindyHi Cindy,
    I am able to connect to the shares.
    Windows Client can mount the share and after some time:
    Exception message: Failed to start monitoring changes to '\\sol11-zfs-01\mypool-fs0001\076\home' because the network BIOS command limit has been reached.
    I've created a linux box with smb2 and this error won't occour (samething happens on smb1-linux). I am not sure which feature exactly fixes this error.
    Using a cmdlet on win2012,
    PS C:\Windows\system32> Get-SmbConnection
    ServerName ShareName UserName Credential Dialect NumOpens
    10.133.24.23 pool server\user server\uh-user 1.50 2
    Dialect is 1.5.

  • How do I fix a broken SMB protocol so my Sonos sytem works again?

    Hi,
    I'm new to this, so bear with me.
    I have been running a Sonos Play 3 since June 2013 without any problems. Two days ago I got a messsage on the Sonos Controller software saying;
    "Unable to play ‘song name’ - cannot connect to //'my mac'/Music because the server cannot be found"
    So I put in a ticket with Sonos Support and they've told me the following;
    "The bug is not with Sonos, we see this problem a lot with Macs because SMB is broken. Sonos is able to play your music on your computer because your computer has to share the folder on the network. It does this with with a protocol called SMB.
    If you don't want to upgrade I recommend you purchase a NAS(network attached storage) drive and move your music to it and share the NAS drive to Sonos."
    I don't really want to run Mavericks because I'm used to Lion.
    So my question is this - how to a fix a broken SMB? Can a borken SMB be fixed?
    Any help would be greatly appreciated.

    If you have Apple Care or your computer is still under warranty, call and get a case number.  At least you will not have to pay for the repair if the crack is not "accidental" damage.
    Do-It-Yourself Laptop Repair
    Research YouTube's 'How To' video tutorials
    FixYa

  • Printing on windows xp network - smb protocol

    keep getting error code 9786. printer is a mac friendly Canon Imageclass MF4150
    using the below instructions not cutting it: any ideas???
    Mac OS X v10.5 or later
    Choose System Preferences from the Apple menu.
    Choose Print & Fax from the View menu.
    Click the + button to add a printer.
    Press the Control key while clicking the "Default" icon (or any other icon on the toolbar), then choose Customize Toolbar from the contextual menu that appears.
    Drag the Advanced (gear) icon to the toolbar.
    Click Done.
    Click the Advanced icon that was added to the toolbar.
    Choose Windows from the Type pop-up menu.
    In the URL field, type the printer's address in one of the following formats:
    smb://workgroup/server/sharename
    smb://server/sharename
    Note: "workgroup" is the name of the Windows workgroup that the computer sharing the printer belongs to. "server" is the name of the computer sharing the printer (or its IP address). "sharename" is the shared Windows printer's share name. If the share name contains spaces, replace each space with "%20" (without quotation marks).
    Tip: You don't need a "workgroup" when specifying the IP address of the computer (such as when the printer is on a different subnet), or if your Mac belongs to the same Windows (SMB) workgroup.
    In the Name field, type the name you would like to use for this printer in Mac OS X.
    Choose the appropriate PPD or printer driver from the "Print Using" pop-up menu.
    Click Add.

    Changing to Windows 7 won't help the matter. The limitation is with the UFRII driver on the Mac. It requires a direct connection to the printer so with it shared by a Windows computer it is unable to communicate correctly which results in the error you were getting.
    And the driver is also not compatible with a print server - even the USB port of a Apple Airport device which normally allows other Canon printers to use the Canon driver is not a solution with this UFRII driver.
    So without the workaround I don't believe you will be able to print while you have this device connected to Windows. This was the case with OS X 10.4 and is still the case with 10.6. The fault lies totally with Canon and the way they have made this UFRII driver. If the printer supported some other printer language, such as PCL or Postscript, then you would have some options. But with it only supporting the proprietary Canon UFRII language, you are restricted with how you can connect to any Canon printer that only supports this UFRII printer language.
    If you want to have the Windows and Mac connected at the same time to the MF4150 then your options are;
    1. Connect the printer to Windows and use the iHarder workaround (which as you mention is detailed but I have tried it and it works fine)
    2. Connect the printer to the Mac and use Bonjour for Windows on the PC. This can be annoying if the Mac is a laptop but it all depends on how often you are going to print from Windows.
    3. If the Mac and PC are not very far from each other you could use a USB hub.
    4. If the Mac is a laptop, physically connect it to the USB port of the MF when you need to print.

  • Sync prob of updatin info from WDM to smb.conf using smb protocol

    Hi,
    I would appreciate if somebody could help me as i'm trying hard to solve my server's problem but could not find any solutions. My Mac OSX Server is running as a Dual 2.3GHZ PowerPC G5 and the current version is 10.4.11. When i tried to create a new sharepoint volume which is located at the XServe Raid or editing the permissions of the existing sharepoint volume, it was not able to update the smb.conf and i was not able to view the volumes using 'smb' command. I'm not sure if this lies with the synchronization problem between the workgroup manager and smb.conf file. From the Server Admin under the Window service, there's an error message displayed as follow:
    /SourceCache/samba/samba-100.12/samba/source/smbd/service.c:make_connection(805)
    Is there any way where i could fix the files as I have no idea of where the files reside in the system?
    Thank you!
    Cheers,
    Stephanie

    Don't know what your issue has to do with 'Using Mac OS X Tiger'. That is the forum you've posted in but I see you are running 10.5 Leopard. Perhaps posting in the 'Mac OS X Server' forum would help.
    http://discussions.apple.com/category.jspa?categoryID=96

  • Are there any compatibility issues with Mavericks and EMC Celerra File shares, particularly with the SMB protocols?

    Our company uses a EMC Celerra file share, but most of our users are Windows based. We have a small production department of 7 macs. Starting with Snow Leopard, we noticed some issues with SMB. We were able to resolve those issues, but had to wait to upgrade to Lion because there were additional SMB or permissions concerns with the Celerra file share and Lion. Now, we are again waiting to upgrade to Mavricks because of the way it handles user permissions. Does anyone using Mavericks now also connect to a EMC Celerra file share? Thanks! 

    Our company uses a EMC Celerra file share, but most of our users are Windows based. We have a small production department of 7 macs. Starting with Snow Leopard, we noticed some issues with SMB. We were able to resolve those issues, but had to wait to upgrade to Lion because there were additional SMB or permissions concerns with the Celerra file share and Lion. Now, we are again waiting to upgrade to Mavricks because of the way it handles user permissions. Does anyone using Mavericks now also connect to a EMC Celerra file share? Thanks! 

Maybe you are looking for

  • How to delete a row in table control(accepts only input)?

    Hi All, I have an empty table control which is only use for data input(this data will then be use to store information to a custom table). I have two buttons, Create Entry and Delete Entry. In my screenPainter for the table control, I have the checkb

  • Safari 4.0.3 not displaying text correctly

    Hi all, I recently upgraded to Snow Leopard (along with everyone else) and ever since certain code will NOT display correctly. This is what is displayed by safari when viewing text from a "code" tag. http://i32.tinypic.com/15qyt5i.png This is what is

  • Playing clips continuously

    I just dragged a bunch of clips into my video and when I start at the beginning to play all the clips together, it doesn't work. It plays each clip and then stops? How do Imake them play altogether? I don't want transitions in them. Any help would be

  • Field not validated from ABAP dictionary

    HI , I have created ALV using OOP. . I implemented  F4 functionality on the field AUFNR on output . for validation on AUFNR i passed ref field(aufnr) and ref tab(aufk) in field catalog but still it is not validating . field catalog : i_fieldcat_line-

  • Can't reset password email

    Hi Excuce me Please help me for rest password email for my iPhone 4S Email is xxxxxxxxxxx I forget passwords and security questions. please help me Thank You sir Abdulmohsen Alsabaey K.S.A _ Riyadh <Edited By Host>