diff options
author | Jeremy Allison <jra@samba.org> | 2005-06-22 21:20:41 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:57:59 -0500 |
commit | 7e509e9b99a18495bde01a990e37de70bae35aac (patch) | |
tree | 36cb4800a573693b66ec270baf9c5d609fa4801c /source3/smbd/dir.c | |
parent | bc8954c4fce89992eb31bcb88e27728859aa7132 (diff) | |
download | samba-7e509e9b99a18495bde01a990e37de70bae35aac.tar.gz samba-7e509e9b99a18495bde01a990e37de70bae35aac.tar.xz samba-7e509e9b99a18495bde01a990e37de70bae35aac.zip |
r7842: With the patch I sent Steve yesterday this gives us complete POSIX pathnames.
ie. files containing : and \ can be accessed from Linux.
Jeremy.
(This used to be commit e9b8d23d6138d909a65ea70b2e801881e8333b38)
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r-- | source3/smbd/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 072f396b8cc..ae21e16e311 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -238,7 +238,7 @@ BOOL dptr_set_wcard_and_attributes(int key, const char *wcard, uint16 attr) dptr->wcard = SMB_STRDUP(wcard); if (!dptr->wcard) return False; - if (wcard[0] == '.' && wcard[1] == 0) { + if (lp_posix_pathnames() || (wcard[0] == '.' && wcard[1] == 0)) { dptr->has_wild = True; } else { dptr->has_wild = ms_has_wild(wcard); |