leading / in filenames - samba3 vs samba4

tridge at samba.org tridge at samba.org
Thu Feb 2 04:08:34 GMT 2006


James,

 > I was just running a client test, and I noticed that Samba 3 accepts
 > an open of a filename /foo, but Samba 4 does not. Is this divergence
 > intentional?

windows rejects these with NT_STATUS_OBJECT_NAME_INVALID, which is why
Samba4 rejects them.

For unix<->unix CIFS we should accept these, but I'd like to see this
done via a different negotiated dialect, in which case the server
would then expect / as the separator for all files.

Cheers, Tridge


More information about the samba-technical mailing list