"share" instead of "\\server\share".
Fix that. Still not able to get the user list but that's something else.
Jeremy I don't think I broke anything ;-)
J.F.
(This used to be commit
59018c58e4158e9ccb51c42ca32e490f32ee0def)
passlen = strlen(password);
}
- q = strchr_m(path+2,'\\');
- if (!q) {
- END_PROFILE(SMBtconX);
- return(ERROR(ERRDOS,ERRnosuchshare));
+
+ /*
+ * the service name can be either: \\server\share
+ * or share directly like on the DELL PowerVault 705
+ */
+ if (*path=='\\') {
+ q = strchr_m(path+2,'\\');
+ if (!q) {
+ END_PROFILE(SMBtconX);
+ return(ERROR(ERRDOS,ERRnosuchshare));
+ }
+ fstrcpy(service,q+1);
}
- fstrcpy(service,q+1);
+ else
+ fstrcpy(service,path);
+
q = strchr_m(service,'%');
if (q) {
*q++ = 0;