Pass type= when creating samba group
authorJamie Cameron <jcameron@webmin.com>
Fri, 6 Jul 2007 21:08:58 +0000 (21:08 +0000)
committerJamie Cameron <jcameron@webmin.com>
Fri, 6 Jul 2007 21:08:58 +0000 (21:08 +0000)
samba/samba-lib.pl

index 62fd140..11c18d0 100644 (file)
@@ -872,7 +872,8 @@ else {
                "$config{'net'} groupmap modify".
                " ntgroup=".quotemeta($_[0]->{'name'}).
                ($_[0]->{'desc'} ? " comment=".quotemeta($_[0]->{'desc'})
-                                : " 'comment= '")." 2>&1");
+                                : " 'comment= '").
+               " type=".quotemeta($_[0]->{'type'})." 2>&1");
        $? && &error("$config{'net'} failed : <pre>$out</pre>");
        }
 }