Gentoo Archives: gentoo-user

From: Tomas Papan <tomas@×××××××××.sk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CIFS ans SAMBA 2
Date: Sat, 30 Aug 2008 11:06:21
Message-Id: 200808301306.14757.tomas@darkplace.sk
In Reply to: [gentoo-user] by Tomas Papan
1 On Saturday 30 August 2008 13:02:10 Tomas Papan wrote:
2 > Hello all,
3 >
4 > I have a router (asus wl500gp with openwrt kamikaze 7.09) with samba server
5 > version 2.0.10-4. I have used smbfs to mount this router on my gentoo-box
6 > (everything works fine), but since kernel version 2.6.27 smbfs will be
7 > removed I have to switch now to the cifs modul. The problem is that I am
8 > able to write but I cannot read (I'm always getting permission denied, when
9 > I'm trying to read, writing is working fine). I'm thinking that cifs cannot
10 > work with such a old samba version. If you have some experience with cifs
11 > and samba please verify my assumption.
12 >
13 > Here is some configuration files
14 >
15 > smb.cfg:
16 > [global]
17 >  syslog = 0
18 >  syslog only = yes
19 >  workgroup = lan
20 >  server string = Samba Server
21 >  security = share
22 >  encrypt passwords = yes
23 >  guest account = nobody
24 >  local master = yes
25 >  name resolve order = lmhosts hosts bcast
26 >
27 > [home]
28 >  comment = /home
29 >  path = /home
30 >  browseable = yes
31 >  public = yes
32 >  guest ok = yes
33 >  writeable = yes
34 > my /etc/fstab:
35 > //samba-srv/home /mnt/samba-srv cifs
36 > guest,rw,uid=1000,gid=100,user,defaults 0 0
37 >
38 > Thanks && Best Regards
39 > Tomas
40 >
41 > --
42 > tomas dot papan at gmail dot com
43
44 sorry I forgot to put a subject ;-)