mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Deal with missing schema
This commit is contained in:
@@ -334,7 +334,7 @@ else {
|
||||
|
||||
# Add to the ldap database
|
||||
@classes = ( "posixAccount", "shadowAccount" );
|
||||
if ($schema->objectclass("person") && $config{'person'}) {
|
||||
if ($schema && $schema->objectclass("person") && $config{'person'}) {
|
||||
push(@classes, "person");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user