Reinstall Samba for 10.5.4 from scratch

Discussion in 'Mac OS X Server, Xserve, and Networking' started by fishinatree, Aug 8, 2008.

  1. macrumors newbie

    Joined:
    Jun 7, 2008
    Location:
    Santa Rosa, CA
    #1
    Rather a weird situation here...for some reason I don't have Samba on my computer at all. the commands 'findsmb', 'swat' and other Samba-related commands don't work. 'sudo swat' gives me:
    Code:
    dyld: Library not loaded: bin/libtalloc.dylib
      Referenced from: /opt/local/sbin/swat
      Reason: image not found
    Trace/BPT trap
    
    and 'findsmb' gives me
    Code:
    dyld: Library not loaded: bin/libtalloc.dylib
      Referenced from: /opt/local/bin/nmblookup
      Reason: image not found
    I couldn't find any Console output for either of these commands.

    Can someone please help me reinstall Samba on my intel Macbook? I didn't really know what kind of information to give, but I can give whatever information is necessary to fix this. Thanks!
    f][sh
     
  2. macrumors regular

    Joined:
    Feb 4, 2008
    Location:
    Forest Grove, OR
    #2
    Which OS are you on? Have you turned on Windows/SMB sharing to see what it does?
     
  3. thread starter macrumors newbie

    Joined:
    Jun 7, 2008
    Location:
    Santa Rosa, CA
    #3
    I'm in Mac os X right now. How do I turn on Windows/SMB sharing?
     
  4. macrumors regular

    Joined:
    Feb 4, 2008
    Location:
    Forest Grove, OR
    #4
    Depends on OS. In Tiger, in System Prefs/Sharing i think there is a Windows Sharing checkbox. In Leopard, go to System Prefs/Sharing/File Sharing, check the box, then click on the Options button in the lower right of the window, then select the SMB option.

    The built-in Help should be more direct if that was confusing.
     
  5. thread starter macrumors newbie

    Joined:
    Jun 7, 2008
    Location:
    Santa Rosa, CA
    #5
    I fiddled around with some Samba stuff and recompiled it from source (Samba 3.2.0). When I use various Samba related commands like 'findsmb', I get the following error message:
    Code:
    dyld: Library not loaded: bin/libtalloc.dylib
      Referenced from: /opt/local/sbin/swat
      Reason: image not found
    Trace/BPT trap
    
    When I run findsmb from Samba-3.2.0/source, however, the command 'findsmb' works! What's going on?
     
  6. macrumors regular

    Joined:
    Feb 4, 2008
    Location:
    Forest Grove, OR
    #6
    What is it you are trying to do that the built-in methods for sharing with Windows machines won't do?
     

Share This Page