cancel
Showing results for 
Search instead for 
Did you mean: 

Permission Ldap/alfresco for loading document

esprit
Champ in-the-making
Champ in-the-making
Hello,

I realized the ldap configuration in alfresco 4.0.d , the synchronization is done.
So a user can authenticate in ldap alfresco and creates a folder with the name of the onscreen user authenticated.
the problem arises when a user wants to upload a document ldap in Alfresco Ged, an error occurs, while admin can do it.
I don't know how to change the configuration for a simple ldap user can load and have the same permission as admin
Thank you in advance,
4 REPLIES 4

afaust
Legendary Innovator
Legendary Innovator
Hello,

are you absolutely sure you want to give an(y) user loaded via LDAP admin privileges?

This would be one way to have a user loaded via LDAP as admin.
ldap.authentication.defaultAdministratorUserNames = <colon-separates-user-names>

Regards
Axel

esprit
Champ in-the-making
Champ in-the-making
Hello,
yes sure,but if i have many users , i will put them all at this level???
thanks for your response

afaust
Legendary Innovator
Legendary Innovator
Hello,

well, usually, one wouldn't do this sort of stuff. But if you need many users as admins, you could write up a policy which reacts to cmSmiley Tongueerson being created and adds that person to the administrator group, if it comes from LDAP. This requires some Java coding.

Regards
Axel

esprit
Champ in-the-making
Champ in-the-making
Hi,

precisely, it is not practical to add each user in ldap, I add it to the configuration file,it becomes too heavy for the file ldap-authentication.properties
you can offer me a sample code please.
Thanks,