Re: [openupload-devel] Active Directory
Status: Beta
Brought to you by:
tsdogs
|
From: Andy H. <and...@eu...> - 2009-04-28 21:36:09
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Alessandro Briosi wrote: <blockquote cite="mid:49F...@br..." type="cite"><br> <pre wrap=""><!---->OK the problem is here I think. the 'login' field is not populated for some reason. Probably the 'cn' field is not correct. If you look at the database the files do not have any user associated, that is why you see the "Public Files" and they are all visible by everybody. could you try using this insthead then? $CONFIG['ldap']['uid']='sAMAccountName'; $CONFIG['ldap']['userfields'] = array ( 'sAMAccountName' => 'login', 'cn' => 'name', 'memberof' => 'group_id', 'mail' => 'email'); Alessandro -</pre> </blockquote> Sorry, I misspoke. I am already using the sAMAccountName version - it doesn't seem to work at all with 'cn'. Also, when I login, I use my AD log on id which is a alpha-numeric value, but my AD display name is displayed correctly in the top right side of the page. Based on this it does seem to know which user I am.<br> <br> -Andy<br> <br> </body> </html> |