microsoft.public.adsi.general
  Home FAQ Contact Sign in
microsoft.public.adsi.general only
 
Advanced search
May 2008
motuwethfrsasuw
   1234 18
567891011 19
12131415161718 20
19202122232425 21
262728293031  22
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
microsoft.public.adsi.general Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Adding an AuxiliaryClass         


Author: fixitchris
Date: May 8, 2008 17:21

What I am trying to accomplish is to create an auxiliary schema class to the
"user" schema class and create a user with the properties I have added to the
auxiliary class. Once I save the new schema class to the ADAM schema, it
automatically becomes an auxiliary class to the "user" schema class.
However, this is not true. Whenever I try to assign a value to these new
properties I get a constraints error. I am unable to set my new properties
after creating a user, unless I go into the ADAM Schema MMC snap-in and
explicitly add this new class as to the auxiliary classes of "user". When I
try to add "contosoClass" to the auxiliaryClasses collection in my code,
however, I get an error that "contosoClass" already exists in
"user".auxiliaryClasses. I am able to verify this by iterating...
Show full article (1.54Kb)
no comments
  Authenticate with Novell Edirectory with .Net 2.0 DirectoryServices         


Author: andrewt
Date: May 8, 2008 11:18

I am trying to authenticate with Edirectory with .Net 2.0, and I
always get an Exception with message "Unknown Error" when I try to
bind. Any ideas?

Currently I am trying to use the System.DirectoryServices library.
The connection to EDirectory server is over ssl. (ldaps)
I have tried numerous AuthenticationTypes including
SecureSocketsLayer, and FastBind.
I have also tried numerous paths, some of which are listed below.
ldap://authldap.domain.edu (with
AuthenticationTypes.SecureSocketsLayer)
ldaps://authldap.domain.edu:636
ldaps://authldap.domain.edu/?uid?sub?(objectClass=inetOrgPerson)
ldaps://authldap.domain.com/ou=users,o=org?uid?sub?(objectClass=inetOrgPerson)

Dim dn As String = "cn=" & username & ",ou=orgunit,o=org"
Dim path As String = "ldap://authldap.domain.edu"
Dim entry As DirectoryEntry = New DirectoryEntry(path, dn,
pwd, AuthenticationTypes.SecureSocketsLayer)

I always get the Exception: Message "Unknown error (0x80005000)"
Show full article (1.22Kb)
2 Comments
  ADSI bind cache         


Author: Robert
Date: May 8, 2008 01:34

I am having hard time using ADSI connection cache with ADsOpenObject, my
application is using user/passwd as NULL with ADsOpenObject and as per MS
documentation - security context of the thread/app that is running my app.
However the bind cache doesn't work and I get a new tcp session for each new
object (I followed all the rules provided by MS in order to conserve number
of binds)
It seems as the connection cache (bind cache) works only if user/password is
provided. Even though my process runs always with the same user credentials.
Any suggestion in how to enable connection cache without the need of having
user/pass on each ADsOpenObject call?

TIA,
R.
3 Comments
  Easy question (user properties)         


Author: ckentauro
Date: May 8, 2008 00:50

Hello, I would like to know the way to list all the properties form a
user. Not the properties values, but the properties names ("name",
"title"...). This is because I have to get some information from a
propertie wich I even don't know the name!

Thank you very much
1 Comment