The Samba-Bugzilla – Bug 7307
man net usershare mistake
Last modified: 2010-03-30 07:47:21 UTC
In man net, there should be
USERSHARE ADD sharename path [comment [acl]]
USERSHARE ADD sharename path [comment] [acl]
That's not s4 related as far as I can tell (we have no "net usershare" command).
Fixed in master, thanks.
Pushed to v3-5-test and v3-4-test to get it into the next bug fix releases.