Displaying 1 result from an estimated 1 matches for "baselen".
Did you mean:
base_len
2011 Sep 17
1
vfs_shadow_copy2 doesn't seem to work with basedir of /
...ode in vfs_shadow_copy2.c, but I don't really
understand what it's doing:
mattcen at adam:samba$ nl -ba samba-3.5.6~dfsg/source3/modules/vfs_shadow_copy2.c | sed -n 376,383p
376 /* some sanity checks */
377 if (strncmp(basedir, handle->conn->connectpath, baselen) != 0 ||
378 (handle->conn->connectpath[baselen] != 0 && handle->conn->connectpath[baselen] != '/')) {
379 DEBUG(0,("convert_shadow2_name: basedir %s is not a parent of %s\n",
380 basedir, h...