I don't know if it could help you but for the same pupose as you, I found 2 attributes: * msIIS-FTPDir -> "Relative user directory on an FTP Root share" => Schema definition. * msIIS-FTPRoot --> "Virtual FTP Root where user home directory resides." => Schema definition. I populated these 2 attributes to all my students so then can access their homedir via ftp. For example, msIIS-FTPDir will be the samaccoutname msIIS-FTPRoot will be \\yourserver\share\ [1] I configured my ftp server in Isolated Mode Using Active Directory, so each students have to go to ftp://myserver.domain.fr authenticated themselves with an AD box, and are directly logged into their home directory: IIS & AD make automatically the concatenation with the 2 attributes in this way msIIS-FTPRoot & msIIS-FTPDir. [1] for redondancy and fault tolerance, i use a rootDFS instead of the server : msIIS-FTPRoot = \\myDFSRoot\share\ Optionnaly, u could integrate hte 2 attributes in the admincontext of ADUC so u can easily see them by right cliking on a user. I am in AD2k3. Hope it helps. Yann
________________________________ De: [EMAIL PROTECTED] de la part de Marc A. Mapplebeck Date: ven. 23/12/2005 20:36 À: [email protected] Objet : RE: [ActiveDir] Display Specifier + Command Variables I need to propogate the FTPRoot and FTPDir fields in the user objects, they are not available through ADUC, only by using iisftp or a vbs. I am using FTP via IIS in AD Isolation Mode. ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Mulnick Sent: December 23, 2005 12:17 To: [email protected] Subject: Re: [ActiveDir] Display Specifier + Command Variables I'm still not clear on whether you want to do this for the homedrive attribute or if you are trying to do something else. Might just be a little dense (that sometimes happens around this time of year). You want to add a vbscript to your ADU&C so you can right click and enable some function that currently is not available, vs. using a script to enable it in bulk. Is that correct? I believe you want something similar to this, right? http://www.2000trainers.com/article.aspx?articleID=317&page=2 On 12/23/05, Marc A. Mapplebeck <[EMAIL PROTECTED]> wrote: Sure, I was just using a batch file that called iisftp the context was "iisftp username" all Z drives are the homedir of the user stored on our hermes server in the share Z Drives, the purpose of this was to give users access to their homedir remotely. however, now that I want to use it from within AD Users & Computers, I think I will have to rewrite it to set the variables using vbs. setftp.bat ----- IIsFtp /SetADProp %1 FTPDir %1 IIsFtp /SetADProp %1 FTPRoot "\\hermes\Z Drives" ----- end I will probably end up using a .vbs that looks similar to this: setftp.vbs ----- Dim ouserFTPDir Dim ouserFTPDRoot Dim oUser1 Set oUserFTPDir = GetObject(ouser1(0)) Set oUserFTPRoot = "\\hermes\Z Drives" oUser1.SetInfo Set oUser1 = Nothing Set ouserFTP = Nothing WScript.Quit ----- end I'm actually teaching a class right now(yes, one of my students showed up for class the day before the holiday break starts, so I gave him a nice subnetting lab, I'm soo sadistic), so I do not have access to any of my reference/test servers, so this script will prolly crash on line 1. But, the general idea is there. ________________________________ From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] On Behalf Of Al Mulnick Sent: December 23, 2005 11:23 To: [email protected] Subject: Re: [ActiveDir] Display Specifier + Command Variables Marc, can you post the code you're using? Cleaned up for internet consumption of course. Al On 12/23/05, Marc A. Mapplebeck <[EMAIL PROTECTED] > wrote: Hi all, I am working on setting up FTP in AD Isolation mode. I have written a batch file that I run to enable a user on the FTP server, I would like to change this so that I can just right click on a user in AD Users & Computers to do this, I have made the modification to the display specifier to call the batch file, however, it is not passing what I want, does anybody know if/what the variable is for the CN of the user, or would it be just as easy to script this with VB instead? If so, does anybody already have a script or a model that can be used for this? Thanks - Marc List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
<<winmail.dat>>
