ddan
2006-11-28, 01:27 AM CST
Greetings,
I used the Gnone Server Samba screen to setup Samba. I tried to use my home directory but was unable to login. So I created a new directory /samba and can now login. I can create files on Linux and read them in Windows. However I can not modify files from Windows on Linux. Windows gives me an "Access is denied" error.
Here is my smb.conf file.
[global]
workgroup = monico
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
domain master = Yes
dns proxy = No
cups options = raw
username map = /etc/samba/smbusers
; security = user
; encrypt passwords = yes
; guest ok = no
; guest account = nobody
[homes]
comment = Home Directories
writeable = yes
browseable = No
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[dan]
path = /samba
writeable = yes
browseable = yes
comment = Samba Share
guest ok = yes
[dan@T3304 samba]$
Here is my smbusers file:
[dan@T3304 samba]$ cat smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
Here are the file permissions on the Linux side:
[dan@T3304 samba]$ ll /samba
total 28
-rwxrwxrwx 1 dan users 0 Nov 27 23:48 New Text Document (2).txt
-rwxrwxrwx 1 dan users 75 Nov 27 22:42 New Text Document.txt
-rwxrwxrwx 1 dan users 0 Nov 27 22:40 New Text Document.txt~
-rwxrwxrwx 1 dan users 70 Nov 27 22:36 test.file.txt
-rwxrwxrwx 1 dan users 0 Nov 27 22:44 TMP5.tmp
[dan@T3304 samba]$
Any Suggestions?
Regards,
Dan
I used the Gnone Server Samba screen to setup Samba. I tried to use my home directory but was unable to login. So I created a new directory /samba and can now login. I can create files on Linux and read them in Windows. However I can not modify files from Windows on Linux. Windows gives me an "Access is denied" error.
Here is my smb.conf file.
[global]
workgroup = monico
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
domain master = Yes
dns proxy = No
cups options = raw
username map = /etc/samba/smbusers
; security = user
; encrypt passwords = yes
; guest ok = no
; guest account = nobody
[homes]
comment = Home Directories
writeable = yes
browseable = No
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[dan]
path = /samba
writeable = yes
browseable = yes
comment = Samba Share
guest ok = yes
[dan@T3304 samba]$
Here is my smbusers file:
[dan@T3304 samba]$ cat smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
Here are the file permissions on the Linux side:
[dan@T3304 samba]$ ll /samba
total 28
-rwxrwxrwx 1 dan users 0 Nov 27 23:48 New Text Document (2).txt
-rwxrwxrwx 1 dan users 75 Nov 27 22:42 New Text Document.txt
-rwxrwxrwx 1 dan users 0 Nov 27 22:40 New Text Document.txt~
-rwxrwxrwx 1 dan users 70 Nov 27 22:36 test.file.txt
-rwxrwxrwx 1 dan users 0 Nov 27 22:44 TMP5.tmp
[dan@T3304 samba]$
Any Suggestions?
Regards,
Dan