Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I currently use likewise to use my active directory credentials to log on to ubutu (12.04). When I want to mount one of our windows shares, I am prompted for a password again. Is there a way to reuse or pass through my current credentials? I've seen some posts on this site regarding single sign on, but I'm not sure if/how likewise can play into this.

share|improve this question

Are you planning on mounting the shares permanently through /etc/fstab? Or only when you need them? Also are you running Desktop GUI or CLI only for normal use?

share|improve this answer
They are in fstab but set to not automount. – Jeff Storey Dec 8 '13 at 15:39
Did you ever figure this out? – mrlesmithjr Jan 12 '14 at 2:42
I did not. I just manually type in my password when prompted. – Jeff Storey Jan 12 '14 at 16:27
You can open file manager and select connect to server and type smb://servername to view the shares and then select the share and it will mount in file manager. You can then right click it and add to favorites. You can also view these mappings under /home/username/.gvfs to use for linux apps ie. music, photos and etc. If you are being prompted for a username/password this way then you are not authenticating to AD correctly. If you do this using /etc/fstab you can create a smbcredentials file under /root and tell fstab to use this file instead. Chmod 600 the smbcredentials file – mrlesmithjr Jan 12 '14 at 23:32

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.