i have tried to use this but can't make it work.
when i use findUsers with includeDeleted it work well.
both send the same controls array (outside the opts object).
{"name":"ActiveDirectory","hostname":"my-comp","pid":7832,"level":50,"err":{"message":"0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:\n\t'DC=my,DC=doamin,DC=com'\n\u0000","name":"NoSuchObjectError","stack":"NoSuchObjectError: 0000208D: NameErr: DSID-0310020A, problem 2001 (NO_OBJECT), data 0, best match of:\n\t'DC=my,DC=doamin,DC=com'\n\u0000\n at messageCallback (C:\\Dev\\Projects\\node-activedirectory\\node_modules\\ldapjs\\lib\\client\\client.js:867:40)\n at Parser.onMessage (C:\\Dev\\Projects\\node-activedirectory\\node_modules\\ldapjs\\lib\\client\\client.js:199:12)\n at Parser.EventEmitter.emit (events.js:95:17)\n at Parser.write (C:\\Dev\\Projects\\node-activedirectory\\node_modules\\ldapjs\\lib\\messages\\parser.js:105:8)\n at Socket.onData (C:\\Dev\\Projects\\node-activedirectory\\node_modules\\ldapjs\\lib\\client\\client.js:155:24)\n at Socket.EventEmitter.emit (events.js:95:17)\n at Socket.<anonymous> (_stream_readable.js:746:14)\n at Socket.EventEmitter.emit (events.js:92:17)\n at emitReadable_ (_stream_readable.js:408:10)\n at emitReadable (_stream_readable.js:404:5)","code":32},"msg":"[UNKNOWN] An error occurred performing the requested LDAP search on ou=Deleted Objects,DC=my,DC=doamin,DC=com ({\"filter\":\"dn=*del*\",\"scope\":\"base\",\"attributes\":[\"attributeID\",\"attributeSyntax\",\"dnReferenceUpdate\",\"dNSHostName\",\"flatName\",\"governsID\",\"groupType\",\"instanceType\",\"lDAPDisplayName\",\"legacyExchangeDN\",\"mS-DS-CreatorSID\",\"mSMQOwnerID\",\"nCName\",\"objectClass\",\"objectGUID\",\"objectSid\",\"oMSyntax\",\"proxiedObjectName\",\"replPropertyMetaData\",\"sAMAccountName\",\"securityIdentifier\",\"sIDHistory\",\"subClassOf\",\"systemFlags\",\"trustPartner\",\"trustDirection\",\"trustType\",\"trustAttributes\",\"userAccountControl\",\"uSNChanged\",\"uSNCreated\",\"whenCreated\",\"msDS-AdditionalSamAccountName\",\"msDS-Auxiliary-Classes\",\"msDS-Entry-Time-To-Die\",\"msDS-IntId\",\"msSFU30NisDomain\",\"nTSecurityDescriptor\",\"uid\"],\"controls\":[{\"_value\":{\"size\":1000},\"type\":\"1.2.840.113556.1.4.319\",\"criticality\":false,\"value\":{\"size\":1000},\"json\":{\"controlType\":\"1.2.840.113556.1.4.319\",\"criticality\":false,\"controlValue\":{\"size\":1000}}},{\"type\":\"1.2.840.113556.1.4.417\",\"criticality\":true,\"value\":null,\"json\":{\"controlType\":\"1.2.840.113556.1.4.417\",\"criticality\":true,\"controlValue\":null}}],\"includeDeleted\":true})","time":"2014-11-23T16:15:53.614Z","v":0}