Networking Forums

Networking Forums > Computer Networking > Linux Networking > samba windows client sees foldes but has no right to write in folders

Reply
Thread Tools Display Modes

samba windows client sees foldes but has no right to write in folders

 
 
bastian
Guest
Posts: n/a

 
      04-07-2007, 11:23 PM
Hello,
unfortunately the windows client does not have the right to put some
data in the folders on the linux samba server. How can I change?

The Windows user is the Administrator under windows 2000. The
Administrator has a password under windows. There is no PDC, just a
standalone windows 2000 and standalone linuxserver.
Here is testparm

linuxserver:/etc/init.d # testparm
Load smb config files from /etc/samba/smb.conf
Can't find include file /etc/samba/dhcp.conf
Processing section "[homes]"
Processing section "[ftp_bastian]"
Global parameter guest account found in service section!
Processing section "[users]"
Processing section "[groups]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[WINDOWS]"
Processing section "[public]"
Global parameter guest account found in service section!
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = ARBEITSGRUPPE
map to guest = Bad User
printcap name = cups
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/
nobody -s /bin/false %m$
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
os level = 2
preferred master = No
local master = No
domain master = No
hosts allow = 192.168.0.129/255.255.255.0
cups options = raw
include = /etc/samba/dhcp.conf

[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No

[ftp_bastian]
comment = ftp bastian
path = /home/bastian/ftp/
read only = No
create mask = 0600
directory mask = 0700
guest ok = Yes
case sensitive = No
wide links = No
msdfs proxy = no

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

[WINDOWS]
path = /windows/
read only = No
guest ok = Yes
case sensitive = No
msdfs proxy = no

[public]
comment = Public Stuff
path = /home/public
read only = No
guest ok = Yes

Thank you
Bastian

 
Reply With Quote
 
 
 
 
Mark Hobley
Guest
Posts: n/a

 
      04-08-2007, 01:08 PM
bastian <(E-Mail Removed)> wrote:
> Hello,
> unfortunately the windows client does not have the right to put some
> data in the folders on the linux samba server. How can I change?


Map the Microsoft Windows usernames to a user account with appropriate
privileges:

Usernames are mapped in file /etc/samba/smbusers as follows:

unixuser = winuser

Note Both the Unix and Microsoft Windows usernames are entered in lowercase
in this file.

Regards,

Mark.

--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE

Telephone: (0121) 247 1596
International: 0044 121 247 1596

Email: markhobley at hotpop dot donottypethisbit com

http://markhobley.yi.org/

 
Reply With Quote
 
bastian
Guest
Posts: n/a

 
      04-08-2007, 06:04 PM
Thank you Mark,
Now it is working.

I modified the yast made smb.conf., shorten and cut it.

[global]
workgroup = ARBEITSGRUPPE
security = user
encrypt passwords = yes

[public]
guest ok = yes
username = root
path = /home/public
public = yes
writable = yes
read only = no

Then in smbusers

root = administrator

and finally for root I added the password to smbpasswd.

I 'll try to figure out how I configure the samba server access with
automatic or no password after I have tried other useful things first,
like hylafax or some other fax solution.
Bastian

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA Question, Linux box can't see Windows Shared folders General Schvantzkoph Linux Networking 1 12-11-2008 11:56 PM
ex3 share write problem with samba 7 Linux Networking 2 08-22-2004 08:21 PM
Samba file timestamp policy with Linux client .vs. Windows client Richard Conway Linux Networking 2 03-05-2004 07:49 AM
read/write lag on shared folders when using D-Link equipment Lila Windows Networking 3 11-20-2003 08:54 PM
mapping shared folders dramatically delays read/write processes Alexander Skordos Windows Networking 0 11-19-2003 05:48 PM



1 2 3 4 5 6 7 8 9 10 11