r21178: Adapt RPC-SAMBA3-SHARESEC to new smbd behavior