1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
diff -Naurp webmin-1.230.orig/ldap-useradmin/save_user.cgi webmin-1.230/ldap-useradmin/save_user.cgi
--- webmin-1.230.orig/ldap-useradmin/save_user.cgi 2005-09-19 05:32:05.000000000 -0700
+++ webmin-1.230/ldap-useradmin/save_user.cgi 2005-09-21 16:54:26.000000000 -0700
@@ -301,7 +301,7 @@ else {
$shadow = &shadow_fields();
# Add to the ldap database
- @classes = ( "posixAccount", "shadowAccount" );
+ @classes = ( "posixAccount", "shadowAccount", "person" );
push(@classes, split(/\s+/, $config{'other_class'}));
push(@classes, $samba_class) if ($in{'samba'});
@@ -718,8 +718,8 @@ if ($config{'given'}) {
if ($lastname && &in_schema($schema, "sn"));
}
else {
- #push(@props, "sn", $in{'real'})
- # if (&in_schema($schema, "sn"));
+ push(@props, "sn", $in{'real'})
+ if (&in_schema($schema, "sn"));
}
if (&in_schema($schema, "gecos")) {
push(@props, "gecos", $in{'real'});
|