Samba shared directory is accessible but not able to drop file and files are invisible

Anoop Singh anoop.singh at celstream.com
Tue Aug 25 05:57:38 UTC 2015


Dear Group Members

I am working on providing samba share on my customized Android device.
I am able to share a directory using the below mentioned smb.conf but when I drop a file from windows machine to the shared Folder i.e. sharedDir through the network, It doesn't allow and moreover files are not visible on windows machine.
I see the file is getting created on the device but the content of the file is not copied means file size on the device is zero. Here is the used smb.conf file content:

[global]
    workgroup = WORKGROUP
    netbios name = netbios-name
    interfaces = xx.xxx.xxx.xx/xxx.xxx.xxx.x
#    server role = active directory domain controller
    security = user
    map to guest = Bad Password


    [sharedDir]
    path = /data/sharedDir
    comment = samba share
    public = yes
    writable = yes
    printable = no
    create mask = 0755
    guest ok = yes
    browseable = yes
    available = yes

When I checked it on linux device it works fine. Files are getting created and files are visible also in the windows machine. I have attached the smbd log.
Is this due to some OS support missing on my customized deice or do I need to configure smb.conf with some more parameters?
Please let me know the solution.

Thanks & regards,
Anoop.



-----------------------------------------------------------------------------------------------------------------------------
DISCLAIMER: This electronic message and any attachments to this electronic message is intended for the exclusive use of the addressee(s) named herein and may contain legally privileged and confidential information. It is the property of Celstream Technologies Private Limited. If you are not the intended recipient, you are hereby strictly notified not to copy, forward, distribute or use this message or any attachments thereto. If you have received this message in error, please delete it and all copies thereof, from your system and notify the sender at Celstream Technologies or administrator at celstream.com immediately.
-----------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.smbd
Type: application/octet-stream
Size: 234196 bytes
Desc: log.smbd
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150825/93f38032/log-0001.obj>


More information about the samba-technical mailing list