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
https://forums.phpfreaks.com/topic/94284-php-ldap-terminal-services-profile/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.