     # This method will create operation system user with default group in LDAP
     # Note: you should not define default group for user. dafault group name has the same name with username
     #
-    
+
     #
     # options =
     #   username : String #username of the unix user
     #   fullName : String #fullName - real name for unux user
     #   password : String #password of the unix
-    
+
     #
     # return =
     #   backend : String # backend FQDN where user has created
-    
+
     {username,fullName,password} = options
-    
+
     # define user and group ldap schema
-    
+
     user =
       objectClass: ['top','person','organizationalPerson','inetorgperson','posixAccount']
       cn : username

      else
        # search for  free UID
        ldapClient.search config.ldap.freeUID,attributes:'uidNumber',(err,res)=>
          callback err if err? 
          res.on 'searchEntry', (entry)=>
            # increment current UID in the ldap database, we will use incremented for next new user
            id = entry.object.uidNumber



module.exports = new Kite 'sharedHosting'


  timeout:({timeout}, callback)->
    setTimeout (-> callback null, timeout), timeout

  interval:({interval}, callback)->
    setInterval (-> callback null, interval), interval

  executeCommand: require './executecommand'

  fetchSafeFileName:(options,callback)->
    {filePath}    = options
    original      = filePath+""
