BUG: https://bugzilla.samba.org/show_bug.cgi?id=12531
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
(backported from commit
37ef8d3f65bd1215717eb51b2e1cdb84a7bed348)
}
if (config->rel_connectpath == NULL &&
- strlen(basedir) != strlen(handle->conn->connectpath)) {
+ strlen(basedir) < strlen(handle->conn->connectpath)) {
config->rel_connectpath = talloc_strdup(config,
handle->conn->connectpath + strlen(basedir));
if (config->rel_connectpath == NULL) {