You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old new Python application to access windows shares / samba from S60 phone - 2008-09-27, 10:05

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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.
Reply With Quote

#2 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-09-28, 15:51

Join Date: Jan 2007
Posts: 135
Location: Oulu, Finland
GameDude
Offline
Regular Contributor
Cool I have been looking for something like this.
Reply With Quote

#3 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-09-29, 05:59

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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.
Reply With Quote

#4 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-09-29, 19:26

Join Date: Jan 2007
Posts: 135
Location: Oulu, Finland
GameDude
Offline
Regular Contributor
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.
Reply With Quote

#5 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-02, 06:12

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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.
Reply With Quote

#6 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-07, 02:58

Join Date: Oct 2008
Posts: 2
kmurray
Offline
Registered User
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?
Reply With Quote

#7 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-07, 06:32

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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.
Reply With Quote

#8 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-09, 15:03

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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.
Reply With Quote

#9 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-12, 23:35

Join Date: Oct 2008
Posts: 2
kmurray
Offline
Registered User
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.
Reply With Quote

#10 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-14, 06:15

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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.
Reply With Quote

#11 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-14, 16:54

Join Date: Dec 2005
Posts: 44
anees042
Offline
Registered User
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..
Reply With Quote

#12 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-16, 13:44

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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?
Reply With Quote

#13 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-10-16, 18:23

Join Date: Dec 2005
Posts: 44
anees042
Offline
Registered User
Quote:
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.
Reply With Quote

#14 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-11-15, 22:54

Join Date: Nov 2008
Posts: 2
ulidobner
Offline
Registered User
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
Reply With Quote

#15 Old Re: new Python application to access windows shares / samba from S60 phone - 2008-11-16, 03:58

Join Date: Sep 2008
Posts: 11
prem_sah
Offline
Registered User
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.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
3rd and 5th Edition application development liuxg Symbian 146 2009-10-20 09:10
OMA DRM media transfer using PC to Phone using USB venky123 Digital Rights Management & Content Downloading 1 2008-08-13 04:02
FAQ (General issues) for Java discussion boards - read this before posting hartti Mobile Java General 2 2007-02-06 16:16
Porting a Windows C application under S60 2nd edition goodslaurels General Symbian C++ 3 2006-09-28 05:57

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia