Hi guys! I encountered a strange problem with my alfresco. The thing is I have two accounts for each user, one in format name - John Doe, username - jdoe; and another in format name - jdoe, username - jdoe@company.com. Users can login only with account in jdoe@company.com format, which is fine untill they want to give others access rights for some document because they're looking for the user by his name John Doe which gives them the wrong account jdoe and, of course, the rights given to this account have no effect as he actually uses another account jdoe@company.com! How can I get rid of this double accounts? Why is this even happening? I'm running version 5.0.a on Ubuntu 14.04. Users access it from their Windows machines. I guess I misconfigured ldap authentication, but current configuration is the only one working, everything else I've tried resulted in another errors. And another funny thing: if I use ldap.authentication.userNameFormat=%s@company.com instead of ldap.authentication.userNameFormat=%s the search stop working! Not entirely, advanced search still works fine, but if I just type something in the search box it results in a blank page. But I have one and only account for each user.))
Here is my config.: ### LDAP ### authentication.chain=passthru1assthru,ldap1:ldap
### Passthru Config ### passthru.authentication.useLocalServer=false passthru.authentication.domain= passthru.authentication.servers=10.1.1.1 passthru.authentication.guestAccess=false passthru.authentication.defaultAdministratorUserNames=admin@company.com #Timeout value when opening a session to an authentication server, in milliseconds passthru.authentication.connectTimeout=5000 #Offline server check interval in seconds passthru.authentication.offlineCheckInterval=300 passthru.authentication.protocolOrder=NetBIOS,TCPIP passthru.authentication.authenticateCIFS=true passthru.authentication.authenticateFTP=true
Hi, csyeow. Thanks for your reply. I tried what you suggested with no success. If I use ldap.authentication.userNameFormat=%s@company.com I can login as jdoe, but only advanced search works this way, and if I use ldap.authentication.userNameFormat=%s I can login as jdoe@company.com, and search works fine. But no matter what the config is, both users present in alfresco at the same time, which leads to confusion.