1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Programming with Samba

Discussion in 'Mac Programming' started by satyam90, Mar 12, 2009.

  1. macrumors regular

    satyam90

    #1
    Is there any way to develop applications on Mac incorporating "SAMBA" protocol? I want to create an application which uses samba to mount the windows shared folders on my Mac.
     
  2. macrumors 603

    Cromulent

    #2
    Samba is not a protocol in and of itself it is just an implementation of the Windows file sharing protocol (CIFS iirc???) for Unix like systems. As such there is nothing particularly special about it, I assume that if you wanted to incorporate Samba features you just need to link against it's library and then learn the API.

    Of course that does beg the question, if Samba already deals with mounting Windows shares on the Mac why write an application that does the same thing using the same technology?
     
  3. macrumors regular

    satyam90

    #3
    hi Cromulent, my application don't do anything specific apart from Samba.
    My application will have something like two list views (left and right). Left list view must display list of windows PC's available in network. When a item is selected in that list, right list view must show the shared folders available on that window's PC.
    I will have a button called "mount". When shared folder is selected and "Mount clicked", it will be mounted on my Mac.
    That's all it has to do. Can someone help me how to achieve this?
     
  4. macrumors 6502a

    LtRammstein

    #4
    It's best to identify on EXACTLY WHAT YOU WANT for your application. For example, going to Apple's Developer website, you can search for the proper frameworks you need.
     

Share This Page