Greg Hacke wrote in post #997877:
> 7stud -- wrote in post #997852:
>
> OK, I think it would be better to be a bit more specific...
>
> User logs into site. Credentials are verified via LDAP.
>
> At login, I am copying a .mobileconfig template file (xml/plist) and
> saving it as {username}.profile.mobileconfig
> This file contains placeholders for:
>   {username} = bob / domain.tld
>   {userroot} = bob
>   {password} = mypassword
>
> I need to read it, modify it, save it and replace it. At that point, the
> user will get the index and be afforded to download this file.
>
> Thoughts?

Yeah, what is so hard about posting a sample of the original file, as 
well as the modified file that you want to end up with, and leaving out 
all your confusing analysis?

-- 
Posted via http://www.ruby-forum.com/.