You are not logged in.

#1 2009-08-16 22:44:17

scv5
Member
Registered: 2008-10-19
Posts: 109

Samba mounts keep asking for password

I have 2 machines in my house that have samba shares on them(Mythbuntu boxes).  On Ubuntu, Fedora, Suse, and even Gentoo (as my desktop pc) accessing them was never much of a problem. 

Since I've switched to arch,  if i access them, when mounting they prompt me for a password.  If i enter the only user/sudo password on the box it'll allow me to mount one of them, but not the other. 

Permissions on making directories is wierd too.  I can make a directory, but upon making it I do not have permission to delete it, put anything within it, etc... its as if the umask is off. 

I've tried both of these lines in my fstab:

//192.168.0.100/videos          /home/scv5/tv    cifs    noauto,users,rw,umask=000       0       0                     
#//192.168.0.100/videos                 /home/scv5/bedroom       cifs    defaults        0       0

Both have the same result.   From the 192.168.0.100's /etc/samba/smb.conf:

[videos]
comment = Videos
path = /var/lib/mythtv/videos
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = mythtv
force group = mythtv

and perms for that directory:

drwxrwxrwx 58 regular_user regular_user 12288 2009-08-15 13:20 videos

and my /etc/profile has my umask set at 022.

Last edited by scv5 (2009-08-16 22:48:34)

Offline

#2 2009-08-19 22:09:02

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Samba mounts keep asking for password

Hello Scv5!

Did you try to mount it with manually, with mount.cifs command from here?
http://wiki.archlinux.org/index.php/Sam … mba_Shares

Offline

#3 2009-08-19 23:05:51

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: Samba mounts keep asking for password

scv5 wrote:
//192.168.0.100/videos          /home/scv5/tv    cifs    noauto,users,rw,umask=000       0       0                     
#//192.168.0.100/videos                 /home/scv5/bedroom       cifs    defaults        0       0

Change 'defaults' to 'password=' that way it will pull the password from there instead of asking you interactively.

Offline

#4 2009-08-20 00:02:49

scv5
Member
Registered: 2008-10-19
Posts: 109

Re: Samba mounts keep asking for password

fukawi2 wrote:
scv5 wrote:
//192.168.0.100/videos          /home/scv5/tv    cifs    noauto,users,rw,umask=000       0       0                     
#//192.168.0.100/videos                 /home/scv5/bedroom       cifs    defaults        0       0

Change 'defaults' to 'password=' that way it will pull the password from there instead of asking you interactively.

But why would it prompt my arch box for a password, and no other OS?  And no other OS has problems making directories and then placing files within those directories.  My arch box is the only thing that creates permission problems.  Having my box submit the password seems like a patch for one box,. while the other (not listed in my post)  prompts for the pass and will not mount no matter what's typed in.

Last edited by scv5 (2009-08-20 00:03:51)

Offline

#5 2009-08-20 02:52:01

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,217
Website

Re: Samba mounts keep asking for password

That I don't know I'm afraid. I've always had to enter a password when mounting a samba share - Arch, Ubuntu and RedHat distros.

Offline

#6 2009-08-20 12:19:16

scv5
Member
Registered: 2008-10-19
Posts: 109

Re: Samba mounts keep asking for password

hmm.  thank, the password deal in the /etc/fstab worked on the first box.

Offline

Board footer

Powered by FluxBB