s3: Fix a winbind crash when scanning trusts