git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d718e
)
r12697: Support empty fullname fields in unix accounts
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 3 Jan 2006 18:11:17 +0000
(18:11 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:49:40 +0000
(13:49 -0500)
(This used to be commit
3d70ebca0b706ae22bc7a3f48c2247c450c42026
)
source4/scripting/libjs/upgrade.js
patch
|
blob
|
history
diff --git
a/source4/scripting/libjs/upgrade.js
b/source4/scripting/libjs/upgrade.js
index 60a9725b43cf0a4cae9e52fdae6c9e47b47d0817..4ac6b6db3447d0f75cf07532d472e3cd590d327d 100644
(file)
--- a/
source4/scripting/libjs/upgrade.js
+++ b/
source4/scripting/libjs/upgrade.js
@@
-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);