Hi Soisik,

I tried it this way:

 <name>NIS2LDAP-User-SyncTask</name>
                        <bean>org.lsc.beans.SimpleBean</bean>
                        <pluginSourceService 
implementationClass="org.lsc.plugins.connectors.nis.NisSrcService">
                                <name>nis-source-service</name>
                                <connection reference="nis-src-conn" />
                                <nis:nisSourceServiceSettings>
                                        <name>nis-src-service</name>
                                        <connection 
reference="nis-src-conn" />
                                        <nis:map>passwd.byname</nis:map>
                                </nis:nisSourceServiceSettings>
 <getAllFilter>>(&amp;(objectClass=inetorgperson)(uid=mar))</getAllFilter>
                        </pluginSourceService>

But I get an error:

Oct 29 14:40:15 - ERROR - org.lsc.exception.LscConfigurationException: 
Configuration exception: Unable to identify the nis service configuration 
inside the plugin source node of the task: NIS2LDAP-User-SyncTask

Can you telle me how to do it in the right way ?

Regards

Martin



Von:    "Soisik Froger" <[email protected]>
An:     [email protected]
Datum:  29.10.2018 14:38
Betreff:        Re: [lsc-users] NIS plugin and filtering
Gesendet von:   "lsc-users" <[email protected]>



On 29/10/2018 13:48, Martin Röh wrote:
> Hello,
> 
> is it possible to set a filter in the nis configuration, so that only
> special uid's or uidNumbers are synced from nis ?
> 
> Best regards
> 
> Martin

Hi Martin,

Yes, you can add such filter in the getAllFilter tag. 

-- 
Soisik
Worteks | https://www.worteks.com
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to