NULL sessions - Listing shares anonymously - restrict anonymous

Yannick Mercier ymercier at
Fri Nov 15 14:22:01 GMT 2002

I installed the samba-3.0alpha20 (latest I think) and "restrict anonymous =
1" works
for denying the shares Listing from non-authentified users. As what Ive
read, the restrict anonymous = 2
is not implemented yet, but when it will be, it is supposed to deny all rpc
calls, which will be great

Unfortunately, Ill have to back out to samba 2.2 because Im using this samba
server as
a PDC also, and when I logon with my WinXP workstation, the PC reboots
during "Loading desktop settings"....
I guess its a bug in the alpha version of samba

I'm going to do some research, and figure out exactly what 'restrict
anonymous = 2' does.  If it denies all guest logins, then it is trivial
to implement.

Andrew Bartlett

On Fri, 2002-11-15 at 15:08, Tim Potter wrote:
> On Thu, Nov 14, 2002 at 08:50:47PM -0500, Yannick Mercier wrote:
> >     I am running 2.2.5 and I would like to know if the
> > "restrict anonymous" as been implemented correctly, as it was supposed
> > to behave from the start, in order to deny
> > ALL anonymous connections as stated in the man :
> > "When restrict anonymous is yes, all anonymous connections are denied no
> > matter what they are for."
> In the Samba 2.2 branch the 'restrict anonymous' parameter behaves as
> per the manual page.  It's broken and unlikely to be fixed.
> > Ive been reading some dev mailing lists and someone said that there
would be
> > 0, 1 , 2 as
> > possible values to the "restrict anonymous" option, as it been done yet
> In the Samba HEAD and 3.0 branches however the parameter behaves more
> like the RestrictAnonymous registry setting.  Only 'restrict anonymous =
> is currently supported though.

More information about the samba-technical mailing list