diff options
author | Gerald Carter <jerry@samba.org> | 2006-08-23 00:24:57 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-08-23 00:24:57 +0000 |
commit | 38e37f903f890f5a98ddc924152a3f15b35fac37 (patch) | |
tree | 7feb5339685346d7e5c61175d968d2e51bba9c4e /source/lib/access.c | |
parent | 59a905de8ac6163c44fe5993067c5399043c5b68 (diff) | |
download | samba-38e37f903f890f5a98ddc924152a3f15b35fac37.tar.gz samba-38e37f903f890f5a98ddc924152a3f15b35fac37.tar.xz samba-38e37f903f890f5a98ddc924152a3f15b35fac37.zip |
r17727: Start pulling in changes for 3.0.23c
Diffstat (limited to 'source/lib/access.c')
-rw-r--r-- | source/lib/access.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/lib/access.c b/source/lib/access.c index fcc795d1f26..303e3ed4c49 100644 --- a/source/lib/access.c +++ b/source/lib/access.c @@ -83,8 +83,7 @@ static BOOL string_match(const char *tok,const char *s, char *invalid_char) yp_get_default_domain(&mydomain); if (!mydomain) { - DEBUG(0,("Unable to get default yp domain.\n")); - return False; + DEBUG(0,("Unable to get default yp domain. Try without it.\n")); } if (!(hostname = SMB_STRDUP(s))) { DEBUG(1,("out of memory for strdup!\n")); @@ -95,7 +94,7 @@ static BOOL string_match(const char *tok,const char *s, char *invalid_char) DEBUG(5,("looking for %s of domain %s in netgroup %s gave %s\n", hostname, - mydomain, + mydomain?mydomain:"(ANY)", tok+1, BOOLSTR(netgroup_ok))); |