Skip to content

Instantly share code, notes, and snippets.

@deadcoder0904
Last active November 10, 2016 16:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deadcoder0904/0f0ac588599ca98c7588b47433c6044d to your computer and use it in GitHub Desktop.
Save deadcoder0904/0f0ac588599ca98c7588b47433c6044d to your computer and use it in GitHub Desktop.
Enabling Samba Service to connect to Ubuntu using ES File Explorer in Android

Trick samba into thinking that every remote user is you ( at least as far as that share is concerned ) by doing something like this:

Press Alt+F2 & Type this in Terminal

sudo gedit /etc/samba/smb.conf

In the [global] section add the following line:

force user = bob

Save the file and restart samba:

sudo service samba restart

If the above command gives error then type this

service smbd restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment