1
0
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:
Jelmer Vernooij
2006-01-03 18:11:17 +00:00
committed by Gerald (Jerry) Carter
parent 63d718e243
commit 6c81984ddb

View File

@@ -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);