mirror of
https://github.com/samba-team/samba.git
synced 2025-11-19 04:23:48 +03:00
r12697: Support empty fullname fields in unix accounts
(This used to be commit 3d70ebca0b)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
63d718e243
commit
6c81984ddb
@@ -113,6 +113,10 @@ function upgrade_sam_account(ldb,acc,domaindn,domainsid)
|
||||
|
||||
var pts = split(',', acc.fullname);
|
||||
acc.fullname = pts[0];
|
||||
|
||||
if (acc.fullname == undefined) {
|
||||
acc.fullname = acc.username;
|
||||
}
|
||||
|
||||
assert(acc.fullname != undefined);
|
||||
assert(acc.nt_username != undefined);
|
||||
|
||||
Reference in New Issue
Block a user