Query regarding share-level security
Rajan Aggarwal
rajan at amplewave.com
Wed Jul 9 03:51:28 GMT 2003
Thanks Marc for answering to the query...!
I very well agree to what you say, but the problem i am facing is
different. Actually, the passwords of user1 and user2 are
different...the status of passwords is as follows:
1) password(user2) = password(user3)
2) password(user1) not equal to password(user2 or user3)
And despite of the above status, user1 is able to access the share.
Responding to another answer to the same question...which suggested to
use "valid user" instead of "user" under the section options, i even
tried with that...but still the problem persists.
Regards,
Rajan.
On Tue, 2003-07-08 at 11:23, Marc Kaplan wrote:
> Rajan,
>
> > share i specify the option "user = user3". The samba server has been
> > restarted after the above changes in the config file.
> >
> > Now, going by the definition of "share-level security", only user2
> > should be allowed to access the share. But in my case, both user1 and
> > user2 are able to access the share.
> If you set user = user3, and user2 and user3 have the same password, then
> shouldn't both user3 and user2 be able to access the share?
>
> If user2 and user3 have the same password, then they will both be able to
> connect to this share in share level security. When you have share level
> security configured, the user you connect as doesn't actually matter at all.
> The smb.conf parameter user = user3 simply says match the password the
> client sends against the "share password". In this case the "share password"
> is the password for user3. If you want user2 to be able to access this
> share, but not user3 make the passwords differ, and ensure that user3
> doesn't know user2's password.
>
> If user1 has the same password as user2 and user3 then the same rule
> applies.
>
> -Marc
>
> > -----Original Message-----
> > From: Rajan Aggarwal [mailto:rajan at amplewave.com]
> > Sent: Tuesday, July 08, 2003 11:03 AM
> > To: samba-technical at lists.samba.org
> > Subject: Query regarding share-level security
> >
> >
> > Hi All!
> > I am facing a problem for password protection at share level.
> >
> > There are 2 users (user1 and user2) locally configured on my Linux
> > machine. The Linux passwords for both have been configured and for
> > simplicity the samba passwords for both are kept same as the
> > Linux ones.
> >
> > Then , I created another user (user3) and assigned it the
> > same password
> > as for user2. Then i edited the file...smb.conf wherein under
> > a specific
> > share i specify the option "user = user3". The samba server has been
> > restarted after the above changes in the config file.
> >
> > Now, going by the definition of "share-level security", only user2
> > should be allowed to access the share. But in my case, both user1 and
> > user2 are able to access the share.
> >
> > Does it indicate some problem with share-level security or is it some
> > wrong configuration issue?
> >
> > Regards,
> > Rajan Aggarwal.
> >
> >
> >
More information about the samba-technical
mailing list