Chris Crowe's Blog
Ramblings of an IIS MVP ( MVP Since 1997 )

Powered By IIS 7

Search my blog

Some of my readers



My Microsoft Certifications


Dec 15, 1998

Dec 20, 2000

Jan 31, 2001

Jul 22, 2002

Nov 1, 2004

My Microsoft MVP Awards




1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
mvp.support.microsoft.com

I have been working on a C++ project to create a new property page that will show up in Active Directory Users & Computers when you view the properties of a user account. This new property page will allow you to edit the FTP Root (msIIS-FTPRoot) and FTP Directory (msIIS-FTPDir) for users so that if you have configured the IIS FTP Service to run using Active Directory Isolation Mode you can simply use the GUI to view or modify these attributes.

For more details on these Active Directory attributes see the following:

This is the custom property page as of today (August 9, 2005). I plan to release the source code to this add in and also a compiled binary. I would really like to have a setup.exe application that can install it and configure active directory to use the new property page. Currently this is done manually by editing the Active Directory using a tool (adsvw.exe) that is included with the Active Directory SDK.

Please let me know if you think this is a worth while project and if you think it could use any extra features. I am not sure when I will release the code because I really want to make sure there are no bugs. It is currently working fine, but I need to test it on a Windows 2000 Active Directory Server that does not have the Schema Additions added to it.

So things to do:

  • Make sure there are no bugs in the code & comment the code.
  • Test on Windows 2000, Windows 2000 SBS, Windows 2003, Windows 2003 SBS (done)
  • Write a setup application to install DLL onto server.
  • Write a setup that can configure Active Directory to use the new property sheet.
  • Do all of this ASAP and release to the public.

Please leave comments.

posted on Monday, August 08, 2005 3:54 PM | Filed Under [ c++ IIS IIS / FTP IIS / Tools / Administration ]

Comments


# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
Hi:

Yes, I think this would be a worth while project. There is really not a good way to manage this information. I wish Microsoft would be a little more forth comming in enhancing AD Users and Computers. It is lacking in many ways.

Thank You,

Ken Marvin
Posted by Ken Marvin on 5/24/2007 12:57 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
Hi,
I think this is a very good project. I must do a property sheet extension to manage my selfmade attributes. But the problem is that I have no information to make a dll and registry this dll. I'm glad about every hint to manage the project.

Greets.

Manuel Leichtle
Posted by Manuel Leichtle on 6/1/2007 8:11 PM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories


I also want to develop such a custom property page in Active Directory Users & Computers, but don't know how to.

Would you like to give me some references?

thanks very much!
Posted by guest on 6/19/2007 5:36 PM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
I would very much appreciate a stear in the right direction for more information on the details of making this work. Thanks.
Posted by Dan on 9/1/2007 12:45 PM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories


Is it possible for anyone with a steps on how to being creating a new property page post a little something. All my Googling came up with windows SDK may have some sample C++ code. but I'm still sifting thru all of it.
Posted by GD on 9/25/2007 1:56 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
Howdy.. Not being a dev at all could you please list the tools needed to get a custom tab in the UI like you have ?? We have extended our AD and now want to be able to add and modify the data as you have in the "User" Properties..

Posted by Dan Stoll on 10/10/2007 2:13 PM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
can i have the souce code and the binary of this project.Its urgent we have the same type of requirement.If u give the source it is very useful for me.
Posted by Avinasilingam on 12/18/2007 8:04 PM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
I would also be very interested in seeing this project and seeing if it can be of use in our environment.
Thanks
Posted by Jim Hankee on 2/2/2008 9:19 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
I look for doing the same thing: I have extend my AD and I want to be able to add and modify the data as you have in the "User" Properties..

Is anyone got any source code for that?

Thanks
Posted by Frédéric Bernon on 2/29/2008 5:08 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
I found what I need. I post here information for others developers:

"ADSI SDK" (which is referenced on same old links) is now included in "Platform SDK" (I use the 3790.1830 build, but I think it's included in older ones). I found the good sample here :

C:\Program Files\Microsoft Platform SDK\Samples\NetDS\ADSI\samples\DSUI\userext\userproppage

This sample show how to use some predefined AD attributes (thumbnailPhoto and employeeID) to edit them in the Active Directory admin interface. To add your own ones, read this link:

http://technet.microsoft.com/fr-fr/library/bb727064(en-us).aspx

I build the sample with VC7.1 without any problems.

Take a look to the userproppage's readme.txt file. There is a part "Modify the display specifiers. If a display specifier named user-Display does not already exist one will need to be created. Please refer to the Active Directory Programmers Guide for more information.". But you can do it manually using "ADSI Edit" from the "Windows 2000 Support Tools". When the file said to add "<number>,{69D967C6-AB39-47b7-8F00-410185C80F89}", you have to replace <number> by an non-existing code in the list.

NOTE: I can store a small BMP image (128x128), but a bigger one failed (372x372). I didn't test with a JPEG one.

I hope these informations help you...
Posted by Frédéric Bernon on 2/29/2008 6:49 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories


Hi,

Can u please give me a solution, that how to add a new property Tab called "IIS FTP Home".

waiting for your valid response.

Thanks in-advance.
Posted by Ratnam on 4/14/2008 9:57 PM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
Is the source code available?
Posted by Richard on 6/14/2008 8:00 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
Is the source code available ?
Posted by lemcha on 7/4/2008 3:04 AM

# How to add an additional tab in object property window

Gravatar
How to add an additional tab in object property window

Plz help me
Thanx in advance
Posted by Praveen on 7/29/2008 1:38 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
How can i add IIS FTP HOME tab in object property window.

thanx.
Posted by reza on 11/4/2008 1:42 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
Hi,

How to add an "Adding Custom tab on "Default Website Properties" (IIS)"?

Regards,
Mayur M
Posted by Mayur on 3/10/2009 3:39 PM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories


Any idea when you'll post the how to?
I'm trying to do this right now and having no luck!
Posted by Me on 6/17/2009 7:55 AM

# re: Custom Property Page for Active Directory User and Computers to manage IIS FTP Home Directories and FTP Root Directories

Gravatar
What happened? No returning posts since 2005?
Posted by kindasmurfy on 8/5/2009 7:57 AM

Post Comment


Title *
Name *
Email
Url
Comment *  
Please add 7 and 7 and type the answer here: