Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Samba Permission Problem ( mount error 13 )
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Sat Apr 02, 2011 2:18 pm    Post subject: [solved] Samba Permission Problem ( mount error 13 ) Reply with quote

Hi i have an Problem with my Samba Server.
When i mount with "mount.cifs //192.168.178.4/homes -o USERNAME=<user>" i get:
mount error 13 = Permission denied, even username and password are correct
And useraccounts are on the server /home/<user> and in samba existing.

I am also not sure if theres maybe a Permission Problem with the directorys, but if this would be the problem i could at least mount read-only (or not??) as su

smb.conf
Code:

[global]
workgroup=home
server string = %h server Samba

security = user
encrypt passwords = true
invalid users = root
unix extensions = yes



[homes]
        comment = Home Verzeichnisse
        browseable = no
        valid users = %s
        writeable = yes
        create mode = 0600
        directory mode = 0700


File Permissions on server /home:
drwxr-xr-x (all user accounts)

File Permissions of /mnt on the client:
drwxr-xr-x
/mnt/samba:
drwxr-xr-x

Where is my Error?[/quote]


Last edited by selberbauer on Sat Apr 02, 2011 6:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Sat Apr 02, 2011 2:29 pm    Post subject: Reply with quote

I tried with google help also:
mount -t cifs
mount.cifs
mount.cifs -o username=<user>,workgroup=<workgroup>,password=<password> //192.168.178.4/homes
...
...
..
Still remaining
Back to top
View user's profile Send private message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Sat Apr 02, 2011 5:37 pm    Post subject: Reply with quote

FAIL
in smb.conf is wrote a small "s"
vailid users = %S
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum