a technical blog

Writing to a Windows File Share for iOS

with 3 comments

Just also added writing to the tango API as it is quiet analogeous to reading once you get what the different parameters mean… find it on github.

Please not that I am not keeping the Objective-C API up to date (was only for testing) as well as the Test-App. If you want to use tango in your app, please use the C-based API; a stable Objective-C API might come later, but is not available at present!

Written by 38leinad

March 23, 2011 at 6:11 pm

Posted in ios, library/framework, Uncategorized

Tagged with , , ,

3 Responses

Subscribe to comments with RSS.

  1. Hi,

    I am testing your nice little API but was unable to connect to a Vista or Win7 share – XP had been fine. Does this issue occur because of differences between SMB and SMB2 or due to wrong parameters I used to connect to the clients?



    March 29, 2011 at 12:36 pm

    • Hi Morphelian,
      WIndows 7 has increased its standard security settings, it seems. At the moment, I have only implemented the LAN Manager 2 security protocol; which is basically DES-based challenge-response for the password of the username connecting to the share.
      What I have read is that you can reenable that (weaker) security setting in the following way:

      1 . Open registry editor ( Start search – regedit)
      2 . Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
      3. Create a new DWORD value with the following properties: NAME: LmCompatibilityLevel
      VALUE: 1
      4. Restart your PC and try the connection again…

      I did not try it; so, please let me know if it works.



      March 29, 2011 at 5:19 pm

      • Hi 38leinad and thanks for your quick reply.

        Since Windows Vista had been released, Microsoft uses SMB2. Therefore Windows 7 and Vista are the same (as often).

        Changing the registry wont work for me as I have to keep security matters in mind. But I gave your suggestion a try just to check it will work or not. Well, for some reasons it wont. Don’t know why and I had no chance looking further but it seems to be a authentication problem.



        March 30, 2011 at 11:09 am

Any thoughts?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: