\\?\UNC\server\share - verylongpath errors out

In Windows Explorer the UNC long path construction errors out as:
Windows cannot access \\?\UNC\server\share
(Error: 0x80004005)
Background:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
To specify an extended-length path, use the "\\?\" prefix. For example, "\\?\D:\very long path".
The "\\?\" prefix can also be used with paths constructed according to the universal naming convention (UNC). To specify such a path using UNC, use the "\\?\UNC\" prefix. For example, "\\?\UNC\server\share", where
"server" is the name of the computer and "share" is the name of the shared folder.
What am I missing here? The UNC prefix never worked for me.

Hi,
It is a Windows explorer restriction (MAX_PATH). Windows explorer is different than the file system for its API. If you prefix the file name with "\\?\" and call the Unicode versions of the Windows APIs, then you can use file names up to 32K characters
in length. In other words, the \\?\ prefix is a way to enable long paths while working with the Windows file APIs. 
If you need to use the out-of-length type file in Windows explorer, your need to make the name shorter to remove a file like this from the server itself.
For more detailed information, you could refer to the Microsoft support answer in the thread below:
Increase 255 Character limitation on file servers
https://social.technet.microsoft.com/Forums/itmanagement/en-US/bad56182-5ea1-42ff-8f4d-acd0463d067e/increase-255-character-limitation-on-file-servers?forum=winserverfiles
Best Regards,
Mandy
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]

Similar Messages

  • Clusterware 10.2.0.4 on windows server 2008, runcluvfy error out

    I am installing oracle clusterware 10.2.0.4 on windows server 2008.
    I got the following error when I ran runcluvfy stage -post hwos -n node1,node2
    Path "C:\temp\" does not exist and cannot be created on nodes
    This meessage is happening after Checking node reachability and Checking user equivalence phases.
    This is my complete log:
    Performing pre-checks for cluster services setup
    Checking node reachability...
    Node reachability check passed from node "node1".
    Checking user equivalence...
    User equivalence check passed for user "administrator".
    ERROR:
    Path "c:\temp\" does not exist and cannot be created on nodes:
    node1
    Verification will proceed with nodes:
    node2
    Pre-check for cluster services setup was unsuccessful on all the nodes.
    Does anyone have a clue for this error? I have read some one's input back in 2/2009 on AIX. But the solution did not help me.
    Please help.
    Thanks to all.
    Chris Zhao

    Does this directory exist and have the correct permissions and ownership granted for the Oracle 10g RAC Clusterware?
    If not, then you need to create the directory and grant correct permissions to it. Also, have you checked to see if Windows 2008 platform has been certified and validated for Oracle 10g RAC installation?
    Cheers,
    Ben Prusinski

  • Mac OS (10.6.4) with Windows Server 2008 file shares, kernel errors

    We experience problems with the Windows enviroment and around 15 Apple computers running MacOS 10.6.4. All Macs are Mac Pro and bought just before the hexacore series.
    Problem 1: At random times the network is really slow, finder can't display the items in a SMB share. The shares are located on a Server 2008.
    Problem 2: When a file is openend, there is a lock file on the share. When the document is saved and closed, the lockfile isn't removed directly. This causes problems when people reopen the document too fast and get a read-only document because the file is allready in use.
    I tried to copy a 80GB file from a Ubuntu (created with /dev/null) to the Mac. There are no problems copying it from Ubuntu with rsync.
    Then I moved the 80GB file to the server share, these errors came up:
    Oct 19 10:45:16 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x2c78
    Oct 19 10:47:17 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x2e0d
    Oct 19 11:12:04 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x8bd2
    Oct 19 11:17:55 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x9ee2
    Oct 19 11:20:14 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0xa17a
    Oct 19 11:31:27 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x5931
    Oct 19 11:56:21 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x20f
    Oct 19 11:58:48 woerden4mac13 kernel[0]: smbfsvnopwrite: test.bin wrote pass the eof setting it to 6389084160 failed with error of 27
    Oct 19 11:59:10 woerden4mac13 kernel[0]: smbfsvnopwrite: test.bin wrote pass the eof setting it to 6917591040 failed with error of 27
    Oct 19 12:00:00 woerden4mac13 kernel[0]: smbfsvnopwrite: test.bin wrote pass the eof setting it to 8108298240 failed with error of 27
    Oct 19 12:00:36 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x56c1
    Oct 19 12:02:36 woerden4mac13 kernel[0]: smbiodsendall: Timed out waiting on the response for 0xa0 mid = 0x7872
    Oct 19 12:02:36 woerden4mac13 kernel[0]: smbfsvnopwrite: test.bin wrote pass the eof setting it to 11187425280 failed with error of 27
    Oct 19 12:03:13 woerden4mac13 kernel[0]: smbfsvnopwrite: test.bin wrote pass the eof setting it to 12091944960 failed with error of 27
    Can anyone help?
    Network:
    Windows 2003 domain controller
    Windows 2008 file server
    Gigabit network
    CS5 program's are used
    Problems arrised when Mac OS 10.6 got installed
    Previously we used 10.4 with ADMitMac

    This might relate to you as you are using a Windows 2008 Server with Mac clients.
    Apparently there seems to be an issue with SMB, since Microsoft rolled out SMB 2.0 with Windows 2008 Server. According to Microsoft, SMB 2.0 is supposed to solve world hunger and bring peace to the middle east, but in reality, it just puts up more road blocks for non-Microsoft platforms. Check out this article I found:
    http://www.petri.co.il/how-to-disable-smb-2-on-windows-vista-or-server-2008.htm
    Currently we have an issue with all 40 of our Macs not being able to save files properly to the Windows 2008 file server due to what the message claims to be a permission issue, but in reality it seems like something to do with the SMB protocol. We are investigating the issue and will see in a few days if the problem can be resolved by disabling SMB 2.0 on Windows 2008 Server.
    Let us know if this problem resolves your problem as well. You never know how many other issues can be caused by a twitchy SMB protocol.

  • How do I get connected to a server on my network via an IP address?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    Some of the following is going to use some technical terms — this area is inherently somewhat technical. 
    If you don't understand some part of the following reply, please ask.
    Is this your own OS X Server system on your own network, or is this some other server within some larger organization? 
    You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
    If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured.   This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
    If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
    The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
    http://10.20.30.40
    UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share.  That's used if you're connecting to an Apple storage service somewhere on your network.  You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server.  (There can be additional requirements for connecting to Windows Server systems, too.)
    If there's local IT staff available here, please contact them for assistance.  If these are your own local systems and your own local OS X Server system, then some information on the server will be needed.  (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.)

  • Import Package:  The UNC path should be of the form \\server\share

    Just upgraded to 7.0 MS SP4.  Imports that worked last week are failing and throwing this error:
    The UNC path should be of the form
    server\share
    Tried modifying the apps, full process, etc.  This is just a standard Data Manager Import.
    Any suggestions????

    Hi,
    What is the SQL server used? Have you upgraded your SQL server also?

  • Import Endeca View Graph Error Out ( for SSL enable Endeca Server)

    Hi All
    I have almost 6+ views in my data domain , and I am trying to Import the View definition ( as we need to Reset the data domain) , But my Import view graphs Error out with below Error
    ERROR [WatchDog_0] - Component [Prepare View Stream:PREPARE_VIEW_STREAM] finished with status ERROR.
    Message: Transform failed!
      Interpreter runtime exception in function substring on line 7 column 19
       String index out of range: -1
    ERROR [WatchDog_0] - Error details:
    org.jetel.exception.JetelRuntimeException: Component [Prepare View Stream:PREPARE_VIEW_STREAM] finished with status ERROR
    Any help to resolve this error will be  great
    thanks
    Sr

    Hi Patrick
    Thanks for update . You are right , this issue is related to Index of arry rather than SSL  . Now I have another issue and in case you have any solution do share .
    As workaround  , I just replace
    validatedSemanticEntity with semanticEntity
    and listEntitiesResponse with putEntities ,in the file generated by my Export view Graph .
    I have created  another New graph with 2 compoenets
    1.Read File - that will read my modified file
    2. Web Service Client - input to this Web Service Client is  Read file compoment (#1) and in this Web Service Client I am calling  {http://www.endeca.com/endeca-server/sconfig/3}SConfig#SConfigPort#putEntities.
    On execution graph is not throwing  any Error , but I still not able to see my views. Expectation are , one execution this graph will created custom views .
    Do I need to Reboot the Endeca Server ?.
    whole idea is to Import view definition and Export those into another domain .
    Regards
    Sr

  • Replication issues: Operations Master shows ERROR and attempting to connect to server shares gets "the target account name is incorrect"

    I think this should be easily resolved, but I need some guidance.
    I have a client with 2 Server 2003 R2 x64 DCs: BORIS & NATASHA. Last year I upgraded both of them from x86 to x64 one at a time, allowing replication to occur between the upgrades. BORIS is the FSMO roles holder as it is currently the production server,
    while NATASHA is a backup DC. One thing that puzzles me though is that if I look at the NS record in DNS on the SOA tab, it says NATASHA is the Primary server.
    While doing some routine maintenance I noticed an error in the File Replication Service events about a 'Tombstone' situation (Event ID 2042). I looked at article cc757610 in the Technet Library and opted for remedy #3 as I did not want to demote NATASHA
    and I got confused looking at the help about using "repadmin /removelingeringobjects". I have no idea how to determine which DC has the good copy of the directory.
    Now, in running "repadmin /showrepl" I get
    "DC=CPA,DC=local
        Default-First-Site-Name\BORIS via RPC
            DC object GUID: 0267a090-1890-40e2-9a15-ea928cabd425
            Last attempt @ 2012-12-27 08:28:55 failed, result -2146893022 (0x80090322):
                The target principal name is incorrect.
            1179 consecutive failure(s).        Last success @ 2012-12-21 23:30:15." <-- THIS IS WEIRD SINCE THIS IS THE DATE THAT I DISCOVERED THE TOMBSTONE EVENT AND MADE THE REGISTRY CHANGE
    (I THINK).
    When I try to look at the FSMO roles on NATASHA, it shows ERROR for RID, PDC & Infrastructure and says "The current Operations Master is offline. The role cannot be transferred." The other issue I'm having is that client PCs are intermittently having
    trouble reconnecting to necessary server shares.
    TIA
    Wayne S. CompTIA A+ CompTIA Network+ Microsoft MCP

    Hello Sandesh,
    I spent a lot of time trying to understand using NETDOM to reset machine account passwords (don't understand it yet), but I see that you're saying that won't work anyway.
    I'm not really sure how to tell which DC is the broken one, but I'm assuming it's BORIS since that's the one users are unable to connect to. Since it is the FSMO role holder and GC I want to make sure I understand the steps correctly:
    1.Use dcpromo to forcefully demote BORIS
    2.Do metadata cleanup on NATASHA (using ntdsutil?)
    3.Promote BORIS again to DC
    Should I leave NATASHA as the FSMO role holder and GC? BORIS is the better (more resources/faster processor) machine and it's the file server. Or should the better machine be the FSMO role holder and GC as well as the file server. NATASHA is meant to be
    a backup in case BORIS dies.
    Thanks,
    Wayne S. CompTIA A+ CompTIA Network+ Microsoft MCP www.InfoTek831.com
    Hi,
    The step you are performing is correct but you also need to seize the FSMO role on other DC if BORIS is FSMO role holder and configure authorative time server role.You can later move the famo role to  BORIS server the choice is your however if you are
    moveing the role then you need configure authorative time server on BORIS server.
    Configuring the time service on the PDC Emulator FSMO role holder
    http://msmvps.com/blogs/acefekay/archive/2009/09/18/configuring-the-windows-time-service-for-windows-server.aspx
    Domain Replication has exceeded the tombstone lifetime
    http://pmeijden.wordpress.com/2011/01/12/domain-replication-has-exceeded-the-tombstone-lifetime/
    Forcefull removal of DC:
    http://support.microsoft.com/kb/332199
    How to transfer or seize FSMO roles
    http://sandeshdubey.wordpress.com/2011/10/07/how-to-transfer-or-seize-fsmo-roles/
    Metadata Cleanup of a Domain controller
    http://sandeshdubey.wordpress.com/2011/10/12/metadata-cleanup-of-a-domain-controller/
    Once both server is online check the health of DC by running dcdiag /q and repadmin /replsum.Ensure that DNS/GC role is configured on both DC's
    Hope this helps
    Best Regards,
    Sandesh Dubey.
    MCSE|MCSA:Messaging|MCTS|MCITP:Enterprise Adminitrator |
    My Blog
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • SLD server exception: IO error: Read timed out

    Hi,
    I have deployed the components for NWDI and after that when i am creating the Domain,I am doing update CMS data for creating a Track. I am getting the following error:
    SLD server exception: IO error: Read timed out
    Can any one help on this.
    Thanks
    Ravi.S

    Hi,
    My SLD is a PI 7.0 system and my NWDI is configured on a standalone Java system.
    I have done the SLDDataSupplier check, and it connects fine to the SLD.
    Also on my http://<hostname>:<port>/devinf/main in the NWDI system, the SLD link points to the right SLD and im able to connect.
    Still at the CMS update stage it gives the error -
    SLD (URL http://<hostname>:<port>/) server exception: IO error: Read timed out

  • Remove-FASTSearchMetadataManagedProperty errors out with config server

    Hi,
    I have a problem when I execute the command: Remove-FASTSearchMetadataManagedProperty, it errors out with:
    Remove-FASTSearchMetadataManagedProperty : Error when communicating with the config server 'The remote server returned
    an error: (503) Server Unavailable.'.
    At line:1 char:41
    + Remove-FASTSearchMetadataManagedProperty <<<<  -Name TestMP -Force
        + CategoryInfo          : OperationStopped: (:) [Remove-FASTSearchMetadataManagedProperty], AdminException
        + FullyQualifiedErrorId : e552: Error when communicating with the config server 'The remote server returned an err
       or: (503) Server Unavailable.'.,Microsoft.SharePoint.Search.Extended.Administration.Commandlets.Schema.RemoveMetad
      ataManagedPropertyCommand
    but Get-FASTSearchContentCollection works just fine.  If I reboot the server, the Remove-FASTSearchMetadataManagedProperty works ok again.  I have SP1 and the Decemeber CU installed.  Has anyone seen this?
    Thanks in advance,
    Frank Chin

    I'm also getting this. Not sure what to do.. Did you manage to overcome this without re-booting?
    Much Thanks!!
    Freddie Maize ..A story with Glory is History. Doesn’t matter whether Glory rest in the world of Demon or God. Lets create History..

  • Unexpected error during HTTP request to voucher server The operation timed out

    I read books from my library through a system called READS. I have successfully used DE 1.0 without any problems, however, when I tried to use it recently it required me to upgrade to 1.5. Well I did so and now the books won't authorize. Here is the error message I am getting:
    Adobe DRM Error System: 5 State: 4 Class: 600 Code: 106 Message: Error on request or response from server. Please check your network connection and try again. Scroll below or view error.log for more details.
    Adobe DRM client Error: 706 Unexpected error during HTTP request to voucher server The operation timed out
    Requested URL: http://207.54.136.76/fulfill/ebx.etd?action=lend&orderid=939605378082105&bookid=ContentRe serveID:B91CC494-23AF-4C6A-9B0C-7DA050C05722-50
    Requested URL: http://207.54.136.76/fulfill/ebx.etd ?action=lend &orderid=939605378082105 &bookid=ContentReserveID:B91CC494-23AF-4C6A-9B0C-7DA050C05722-50
    --- end ---
    I have tried this multiple times with more than one book. Again, they worked just fine before I did the upgrade. I am running Vista SP1.

    Never mind, they obviously post the message on the ticket, but it doesn't send an e-mail. I will try what they indicated. Here is their response...
    Thank you for contacting Adobe Technical Support.
    I understand that you are getting "Adobe DRM Error" in Digital Editions.
    We have documented the steps to resolve this error message. Please do
    refer to this TechNote:
    Error: "Adobe DRM Error" when you activate Digital Editions or access an
    eBook
    http://www.adobe.com/go/kb402747

  • OS X Server Error: No existing connection from which credentials can be copied. It will not let me get out of the screen.  I have to close the Server App to get out. Any suggestions?

    Editing any user profile, when I try to save the change I get the error: no existing connection from which credentials can be copied. It will not let me get out of the screen.  I have to close the Server App to get out. Any suggestions?

    This is also being disucssed somewhere else https://discussions.apple.com/thread/5486117. I have the same problem, sorry i can't help.

  • Access unc windows shares like \\server\share\

    I can mount windows shares both manually and from fstab.
    My question is. Is it possible to access windows shares without explicit mounting, simply with unc like \\server\share ?
    I need it because i host a web application and it need to serve many files on many windows servers with many different shares. Mounting all of them, and the future ones manually is a maintenance nightmare.

    You can do it using fusesmb, too:
    http://gentoo-wiki.com/HOWTO_Samba_support_in_Thunar

  • The server returned the error: The connection to the server on port 143 timed out.

    Hello,
    I recently got a MacBook Pro which cam ewith Mavericks. I have entered the email addresses I use the most, they are a combination of Gmail and personal ones that are set up with two different hosting companies. After a random amount of time which may be 5 minutes after opening Mail up to 8 or 9 hours the mailboxes start giving the error 'The server returned the error: The connection to the server xxxx.xxxx on port 143 timed out.' where xxxx.xxxx is the IMAP incoming mail server, the port is 993 for the Gmail accounts. Once it happens for one the others soon follow. The same accounts on my Mac Pro still work correctly at the same time. Anyone have any ideas?
    Edit: I have run the Connection Doctor and while it can connect to each of the SMTP servers it cannot connect to any of the IMAP ones.  A restart of Mail will cure this temporarily.

    Mobileme has moved to moved iCloud:
    http://www.apple.com/icloud/setup/
    Note, if you have Mac OS X 10.6.8 or earlier, read this tip before updating to 10.7:
    https://discussions.apple.com/docs/DOC-6271
    And this tip about changes to iCloud from Mobileme:
    https://discussions.apple.com/docs/DOC-2551

  • DP content source location not written to database - Invalid path \\server\share format needed - 80070002

    Hi All, i just wanted to ask if anyone else had experienced this issue yet?
    We have ~200 Pull DP's and for some time have been having issues with OSD Task Sequences randomly failing with the error 80070002.
    More specifically:
    Invalid path. \\server\share format needed
    Failed to find an available source location
    Our Task sequence is configured to access content directly from the DP.  We checked the PackageShare$ and validation state and both were fine.  Next we inspected WMI (root\sccmdp:SMS_PackagesInContLib) and this was fine as well.  Until today,
    we had been redistributing the failing package to remediate, but this is very time consuming with some of the large WIMs and Driver Packages, especially over some very slow WAN links.
    Today I decided to explore this a little further by examining the Database..This led me to the table ContentDPMap and the two columns in particular 'URL' and 'URLSubPath'.
    I noticed that the packages we were having issues with had a URL of the ServerName in UNC format, and a URLSubPath of just '\'.  Other packages had a fully qualified UNC path to the package for URL and a full sub path for URLSubPath.
    When we queried the DB further, we revealed 1190 packages to be in this state (for packages supposed to be in the share) out of a total of 42,000 records.
    The query we used for this was:
    select ContentID,ServerName,AccessType,URL,URLSubPath,URLProtocol,vpkg.Name from ContentDPMap as cdpm
    join v_Package as vpkg on vpkg.PackageID = cdpm.ContentID
    where cdpm.AccessType = 2 --UNCProtocol
    and cdpm.URLSubPath not like '%SMS%' --Packages with issues only have a '\'
    and vpkg.PkgFlags = (vpkg.PkgFlags | 0x80) --Limit to only show packages with the 'Copy To Package Share' flag set
    Also of note, when a package is marked with a State = 2 the values for URL/URLSubPath are NULL. (State =2 is In Progress).
    So my question:
    Firstly, has anyone else encountered this?
    Secondly - how should I fix it - we tested in our DEV and found that updating the entries remediates the issue with Clients not being able to locate content, but realise this is is an unsupported method.
    I will also log this on Connect as it appears to me to be a Bug.
    Cheers,
    David

    Our Task sequence is configured to access content directly from the DP.  We checked the PackageShare$ and validation state and both were fine.  Next we inspected WMI (root\sccmdp:SMS_PackagesInContLib) and this was fine as well.  Until today,
    we had been redistributing the failing package to remediate, but this is very time consuming with some of the large WIMs and Driver Packages, especially over some very slow WAN links.
    Hi,
    So redistributing the failed package could resolve this issue?
    How about using prestaged content to distribute these large contents?
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Connection to [i]server[/i] failed (Error NT_STATUS_IO_TIMEOUT)

    Hi there,
    I'm a long time linux user (casual) and have recently got hold of a machine that I am using as a server. I am able to SSH into this fine from my laptop and I am doing all the setup from ssh.
    I am trying to set it up so I can use Samba, however keep getting the following error
    # smbclient -L [i]server[/i] -U%
    Connection to [i]server[/i] failed (Error NT_STATUS_IO_TIMEOUT)
    I thought I had followed the samba set up wiki to the letter
    My smb.conf looks like so
    [global]
    usershare path = /var/lib/samba/usershare
    usershare max shares = 100
    usershare allow guests = yes
    usershare owner only = false
    # workgroup = NT-Domain-Name or Workgroup-Name
    workgroup = MYGROUP
    # server string is the equivalent of the NT Description field
    server string = Samba Server
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # if you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    printcap name = /etc/printcap
    load printers = yes
    # It should not be necessary to spell out the print system type unless
    # yours is non-standard. Currently supported print systems include:
    # bsd, sysv, plp, lprng, aix, hpux, qnx
    ; printing = bsd
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Security mode. Most people will want user level security. See
    # security_level.txt for details.
    security = user
    # Use password server option only with security = server
    ; password server = <NT-Server-Name>
    # Password Level allows matching of _n_ characters of the password for
    # all combinations of upper and lower case.
    ; username level = 8
    # You may wish to use password encryption. Please read
    # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
    # Do not enable this option unless you have read those documents
    ; encrypt passwords = yes
    ; smb passwd file = /etc/samba/smbpasswd
    # The following are needed to allow password changing from Windows to
    # update the Linux sytsem password also.
    # NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
    # NOTE2: You do NOT need these to allow workstations to change only
    # the encrypted SMB passwords. They allow the Unix password
    # to be kept in sync with the SMB password.
    ; unix password sync = Yes
    ; passwd program = /usr/bin/passwd %u
    ; passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *pass$
    # Unix users can map to different SMB User names
    ; username map = /etc/samba/smbusers
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Configure remote browse list synchronisation here
    # request announcement to, or browse list sync from:
    # a specific host or from / to a whole subnet (see below)
    ; remote browse sync = 192.168.3.25 192.168.5.255
    # Cause this host to announce itself to local subnets here
    ; remote announce = 192.168.1.255 192.168.2.44
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Use only if you have an NT server on your network that has been
    # configured at install time to be a primary domain controller.
    ; domain controller = <NT-Domain-Controller-SMBName>
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # All NetBIOS names must be resolved to IP Addresses
    # 'Name Resolve Order' allows the named resolution mechanism to be specified
    # the default order is "host lmhosts wins bcast". "host" means use the unix
    # system gethostbyname() function call that will use either /etc/hosts OR
    # DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
    # and the /etc/resolv.conf file. "host" therefore is system configuration
    # dependant. This parameter is most often of use to prevent DNS lookups
    # in order to resolve NetBIOS names to IP Addresses. Use with care!
    # The example below excludes use of name resolution for machines that are NOT
    # on the local network segment
    # - OR - are not deliberately to be known via lmhosts or via WINS.
    ; name resolve order = wins lmhosts bcast
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The built-in default for versions 1.9.17 is yes,
    # this has been changed in version 1.9.18 to no.
    dns proxy = no
    # Case Preservation can be handy - system default is _no_
    # NOTE: These can be set on a per share basis
    ; preserve case = no
    ; short preserve case = no
    # Default case is normally upper case for all DOS files
    ; default case = lower
    # Be very careful with case sensitivity - it can break things!
    ; case sensitive = no
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = yes
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /home/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /home/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    # Set public = yes to allow user 'guest account' to print
    guest ok = no
    writable = no
    printable = yes
    [i]<everything else is commented out>[/i]
    I have no windows machines so it's only my laptop and desktop both running linux that I need to connect to this. I have tried googling and searching these forums to no avail
    Thanks for any help that can be offered
    Mike

    If I run the following (on the machine I'm trying to set up the share)
    smbclient -L localhost -U%
    I got the following output
    Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
    so I thought it might be something incorrect with the iptables side of things, however I haven't really touched that at all and it seems to look correct
    iptables -nvL
    Chain INPUT (policy ACCEPT 667 packets, 79977 bytes)
    pkts bytes target prot opt in out source destination
    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target prot opt in out source destination
    Chain OUTPUT (policy ACCEPT 157 packets, 20724 bytes)
    pkts bytes target prot opt in out source destination
    So from my (very little) knowledge this appears correct (I think)... However it appears that something is blocking access somewhere.

Maybe you are looking for