lp_guest_only() ????

Gerald (Jerry) Carter jerry at samba.org
Sat Sep 29 18:39:01 GMT 2001


On Sun, 30 Sep 2001, Andrew Bartlett wrote:

> [abartlet at piglett source]$ grep lp_guest_only */*.c */*.h
> param/loadparm.c:FN_LOCAL_BOOL(lp_guest_only, bGuest_only)
> include/proto.h:BOOL lp_guest_only(int );
> include/smb_macros.h:#define GUEST_ONLY(snum)   (VALID_SNUM(snum) &&
> lp_guest_only(snum))
>
> [abartlet at piglett source]$ grep GUEST_ONLY */*.c */*.h
> smbd/password.c:	if (GUEST_ONLY(snum))
> smbd/password.c:	if (!GUEST_ONLY(snum) && (lp_security() > SEC_SHARE)) {
> smbd/password.c:	if (!(GUEST_ONLY(snum) && GUEST_OK(snum))) {
> include/smb_macros.h:#define GUEST_ONLY(snum)   (VALID_SNUM(snum) &&
> lp_guest_only(snum))
>
> Its been hiding...

OK.  I figured it was something like that.  Must be late. :-)




Thanks, jerry





More information about the samba-technical mailing list