tag:blogger.com,1999:blog-1908110696125487216.post4221062569535704046..comments2023-08-20T19:40:21.999+02:00Comments on Thanassis Bakalidis's Programming and DBA Scratch Pad: CakePHP: Authenticating against Microsoft Active DirectoryAthanassios Bakalidishttp://www.blogger.com/profile/11722066740354628402noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1908110696125487216.post-82504242762816975592012-07-01T16:14:35.930+02:002012-07-01T16:14:35.930+02:00Hi JB
LdapAuth extends the Auth component. The u...Hi JB <br />LdapAuth extends the Auth component. The user() function comes straight from the base class.<br /><br />Are you sure that you 've got your includes and extends clauses correctly?Athanassios Bakalidishttps://www.blogger.com/profile/11722066740354628402noreply@blogger.comtag:blogger.com,1999:blog-1908110696125487216.post-46994823617514954882012-07-01T14:06:20.377+02:002012-07-01T14:06:20.377+02:00Hi there,
Thank you very much for your contributi...Hi there,<br /><br />Thank you very much for your contribution. However, I'm trying to use it with CAkephp 2.13 and it claims that user function should be at LdapAuth (as you are calling it at the beforeFilter function in the AppController.php<br />...<br /> <b> $userInfo = $this->LdapAuth->user();</b><br />...<br />but it is not there.<br /><br />Do you have any suggestion ?<br /><br />Thank you again.<br /><br />JBJBhttps://www.blogger.com/profile/04381216970650809580noreply@blogger.com