dmccabe Posted March 4, 2008 Share Posted March 4, 2008 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? Quote Link to comment Share on other sites More sharing options...
dmccabe Posted March 5, 2008 Author Share Posted March 5, 2008 Kind of figured I might be on my own on this one Quote Link to comment Share on other sites More sharing options...
dmccabe Posted March 5, 2008 Author Share Posted March 5, 2008 Ok so I have managed to work out that the Terminal Services stuff is stored in the "userParameters" section, but it is all stored in Unicode, is there anyway to make sense of what is in there? Quote Link to comment Share on other sites More sharing options...
redarrow Posted March 5, 2008 Share Posted March 5, 2008 try this http://www.atm.ox.ac.uk/user/iwi/charmap.html Quote Link to comment Share on other sites More sharing options...
dmccabe Posted March 5, 2008 Author Share Posted March 5, 2008 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. Quote Link to comment Share on other sites More sharing options...
dmccabe Posted March 6, 2008 Author Share Posted March 6, 2008 What are the rules on bumping on this site? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.