I have a good connection to AD. I can authenticate and check error messages from failed auths.
The issue I'm having comes from trying to change the password. I have an LDAPContext established at this point (yes it is an SSL connection). The issue comes from not knowing what value to use in the "username" parameter. I've tried all varia...
I'm using the search filter "(objectClass=user)" to find user objects, but of course it also returns computers because a computer also has user in its objectClass. How can I create a filter to only return objects users and not objects whos type inherits from user?
...
I am trying to modify certain properties for users in our active directory. Some properties I can change and some I can't. I am doing impersonation, but for some of the properties I still get the "General Access denied error" when I try to call CommitChanges().
For example this will work:
DirectoryEntry deUser = new DirectoryEntry(re...
I am trying to get all of the CN's out of active directory in order to populate groups based on that name into Sharepoint Services. I can list the "memberof" section but I can not seem to split it using split(",")
$Dom = 'LDAP://OU=External,OU=Users,OU=HomeOffice,DC=mydoman,DC=com'
$Root = New-Object DirectoryServices.DirectoryEntry $D...
How would I go about this?
I know that using Dim currUser As String = Request.ServerVariables("LOGON_USER") retunrs the Domain\Username, but I want to know what Group that user is in say in Active Directory.
Is this possible?
Thanks in advance for any help.
...
I wrote this code in ColdFusion to read data from Exchange and am wondering if anyone can help me to code this using Visual Basic Script:
<cfldap
server="insert_my_server_name_here"
username="zzz\zzzzzz"
password="xxxx"
port = "123"
action = "query"
name = "data"
attributes = "company"
filter = "(&(objectclass=group))"
...
Hi Guys,
I posted a question re LDAP account management, but after exploring this, it's not what i'm after. I've managed to find two ways of creating users on a machine, and i find one is much neater than the other, however, i am uncertain how to convert the first option over to the second option entirely.
This was my first solution:
...
Currently, we have an .hta file that employees use to update certain elements of their active directory profile. This alleviates system administrators from having to deal with that issue. The reasoning for a .hta file is obvious. It lifts a lot of the security blockades in place and allows a machine to do things (such as update an ac...
Hey guys,
I'm running into a (hopefully) small issue. I have a web app written in ASP.NET, that will be running off of a Windows 2003 Server machine using IIS 6.0. When I run it locally, it works perfect. When I run it from the server, the site works fine. The issue lies in writing to a remote folder. I have a network folder using AD pe...
I am trying to list all the printers on the network (we have a very large, cross-ocean network) using VS2008 & c#.
I am looking to replicate the functionality of the Find Printers dialog box in Windows (which can be found by going to Printers and Faxes, clicking Add a printer, selecting Network Printer, then picking Find a printer in ...
I have performed an active directory search and now have a SearchResultCollection of all the users in active directory. I've specified all the properties that the DirectorySearch should load, but I also want to know what OU (distinguished name) each user is in. I know I could figure it out be getting a DirectoryEntry for each user, and...
I have 2 WCF services, (A and B), where A calls B.
WCF Service A runs using identity ServiceUserA (as set in application pool).
WCF Service B runs using identity ServiceUserB (as set in application pool).
WCF Service B needs to allow access to users in AD group ServiceBAccessGroup.
ServiceUserA is part of ServiceBAccessGroup.
When Ser...
Right now we have AD/Exchange to manage all of our users logins/e-mail on-site at the office. The major app that everyone uses maintains its own login accounts and all users have a tendency to forget login information for at least one of the two logins.
What I'm considering doing is using AD to authenticate the user in the application ...
Is it possible to set Access persmissions using Active Directory users?
Edit: The overall objective is to allow some users to see certain tables and deny this permission for other users. I'm wondering if it can be done using active directory users.
...
Hi,
I've following situation we have a server which is not memebr of a domain. On this server there is an asp.net application with forms authenticaton enabled. Is it possible to change to active directory provider without putting the server into a domain?
thanks
...
Is there a .NET library for LDAP paths manipulations?
I would like to have something equivalent to System.IO.Path, allowing e.g. to do something like
string ou1 = LDAPPath.Combine("OU=users","DC=x,DC=y");
string ou2 = LDAPPath.Parent("CN=someone,OU=users,DC=x,DC=y");
Otherwise, what's the common way to deal with LDAP distinguished nam...
Is there an equivalent tool available for use in Windows 7? I just need to browse the membership of some small Active Directory groups that are deep within a huge hierarchy, so I can eventually write code to work with those groups. The Windows Server 2003 version of the installer works, but the resulting MMC snap in just won't start up...
We have a bespoke c# web app that stores extra information about a physical folder structure. Every folder or file in the company share has a record in sql. We use the web app to search these records. I want to store active directory permissions of the physical paths against the sql records.
What is the preferred method of querying AD...
ldap authentication to AD works for groups except "domain users" -
Is this issue with whitespace? ( apache6 )
Do I need to edit this row somehow to support whitespacE?
roleSearch="(member={0})"
...
The users will only use IE, and within IE it can pass their credentials without being prompted to, if they are logged onto the domain controller.
What I want to know is, how do I go about grabbing their username?
I thought this would do the trick: $_SERVER['auth_user'];but no luck.
Just like this http://stackoverflow.com/questions/168...