Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've got a server running Ubuntu 13.04/SAMBA 3.6.9 that exposes a number of private and public shared folders. The server has a user account with the name myusername and password mypassword.

When I try to mount a public share from my Ubuntu 13.04 laptop by clicking on it in the file explorer, the share is mounted with guest permissions and I cannot write to the folder, but I can read all of the files.

However, if I manually mount the share from the terminal with the command mount -t cifs -o username=myusername,password=mypassword //server.ip/sharename /localfolder, I get the read/write permissions of myusername, as expected.

Further, if I mount the share with smbclient //server.ip/sharename -Umyusername, I get the read/write permissions of myusername, as expected.

Windows machines that are logged in with myusername and mypassword also pass the correct credentials, and are able to mount the share with read/write privileges.

tl;dr: Ubuntu 13.04 does not correctly pass the currently logged in user's credentials to a SAMBA server when mounting shares via the file explorer.

Thoughts?

share|improve this question
    
I've filed this as a bug against nautilus –  MusikPolice Sep 2 '13 at 19:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.