s3:libsmb: normalize leading slashes in cli_resolve_path()
commit07eb10b7457adc9a994284d7e7ea12bbb3f5d2f5
authorStefan Metzmacher <metze@samba.org>
Mon, 19 Jun 2017 12:13:37 +0000 (19 14:13 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 22 Jun 2017 11:07:40 +0000 (22 13:07 +0200)
treee16e43c4fbcec94dd69bb4e610ba11c14e16998f
parent8c4cef218af2f5464223e56bbde8d50acce79155
s3:libsmb: normalize leading slashes in cli_resolve_path()

As we try to pass the path to an SMB2 server, we should have
just one leading backslash (which then gets ignored in
cli_smb2_create_fnum_send()).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/clidfs.c