samba question

Kenny Cho Kenny.Cho at Corp.Sun.COM
Sat Sep 18 00:34:02 GMT 1999


OK, I have a samba question here.  Here's the scenario
- Samba server w/ samba 2.0.4a running solaris 7
- A windows machine w/out SNC can mount the home directory as 
\\<samba_server>\<login name> but when the user copies files from the local pc 
to that mounted home directory, it either copies the files w/ nobody as the uid 
or gives that "can't copy file because the disk is write protected ..."

I can sort of see why the nobody set got created from the smb.conf file but now 
my questions are:

1. Is there a way to override that write protected error (i.e. Is there a way to 
have someone copy files to their UNIX mapped home directory without giving the 
access denied error.)
2. Is there a way to copy a pc-local resided file to the mounted home directory 
and give the owner and right permissions to <login_name> instead of nobody.  I 
definitely know that the guest account flag has something to do with it but not 
how.

Heres the templates for the global and homes shares

[global]
   wins support = no
   wins server = 129.144.174.80
   printing = sysv
   printcap name = /etc/opt/samba/printcap-samba
   load printers = yes
   guest account = nobody
   preserve case = yes
   short preserve case = yes
   status = yes
   security = share 
   read prediction = yes
   socket options = TCP_NODELAY
   share modes = no
   netbios aliases = pc-cup03 bluescreen
   workgroup = green
   local master = no
   guest ok = yes
   server string = "UNIX File/Print services for CUP-03"
   interfaces = 129.144.54.21/255.255.255.0 129.144.55.21/255.255.255.0 129.144.
56.21/255.255.255.0 129.144.57.21/255.255.255.0 129.144.94.21/255.255.255.0 129.
144.95.21/255.255.255.0

[homes]
   comment = Home Directories
   read only = no
   create mode = 0750

Kenny
---------------------------------------------------
Kenny Cho		
System Administrator, IT Operations
Sun Microsystems, Inc, Palo Alto
Phone:x67458 or (650) 336-7458 
EMail:kenny.cho at sun.com



More information about the samba mailing list