+ 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
    272
    Thank Post
    37
    Thanked 18 Times in 18 Posts
    Rep Power
    25

    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. #2

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

    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.

  3. #3

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,590
    Thank Post
    109
    Thanked 762 Times in 593 Posts
    Rep Power
    180

    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.

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Query Active Directory through asp page


  5. #5
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46

    Re: Query Active Directory through asp page

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

  6. #6
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    606
    Thank Post
    52
    Thanked 12 Times in 12 Posts
    Rep Power
    22

    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.

  7. #7
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Query Active Directory through asp page

    I use remote dektop to access my servers remotely.

  8. #8

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,835
    Thank Post
    583
    Thanked 2,162 Times in 987 Posts
    Blog Entries
    23
    Rep Power
    627

    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!!

  9. #9
    mark's Avatar
    Join Date
    Jun 2005
    Posts
    3,958
    Thank Post
    248
    Thanked 49 Times in 45 Posts
    Blog Entries
    2
    Rep Power
    46

    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.

  10. #10
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    606
    Thank Post
    52
    Thanked 12 Times in 12 Posts
    Rep Power
    22

    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.

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Query Active Directory through asp page

    Nope!

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

    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

  13. #13
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    606
    Thank Post
    52
    Thanked 12 Times in 12 Posts
    Rep Power
    22

    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.

  14. #14

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    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.

  15. #15

    Join Date
    Oct 2005
    Location
    East Midlands
    Posts
    737
    Thank Post
    17
    Thanked 105 Times in 65 Posts
    Rep Power
    36

    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, 10: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, 03: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
  •