×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 23
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    new Python application to access windows shares / samba from S60 phone

    Hi,

    I am new to Python development for mobile. I have developed a software to access windows shared folders / samba folder (A SMB client) for S60.

    It is working fine for me in my N78. Please try and let me know your feedback on changes i can make to the UI and features i should add.

    Check http://www.lnkr.net/smb4s60 for more details.

    It is in early development stage. currently supports downloading files to phone. I am planning to add support for copying file from phone to server.

    Awaiting your feedback

    Thanks
    Premnath Sah T.H.

  2. #2
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Oulu, Finland
    Posts
    147

    Re: new Python application to access windows shares / samba from S60 phone

    Cool I have been looking for something like this.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    Re: new Python application to access windows shares / samba from S60 phone

    Hi Gamedude,

    Can you tell which phone tried it in so that i can update the smb4s60 page with supported/tested with phone list

    Thanks
    Premnath Sah T.H.

  4. #4
    Regular Contributor
    Join Date
    Jan 2007
    Location
    Oulu, Finland
    Posts
    147

    Re: new Python application to access windows shares / samba from S60 phone

    Hello, I'm using E51.

    Unfortunately I was unable to get this working. It seems to be able to find my PC, but authentication fails. This is propably caused by the fact that I'm using Vista.

    I'll try to do some analyzing with Wireshark.

    ...

    Ah... Vista is a known issue. Didn't see that at first.

  5. #5
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    Re: new Python application to access windows shares / samba from S60 phone

    Hi gamedude,
    as you mentioned vista is known issue. I shall see if i am able to fix this issue this weekend.

    Premnath sah T. H.

  6. #6
    Registered User
    Join Date
    Oct 2008
    Posts
    2

    Re: new Python application to access windows shares / samba from S60 phone

    This is exactly what I have been looking for. Unfortunately I can't get it working. First I installed Python for S60, then I installed SMB4S60. When I run SMB4S60 I enter the host, user name, and password, then SMB4S60 just disappears.

    I'm using a Nokia N95 8GB. The server is a Fedora 9 Linux box running Samba 3.2.3. I am able to connect just fine from another computer using the same user name and password.

    Are there any known issues with this configuration?

  7. #7
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    Re: new Python application to access windows shares / samba from S60 phone

    Hi kmurray,

    Thanks for trying out smb4s60. Let me do one thing. Let me upload a debug version in my site and let you know. Please run it and let me know what the actual error is.

    I have successfully connected to Samba running on Suse Linux but without password. Let me also try with password.

    Thanks
    Premnath Sah T.H.

  8. #8
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    Re: new Python application to access windows shares / samba from S60 phone

    Hi Kmurray,

    I tested the application with Samba 3.0.22 with password and it worked.

    FYI i had setup

    security=user
    guest ok = no

    in smb.conf to enable authentication.

    I shall put a debug version this weekend so that you can use it and let me know what error you get.

    Another doubt is the hostname you gave was the netbios name right?

    ip address or dns hostname will not work.

    Thanks
    Premnath Sah T.H.

  9. #9
    Registered User
    Join Date
    Oct 2008
    Posts
    2

    Re: new Python application to access windows shares / samba from S60 phone

    Now that I've had time to do some more testing, I think I've figured out the problem, or at least part of it. I fired up an old Fedora Core 4 box that has Samba 3.0.23a installed and smb4s60 can connect to it just fine. Somewhere between Samba versions 3.0.23a and 3.2.3 something broke. I wonder if it's the same problem as connecting to Vista shares? I'd still like to try a debug build if I can, just so we can find out what the actual error message is.

  10. #10
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    Re: new Python application to access windows shares / samba from S60 phone

    Hi Kmurray,

    You are right about the reason why it is not working in Samba 3.2.x series.

    Samba team has disabled lanman client authentication and plain text authentication by default.

    http://us1.samba.org/samba/ftp/rc/WHATSNEW-3-2-0rc2.txt


    This is the same reason why this app is not working with Vista.

    So I think I need to add latest authentication mechanism to make this app work with Vista and latest version of Samba.

    Now, it is clear that this is a high priority feature let me spend sometime on this and try to implement that feature ASAP.

    If anyone can lend their time in this it would be really appreciated.

    http://ubiqx.org/cifs/. This link will be very useful for implementing the required feature.

    Thanks
    Premnath Sah T.H.

  11. #11
    Registered User
    Join Date
    Dec 2005
    Posts
    49

    Re: new Python application to access windows shares / samba from S60 phone

    Hello!

    Actually i was also working on the same. will be good if you include me in the project.

    i already have taken permission from miketeo to take the owner ship of pysmb. and have created a project on sourceforge.net.

    Thanks..

  12. #12
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    Re: new Python application to access windows shares / samba from S60 phone

    That's great !!!

    Lets add support for windows vista and samba latest version in pysmb.

    I will not be available for next 4-5 days. hence will not be able to work on this this weekend. I shall try working on this next weekend and try to get it working so that we can update smb4s60 support vista and samba latest version

    I strongly feel pysmb does not support vista and samba latest version due to lack of latest authentication mechanisms. what is your opinion?

  13. #13
    Registered User
    Join Date
    Dec 2005
    Posts
    49

    Re: new Python application to access windows shares / samba from S60 phone

    Lets add support for windows vista and samba latest version in pysmb.

    I will not be available for next 4-5 days. hence will not be able to work on this this weekend. I shall try working on this next weekend and try to get it working so that we can update smb4s60 support vista and samba latest version

    I strongly feel pysmb does not support vista and samba latest version due to lack of latest authentication mechanisms. what is your opinion?
    the last version which miketeo developed is pysmb0.4.4. i haven't released any new version upto now. but there are other utilities other than smb.py and nmb.py in the mentioned release which needs to be integrated/ported with smb4s60.
    one is smbdu which displays size of the files/directories like du.
    smbcp for copying and pasting files between the local machine and smb shares.
    nmbquery like nmblookup.
    smblistshare lists all of the avialable shares on the remote smb machine.

    yes, i think it doesn't support vista since its developed long back.

    Further i will prefer communication regarding the project on email. my email is anees042@gmail.com.

  14. #14
    Registered User
    Join Date
    Nov 2008
    Posts
    2

    Re: new Python application to access windows shares / samba from S60 phone

    Quote Originally Posted by GameDude View Post
    Hello, I'm using E51.

    Unfortunately I was unable to get this working. It seems to be able to find my PC, but authentication fails. This is propably caused by the fact that I'm using Vista.

    I'll try to do some analyzing with Wireshark.

    ...

    Ah... Vista is a known issue. Didn't see that at first.
    Hi GameDude,

    I'm using E51, too, but can't get SMB4S60 to work. It seems to start but quits without further notice or displaying anything. Did not find any log files.

    I'm using E51 version 200.34.36 and PythonForS60 1.4.4. Which versions are you using?

    Any hint appreciated...

    Thanks

    Uli

  15. #15
    Registered User
    Join Date
    Sep 2008
    Posts
    11

    Re: new Python application to access windows shares / samba from S60 phone

    Hi ulidobner,

    Can you give information of Server you are trying to access. (i.e.) windows xp or windows vista or samba version

    Thanks
    Premnath Sah T.H.

Similar Threads

  1. OMA DRM media transfer using PC to Phone using USB
    By venky123 in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2008-08-13, 03:02
  2. Replies: 2
    Last Post: 2007-02-06, 15:16
  3. Replies: 3
    Last Post: 2006-09-28, 04:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×