mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +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);
|
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
|
* Not sure here is the right place to catch this
|
||||||
* condition. Might be moved to somewhere else later -- vl
|
* condition. Might be moved to somewhere else later -- vl
|
||||||
|
Reference in New Issue
Block a user