Troy,
Hey, that code looks vaguely familiar. :) Thanks for not posting all of it
to the list.
Try the cfexecute tag combined with the adduser and ldaper executables.
Our SafeExec object is an ASP-version of cfexecute ("safe" because it
allows executions on only one specified directory).
Ron Hornbaker
President/CTO
. . . . . . . . . . . . http://humankindsystems.com
. . . . . . . . . . . . w e c o d e. w e c a r e.
. email tracking and routing made easy: http://answertrack.com
> -----Original Message-----
> From: Troy Montour [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 17, 2001 11:24 AM
> To: CF-Talk
> Subject: Excuting stuff on the server
>
>
> Hello everyone I have a snag since I have never done this my self
> before.
>
> but I'm wondering what I would use in CF to do this same process??
>
> Set HKSI = Server.CreateObject("hksiEZSignUp.SafeExec")
> HKSI.FileName = "adduser.exe"
>
> HKSI.params = "-h " & MailDomain & " -u " & UserName & " -n " & """"
> & FirstName & " " & LastName & """" & " -p " & Password
> strResult = HKSI.execute
>
>
> if inStr(strResult, "OK") = 1 then
>
> 'Update LDAP values
> HKSI.FileName = "ldaper.exe"
> HKSI.params = "-H " & """" & MailDomain & """" & " -U " & """" &
> UserName & """" & " -GN " & """" & FirstName & """" & " -SN " & """" &
> LastName & """" & " -S " & """" & street1 & " " & street2 &
> """" & " -C
> " & """" & City & """" & " -ST " & """" & State & """" & " -CO " & """"
> & Country & """" & " -Z " & """" & Zip & """" & " -T " & """" & Phone &
> """" & " -OU " & """" & BackupEmail & """" & " -O " & """" & Company
> HKSI.execute
> Set HKSI = Nothing
>
> 'Update Record in Datasource
>
> Dim objConn,objRS,strSQL
>
> if you need more of the orginal code let me know.
>
> Thank you
> Troy Montour
> Vampires Inc
> [EMAIL PROTECTED]
> 612.867.6831
> 763.586.0552
> http://www.vampiresinc.com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists