[Owncloud] OC5: LDAP Users<-> Group association don't work

Pierre Malard plm at teledetection.fr
Sun Mar 24 19:55:25 UTC 2013


Thanks a lot László,

Your advice and explanations are always clear and precise. They allowed me to really understand the mechanisms of ownCloud and better set it.


Le 24 mars 2013 à 19:22, Tornóci László <tornoci.laszlo at med.semmelweis-univ.hu> a écrit :
> 
> On 03/24/2013 02:57 PM, Pierre Malard wrote:
>> .....
>> BUT, my problem is not closed!
>> 
>> As I stil have a generate UUID as "owncloud_name" in "oc_ldap_user_mapping" MySQL table, the owncloud user's home directory is named with this UUID and not the email address as it was with OC 4.5.7!
>> So, if I "update" our owncloud 4.5.7 service, all ours user will lost their files because they are not in the good owncloud "data" folder...
> 
> You can specify an LDAP attribute to define the home path of the users:
> http://doc.owncloud.org/server/5.0/admin_manual/configuration/auth_ldap.html
> 
> See under "Special attributes" it is called "User Home Folder Naming Rule". You can set this to whatever you like (you probably want to set it to 'mail').

That's really great. I don't understand this field as this, however, it was clear. In this regard, the new documentation is really good.

>> Even all LDAP users are now listed on "oc_ldap_user_mapping" MySQL LDAP users table, I can't display all of them in the administrative windows of ownCloud interface. As is, I can't modify their properties!
>> The display is stil limited to 30 entries and I have this message in "owncloud.log" file:
>> {"app":"user_ldap","message":"Paged search failed :(","level":1,"time":1364133108}
>> {"app":"user_ldap","message":"No paged search for us, Cpt., Limit 10 Offset 12","level":1,"time":1364133108}
>> 
>> If you have a solution?
> 
> I don't know how the code may have changed between 4.5.x and 5.0, but it is possible that paged search has been introduced in 5.0. That means you ask for the results from the LDAP server in smaller chunks (pages), rather than having it all at once. I guess not all LDAP servers support paged search, or at least you have to change the config of the LDAP server to support it. You should check the docs of your LDAP server.

I would look for this way on our old LDAP service to resolv it.

Thanks

----
Pierre Malard

   «Je n'ai jamais séparé la République des idées de justice sociale,
     sans laquelle elle n'est qu'un mot»
                                  Jean Jaures - 1887
   |\      _,,,---,,_
   /,`.-'`'    -.  ;-;;,_
  |,4-  ) )-,_. ,\ (  `'-'
 '---''(_/--'  `-'\_)

perl -e '$_=q#: 3|\ 5-,3-3,2-: 3/,`.'"'"'`'"'"' 5-.  ;-;;,-:  |,A-  ) )-,_. ,\ (  `'"'"'-'"'"': '"'"'-3'"'"'2(-/--'"'"'  `-'"'"'\-): 22PLM::#;y#:#\n#;s#(\D)(\d+)#$1x$2#ge;print'
- --> Ce message n’engage que son auteur <-- 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20130324/c55fc2da/attachment.sig>


More information about the Owncloud mailing list