[Samba] File ownership problems
rb at panix.com
rb at panix.com
Mon Feb 11 23:12:14 GMT 2008
Sorry if this is a faq, known issue, or otherwise easy to solve problem
- have searched lists, docs, web etc, and don't find answer.
I have a Samba server (3.0.14) running on a remote (Debian)
fileserver. I now need to mount the fileserver on a Windows XP laptop.
I can successfully "map network drive" and mount the filserver on the
Windows computer. The problem is that all files on the Windows machine
are listed as being owned by "my_windows_username" and group "root", and
I cannot write any files, (because those are not the correct ownerships
on the fileserver). I do not want to change the ownership of the files.
I believe the server must recognize my login correctly, otherwise I
shouldn't be able to "map the drive". I have tried various ways of
mapping: "login as different user"; creating a user account on the
Windows computer with identical login name, passwd info, etc, and all of
these ways "work".
This is the ouput from testparm:
# Global parameters
[global]
workgroup = RB
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
I have an /etc/samba/smbusers file with the single line:
pm = "pm"
Thank you for any help.
--
More information about the samba
mailing list