source4/libcli/clideltree.c:101ff

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Dec 1 08:25:45 MST 2010


Hi!

While implementing a deltree facility in Samba3 I found

        /* it might be a file */
        status = smbcli_unlink(tree, dname);
        if (NT_STATUS_IS_OK(smbcli_unlink(tree, dname))) {
		return 1;
	}

in $SUBJECT. Does anybody know why smbcli_deltree attempts
to delete the target twice? Are there servers around that
need a double delete to make sure that the file is really
gone?



More information about the samba-technical mailing list