mirror of
https://github.com/samba-team/samba.git
synced 2025-07-30 19:42:05 +03:00
r20532: From Volker...
"smbcli_setattr("") always returns ACCESS_DENIED, test extension to follow. Merge to 3.0.24?" Yep (with slight optimization). Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
68c4fbcf33
commit
dcc7bca1ad
@ -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
|
||||
|
Reference in New Issue
Block a user