473,327 Members | 2,007 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

LDAP question

Rob
Hi everyone,
I have a task to do on our current existing website wich is a .aspx+C#. What
I need to add, is to create an authentication form and then based on user's
privillage give him ability to view some pdf documents. So I was wondering if
C# is the right language to do this task and also if someone know any
resource or example code for me to learn how to work with Active Directory
LDAP to authenticate users.
thanks for any advice-Rob
Nov 28 '05 #1
4 1323
Yep, you can do this with C# or any other .NET language. You'll have to use
System.DirectoryServices namespace to accomplish your tasks.

DirectoryEntry is the class to work with Active Directory data...

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"Rob" <Ro*@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hi everyone,
I have a task to do on our current existing website wich is a .aspx+C#. What I need to add, is to create an authentication form and then based on user's privillage give him ability to view some pdf documents. So I was wondering if C# is the right language to do this task and also if someone know any
resource or example code for me to learn how to work with Active Directory
LDAP to authenticate users.
thanks for any advice-Rob

Nov 28 '05 #2
Rob
Hi Vadym,
Can you tell me where I can see some examples of authentication against AD,
and maybe source to read.
Thanks-Rob

"Vadym Stetsyak" wrote:
Yep, you can do this with C# or any other .NET language. You'll have to use
System.DirectoryServices namespace to accomplish your tasks.

DirectoryEntry is the class to work with Active Directory data...

--
Vadym Stetsyak aka Vadmyst
http://vadmyst.blogspot.com
"Rob" <Ro*@discussions.microsoft.com> wrote in message
news:C7**********************************@microsof t.com...
Hi everyone,
I have a task to do on our current existing website wich is a .aspx+C#.

What
I need to add, is to create an authentication form and then based on

user's
privillage give him ability to view some pdf documents. So I was wondering

if
C# is the right language to do this task and also if someone know any
resource or example code for me to learn how to work with Active Directory
LDAP to authenticate users.
thanks for any advice-Rob


Nov 28 '05 #3
We have an LDAP server that does not use AD. If this is the case with
you you might want to check out
http://www.novell.com/coolsolutions/feature/11204.html

Nov 29 '05 #4
Rob
No, i want to use AD, since all my users have a Windows account.
Rob

"David" wrote:
We have an LDAP server that does not use AD. If this is the case with
you you might want to check out
http://www.novell.com/coolsolutions/feature/11204.html

Nov 29 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: dmcconkey | last post by:
Hi folks, I've been searching for a while and haven't found my specific question anywhere else. If this has already been asked, please accept my appologies and point me to the appropriate...
3
by: Fie Fie Niles | last post by:
We need to use LDAP in conjunction with our ASP pages. Are there LDAP API that can be used either from VB or VBScript ? Where can I find sample codes for it ? Thank you very much.
7
by: Amar | last post by:
I am trying to connect to my college LDAP directory using ASP.NET. This LDap does not have security as it returns only user demographic information. i do not need to bind with a username or...
0
by: Ronald Wunderlich | last post by:
Hi, My first Question: can db2 (db2ckpw) ask over pam_ldap my edirectory ldap server for user authentication? The scenario: 1. computer suse linx enterprise server 8(SLES8) and edirectory...
0
by: Tim::.. | last post by:
Question 1... Hi can someone please tell me why I can't put the following LDAP string into my web.config fill as an <appSetting> <appSettings> <add key="strLDAP"...
8
by: BookerW | last post by:
I have the following line of code, but i don't think i am providing the right syntax: Dim oAllEntries As New DirectoryEntry(LDAP & LDAP_DOMAIN_SERVER & LDAP_USERS, LDAP_DOMAIN & sUserName,...
4
by: Terry Miller | last post by:
I have DB2 V8.2 loaded on a Redhat Enterprise Linux version 3 (RHEL 3) box. RHEL is configured to talk to LDAP for authenticaton besides the local passwd file. I can verify this by executing an su...
1
by: Laszlo Nagy | last post by:
Hello, I'm using the ldap module under Windows. This is the error that I get: import ldap l = ldap.initialize("ldaps://neptunus.msnet:636")...
8
by: sphinney | last post by:
All, I posted a question yesterday about automatically sending emails with VBA in Access 2002. That post was wonderfully answered by Mr. Doherty. Now I have a follow up question. Can anyone...
1
by: dmf | last post by:
Hi, I have a question regarding using SSL connections with LDAP. Background: We have a sun server, and PHP has been compiled against the LDAP libraries provided by Sun. Almost everything I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.