Quick, outdated share-level question.

Gerald (Jerry) Carter jerry at samba.org
Fri Oct 18 13:46:58 GMT 2002

Hash: SHA1

On Thu, 17 Oct 2002, Christopher R. Hertel wrote:

> Do I understand correctly that Samba does not offer a per-share
> password, even when running under security=share?
> In the original, outdated design of SMB (COREP.TXT) passwords were
> assigned to shares.  I don't see a mechanism in newer Samba docs that
> allows for a per-share password (though there are a lot of docs and I
> have been known to lose track of the nose on my face--folks who've met
> me face-to-face will find that hard to believe).  It looks as though
> there's a fudge in place to make username/password pairs work instead.
> I'm curious, only for documentation purposes.  If there is no share
> password support I think it makes sense.  It's just that it's not what
> W/9x does.  :)

Samba always bvalidates a username/password pair.  For a share level 
equivalent service, do something like

		username = acct1
		force user = acct1
		path = /tmp

and give out the password to acct1.  The force user may not be necessary.
I'd have to check the code, but my gut says that it wuold nopt be 

 Hewlett-Packard           ------------------------- http://www.hp.com
 SAMBA Team                ---------------------- http://www.samba.org
 GnuPG Key                 ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2        "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back."     Ethan Hawk in Gattaca
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/


More information about the samba-technical mailing list