P. 1
Samba

Samba

|Views: 167|Likes:
Publicado porNurul Istiqomah

More info:

Published by: Nurul Istiqomah on Dec 14, 2010
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

02/21/2014

pdf

text

original

Internally,Samba tracks users and groups at three levels:

•Requesteduser and group (%Uand %G)

•Effectiveuser and group (no substitution variables)

•Serviceuser and group (%uand %g)

Determining Samba Access

CHAPTER7

193

7

D

E
T
E
R
M
I
N
I
N
G

S

A
M
B
A

A

C
C
E
S
S

Caution

Before attempting any of the examples in this chapter, be sure to back up your
existing smb.conf!

10 8628 CH07 3/17/00 1:09 PM Page 193

The requested user and groupare the user and group requested by the client. Use the
following command as an example:

$ smbclient ‘//mainserv/test’ -Uusername

In the preceding command,the requested user is username,and the requested group is
the primary group of username.

The effective user and groupis the same as the requested user and group,unless access is
gained as guest,in which case the effective user is defined by the guest account=para-
meter and the effective group is the primary group of the defined user. The effective user
and group are used for most Samba validation.

The service useris the same as the effective user and group,unless changed by force

user=and/or force group=parameters. The force user=parameter changes the service
user to its value and changes the service group to the primary group of its value. The

force group=parameter changes the service group to its value,overriding any changes
made to the service group by any force user=parameter.

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->