Jump to content

PHP & LDAP (Terminal Services Profile?)


dmccabe

Recommended Posts

Ok so my adventures in to LDAP and PHP are going very well, I have now made a working phone directory and have just finished making a "new user" form, so we can add users via our own forms.

 

Now this new part works well, but the only thing it can't do is fill in the terminal services profile path and home directory.

 

I realise now after much messing about the Terminal Services Profile Path and home Dir are not LDAP attributes and are more related to Active Directory.

 

Any ideas how/if I can get this info and fill it in?

Link to comment
Share on other sites

Thanks for the link, but it doesnt help me much am afraid.

 

The string I am outputting looks like this:

 

PCtxCfgPresent㔵攱戰ã¢CtxCfgFlags1〰ã¥ã€°ã€±CtxCallback〰〰〰〰CtxShadow㄰〰〰〰(CtxMaxConnectionTime〰〰〰〰.CtxMaxDisconnectionTime〰〰〰〰CtxMaxIdleTime〰〰〰〰"CtxKeyboardLayout〰〰〰〰*CtxMinEncryptionLevel〰 CtxWorkDirectory〰 CtxNWLogonServer〰BCtxWFHomeDir挵挵㌷㔶㈷㘷㔶㈷㘶㤶挶㔶挵㔷㌷㔶㈷㌷挵ã¶ã„¶ãˆ·ãˆ·ã”¶æ”¶æ”²æ¶ãŒ¶ãŒ¶ã„¶ãˆ¶ã”¶ã€°"CtxWFHomeDirDrive㠴愳〰 HCtxWFProfilePath挵挵㌷㔶㈷㘷㔶㈷㘶㤶挶㔶挵〷㈷昶㘶㤶挶㔶㌷挵ã¶ã„¶ãˆ·ãˆ·ã”¶æ”¶æ”²æ¶ãŒ¶ãŒ¶ã„¶ãˆ¶ã”¶ã€°"CtxInitialProgram〰"CtxCallbackNumber〰

 

And I need some way of deciphering it so I can find the user TS profile home dir from there.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.