cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization questions

jriker1
Champ in-the-making
Champ in-the-making
I have Synchronization kind of working in 3.2.  I say kind of because if I hard code a name in for the CN it works fine.  Problem and questions:

1. I have fields in AD ADAM for most of the fields in the user form.  Is there a way to add additional attributes to pull from AD/ADAM if I have them?  An example would be the location field in Alfresco I can map to a field in Adam.

2. Is there a way to limit the system to only pull users in a certain group?  Keep in mind I'm in ADAM so only have two branches, Users and Groups.  I have 70k people in my company so do not want to pull all users.

3. If I try pulling everyone, it pulls 1000 users only and eventually errors.  After that I get error 500's in the browser after trying to login with access denied.  It seems to ignore the default admin user in the ldap properties file.  I read of an issue with pulling more than 1000 records and it was fixed in 3.2 but perhaps not.  I know we can only pull 1000 records so not sure if this is a client limitation or a tool one.  After the 1000 I just get a lengthy error in the alfresco log file.

Input would be appreciated.

Thanks.

JR
26 REPLIES 26

dward
Champ on-the-rise
Champ on-the-rise
1. Currently this requires you to override the attributeMapping property in Spring configuration in the extension classpath. You would simply add in a mapping for the location field.

2. Yes, modify your query to restrict the set of users it returns. I believe there is a memberof attribute you could use in your query.

3. The latest 3.2 builds use paged results with a preconfigured page size of 1000 so this should not happen. How recent is the build you are using?

jriker1
Champ in-the-making
Champ in-the-making
Thanks for your response.  I am currently using 3.2 Build June 2nd I believe was the nightly build date.  The 18th one seems incomplete with missing sample files and the sort so had to stop installing that one.  Noticed unlike the others, there used to be a dev and non dev labeled build and now just the dev one that is smaller than the old ones.

JR

jriker1
Champ in-the-making
Champ in-the-making
1. Currently this requires you to override the attributeMapping property in Spring configuration in the extension classpath. You would simply add in a mapping for the location field.

2. Yes, modify your query to restrict the set of users it returns. I believe there is a memberof attribute you could use in your query.

3. The latest 3.2 builds use paged results with a preconfigured page size of 1000 so this should not happen. How recent is the build you are using?

jriker1
Champ in-the-making
Champ in-the-making
2. Yes, modify your query to restrict the set of users it returns. I believe there is a memberof attribute you could use in your query.

By the way, if you eliminate the user filter and hard code a single group in the group search base will it populate the system with all users from that group?  So if I have an AD group called ALFRESCO and have 10 users in it, when the sync is done will I have 10 users from that group added to Share and have their attributes showing?

Thanks.

JR

dward
Champ on-the-rise
Champ on-the-rise
The user search is independent from the group search, so you would have to restrict that too.

dward
Champ on-the-rise
Champ on-the-rise
Which sample files were you missing? Note these are being phased out and replaced by preconfigured subsystems.

jriker1
Champ in-the-making
Champ in-the-making
Not sure the extent, however I know the custom-repository.properties and context.xml files were missing which has always been a big part of configuring the authentication, db settings, rmi info, and defining external executable paths.

JR

gronfelt
Champ in-the-making
Champ in-the-making
The custom-repository files are there in the Linux version, under tomcat/shared/classes/alfresco/extension.

jriker1
Champ in-the-making
Champ in-the-making
The custom-repository files are there in the Linux version, under tomcat/shared/classes/alfresco/extension.

Have you tried the latest version dated June 18th?  The only way files get in the folder above you mention is to put the sample files download in there and it is not included in the latest build.  Was in the prior, but not the latest nightly.  When the war files were extracted, they weren't in there either.

JR