[Samba] VPN and negative auth cache?!

Marco Gaiarin gaio at lilliput.linux.it
Fri Nov 26 10:22:19 UTC 2021

Situation: Win7 portable system joined to a Samba AD domain, with CSC (AKA
'Offline Files and Folders').

Sometimes when the system conect to the VPN, network drives are inaccessible
(red X) and if i try to connect, authentication request popups.
In logs i see:

	[2021/11/26 11:00:07.973447,  0] ../../lib/util/access.c:365(allow_access)
	  Denied connection from (

as if an ACL apply. But there's no ACL in that share (other share in the
same server have).

If i try to connect to a different alias/cname of the server, works.

Could be that if i try to connect to \\servername\share1 that have the ACL,
subsequent calls to \\servername\share2 get 'negative cache' denied?

Seems really strange...

PS. and note that this seems to happen randomly; if the user disconnect and
    reconect, all shares go OK...

  Io ammiro gli americani per come fanno le trattative: prima di tutto
  pensano a se stessi, poi a se stessi, e solo alla fine a se stessi.
						(Ignacio Lula da Silva)

More information about the samba mailing list