diff --git a/public_html/bin/ldapsaisie.php b/public_html/bin/ldapsaisie.php
index d6d17708..5cfaa08e 100755
--- a/public_html/bin/ldapsaisie.php
+++ b/public_html/bin/ldapsaisie.php
@@ -25,6 +25,11 @@ require_once realpath(dirname(__FILE__)."/../")."/core.php";
if(LSsession :: startCliLSsession()) {
+ // Load some default classes
+ foreach(array('LSsearch', 'LSldapObject') as $class)
+ if (!LSsession :: loadLSClass($class))
+ LSlog :: fatal("Fail to load class $class.");
+
// Handle CLI arguments and run command (if provided)
LScli :: handle_args();