Click here to Skip to main content
16,005,389 members
Home / Discussions / C#
   

C#

 
GeneralListBox with ComboBox embedded Pin
yipan20-May-04 9:44
yipan20-May-04 9:44 
GeneralRe: ListBox with ComboBox embedded Pin
Heath Stewart20-May-04 10:05
protectorHeath Stewart20-May-04 10:05 
GeneralRe: ListBox with ComboBox embedded Pin
Anonymous20-May-04 21:02
Anonymous20-May-04 21:02 
GeneralProgrammatic LDAP Queries Pin
MrEyes20-May-04 6:36
MrEyes20-May-04 6:36 
GeneralRe: Programmatic LDAP Queries Pin
Heath Stewart20-May-04 8:08
protectorHeath Stewart20-May-04 8:08 
GeneralRe: Programmatic LDAP Queries Pin
MrEyes20-May-04 11:16
MrEyes20-May-04 11:16 
GeneralRe: Programmatic LDAP Queries Pin
Heath Stewart20-May-04 11:21
protectorHeath Stewart20-May-04 11:21 
GeneralRe: Programmatic LDAP Queries Pin
MrEyes21-May-04 4:38
MrEyes21-May-04 4:38 
Thanks alot for the suggestions, unfortunately I had already tried the various flags with no result.

Now the rest of this post is in "thinking out loud" mode, but if anybody has a clue feel free to join in Big Grin | :-D

The LDAP server I was attempting to connect to is beyond my control, so while playing around I have setup my own ldap server (OpenLdap)

Now if I run the server using the default LDAP port I can connect and retrieve data using the following paths :

string ldapPath = "LDAP://10.139.42.89:389/dc=domain,dc=com";
string ldapPath = "LDAP://10.139.42.89/dc=domain,dc=com";

I can also use the openLdap LdapSearch tool to retrieve data aswell Cool | :cool:

If I start the server using any other port, say 9898, when I attempt to retrieve data using the following path it fails :

string ldapPath = "LDAP://10.139.42.89:9898/dc=domain,dc=com";

This fails on FindAll() with "The Server is not operational"

But I can still perform searches to that port using the openLdap ldapSearch tool Sigh | :sigh:

So I thought that maybe the .NET framework was ignoring the port and always going to the default (389) but if I run the server on the default port and use the following connection string :

string ldapPath = "LDAP://10.139.42.89:9898/dc=domain,dc=com";

It still fails Mad | :mad:

Every single document I look at advises that ldap connection paths should be formatted in the way the ones above are, which I assume is correct as I can make connections to the default port either by specifying or not - but it doesnt explain why I cannot connect to non default ports.












post.mode = postmodes.signature;
SELECT everything FROM everywhere WHERE something = something_else;
> 1 Row Returned
> 42
GeneralRe: Programmatic LDAP Queries Pin
Heath Stewart21-May-04 4:50
protectorHeath Stewart21-May-04 4:50 
GeneralRe: Programmatic LDAP Queries Pin
MrEyes21-May-04 5:07
MrEyes21-May-04 5:07 
GeneralRe: Programmatic LDAP Queries Pin
Heath Stewart21-May-04 5:16
protectorHeath Stewart21-May-04 5:16 
GeneralCustom ToolBar Pin
BaShOr20-May-04 6:32
BaShOr20-May-04 6:32 
GeneralRe: Custom ToolBar Pin
hbk72320-May-04 7:53
hbk72320-May-04 7:53 
GeneralRe: Custom ToolBar Pin
Heath Stewart20-May-04 8:07
protectorHeath Stewart20-May-04 8:07 
GeneralRe: Custom ToolBar Pin
BaShOr20-May-04 11:46
BaShOr20-May-04 11:46 
GeneralRe: Custom ToolBar Pin
BaShOr20-May-04 22:58
BaShOr20-May-04 22:58 
GeneralXML,XSD and Dataset's with c# Pin
Rhys__66620-May-04 6:18
Rhys__66620-May-04 6:18 
GeneralRe: XML,XSD and Dataset's with c# Pin
partyganger20-May-04 6:25
partyganger20-May-04 6:25 
GeneralSTCK to a DateTime Pin
seevse20-May-04 5:40
seevse20-May-04 5:40 
GeneralRe: STCK to a DateTime Pin
Heath Stewart20-May-04 5:55
protectorHeath Stewart20-May-04 5:55 
GeneralControl to Add thumbnailed icons to Pin
lethologica20-May-04 5:33
lethologica20-May-04 5:33 
GeneralRe: Control to Add thumbnailed icons to Pin
Heath Stewart20-May-04 5:42
protectorHeath Stewart20-May-04 5:42 
GeneralRe: Control to Add thumbnailed icons to Pin
lethologica20-May-04 10:35
lethologica20-May-04 10:35 
GeneralThis question falls between C# and Asp.net Pin
MeterMan20-May-04 5:21
MeterMan20-May-04 5:21 
GeneralRe: This question falls between C# and Asp.net Pin
Heath Stewart20-May-04 5:32
protectorHeath Stewart20-May-04 5:32 

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.