SMB and NETBIOS

Hi!
Sorry in advance if this is not the right Group for my topic, but since it's related to connecting a Mac to a PC over a enterprise type network, I thought the Windows Compatibility group would be appropriate.
Please let me know if not for the future.
We are trying to connect a number of our Mac users to WinXPSP2 based PC's via SMB. We have shared a folder on the PC's for the Mac users to connect to and share files to and from, but when we attempt to connect the Mac's to the PC's via the PC's NETBIOS name (smb://yadayadayada), the only Mac's that can connect are the ones on the same subnet. Mac's on different subnets have to connect via the PC's computer name or it's IP address.
Does anyone know why that is?
Thanks a bunch!
M

This is correct behavior.
When a computer browses the network for other machines, it will only be able to browse its local network. It is sending a broadcast message to everything it can see and asking for responses. Computers, servers and printers on the other side of a router are not seen because the routers will not pass the broadcast messages sent by the searching computer. If they did pass the broadcasts then the network could become saturated with traffic and slow down.
DNS or WINS is the service you're looking to use. Your Mac must be configured to use a DNS or WINS server and the computers you're trying to reach must have their names and IP addresses registered with a DNS or WINS server.
WINS (configured in the Directory Access utility in /Applications/Utilities) in a Windows world can give you the perception that you're seeing every computer on the network when browsing but you're really just querying the WINS server and it's returning a list of known computers.
If your company runs a directory service, such as Active Directory or Open Directory, then this can be used for browsing along with DNS.
Hope this helps! bill
1 GHz Powerbook G4   Mac OS X (10.4.9)  

Similar Messages

  • SMB and EPS Files (all files have .eps extensions)

    HI All,
    We've turned off Appleshare on our Microsoft SBS Server and have all our mac clients connecting via SMB - previews of folders within apps is now much much faster and we can now have longer file names.
    However, all of our eps images are screwed. They all have file extensions but Illustrator cannot import them or re-link them. If we open them in Photoshop and re-save them, then Illustrator can link to them.
    But we have thousands of eps images and using a batch process action is painful as Photoshop can't determine the difference between a vector eps and a photoshop eps before it opens them (as far as we can tell) - so we have to manually choose which eps files to open.
    It would be easier and safer if we could just fix whatever is wrong with the server - does anyone have any suggestions?
    Any help would be much appreciated.
    Cheers

    "It would be easier and safer if we could just fix whatever is wrong with the server - does anyone have any suggestions?"
    Um, turn Appleshare back on.
    No, seriously, though, it's this Microsoft "Services For Macintosh" (aka Appleshare) feature that allows your Macs to connect to the server and "see" the files on it properly. Let's take an .eps file as an example. On the Mac, the single file contains a resource fork-based preview icon, the data fork holding the EPS data, a file type of 'EPSF' (EPS file), and a creator code of 'ART5' (Adobe Illustrator). Ordinarily, a PC-formatted disk only has room for, and understands, the data fork information and the filename; the rest would be lost if it wasn't dealt with in some way. The way Microsoft's "Services For Macintosh" deals with it then, is that, when a Mac writes a file to the server over the network, what would be a single Mac file, is split up into 4 separate NTFS "streams". One stream is the main one, which contains the data fork information and filename. The other three hold the small amount of special "Mac" information.
    Now, if you have the server up and running as SMB, and the Mac connects to the server as SMB, you will only see one of the parts/streams of the original file. The special Mac information that's saved in the other 3 streams isn't combined with the primary stream to make the file "appear" properly, like it does when you have Microsoft "Services For Macintosh" running and connect the Macs to the server over AFP.
    I can gather that performance with the Microsoft "Services For Macintosh" is relatively poor compared to that of SMB. If you'd like to switch over to SMB, you can carefully follow the following procedure to make the switch over.
    Let's say your sever has 40 GB of files on it. At the moment, if you connect your Mac to the server over SMB, the files appear improperly. So, instead, find a Mac with a lot of free space on the local hard drive, and connect to the server over AFP (and have the server running AppleShare/Services For Macintosh), so that the files "appear" properly. From the Mac, copy all of the 40 GB worth of files over to the Mac's local hard drive. Then disconnect the Mac from the server. Adjust the server so that it is no longer running AppleShare/Services For Macintosh, and from the same Mac, connect to the server over SMB. Again, if you look at the original files on the server, they will appear improper; this is normal. From the Mac, create a new folder on the server, separate from the original folder holding the original 40 GB worth of files. Name it something like "Server Files (SMB)". Then, from the Mac, copy the 40 GB worth of files that you saved to the local hard drive into that "Server Files (SMB)" folder on the server. After you've finished copying them and you look at them from this Mac, you'll notice that these files should appear "correctly".
    Now, if you continue to have the AppleShare/Services For Macintosh shut off, and you connect other Macs to the server (via SMB), they should be able to see the files in the "Server Files (SMB)" folder correctly. Basically, you would no longer use the original 40 GB of files, and instead, use the ones inside the "Server Files (SMB)" folder, which will appear properly to the connected Macs.
    Hope this helps....
    Dual 2.7 GHz PowerPC G5 w/ 2.5 GB RAM   Mac OS X (10.4.6)  

  • ISCSI, AFP, SMB, and NFS performance with Mac OS X 10.5.5 clients

    Been doing some performance testing with various protocols related to shared storage...
    Client: iMac 24 (Intel), Mac OS X 10.5.5 w/globalSAN iSCSI Initiator version 3.3.0.43
    NAS/Target: Thecus N5200 Pro w/firmware 2.00.14 (Linux-based, 5 x 500 GB SATA II, RAID 6, all volumes XFS except iSCSI which was Mac OS Extended (Journaled))
    Because my NAS/target supports iSCSI, AFP, SMB, and NFS, I was able to run tests that show some interesting performance differences. Because the Thecus N5200 Pro is a closed appliance, no performance tuning could be done on the server side.
    Here are the results of running the following command from the Terminal (where test is the name of the appropriately mounted volume on the NAS) on a gigabit LAN with one subnet (jumbo frames not turned on):
    time dd if=/dev/zero of=/Volumes/test/testfile bs=1048576k count=4
    In seconds:
    iSCSI 134.267530
    AFP 140.285572
    SMB 159.061026
    NFSv3 (w/o tuning) 477.432503
    NFSv3 (w/tuning) 293.994605
    Here's what I put in /etc/nfs.conf to tune the NFS performance:
    nfs.client.allow_async = 1
    nfs.client.mount.options = rsize=32768,wsize=32768,vers=3
    Note: I tried forcing TCP as well as used an rsize and wsize that doubled what I had above. It didn't help.
    I was surprised to see how close AFP performance came to iSCSI. NFS was a huge disappointment but it could have been limitations of the server settings that could not have been changed because it was an appliance. I'll be getting a Sun Ultra 64 Workstation in soon and retrying the tests (and adding NFSv4).
    If you have any suggestions for performance tuning Mac OS X 10.5.5 clients with any of these protocols (beyond using jumbo frames), please share your results here. I'd be especially interested to know whether anyone has found a situation where Mac clients using NFS has an advantage.

    With fully functional ZFS expected in Snow Leopard Server, I thought I'd do some performance testing using a few different zpool configurations and post the results.
    Client:
    - iMac 24 (Intel), 2 GB of RAM, 2.3 GHz dual core
    - Mac OS X 10.5.6
    - globalSAN iSCSI Initiator 3.3.0.43
    NAS/Target:
    - Sun Ultra 24 Workstation, 8 GB of RAM, 2.2 GHz quad core
    - OpenSolaris 2008.11
    - 4 x 1.5 TB Seagate Barracuda SATA II in ZFS zpools (see below)
    - For iSCSI test, created a 200 GB zvol shared as iSCSI target (formatted as Mac OS Extended Journaled)
    Network:
    - Gigabit with MTU of 1500 (performance should be better with jumbo frames).
    Average of 3 tests of:
    # time dd if=/dev/zero of=/Volumes/test/testfile bs=1048576k count=4
    # zpool create vault raidz2 c4t1d0 c4t2d0 c4t3d0 c4t4d0
    # zfs create -o shareiscsi=on -V 200g vault/iscsi
    iSCSI with RAIDZ2: 148.98 seconds
    # zpool create vault raidz c4t1d0 c4t2d0 c4t3d0 c4t4d0
    # zfs create -o shareiscsi=on -V 200g vault/iscsi
    iSCSI with RAIDZ: 123.68 seconds
    # zpool create vault mirror c4t1d0 c4t2d0 mirror c4t3d0 c4t4d0
    # zfs create -o shareiscsi=on -V 200g vault/iscsi
    iSCSI with two mirrors: 117.57 seconds
    # zpool create vault mirror c4t1d0 c4t2d0 mirror c4t3d0 c4t4d0
    # zfs create -o shareiscsi=on -V 200g vault/iscsi
    # zfs set compression=lzjb vault
    iSCSI with two mirrors and compression: 112.99 seconds
    Compared with my earlier testing against the Thecus N5200 Pro as an iSCSI target, I got roughly 16% better performance using the Sun Ultra 24 (with one less SATA II drive in the array).

  • SMB and ONline backup

    Hi,
    In Our R/3 environment, online backup is consisting with archived logs.
    Online Backup = DB Files + archived logs
    When getting the SMB backup and Online Backup (BRBACKUP), will that  going  to backup "Online Redo Logs"
    (Not Offline Redo logs - archived logs)
    When checking the logfile (Online backup) in  /oracle/PRD/sapbackup/beejdgaz.anf  , it shows the online redologs files also. (Just show, Not saying it is backing up)
    But when checking through DP, it is not mentioning that , Online Redo logs are backing up!
    I just want to know , for SMB and Online backups will that include Online REDO logs? Is it possible to backup these Online Redo Logs. Since they are currently in use
    regards,

    Hi,
    we are using:
    brbackup -t online -d util_file -c -m all -u
    brbackup issues below commands which will switch your online logs to offline.
    Switching to next online redo log file for database instance <SID> ...
    Switch to next online redo log file for database instance <SID> successful
    ARCHIVE LOG LIST after backup for database instance <SID>
    online logs to offline.
    That means, when time of getting the backup, current online redo logs will be taken in to offline mode. (As archived redo logs) ?
    then those archived logs will be backing up.
    Is that the way that happens.

  • When is Apple going to fix SMB and TimeMachine

    Does anyone know when SMB and Time Machine will be fixed?

    Databases should be backed up by their own methods. Only they know the structure of their file storage.
    If it is just a file, then there shouldn't be any problem backing it up or restoring with Time Machine.
    I don't know what "profilmanager" is, so can't comment.
    If you are having problems with Time Machine, see here: http://pondini.org/OSX/Home.html
    If you can explain the problems you are seeing, it might help narrow down the issue.
    If you need SMB access, you might consider installing SAMBA. That might provide better service until Apple finishes its SMB implementation.

  • My shared shows the NAS with incorrect logo and can't connect to it - can do so only via smb and ip address

    My Mac shows other MACs somethimes as PC icons as well as my Synology NAS.
    Only way to connect is via SMB and IP address - clicking on icons fails.

    I am also having the same issue. Please help!

  • Weird issues with file share using both SMB and AFP?

    I use my Xserve with 10.4 server primarily as a file server (with a huge RAID array attached via Ultra320 SCSI). I've served files from this server over SMB ("Windows" sharing) to both PCs and Macs for a few years now with no big issues. The files are being shared in a collaborative environment with extensive user accounts and ACLs set up.
    I would like to turn on AFP for these same file shares, so those accessing with a Mac can have the added benefits of AFP over SMB. However, I've heard some rumors of some complicated issues developing from the use of both AFP and SMB together on the same folders, in a mixed environment.
    The rumors I've heard are things that would happen rarely but enough for it to be significant. For example, a file created over SMB and then edited over AFP would have some problems being re-edited over SMB again, due to some complicated feature that the rumor is unable to explain (something with a resource fork or file locking?). Maybe something weird that just involves the Adobe Creative Suite?
    Anyway, I figured I'd throw this out there. Anyone who serves files over both protocols to a varied set of computers and applications having weird issues? Or is everything working for you? Thanks in advance.
    Message was edited by: dtemp

    Thanks for the responses!
    re:crop
    It's coming in as cropped with no way to fix it that I can see.
    Pressing space or opening in preview shows the full image but if it gets anywhere near Photoshop it comes in auto-cropped.
    I'm starting to this it's a bug and will be reporting it to Adobe.

  • 10.5 CIFS/SMB and illegal Characters - Again

    http://docs.info.apple.com/article.html?artnum=107032 states that the following characters "? [ ] / \ = + ; : " , | *" cannot be used on CIFS/SMB shares with 10.4. However I can successfully use them with 10.5 on CIFS/SMB shares.
    Can some one advise me if there is a way to default back to 10.4 restriction with 10.5 on CIFS/SMB shares.

    Is your server bound to AD, and your PC clients as well (probably) ?
    First, stop SMB.
    Then, backup /etc/smb.conf
    Then edit it (use nano or vi or emacs via the Terminal. If you must use the GUI then use TextWrangler.
    Make sure the file permissions are preserved.
    under the [global] section of /etc/smb.conf, make the following modifications (add the entry if it's not there):
    security = ads
    windbind separator = +
    ; auth methods = guest opendirectory
    ie: comment out "auth methods" via the ";"
    Start smb and compare. Anytime you make a change in the GUI tools, verify your edits are preserved.

  • 10.5 CIFS/SMB and illegal Characters

    Greetings All,
    http://docs.info.apple.com/article.html?artnum=107032 states that the following characters "? [ ] / \ = + ; : " , | *" cannot be used on CIFS/SMB shares with 10.4. However I can successfully use them with 10.5 on CIFS/SMB shares.
    Can some one advise me if there is a way to default back to 10.4 restriction with 10.5 on CIFS/SMB shares.

    Is your server bound to AD, and your PC clients as well (probably) ?
    First, stop SMB.
    Then, backup /etc/smb.conf
    Then edit it (use nano or vi or emacs via the Terminal. If you must use the GUI then use TextWrangler.
    Make sure the file permissions are preserved.
    under the [global] section of /etc/smb.conf, make the following modifications (add the entry if it's not there):
    security = ads
    windbind separator = +
    ; auth methods = guest opendirectory
    ie: comment out "auth methods" via the ";"
    Start smb and compare. Anytime you make a change in the GUI tools, verify your edits are preserved.

  • How to set SMB and FTP sharing for different users?

    In Tiger FTP and SMB sharing was different options with their own settings each other. In Leopard there if i enable user for sharing, it enables for all protocols together.
    Another problem. In file sharing i can add shared folder, but what's sens of it, if the whole filesystem is shared (at least FTP and AFP, not SMB, thanks god) and there's no way to remove this share. Just shortcut? How can i create ftp sharing, allowing user to see only his folder, not the whole filesystem?
    Any advices are pleased, except to get Leopard Server Thank you.

    OS X Client FTP implementation is not comprehensive at all. Apple does not make FTP serving a priority for OS X (on the general principle that it is not really necessary for most consumers). Thus, by default you can't enable/disable FTP for individual users. Nor can you create FTP only users.
    However, a useful product called [Pure-FTPd|http://www.pureftpd.org/project/pure-ftpd], provides the missing functionality for free to all UNIX based systems. Even better, [PureFTPd Manager|http://jeanmatthieu.free.fr/pureftpd> provides a GUI on OS X for managing it.
    This product is probably overkill for a single-user situation - but it is a great example of leveraging the UNIX platform of OS X to significantly enhance file sharing capabilities to server level.
    Cheers,
    Rodney

  • Connecting to mac with SMB and Firewall

    Hi. I have an iMac running snow leopard, an older macbook running leopard, and a xbox running xbmc on the same network with an older extreme base station. The problem I've been having is accessing the iMac from the other devices using smb. I've found that I can connect fine with the iMac's firewall off, but can't while it is on, even though it is set to allow smb connections.
    The reason I want to use smb is that the xbox can only use smb to stream data. Is there anyway I can set the iMac's firewall up so that it will allow smb connections? I have smb file sharing enabled and the firewall shows that file sharing (sbm) connections are allowed. Ive checked the log and it says it is blocking smb connection attempts on ports 445 and 139.
    Thanks for any help!

    Exactly. Firewall shows that smb connections are allowed, and, in sharing, file sharing is enabled with smb enabled for my account in options.
    so for file sharing, I have Sys Prefs>Sharing>File Sharing ticked; and Sharing>File Sharing>Options>SMB ticked and my account ticked.
    Thanks.

  • Best file manager with SMB and streaming support? Time Capsule access?

    Constantly having to jump through hoops it seems, because of no file manager in iOS. Another simple scenario: have 2 disks connected to my Apple Time Capsule. Can accesss them with Android phones, always in trouble finding a good app on iPhone. Any tips? Wish I could also stream my home videos, etc from these disks. Documents 5 (Readdle) can access them via SMB, but not stream, which is nasty for large videos.
    Thank you,
    Roman

    I was experiencing the same problem when I upgraded to a Time Capsule. To fix the problem remove all personal file sharing port mapping settings. Then make sure that the enable  file share, and enable over WAN is on and checked for the TC, then update the TC. While that's updating go into the server app and remove any old file sharing protocols from the TC on the server app. Next add a new custom protocol by hitting the + name it file share and set the port to 140. hit the update button and wait for it to finish. Once that's finish go back to the airport utility and find the newly made file share protocol by selecting it under port mapping for the TC. If you don't have the newly made one in there make a new one your self. Name it the same as you did in the server app and set the public TCP ports to 140 and the private TCP ports to 548, make sure the private IP address is set to the same as your server in the reserve. Update the time capsule and you should be able to access both by putting in the appropriate afp://www.yourserver.com:140 for the server and afp://www.yourserver.com:548  for the TC. Have fun, lion server can be a little fussy!

  • Problems with SMB and file sharing in Lion

    I have an HP OfficeJet 8500 Premier that is only 2 years old.  One of the things I loved about it was the ability to scan documents to a folder on my Mac.  Unfortunately, the only filesharing HP supports is SMB.  In SnowLeopard, SMB worked great (as long as SMB was set up in "Sharing"). 
    Now, however, I cannot connect my HP printer/scanner to my Mac via SMB.  I have rebooted my Mac, rebooted my printer, turned on then off the SMB sharing, tried to re-setup the scan-to folder on my printer...all to no avail. 
    One other oddity--when I try to turn off my SMB account (my login account) in sharing, it won't let me.  It asks for a password then unchecks the account briefly, then re-checks the account (leaving it on).  I have the opposite problem on my MBP--when I try to turn on SMB sharing and select the account, it asks for a password and briefly checks the account box, then un-checks it.
    Anyone have any solutions for getting an HP printer/scanner to Scan-to a Mac running 10.7?
    Thanks,
    T.

    Chih,
    I also have a Xerox 6180 MFP that stopped connecting to a Lion Server machine via SMB, but I was able to come up with a workaround using FTP:
    Although Lion Server's GUI doesn't have a service switch for FTP, it still exists and can be turned on via command line.
    This is the workflow: Everyone at my office shares the Xerox 6180 scanner, so I created individual scan bins in the Xerox Directory for every user.  A user would select their scan bin on the Xerox 6180 (Scan > Server > Scan to... Richard's Scan Bin) and make their scan.  The Xerox 6180 FTPs the file to a Mac Mini running Lion Server.  The user goes back to their workstation, logs into the server via AFP, and grabs the file out of their private scan bin.
    My workaround on OSX Lion Server:
    1.) I already had a "xerox" user in a group called "scangroup" via the Server.app.  This user is for the Xerox 6180.
    2.) In Terminal.app, I created an ftp access group called "com.apple.access_ftp":
       sudo dseditgroup -o create com.apple.access_ftp
    3.) Then I added my "scangroup" group to "com.apple.access_ftp":
       sudo dseditgroup -o edit -a scangroup -t group com.apple.access_ftp
    4.) Next, I turned on FTP:
       sudo launchctl load -w /System/Library/LaunchDaemons/ftp.plist
    5.) In the "xerox" user's home folder, I created a directory called "Scans" and sharepoint subdirectories in it for each Shared User account (e.g. ~/Scans/Richard's Scan Bin)
    6.) In Server.app, I gave each Shared User read/write permission to only their subdirectory (i.e. The shared user "Richard" has read/write permission for "Richard's Scan Bin" folder)
    7.) In the Xerox Server Address Book Directory, I created entries for each user.  i.e.:
       Name: Richard's Scans
       Server Type: FTP
       Server Address: [Your server's address]
       Port Number: 21
       Login Name: xerox
       Login PW: [your password]
       Server Path: Scans/Richard's Scans
    You can also tweak my workaround if you aren't using Lion Server.
    Hope this helps!

  • OS X, SMB and offline files

    Hi all!
    I'd like to ask how you handle the following with OS X Mavericks:
    Assume you have a hierarchical storage management (HSM) system (also called "file system archiving" by some people) and OS X clients access this via, say, the SMB protocol. Now the challenge is that some files in your HSM are offline, which means they are not on disk but some other media, usually tape. OS X features like Quick Look trigger a recall of these files which is typically not a good idea because many files have to be read from tape which (a) takes time, and (b) questions HSM completely, because recalling the files will fill up your disk cache. Things get even worse if multiple users trigger file recalls.
    Now SMB knows a file attribute called ATTR_OFFLINE, see e.g. http://msdn.microsoft.com/en-us/library/cc246322.aspx which is used to indicate that a file is offline. However, it looks like Quick Look and friends do not check this flag. I'm aware of tools like ArchiveConnect, see e.g.
    http://www.grouplogic.com/enterprise-file-sharing/mac-file-archiving-system/ that claim to improve the interoperability of OS X and HSM systems.
    Any experience with this tool or other means to solve the problem? I'd like to see OS X to be more "HSM aware" which means, e.g., it cares about the offline attribute via SMB.
    Best regards, Dirk

    Hi Richard,
    We are looking at file archiving here and have the same potential issues. We haven't evaluated this product, but it claims to solve the problem:
    http://www.grouplogic.com/enterprise-file-sharing/mac-file-archiving-system/
    Good luck
    Mark

  • 10.5.2 totally broke SMB and AFP shares (and kerberos) on my network

    Hey Folks,
    I'm really kicking myself for not testing 10.5.2 first... this is a disaster for me.
    After installing, I can no longer access any SMB or AFP shares (regardless of host OS) using my kerberos ticket (granted from Tiger Server).
    If I use the GO menu and Connect To Server it also fails, almost instantly. The server logs suggest its not even trying.
    I have totally lost access to all of my shares, ssh with kerberos is broken...
    Anyone else seeing problems?
    Leopard in general introduced some issues with the local KDC on each machine trusting mdns...its a way to make back to my mac work ... and it broke SMB for me and a lot of people, but it wasn't the end of the world since I was sharing everything via AFP as well. Now that AFP is broken too I'm at a loss...100% down.

    Something I have been messing with is my mit.edu.Kerberos file, located in System/Library/Preferences.
    Take a Tiger machine, and use Text Editor to look at it's mit.edu.Kerberos file. Then, do the same with the Leopard machine. I've been trying to get Leopard to work with the Tiger kerberos settings, without luck so far. But it's a step in the right direction. Try this for starters:
    On my system, when I try to use Connect to Server with the Finder, it gives me the vague "Volume Couldn't Mount" error.
    Make a backup of mit.edu.Kerberos on your Leopard machine (use a test machine if possible, not a production machine). Then, delete the original file and reboot.
    Try to COnnect TO server again. On my machine, I'm given a login prompt, which if I re-authenticate, I'm able to connect to the share. Your previously deleted mit.edu.Kerberos file has been recreated after this point. I'm not sure how permanent of a solution it is, however.
    But it's something to tinker with if you're so inclined.

Maybe you are looking for