+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
Web Development Thread, Query Active Directory through asp page in Coding and Web Development; Hi All Just wondered if anyone here has used ASP / ASP.NET pages to rerieve data from Active Directory. I'm ...
  1. #1
    KarlGoddard's Avatar
    Join Date
    Jul 2005
    Location
    Bolton, Lancashire
    Posts
    269
    Thank Post
    36
    Thanked 18 Times in 18 Posts
    Rep Power
    21

    Query Active Directory through asp page

    Hi All

    Just wondered if anyone here has used ASP / ASP.NET pages to rerieve data from Active Directory.

    I'm currently looking at how to pull simple stuff from AD to create a staff look-up page for our intranet.

    It'd be great to hear from anyone who's done this and would be willing to pass on any pointers etc

    Thanks
    Karl

  2. IDG Tech News

  3. #2

    Join Date
    Jun 2005
    Location
    Elgin, Scotland
    Posts
    389
    Thank Post
    1
    Thanked 4 Times in 4 Posts
    Rep Power
    19

    Re: Query Active Directory through asp page

    I know it can be done, as Fujitsu have created a User Admin page for us that allows us to create/delete & edit users via a webpage. I'll try & see if I can view the source code & post some or all of it on here tomorrow.

  4. #3

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,623
    Thank Post
    96
    Thanked 685 Times in 528 Posts
    Rep Power
    158

    Re: Query Active Directory through asp page

    Possibly an aside, but if you just want to query and change user details, you could simply create a customised MMC.

    Obviously, the web page has its advantages though.

  5. #4
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114

    Re: Query Active Directory through asp page


  6. #5
    mark's Avatar
    Join Date
    Jun 2005
    Location
    x-communicated
    Posts
    4,090
    Blog Entries
    2
    Thank Post
    190
    Thanked 44 Times in 40 Posts
    Rep Power
    42

    Re: Query Active Directory through asp page

    web access would mean we could work on ad remotely. I'd love to havethat!

  7. #6
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    593
    Thank Post
    43
    Thanked 11 Times in 11 Posts
    Rep Power
    18

    Re: Query Active Directory through asp page

    Quote Originally Posted by mark
    web access would mean we could work on ad remotely. I'd love to havethat!
    If by "remotely" you mean other PCs on the domain, then deploy the "windows 2003 server adminpak.msi" to all workstations, then on any PC in the domain you can go to the Administrative Tools folder and work on Active Directory, DNS, DHCP, WINS or whatever. I also deploy the group policy management console throughout the domain too.

    Bloody handy.

  8. #7
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,810
    Thank Post
    89
    Thanked 212 Times in 195 Posts
    Rep Power
    83

    Re: Query Active Directory through asp page

    I use remote dektop to access my servers remotely.

  9. #8

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    8,291
    Blog Entries
    21
    Thank Post
    234
    Thanked 1,497 Times in 637 Posts
    Rep Power
    378

    Re: Query Active Directory through asp page

    If by "remotely" you mean other PCs on the domain, then deploy the "windows 2003 server adminpak.msi" to all workstations, then on any PC in the domain you can go to the Administrative Tools folder and work on Active Directory, DNS, DHCP, WINS or whatever. I also deploy the group policy management console throughout the domain too.

    Bloody handy.
    Handy yes. Dammed big security risk definitely!!

  10. #9
    mark's Avatar
    Join Date
    Jun 2005
    Location
    x-communicated
    Posts
    4,090
    Blog Entries
    2
    Thank Post
    190
    Thanked 44 Times in 40 Posts
    Rep Power
    42

    Re: Query Active Directory through asp page

    I meant off site - I only have it on 3 machines - 2 for teaching staff to have access to a student account mmc to change passwords, and mine.

  11. #10
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    593
    Thank Post
    43
    Thanked 11 Times in 11 Posts
    Rep Power
    18

    Re: Query Active Directory through asp page

    Quote Originally Posted by Dos_Box
    If by "remotely" you mean other PCs on the domain, then deploy the "windows 2003 server adminpak.msi" to all workstations, then on any PC in the domain you can go to the Administrative Tools folder and work on Active Directory, DNS, DHCP, WINS or whatever. I also deploy the group policy management console throughout the domain too.

    Bloody handy.
    Handy yes. Dammed big security risk definitely!!
    How so? Only admins can access or run it.

  12. #11
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114

    Re: Query Active Directory through asp page

    Nope!

  13. #12
    tarquel's Avatar
    Join Date
    Jun 2005
    Location
    Powys, Mid-Wales, UK
    Posts
    1,872
    Thank Post
    13
    Thanked 40 Times in 34 Posts
    Rep Power
    24

    Re: Query Active Directory through asp page

    hehe Depends how locked down the users are - mine would never find it or be able to run it lol

    The ironic thing is that the pupils are more likely to find it than the not-as-locked-down admin network with adults on it lol

    Nath

  14. #13
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    593
    Thank Post
    43
    Thanked 11 Times in 11 Posts
    Rep Power
    18

    Re: Query Active Directory through asp page

    Quote Originally Posted by Geoff
    Nope!
    Yep!

    When I said access it, I meant that our students have locked down desktops and mandatory profiles.

  15. #14
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,056
    Blog Entries
    1
    Thank Post
    104
    Thanked 439 Times in 380 Posts
    Rep Power
    114

    Re: Query Active Directory through asp page

    Ok thats great but did you remove their access to the AD objects. If not, they can still view the settings with a few lines of VB script.

  16. #15

    Join Date
    Oct 2005
    Location
    East Midlands
    Posts
    677
    Thank Post
    10
    Thanked 99 Times in 62 Posts
    Rep Power
    31

    Re: Query Active Directory through asp page

    Hi,

    From what i thought, you need to use something like LDAP (lighweight directory application protocol), which allows you to manipulate AD. This is probably the fastest was to do it and can be done using asp pages. ADSI is another option.

    HTH,

    Ashok.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Active Directory Alternative HOW-TO??
    By Joedetic in forum *nix
    Replies: 17
    Last Post: 26th January 2012, 11:46 PM
  2. PDA and Active Directory
    By localzuk in forum Windows
    Replies: 4
    Last Post: 10th October 2007, 03:54 PM
  3. Terrastation and active directory
    By edie209 in forum Windows
    Replies: 8
    Last Post: 27th September 2007, 02:46 PM
  4. Active Directory Explorer v1.0
    By PiqueABoo in forum Downloads
    Replies: 1
    Last Post: 16th July 2007, 10:02 PM
  5. DNS problem under Active Directory.
    By ArchersIT in forum Windows
    Replies: 6
    Last Post: 19th February 2007, 04:09 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •