r9735: More work on generating a valid Samba4 configuration using the
[samba.git] / source4 / scripting / bin / samba3dump
index 3960962f8b68362b494ad56552b39cb221324703..6b3d999803cff113fea80c6ad3045964c72ff76e 100644 (file)
@@ -155,10 +155,9 @@ function print_samba3_winsdb(samba3)
 
 function print_samba3_groupmappings(groupdb)
 {
-       var i;
        print_header("Group Mappings");
        
-       for (i in groupdb.groupmappings) {
+       for (var i in groupdb.groupmappings) {
                var g = groupdb.groupmappings[i];
                printf("\t--- Group: %s ---\n", g.nt_name);
                printf("\tComment: %s\n", g.comment);