mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
parent
a58de8cee5
commit
82b3656b4b
@ -146,7 +146,7 @@ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const
|
||||
/* See if we found a match. Check if we need to update the
|
||||
SID. */
|
||||
|
||||
if ( domain ) {
|
||||
if ( domain && sid) {
|
||||
if ( sid_equal( &domain->sid, &global_sid_NULL ) )
|
||||
sid_copy( &domain->sid, sid );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user