[Samba] Problem with libsmbclient notify
jra at samba.org
Wed Jul 3 16:02:17 UTC 2019
On Tue, Jul 02, 2019 at 11:24:55PM -0400, Jonathon Reinhart via samba wrote:
> I'm trying to use the "notify" API of libsmbclient, testing against a
> Samba AD DC. The function is returning with errno=22 (mapped from
> NT_STATUS_REVISION_MISMATCH), and I'm getting the following error
> smb1cli_req_writev_submit: called for dialect[SMB3_11]
> It looks like libsmbclient is, for some reason, using SMB1 but needs
> to be using SMB3_11.
> Note that the following command (which, like my code, forces the use
> of Kerberos) works just fine:
> $ smbclient -kN //dc1.example.com/sysvol -c 'notify /'
> See my proof-of-concept source code here:
> Please let me know if I should proceed to open a bug.
Yes, please open a bug but specify exactly what version
of Samba (client and server) you're using for this.
It may have already been fixed upstream (I remember
Volker doing something around this :-).
More information about the samba