10.6.3 SMB sharing with Windows 7

Discussion in 'Mac OS X Server, Xserve, and Networking' started by blakekl, Apr 23, 2012.

  1. blakekl, Apr 23, 2012
    Last edited: Apr 24, 2012

    blakekl macrumors newbie

    Joined:
    Apr 9, 2012
    #1
    I had a network with 2 laptops running Windows 7 and my IMac running SMB sharing across the network. This was working okay, but the network speeds were slow (1Mbps). I changed my router settings to 802.11g only, and the network speed has improved (10Mbps), but now the PCs can no longer access the IMac share folders. The IMac appears in the windows explorer, but whenever I try to connect to it, I am presented with an error that: "You might not have permission to use this network resource" or "The network name/path cannot be found."

    The only setting I changed was the 802.11g from gb mix. Anybody have any ideas of how to get this working again?

    ************* UPDATE ***************

    I was looking at the samba logs in console and found some, perhaps interesting, log entries.

    log.nmdb

    *****

    Samba name server BLAKESIMAC is now a local master browser for WORKGROUP on subnet 192.168.15.100

    *****
    [2012/04/24 08:19:30, 0, pid=696] /SourceCache/samba/samba-235.7/samba/source/nmdb_packets.c:precss_lanman_packet(1170)
    process_lanman_packet: On subnet 192.168.15.100 ignoring browse packet command code 16898 from BlakesLaptop<01> IP 192.168.15.102 to WORKGROUP<00>


    log.smdb

    [2012/04/24 08:19:51, 0, pid=1136]/SourceCache/samba/samba-235.7/samba/source/passdb/pdb_odsam.c:eek:dssam_getsampwnam(1576)
    opendirectory_sam_searchname gave -14136 [eDSRecordNotFound]: no dsRecTypeStandard:Users record for account 'Blake'


    The one in log.smdb is repeated several times, probably during the time I was trying to access the share folder from my laptop running W7.
     
  2. blakekl thread starter macrumors newbie

    Joined:
    Apr 9, 2012
    #2
    smb.conf file

    The problem was an error in the smb.conf file. I must have changed it once trying to improve the transfer speeds before changing the network to G-only, but the samba service was never restarted. When I changed the network, it restarted the service and caused the problem. Finally got it working.

    For anyone else, I suggest making a backup of your smb.conf file before making any changes.
     

Share This Page