svn commit: samba r12697 - in branches/SAMBA_4_0/source/scripting/libjs: .

jelmer at samba.org jelmer at samba.org
Tue Jan 3 18:11:18 GMT 2006


Author: jelmer
Date: 2006-01-03 18:11:17 +0000 (Tue, 03 Jan 2006)
New Revision: 12697

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12697

Log:
Support empty fullname fields in unix accounts

Modified:
   branches/SAMBA_4_0/source/scripting/libjs/upgrade.js


Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/upgrade.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/upgrade.js	2006-01-03 17:27:33 UTC (rev 12696)
+++ branches/SAMBA_4_0/source/scripting/libjs/upgrade.js	2006-01-03 18:11:17 UTC (rev 12697)
@@ -113,6 +113,10 @@
 
 	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);



More information about the samba-cvs mailing list