Click here to Skip to main content
15,891,951 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how change level? Pin
Dave Kreskowiak12-Jun-13 1:44
mveDave Kreskowiak12-Jun-13 1:44 
AnswerRe: how change level? Pin
Edward Giles25-Jun-13 22:48
Edward Giles25-Jun-13 22:48 
Jokevb.Net scrolls uncontrollably Pin
treddie11-Jun-13 12:47
treddie11-Jun-13 12:47 
GeneralRe: vb.Net scrolls uncontrollably Pin
treddie11-Jun-13 12:48
treddie11-Jun-13 12:48 
GeneralRe: vb.Net scrolls uncontrollably Pin
treddie11-Jun-13 12:48
treddie11-Jun-13 12:48 
GeneralRe: vb.Net scrolls uncontrollably Pin
TnTinMn11-Jun-13 15:57
TnTinMn11-Jun-13 15:57 
GeneralRe: vb.Net scrolls uncontrollably Pin
treddie11-Jun-13 17:50
treddie11-Jun-13 17:50 
QuestionLDAP queries not returning the same data Pin
David Mujica10-Jun-13 9:59
David Mujica10-Jun-13 9:59 
I have a utility which loops through our LDAP fetching all of the CN values out to a .csv file, I am validating this against an Excel document which contains our phone number list. The problem is that for some people, I do not find a LDAP entry.

I have another utility which takes as input the Username of someone and dumps out all of the attributes found in our LDAP and when I use this utility to find a person which is not listed on the main dump file, I do find him. Confused | :confused:

I wrote both utilities, so the fetching logic is very similar.

The looping utility uses:
VB
Dim de As New DirectoryEntry("LDAP://DC=us,DC=myCompany,DC=com")

ds.Filter = "(&(objectCategory=person))"


While the single user verifier uses:

VB
Dim de As New DirectoryEntry("LDAP://DC=us,DC=myCompany,DC=com")

ds.Filter = String.Format("(SAMAccountName={0})", Me.tboxUserName.Text)


I have looked at the LDAP properties of 2 users; UserA is the guy I don't have in my .csv file and UserB who is listed in the .csv file and nothing obviously jumps out at me being different.

Where should I be looking to resolve this issue? If I can find a user directly by his username, then he should be part of the .csv export file. Right?

Thanks in advance for your guidance.
AnswerRe: LDAP queries not returning the same data Pin
Richard Deeming10-Jun-13 11:17
mveRichard Deeming10-Jun-13 11:17 
GeneralRe: LDAP queries not returning the same data Pin
David Mujica11-Jun-13 10:25
David Mujica11-Jun-13 10:25 
AnswerRe: LDAP queries not returning the same data Pin
Eddy Vluggen10-Jun-13 11:19
professionalEddy Vluggen10-Jun-13 11:19 
GeneralRe: LDAP queries not returning the same data Pin
David Mujica11-Jun-13 10:36
David Mujica11-Jun-13 10:36 
AnswerRe: LDAP queries SOLVED - PageSize Pin
David Mujica11-Jun-13 10:39
David Mujica11-Jun-13 10:39 
GeneralRe: LDAP queries SOLVED - PageSize Pin
ChandraRam11-Jun-13 19:23
ChandraRam11-Jun-13 19:23 
Questionvb.Net Unfixing my edits? Pin
treddie10-Jun-13 7:45
treddie10-Jun-13 7:45 
AnswerRe: vb.Net Unfixing my edits? Pin
Ron Beyer10-Jun-13 8:03
professionalRon Beyer10-Jun-13 8:03 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 9:51
treddie10-Jun-13 9:51 
GeneralRe: vb.Net Unfixing my edits? Pin
TnTinMn10-Jun-13 15:08
TnTinMn10-Jun-13 15:08 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 17:00
treddie10-Jun-13 17:00 
AnswerRe: vb.Net Unfixing my edits? Pin
Eddy Vluggen10-Jun-13 8:20
professionalEddy Vluggen10-Jun-13 8:20 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 9:56
treddie10-Jun-13 9:56 
GeneralRe: vb.Net Unfixing my edits? Pin
Eddy Vluggen10-Jun-13 10:45
professionalEddy Vluggen10-Jun-13 10:45 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie10-Jun-13 11:15
treddie10-Jun-13 11:15 
GeneralRe: vb.Net Unfixing my edits? Pin
Eddy Vluggen10-Jun-13 22:34
professionalEddy Vluggen10-Jun-13 22:34 
GeneralRe: vb.Net Unfixing my edits? Pin
treddie11-Jun-13 9:18
treddie11-Jun-13 9:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.