#include "system/filesys.h"
#include "locking/proto.h"
#include "libsmb/nmblib.h"
+#include "../libcli/smb/smbXcli_base.h"
static fstring password[2];
static fstring username[2];
return NULL;
}
- status = cli_negprot(c, PROTOCOL_NT1);
+ status = smbXcli_negprot(c->conn, c->timeout, PROTOCOL_CORE,
+ PROTOCOL_NT1);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("protocol negotiation failed: %s\n",
nt_errstr(status)));