stuart at sjsears.com
Mon Jun 12 16:08:46 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
> -----Original Message-----
> From: Les Mikesell [mailto:lesmikesell at gmail.com]
> Sent: Monday, June 12, 2006 8:23 AM
> To: bedouglas at earthlink.net; For users of Fedora Core releases
> Subject: Re: Samba Guru...
> On Mon, 2006-06-12 at 07:36 -0700, bruce wrote:
>> -if i'm logged in on the Windows box, do i have to have the same
>> on the linux box?
>> -does the samba app/share have to "reside" under the "doamin/workgroup"
>> the windows box?
> It makes things much more transparent if you do both of those.
> Otherwise you'll get a login/password popup every time you
> try to connect. You also need to point samba at your domain
> controller as a password server if you have one or
> make a local windows-acceptable password with
> smbpasswd -a username
> on the Linux server.
> Les Mikesell
> lesmikesell at gmail.com
> it appears that i can now see the linux "share/folder" in the windows
> network. i can in fact copy a file to the linux folder on the linux box, see
> the file on the windows box, and copy the file to another folder on the
> windows box...
> however, when i try to copy a windows file and place it in the samba share
> on the windows side, i get an "access denied" message... i never get
> prompted for a user/passwd...
> my smb.conf is
> #======================= Global Settings
> # workgroup = NT-Domain-Name or Workgroup-Name
> workgroup = Mesa
> # server string is the equivalent of the NT Description field
> server string = Samba1 Server
> # This option is important for security. It allows you to restrict
> # connections to machines which are on your local network. The
> # following example restricts access to two C class networks and
> # the "loopback" interface. For more examples of the syntax see
> # the smb.conf man page
> ; hosts allow = 192.168.1. 192.168.2. 127.
> # if you want to automatically load your printer list rather
> # than setting them up individually then you'll need this
> printcap name = /etc/printcap
> load printers = yes
> # It should not be necessary to spell out the print system type unless
> # yours is non-standard. Currently supported print systems include:
> # bsd, sysv, plp, lprng, aix, hpux, qnx
> ; printing = cups
> # This option tells cups that the data has already been rasterized
> cups options = raw
> # Uncomment this if you want a guest account, you must add this to
> # otherwise the user "nobody" is used
> ; guest account = pcguest
> # this tells Samba to use a separate log file for each machine
> # that connects
> log file = /var/log/samba/%m.log
> # all log information in one file
> # log file = /var/log/samba/smbd.log
> # Put a capping on the size of the log files (in Kb).
> max log size = 50
> # Security mode. Most people will want user level security. See
> # security_level.txt for details.
> # Use password server option only with security = server
> ; password server = <NT-Server-Name>
> # bdouglas.. not sure if needed...
> security = SHARE
> # You may wish to use password encryption. Please read
> # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
> # Do not enable this option unless you have read those documents
> encrypt passwords = yes
> smb passwd file = /etc/samba/smbpasswd
> path = /windows
> writeable = yes
> guest ok = yes
sounds like a file permissions problem
who owns the /windows directory and what are its permissions?
ls -ld /windows
the shortcut (and least secure) method to fix this might be
chmod 777 /windows
you may wish to force a group onto the share to avoid it being
read/write for all.
e.g. chgrp users /windows
chmod g+ws /windows
and in your share definition:
force group = users
Stuart Sears RHCA RHCX
"Quit worrying about your health. It'll go away."
- - Robert Orben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the users