Re: [rt-users] LDAPImport format options?

2016-04-28 Thread Jim Brandt
Hi Ken, LDAPImport accepts a subroutine reference in the mapping section, so if you need to manipulate a value or grab multiple values, you can write some code to do it. There is an example of accessing the LDAP attributes in a short subroutine in the docs: https://metacpan.org/pod/RT::Exten

[rt-users] LDAPImport format options?

2016-04-28 Thread k...@rice.edu
Hi RT users, I am configuring the LDAPImport extension to replace an ancient local script with similar functionality and I am running into a format problem. I would like to have the RealName field as "surname, givenname". I can easily do "givenname surname" by just using the appropriate LDAP attri

Re: [rt-users] LDAPImport succeds with user LDAP bind but fails with group

2013-08-05 Thread Elliott, Kevin C (DOR)
; Sent: Monday, August 05, 2013 10:20 AM > To: rt-users@lists.bestpractical.com > Subject: Re: [rt-users] LDAPImport succeds with user LDAP bind but fails with > group > > Hi Kevin, > > > I’ve confirmed > > that my filter works with ldapsearch. > > Can you send

Re: [rt-users] LDAPImport succeds with user LDAP bind but fails with group

2013-08-05 Thread Kevin Falcone
On Mon, Aug 05, 2013 at 05:45:58PM +, Elliott, Kevin C (DOR) wrote: >[Mon Aug 5 17:10:47 2013] [error]: LDAP search failed Can't contact LDAP > server > > (/usr/local/share/request-tracker4/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:1237) > >LDAP search failed

Re: [rt-users] LDAPImport succeds with user LDAP bind but fails with group

2013-08-05 Thread Nathan Cutler
Hi Kevin, > I’ve confirmed > that my filter works with ldapsearch. Can you send the working ldapsearch command? Seems suspicious to me that the initial search for the user comes up empty.

[rt-users] LDAPImport succeds with user LDAP bind but fails with group

2013-08-05 Thread Elliott, Kevin C (DOR)
Continuing onwards with my attempt to pull groups and their members from Active Directory into Request Tracker I've made some progress. However, I'm currently stymied - LDAPImport will successfully connect and search for users but when re-using the LDAP connection it fails to connect for the gro

Re: [rt-users] LDAPImport size limit woes

2013-07-11 Thread Thomas Sibley
On 07/11/2013 12:55 AM, Nathan Cutler wrote: >> You might contact the admins of the server and ask if they can enable >> the paging extension or something. It's strange that it's not >> supported; it's been around for _ages_. > > Thomas: OK, I will ask them. Is this the one: > > http://www.rfc-e

Re: [rt-users] LDAPImport size limit woes

2013-07-11 Thread Nathan Cutler
> You might contact the admins of the server and ask if they can enable > the paging extension or something. It's strange that it's not > supported; it's been around for _ages_. Thomas: OK, I will ask them. Is this the one: http://www.rfc-editor.org/rfc/rfc2696.txt ? Nathan

Re: [rt-users] LDAPImport size limit woes

2013-07-10 Thread Thomas Sibley
On 07/10/2013 12:49 PM, Nathan Cutler wrote: >> What LDAP server are you running? > > I don't know. It (the server) is not under my control, so I'll just > have to stick with kludge I've been using until now. You might contact the admins of the server and ask if they can enable the paging extensi

Re: [rt-users] LDAPImport size limit woes

2013-07-10 Thread Nathan Cutler
> This is an error from your LDAP server saying that it doesn't support > paged results (i.e. the first 100, the second 100, etc). Thanks, Thomas. That makes perfect sense, now that you've said it :-) > What LDAP server are you running? I don't know. It (the server) is not under my control, so I

Re: [rt-users] LDAPImport size limit woes

2013-07-10 Thread Thomas Sibley
On 07/10/2013 02:15 AM, Nathan Cutler wrote: > [Wed Jul 10 09:10:42 2013] [error]: LDAP search failed Critical > extension not available > (/usr/lib/perl5/vendor_perl/5.16.2/RT/Extension/LDAPImport.pm:1237) > LDAP search failed Critical extension not available This is an error from your LDAP serve

[rt-users] LDAPImport size limit woes

2013-07-10 Thread Nathan Cutler
Hello again! I have the LDAPImport extension working. Our LDAP server uses an aggressive size limit and I have a kludge in place to deal with it. But today I noticed that LDAPImport has an LDAPSizeLimit parameter. However, when I turn it on like this: Set($LDAPSizeLimit, 100); I get the followi

Re: [rt-users] LDAPImport

2012-02-07 Thread Kevin Falcone
On Tue, Feb 07, 2012 at 09:45:49PM +, Howell, Van wrote: >I have installed and configured RT::Extension::LDAPImport and have run a > successful test > >I have several distribution groups setup in AD and I would like to import > users and place them >in the same groups in RT. > >

[rt-users] LDAPImport

2012-02-07 Thread Howell, Van
I have installed and configured RT::Extension::LDAPImport and have run a successful test I have several distribution groups setup in AD and I would like to import users and place them in the same groups in RT. Like I have AD groups Faculty, Staff, Students, etc I want to import these users into

[rt-users] LDAPImport and Custom Fields or FreeformContactInfo

2011-10-20 Thread declaya
Hi all, I just got the LDAPImport extension working and would like to import more user data. Is there any way to set Custom Fields with LDAPImport? I already tried to assign some data (with the line Description => 'description' (with my CF named Description)), but LDAPImport fails, saying: RT::Us

Re: [rt-users] LDAPimport

2011-08-26 Thread Kevin Falcone
On Fri, Aug 26, 2011 at 01:44:43PM -0700, Erik Lyons wrote: > Thanks, this is exactly what I needed. > Having installed via cpan I saw no indication of a README, and it would > have helped if it was referenced and/or linked on the CPAN page. The README is linked from the CPAN page. http://search.c

Re: [rt-users] LDAPimport

2011-08-26 Thread Erik Lyons
Thanks, this is exactly what I needed. Having installed via cpan I saw no indication of a README, and it would have helped if it was referenced and/or linked on the CPAN page. On 8/26/11 1:18 PM, "Kevin Falcone" wrote: >On Fri, Aug 26, 2011 at 01:13:48PM -0700, Erik Lyons wrote: >>I have in

Re: [rt-users] LDAPimport

2011-08-26 Thread Kevin Falcone
On Fri, Aug 26, 2011 at 01:13:48PM -0700, Erik Lyons wrote: >I have installed the [1]LDAPImport extension module and have gone ahead > with the assumption >(because it is not explicitly stated) that I will be writing a script to > employ this. It would >be great to find some real worl

[rt-users] LDAPimport

2011-08-26 Thread Erik Lyons
Hello, pardon my ignorance. I have ExternalAuthentication working. Now I need to import my users and bind to AD for user changes going forward. Between the wiki and this resource, I haven't really been able to determine a clear path to accomplishing this, though I've seen many suggestions that i

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-08-02 Thread Shawn Plummer
Looks like external Auth can create users again. Turns out I changed attr_match_list and put in the name of the AD attribute not the RT attribute. Changed them back to 'attr_match_list' => ['Name',

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-08-02 Thread Shawn Plummer
Got more log information by turning on logging to rt. log ==> var/log/rt.log <== [Fri Jul 29 12:57:14 2011] [debug]: Attempting to use external auth service: Geneseo_AD (/opt/rt4devel/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64) [Fri Jul 29 12:57:14 2011] [debug]: Calli

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-28 Thread Ruslan Zakirov
On Fri, Jul 29, 2011 at 1:43 AM, Shawn Plummer wrote: > RT 4.0.1 and External Auth 0.9 > > No luck on the log messages. Do I need to change to log to a file rather than > syslog? syslog may put messages into different files depending on level and other properties. Try LogToScreen or LogToFile. T

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-28 Thread Shawn Plummer
RT 4.0.1 and External Auth 0.9 No luck on the log messages. Do I need to change to log to a file rather than syslog? On Jul 28, 2011, at 5:36 PM, Kevin Falcone wrote: > On Thu, Jul 28, 2011 at 01:32:40PM -0400, Shawn Plummer wrote: >> Here is the RT_Siteconfig entries for ldapimport and extern

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-28 Thread Kevin Falcone
On Thu, Jul 28, 2011 at 01:32:40PM -0400, Shawn Plummer wrote: > Here is the RT_Siteconfig entries for ldapimport and external auth Versions? Also, any luck finding the expected log messages I note below? -kevin > > I'd expect to see the output of > > $RT::Logger->debug( (caller(0))[3], > >

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-28 Thread Shawn Plummer
Here is the RT_Siteconfig entries for ldapimport and external auth # For the Ldapimport extension Set($LDAPHost,'server.geneseo.edu'); Set($LDAPUser, 'cn=username,cn=Users,dc=w2k,dc=geneseo,dc=edu'); Set($LDAPPassword, 'password'); Set($LDAPBase, 'cn=Users,dc=w2k,dc=geneseo,dc=edu'); Set($LDAPFilt

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-27 Thread Kevin Falcone
On Wed, Jul 27, 2011 at 07:48:11PM -0400, Shawn M Plummer wrote: > On Jul 27, 2011, at 5:40 PM, Kevin Falcone wrote: > > > You've left off a number of useful debugging messages from > > CanonicalizeUserInfo which came right before this. Without those, > > it's hard to tell what's going on > > >

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-27 Thread Shawn M Plummer
On Jul 27, 2011, at 5:40 PM, Kevin Falcone wrote: > You've left off a number of useful debugging messages from > CanonicalizeUserInfo which came right before this. Without those, > it's hard to tell what's going on > I set $LogToSyslog to debug in RT_Config and tried again. Is this what you wer

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-27 Thread Kevin Falcone
On Wed, Jul 27, 2011 at 04:13:07PM -0400, Shawn M Plummer wrote: > Sorry for the delay in responding to this. > > > > > They are compatible, but it's entirely possible that you have some > > crufty user data. > > > > Do you already have a user whose Name and EMailAddress are both > > n...@genese

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-27 Thread Shawn M Plummer
Sorry for the delay in responding to this. > > They are compatible, but it's entirely possible that you have some > crufty user data. > > Do you already have a user whose Name and EMailAddress are both > n...@geneseo.edu ? > I do not. > If you log in as this user, can RT-Authen-ExternalAuth f

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-11 Thread Kevin Falcone
On Mon, Jul 11, 2011 at 04:53:32PM -0400, Kevin Falcone wrote: > On Mon, Jul 11, 2011 at 01:41:54PM -0400, Shawn M Plummer wrote: > > We do have a lot of users already in RT that are in AD. Updates may be > > working correctly with the script but it's new users it seems to have an > > issue with.

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-11 Thread Kevin Falcone
On Mon, Jul 11, 2011 at 01:41:54PM -0400, Shawn M Plummer wrote: > We do have a lot of users already in RT that are in AD. Updates may be > working correctly with the script but it's new users it seems to have an > issue with. > > USER3 exists in our AD currently but does not exist in RTs databa

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-11 Thread Shawn M Plummer
We do have a lot of users already in RT that are in AD. Updates may be working correctly with the script but it's new users it seems to have an issue with. Imported 311/9795 users Processing user USER1 User USER1 already exists as 173389, updating their data no change Imported 312/9795 users Proc

Re: [rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-11 Thread Kevin Falcone
On Mon, Jul 11, 2011 at 11:53:42AM -0400, Shawn M Plummer wrote: > I have been implementing a test installation of rt4 and am migrating to > LDAPImport to replace a very old rt to ldap sync script we had. > However whenever I run LDAPImport I get the following errors: > [Mon Jul 11 15:31:00 2011]

[rt-users] LDAPImport bug with RT-Authen-ExternalAuth

2011-07-11 Thread Shawn M Plummer
I have been implementing a test installation of rt4 and am migrating to LDAPImport to replace a very old rt to ldap sync script we had. However whenever I run LDAPImport I get the following errors: [Mon Jul 11 15:31:00 2011] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Addre

Re: [rt-users] LdapImport

2011-06-08 Thread Giuseppe Sollazzo
Thanks Kevin! G On 08/06/11 15:21, Kevin Falcone wrote: On Wed, Jun 08, 2011 at 03:14:10PM +0100, Giuseppe Sollazzo wrote: The question is if there's anything automatically done after the first import or if I will have to crontab an execution of the import script whenever I know my LDAP databa

Re: [rt-users] LdapImport

2011-06-08 Thread Kevin Falcone
On Wed, Jun 08, 2011 at 03:14:10PM +0100, Giuseppe Sollazzo wrote: > The question is if there's anything automatically done after the > first import or if I will have to crontab an execution of the import > script whenever I know my LDAP database has changed. You have to run the importer manually

[rt-users] LdapImport

2011-06-08 Thread Giuseppe Sollazzo
Hi, a very quick doubt... I've just run successfully an ldap import. Now, the readme file specifies some options to manage updates and new users, like $LDAPUpdateUsers and $LDAPUpdateOnly. The question is if there's anything automatically done after the first import or if I will have to cront