Allô François.

On 23/12/10 01:21 PM, François Patte wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,

I would like to setup a minimal linux samba server on my private lan:
share the /tmp directory on the server, and share any printers plugged
to the server.

I would like that access to these two shares will be possible without
any password from any windows computer on the lan.
Look into to 'security' in the 'general' section in the man pages or the samba.org site.

Cheers,
Phil
Up to now, I have some password problem which I don't understand: for
instance

smbclient -L localhost

asks me for a password, but if I press the enter key (without giving any
password) the answer is given. Why does samba ask for a password?
You don't need a password to list shares.It would be different if you actually tried to access them.
Same behaviour happens with rpcclient, ...


Here is what I added to my smb.conf file:

To share /tmp:

  [tmp]
         path = /tmp
         read only = No
         guest ok = Yes

To share a printer:

[printers]
         comment = All Printers
         path = /var/spool/samba
         printable = Yes

[HL-2030-series]
         comment = Brother HL-2030 series
         path = /var/spool/samba
         read only = No
         guest ok = Yes
         printable = Yes
         printer name = HL-2030-series
         share modes = No

[print$]
         comment = Printer Drivers
         path = /var/lib/samba/drivers
         browseable = yes
         guest ok = yes
         read only = yes

It seems to not work without giving a password...

Last question: as far as I understand, the share print$ is to upload a
printer driver from a windows computer, is there a way to install these
drivers directly on the linux samba server, and where can I find windows
drivers to do this.

Thanks.

- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 4286 2145
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk0TkykACgkQdE6C2dhV2JVQhQCfXkaERqlSKFMjpJzBGj4mg/ME
UIUAoLa1njd1klZaUEquuRFJPRM7cCe8
=WdBK
-----END PGP SIGNATURE-----
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to