diff options
author | Jeremy Allison <jra@samba.org> | 2007-01-04 22:01:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:55 -0500 |
commit | 2b1760297f3c61aa5f71fc548c51dae8de3cc885 (patch) | |
tree | a438f2acf8d66f7b8c05d171926301b8eb4bc3b3 /source3 | |
parent | e5e0f51b83e052418d917c65ac4009642c84140a (diff) | |
download | samba-2b1760297f3c61aa5f71fc548c51dae8de3cc885.tar.gz samba-2b1760297f3c61aa5f71fc548c51dae8de3cc885.tar.xz samba-2b1760297f3c61aa5f71fc548c51dae8de3cc885.zip |
r20532: From Volker...
"smbcli_setattr("") always returns ACCESS_DENIED, test extension to follow.
Merge to 3.0.24?"
Yep (with slight optimization).
Jeremy.
(This used to be commit dcc7bca1adbc69f348d46291ec2cbfaf5d8486bc)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 63f8d0bb615..3ebab184346 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -1004,7 +1004,7 @@ int reply_setatr(connection_struct *conn, char *inbuf,char *outbuf, int dum_size return ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND); } - if (strequal(fname, ".")) { + if (fname[0] == '.' && fname[1] == '\0') { /* * Not sure here is the right place to catch this * condition. Might be moved to somewhere else later -- vl |