svn commit: samba r20532 - in branches: SAMBA_3_0/source/smbd
SAMBA_3_0_24/source/smbd
James Peach
jpeach at samba.org
Fri Jan 5 01:02:24 GMT 2007
On Jan 4, 2007, at 2:01 PM, jra at samba.org wrote:
> Author: jra
> Date: 2007-01-04 22:01:36 +0000 (Thu, 04 Jan 2007)
> New Revision: 20532
>
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20532
>
> Log:
>> From Volker...
>
> "smbcli_setattr("") always returns ACCESS_DENIED, test extension to
> follow.
>
> Merge to 3.0.24?"
>
> Yep (with slight optimization).
>
> Jeremy.
>
> Modified:
> branches/SAMBA_3_0/source/smbd/reply.c
> branches/SAMBA_3_0_24/source/smbd/reply.c
>
>
> Changeset:
> Modified: branches/SAMBA_3_0/source/smbd/reply.c
> ===================================================================
> --- branches/SAMBA_3_0/source/smbd/reply.c 2007-01-04 21:09:29 UTC
> (rev 20531)
> +++ branches/SAMBA_3_0/source/smbd/reply.c 2007-01-04 22:01:36 UTC
> (rev 20532)
> @@ -1004,7 +1004,7 @@
> return ERROR_NT(NT_STATUS_OBJECT_PATH_NOT_FOUND);
> }
>
> - if (strequal(fname, ".")) {
> + if (fname[0] == '.' && fname[1] == '\0') {
Maybe the ISDOT macro would be nicer?
--
James Peach | jpeach at samba.org
More information about the samba-technical
mailing list