Fix precondition warning in Samba module