84c84 < $entry->add( 'objectclass' => 'sambaSamAccount' ); --- > $entry->add( 'objectClass' => 'sambaSamAccount' ); 96c96 < if ( $entry->get_value($key) ) { --- > if ( defined( $entry->get_value($key) ) ) {