smbd: Change parameter from unsigned to uint32_t