[lsc-users] AD not working with asyncLdapSourceService (Arsad Ali)

Arsad Ali arsad.isp at gmail.com
Tue Nov 8 09:42:54 CET 2016


Hello All ,

Thank you for the update .

As asyncldapsourceService is not working with AD  then if i use
ldapsourceservice for AD and launch an async task using SimpleSynchronize
class , will i get the data from AD if some users created or modified  as
we are getting from Apache DS .



*Thanks & Regards,*


*Arsad Ali*


On Tue, Nov 8, 2016 at 1:50 PM, <lsc-users-request at lists.lsc-project.org>
wrote:

> Send lsc-users mailing list submissions to
>         lsc-users at lists.lsc-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.lsc-project.org/listinfo/lsc-users
> or, via email, send a message with subject or body 'help' to
>         lsc-users-request at lists.lsc-project.org
>
> You can reach the person managing the list at
>         lsc-users-owner at lists.lsc-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of lsc-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Suspicious URL:Re:  Execute Plugin (Braun, Thomas [Wekal])
>    2. AD not working with asyncLdapSourceService (Arsad Ali)
>    3. Re: Suspicious URL:Re: Execute Plugin (Cl?ment OUDOT)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 8 Nov 2016 07:11:27 +0000
> From: "Braun, Thomas [Wekal]" <Thomas.Braun at wekal.de>
> Subject: Re: [lsc-users] Suspicious URL:Re:  Execute Plugin
> To: "'General discussions and help for Ldap Synchronization Connector
>         (LSC) - Start here!'" <lsc-users at lists.lsc-project.org>
> Message-ID:
>         <6DD0281A080D654DB4F3041516532E765D35D984 at GIEXC02.fz.wekal.de>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello Cl?ment,
>
> But now I stuck at this Second-Run-Problem:
> I want to Sync from an Outlook Contacts CSV Export, with their default
> columns into an OpenLDAP 2.4.40.
> My Pivotfield is uid.
> My List-Script, based on your examples, generates an output in this form:
>
> dn: uid=GivennameSurnameCompany, ou=Contacts ,dc=my, dc=domain
> uid: GivennameSurnameCompany, ou=Contacts, dc=my, dc=domain
>
> The problem seems to be here, the uid value should just be
> GivennameSurnameCompany.
>
> OK, I tried this. I guess I tried all combinations. But please let us
> isolate together.
>
> Now my List Output is:
> dn: uid=GivennameSurnameCompany, ou=Contacts ,dc=my, dc=domain
> uid: GivennameSurnameCompany
>
>
>
> And the Get Output is:
> dn: uid=GivennameSurnameCompany, ou=Contacts, dc=my, dc=domain
> uid: GivennameSurnameCompany
> givenName: Givenname
> sn: Surname
> o: Company
> mobile: +1234567
> cn: GivennameSurnameCompany
> displayName: Surname, Givenname [Company]
>
>
>
> An Export of the first run is:
>
>
>
> dn: uid= GivennameSurnameCompany, ou=Contacts, dc=my, dc=domain
>
> objectClass: top
>
> objectClass: person
>
> objectClass: organizationalPerson
>
> objectClass: inetOrgPerson
>
> cn: GivennameSurnameCompany
>
> sn: Surname
>
> displayName: Surname,Givenname [Company]
>
> givenName: Givenname
>
> o: Company
>
> uid: GivennameSurnameCompany
>
>
>
> Debug Output of the second run is:
>
>
>
> Nov 08 06:59:56 - DEBUG - Lauching '/etc/lsc/scripts/lsc-
> executable-csv2ldif-get.pl uid= GivennameSurnameCompany, ou=Contacts,
> dc=my, dc=domain '
>
> Nov 08 06:59:56 - DEBUG - Writing to STDIN uid: GivennameSurnameCompany
>
> Nov 08 06:59:56 - DEBUG - Waiting for command to stop ...
>
> Nov 08 06:59:59 - DEBUG - Messages dump on stderr by script:
>
> Nov 08 06:59:59 - WARN  - WARNING: updating the RDN of the entry will
> cancel other modifications! Relaunch synchronization to complete update.
>
> Nov 08 06:59:59 - INFO  - # Renaming object uid=GivennameSurnameCompany,ou=Contacts,dc=my,dc=domain
> for CSVSyncTask
>
> # Tue Nov 08 06:59:59 UTC 2016
>
> dn: uid=GivennameSurnameCompany,ou=Contacts,dc=my,dc=domain
>
> changetype: modrdn
>
> newrdn: uid= GivennameSurnameCompany
>
> deleteoldrdn: 1
>
> newsuperior: ou=Contacts,dc=my,dc=domain
>
>
>
> Could it be the spaces in the DN?
>
>
>
> Regards,
>
> Thomas
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.lsc-project.org/pipermail/lsc-users/
> attachments/20161108/5a9d1d3c/attachment-0001.htm>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 8 Nov 2016 13:24:02 +0530
> From: Arsad Ali <arsad.isp at gmail.com>
> Subject: [lsc-users] AD not working with asyncLdapSourceService
> To: lsc-users at lists.lsc-project.org
> Message-ID:
>         <CACUcTeia1zzTYRTavom9ZUCT4P8RFiskueGyL3RrNuyUuCQ7qg at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello All,
>
> I am getting below error while connecting to AD for sync
> using asyncLdapSourceService using objectClass =SomeValue
>
> *problem 5003 (will_not_perform) ldap?*
>
> Then tried with objectClass=* then no error but the there is no sync
> happening.
>
> Please help me understand if asyncLdapSourceService will work with AD .
>
> *Thanks & Regards,*
>
>
> *Arsad Ali*
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.lsc-project.org/pipermail/lsc-users/
> attachments/20161108/c96ca15d/attachment-0001.htm>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 8 Nov 2016 09:20:03 +0100
> From: Cl?ment OUDOT <clement.oudot at savoirfairelinux.com>
> Subject: Re: [lsc-users] Suspicious URL:Re: Execute Plugin
> To: lsc-users at lists.lsc-project.org
> Message-ID:
>         <f289637e-6c5c-0361-dcda-cd5986ae33e7 at savoirfairelinux.com>
> Content-Type: text/plain; charset="windows-1252"; Format="flowed"
>
>
>
> Le 08/11/2016 ? 08:11, Braun, Thomas [Wekal] a ?crit :
> >
> > Hello Cl?ment,
> >
> > But now I stuck at this Second-Run-Problem:
> >
> > I want to Sync from an Outlook Contacts CSV Export, with their default
> > columns into an OpenLDAP 2.4.40.
> >
> > My Pivotfield is uid.
> >
> > My List-Script, based on your examples, generates an output in this form:
> >
> > dn: uid=GivennameSurnameCompany, ou=Contacts,dc=my, dc=domain
> >
> > uid: GivennameSurnameCompany,ou=Contacts,dc=my, dc=domain
> >
> >
> > The problem seems to be here, the uid value should just be
> > GivennameSurnameCompany.
> >
> > OK, I tried this. I guess I tried all combinations. But please let us
> > isolate together.
> >
> > Now my List Output is:
> >
> > dn: uid=GivennameSurnameCompany, ou=Contacts ,dc=my, dc=domain
> >
> > uid: GivennameSurnameCompany
> >
> > And the Get Output is:
> >
> > dn: uid=GivennameSurnameCompany, ou=Contacts, dc=my, dc=domain
> >
> > uid: GivennameSurnameCompany
> >
> > givenName: Givenname
> >
> > sn: Surname
> >
> > o: Company
> >
> > mobile: +1234567
> >
> > cn: GivennameSurnameCompany
> >
> > displayName: Surname, Givenname [Company]
> >
> > An Export of the first run is:
> > dn: uid=GivennameSurnameCompany, ou=Contacts, dc=my, dc=domain
> > objectClass: top
> > objectClass: person
> > objectClass: organizationalPerson
> > objectClass: inetOrgPerson
> > cn: GivennameSurnameCompany
> > sn: Surname
> > displayName: Surname,Givenname [Company]
> > givenName: Givenname
> > o: Company
> > uid: GivennameSurnameCompany
> > Debug Output of the second run is:
> > Nov 08 06:59:56 - DEBUG - Lauching
> > '/etc/lsc/scripts/lsc-executable-csv2ldif-get.pl
> > uid=GivennameSurnameCompany, ou=Contacts, dc=my, dc=domain'
> > Nov 08 06:59:56 - DEBUG - Writing to STDIN uid: GivennameSurnameCompany
> > Nov 08 06:59:56 - DEBUG - Waiting for command to stop ...
> > Nov 08 06:59:59 - DEBUG - Messages dump on stderr by script:
> > Nov 08 06:59:59 - WARN  - WARNING: updating the RDN of the entry will
> > cancel other modifications! Relaunch synchronization to complete update.
> > Nov 08 06:59:59 - INFO  - # Renaming object
> > uid=GivennameSurnameCompany,ou=Contacts,dc=my,dc=domainfor CSVSyncTask
> > # Tue Nov 08 06:59:59 UTC 2016
> > dn: uid=GivennameSurnameCompany,ou=Contacts,dc=my,dc=domain
> > changetype: modrdn
> > newrdn: uid=GivennameSurnameCompany
> > deleteoldrdn: 1
> > newsuperior: ou=Contacts,dc=my,dc=domain
> > Could it be the spaces in the DN?
>
> Yes it seems to be that. "uid= GivennameSurnameCompany" should be
> "uid=GivennameSurnameCompany". With this, there will be no renaming, and
> so updates will be done.
>
> --
> Cl?ment OUDOT
> Consultant en logiciels libres, Expert infrastructure et s?curit?
> Savoir-faire Linux
> 137 boulevard de Magenta - 75008 PARIS
> Blog: http://sflx.ca/coudot
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.lsc-project.org/pipermail/lsc-users/
> attachments/20161108/d1382ab5/attachment.htm>
>
> ------------------------------
>
> _______________________________________________
> lsc-users mailing list
> lsc-users at lists.lsc-project.org
> http://lists.lsc-project.org/listinfo/lsc-users
>
> End of lsc-users Digest, Vol 82, Issue 4
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lsc-project.org/pipermail/lsc-users/attachments/20161108/d67b30f0/attachment-0001.htm>


More information about the lsc-users mailing list