Include first and lash name in user objects for substitution
authorJamie Cameron <jcameron@webmin.com>
Fri, 26 Sep 2008 17:11:15 +0000 (17:11 +0000)
committerJamie Cameron <jcameron@webmin.com>
Fri, 26 Sep 2008 17:11:15 +0000 (17:11 +0000)
ldap-useradmin/save_user.cgi

index cf4e4ba..a541923 100755 (executable)
@@ -289,7 +289,9 @@ else {
                         'shell' => $shell,
                         'pass' => $pass,
                         'plainpass' => $plainpass,
-                        'home' => $home );
+                        'home' => $home,
+                        'firstname' => $firstname,
+                        'lastname' => $lastname );
 
        if ($in{'new'}) {
                defined(&all_getpwnam($user)) &&