Okay, this makes sense to me..

Now my problem seems to be in Active Directory I have no idea how to get the OU 
of a person.  There seems to be no OU attribute stored for each user.  The OU 
is a part of the user's DN, but I doubt I can access just that section of the 
DN using a simple config option.

Anyone know of an easy way to do this?  Is there some kind of specially 
constructed ldap query that would return what I need?

Greg

-----Original Message-----
From: Rico Barth [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 06, 2007 3:03 AM
To: Baker, Greg
Cc: [email protected]
Subject: Re: [otrs] Assigning customers to companies via ldap

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Greg,

you may use attribut "company" and link it to customerid. In 
Kernel/Config.pm you need to set

         CustomerKey => 'sAMAccountName'
         CustomerID => 'company'

Don't forget to add company to CustomerUserSearchFields-Array.

Regards and HTH,

Rico


On Wed, 31 Oct 2007, Baker, Greg wrote:

> Is there any way to use ldap to assign customers to companies?  We have
> many departments and our active directory is organized according to
> these departments.  I am hoping to use this ldap organization to
> automatically assign customers to companies in otrs.  Has anyone figured
> out how to do this yet?

- -- 
Dipl.-Math. Rico Barth, Geschäftsführer/Projektleiter
c.a.p.e. IT GmbH
Annaberger Straße 240 , 09125 Chemnitz
phone/fax: +49 371 5347-621 / -625
mobile:    +49 176 66680786
mailto:    [EMAIL PROTECTED] , PGP-Key: 0x874C8377
internet:  www.cape-it.de

Geschäftsführung Rico Barth, Thomas Maier
AG Chemnitz, HRB 23192
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFHMAqPmy4UBYdMg3cRAucsAJ9ELvVMFaUlj/weZwncu8H4thHXugCgmf5V
A6+12FZZriDEfyjluXKXP8E=
=M2Zo
-----END PGP SIGNATURE-----
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to