Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2018-06-22 05:44:21 GMT <sam___> Hi,I am new to alfresco can you share any link for know the features of Mobile App feature (for android and iOS)

2018-06-22 05:55:18 GMT <alfresco-discord> <MorganP> Maybe you should take a look at the doc first? http://docs.alfresco.com/ios/references/whats-new-ios.html

2018-06-22 05:55:19 GMT <alfbot> Title:What's new in Alfresco Content Services for iOS | Alfresco Documentation (at docs.alfresco.com)

2018-06-22 05:55:35 GMT <alfresco-discord> <MorganP> There are some information in it, I don't know if this is really what you are looking for

2018-06-22 07:30:08 GMT <roudhan> hi all

2018-06-22 07:31:34 GMT <roudhan> we have requirement like get the data from pdf and add as meta data to that document

2018-06-22 07:44:18 GMT <alfresco-discord> <yreg> roudhan have a look here: https://docs.alfresco.com/5.1/references/dev-extension-points-custom-metadata-extractor.html

2018-06-22 07:44:19 GMT <alfbot> Title:Metadata Extractors | Alfresco Documentation (at docs.alfresco.com)

2018-06-22 07:44:53 GMT <angelborroy> yreg probably he also needs a Content Transformer

2018-06-22 07:45:18 GMT <angelborroy> I think “the data” means “the text"

2018-06-22 07:45:25 GMT <angelborroy> So probably OCR is also an alternative

2018-06-22 08:23:37 GMT <owerfelli> Morning everyone

2018-06-22 09:28:30 GMT <DarkStar1> Morning everyone

2018-06-22 10:06:53 GMT <Mark___> hey guys, wondering if anyone could offer any assistance or point me in the direction of useful resources relating to LDAP & Alfresco Community Edition 5.2

2018-06-22 10:11:06 GMT <angelborroy> Mark__ Did you see this one? https://community.alfresco.com/videos/1207-configuring-ldap-in-alfresco

2018-06-22 10:11:08 GMT <alfbot> Title:Configuring LDAP in Alfresco | Alfresco Community (at community.alfresco.com)

2018-06-22 10:11:16 GMT <angelborroy> It’s based in Alfresco 5.2 CE

2018-06-22 10:13:30 GMT <Mark___> I did, but the files in the subsystem/authentication/ldap aren't present in my install

2018-06-22 10:14:07 GMT <Mark___> I ran a TCP dump against it and it does seem to be talking to the DC but each time it comes back with invalid credentials

2018-06-22 10:15:05 GMT <angelborroy> configuration can be included in alfresco-global.properties

2018-06-22 10:15:08 GMT <angelborroy> as shown in the video

2018-06-22 10:15:39 GMT <Mark___> yes, that's where I have included it

2018-06-22 10:16:10 GMT <angelborroy> so why did you say that “the files in the subsystem/authentication/ldap are not present”?

2018-06-22 10:22:02 GMT <Mark___> because there was nothing in there, didn't know if this was an issue

2018-06-22 10:22:12 GMT <angelborroy> no, it’s not

2018-06-22 10:22:51 GMT <angelborroy> Mark___ this directory can be used when configuring more than 1 LDAP/AD subsystem

2018-06-22 10:23:02 GMT <Mark___> ahh

2018-06-22 10:23:02 GMT <angelborroy> for only 1 subsystem, using alfresco-global.properties is enough

2018-06-22 10:23:30 GMT <Mark___> I used this as a template: https://community.alfresco.com/thread/234780-alfresco-community-52-edition-ldap-ad-configuration

2018-06-22 10:23:32 GMT <alfbot> Title:Alfresco community 5.2 edition. LDAP-AD configu... | Alfresco Community (at community.alfresco.com)

2018-06-22 10:24:05 GMT <angelborroy> so you are configuring authentication and synchronization

2018-06-22 10:24:24 GMT <angelborroy> probably your userNameFormat is not right…

2018-06-22 10:24:36 GMT <angelborroy> you have to include the %s in your DN in the LDAP

2018-06-22 10:24:53 GMT <Mark___> I've tried it with domain\\user and user@domain

2018-06-22 10:24:54 GMT <angelborroy> btw, are you using ldap-ad (Active Directory) or ldap

2018-06-22 10:25:04 GMT <Mark___> ldap-ad

2018-06-22 10:25:12 GMT <angelborroy> so you don’t know what is your DN in your Active Directory?

2018-06-22 10:26:09 GMT <Mark___> I'm just using the same details I use to log in via RDP

2018-06-22 10:26:35 GMT <angelborroy> if your domain is company.com

2018-06-22 10:26:54 GMT <angelborroy> you have to include something like %s@company.com in user name format property

2018-06-22 10:27:41 GMT <angelborroy> this information can also help you https://docs.alfresco.com/5.2/tasks/adminconsole-directorymgt-ad.html

2018-06-22 10:27:42 GMT <alfbot> Title:Configuring LDAP (Active Directory) | Alfresco Documentation (at docs.alfresco.com)

2018-06-22 10:38:06 GMT <AxelFaust> angelborroy: I always recommend people to use the proper subsystem config path even if just configuring one subsystem. 1) it promotes good style, 2) it promotes the concept of subsystems, 3) it prevents any issues / conflicts potentially later when a second instance needs to be added

2018-06-22 10:38:49 GMT <angelborroy> AxelFaust I’m making configuration in that way, but it looks like it’s hard for the people to create a directory in extension folder

2018-06-22 10:38:59 GMT <AxelFaust> unfortunately, 4) it makes it harder to succeed in Alfresco certification because they do not know / teach best practices

2018-06-22 10:39:02 GMT <angelborroy> So I’m trying to make it easier for them

2018-06-22 10:39:10 GMT <angelborroy> hehe

2018-06-22 10:39:37 GMT <angelborroy> to this is why my students fail

2018-06-22 10:39:37 GMT <angelborroy> :D

2018-06-22 10:39:39 GMT <AxelFaust> I know, mkdir is hard...

2018-06-22 10:40:03 GMT <angelborroy> I teach both configurations and we play with both to understand the mechanism

2018-06-22 10:40:12 GMT <angelborroy> But forums and IRC are other world

2018-06-22 10:40:53 GMT <AxelFaust> creating a new config file is even worse.... the indecision about which command is right.... vi my.properties / echo "My settings" > my.properties / nano my.properties .... there's just too many ways, it's hard to know which one to use...

2018-06-22 10:41:17 GMT <angelborroy> or Notepad++ / UltraEdit conflict

2018-06-22 10:41:22 GMT <angelborroy> I understand your concerns

2018-06-22 10:41:38 GMT <AxelFaust> ahem.... who in their right mind has a GUI on a server?

2018-06-22 10:41:46 GMT <AxelFaust> yuck

2018-06-22 10:41:50 GMT <angelborroy> on a Windows Server?

2018-06-22 10:41:53 GMT <angelborroy> Many people I know

2018-06-22 10:41:57 GMT <AxelFaust> WIndows "what"?

2018-06-22 10:42:23 GMT <angelborroy> I don’t accept Alfresco installations based on Windows, you know

2018-06-22 10:42:31 GMT <angelborroy> But there are a lot out there

2018-06-22 10:42:47 GMT <AxelFaust> Windows "I know I am called server but hopefully no one ever truly believes I am a proper, useful server - except for those pesky MS-centric products that don't run nowhere else"

2018-06-22 10:43:12 GMT <AxelFaust> ^^ that should be like the full name of the product

2018-06-22 10:44:18 GMT <angelborroy> Some weeks ago I met an SQL Server guru from a bank

2018-06-22 10:45:00 GMT <angelborroy> He was very proud moving hundreds of millions of rows to deliver reports to directors

2018-06-22 10:45:08 GMT <Mark___> sorry for the delay, I am using %s@company.com in the username property

2018-06-22 10:45:29 GMT <angelborroy> Mark___ No problem, so you have your user name format

2018-06-22 10:45:30 GMT <Mark___> at the risk of sounding stupid, does this mean I'm to log on with username@company.com?

2018-06-22 10:45:36 GMT <angelborroy> nope

2018-06-22 10:45:38 GMT <angelborroy> you have to use

2018-06-22 10:45:40 GMT <angelborroy> username

2018-06-22 10:45:53 GMT <angelborroy> the “%s” is what you have to type

2018-06-22 10:46:12 GMT <Mark___> that's what I've been using

2018-06-22 10:46:39 GMT <angelborroy> so if you type username and your password...

2018-06-22 10:46:45 GMT <angelborroy> … what is the error on the log?

2018-06-22 10:47:04 GMT <Mark___> could it be I've put these sort of details incorrect: cn\=users,dc\=dev,dc\=local ?

2018-06-22 10:47:14 GMT <Mark___> in the alfresco.log?

2018-06-22 10:47:18 GMT <angelborroy> yep

2018-06-22 10:48:08 GMT <Mark___> oh!

2018-06-22 10:49:05 GMT <Mark___> 2018-06-22 10:19:01,974 WARN [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] [localhost-startStop-1] Failed to resolve member of group 'Domain Admins' with distinguished name: CN=Mark XXXX,OU=Users,OU=XXX-DEV,DC=dev,DC=local

2018-06-22 10:49:29 GMT <Mark___> and it lists other users in AD

2018-06-22 10:49:39 GMT <Mark___> so it is connecting and getting something

2018-06-22 10:49:42 GMT <angelborroy> this is related with synchronization

2018-06-22 10:49:56 GMT <angelborroy> it looks like you included something wrong

2018-06-22 10:50:10 GMT <angelborroy> but you have to look if there is an error when you try to log in from Share

2018-06-22 10:52:29 GMT <Mark___> it doesn't seem to update when I try to log in

2018-06-22 10:56:07 GMT <Mark___> I'm not seeing any failed logins in there

2018-06-22 10:56:18 GMT <Mark___> and there have been many :D

2018-06-22 10:57:20 GMT <Mark___> should "ldap.synchronization.java.naming.security.credentials=" use my password?

2018-06-22 10:57:46 GMT <angelborroy> can you pastebin all your configuration?

2018-06-22 10:58:07 GMT <Mark___> sure

2018-06-22 11:01:47 GMT <Mark___> https://pastebin.com/9ySkNvP0

2018-06-22 11:01:48 GMT <alfbot> Title:Alfresco Properties - Pastebin.com (at pastebin.com)

2018-06-22 11:02:52 GMT <angelborroy> authentication seems fine

2018-06-22 11:03:01 GMT <angelborroy> synchronization seems wrong

2018-06-22 11:03:13 GMT <angelborroy> I guess your userSearchBase is not users/dev/local

2018-06-22 11:03:22 GMT <angelborroy> and also the groupSearchBase

2018-06-22 11:05:23 GMT <Mark___> should that be similar to: OU=Users,OU=XXX-DEV,DC=dev,DC=local ?

2018-06-22 11:08:18 GMT <angelborroy> yes

2018-06-22 11:08:30 GMT <angelborroy> depending on your AD structure

2018-06-22 11:08:46 GMT <Mark___> should there be a cn\=%s in there?

2018-06-22 11:08:52 GMT <angelborroy> nope

2018-06-22 11:18:06 GMT <Mark___> it still fails

2018-06-22 11:18:30 GMT <Mark___> with nothing logged to alfresco.log to indicate why

2018-06-22 11:18:38 GMT <MorganP> AxelFaust: What about SQL Server on linux? ;)

2018-06-22 11:19:17 GMT <Mark___> the postgresql?

2018-06-22 11:25:08 GMT <Mark___> would it make any difference if I changed ldap.authentication.userNameFormat=%s@AAA.local to ldap.authentication.userNameFormat=AAA\%s ?

2018-06-22 11:34:02 GMT <AxelFaust> MorganP: DO you mean "MS SQL Server"? 1) Why would you ever want to use that in the first place? 2) Why would you want to taint your Linux with it?

2018-06-22 11:36:23 GMT <MorganP> I can only agree :p but I have some colleagues that are very happy to work with it on Linux now

2018-06-22 20:19:11 GMT <eswbitto> Is it easy to go from using solr4 from the ootb install to a stand alone solr server?

2018-06-22 21:44:17 GMT <alfresco-discord> <Mark> If you're doing it in a secure/private zone, it's really easy. If not, you should generate your own ssl keys and that's some work because of X.509 certification and alfrescos choice to use a single keystore for everything..

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco