Hi. I tried searching, but "contact" finds a slew of stuff that is not relevant to my inquiry. I have LDAP setup to pull customer data. It works great, very happy. I have the following LDAP filter:
AlwaysFilter => '(&(objectclass=user)(mail=*))',
I have many Exchange contacts for people who work at my location, but not on my network. I tried to change the filter to:
AlwaysFilter => '(&(objectclass=user)(objectclass=contact)(mail=*))',
..but that broke everything. Couldn't even pull up user data then. Is it not possible to use contact information? Wasn't sure if I was just doing it wrong, or if that's not possible. Thanks!
LDAP Contacts?
Moderator: crythias
-
- Znuny newbie
- Posts: 65
- Joined: 29 Sep 2011, 05:18
- Znuny Version: 3.0.11
- Real Name: Ken
- Company: Baltimore City Mayor's Office
LDAP Contacts?
OTRS 3.0.11 / IIS7 / MSSQL 2005 / VMware ESX
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: LDAP Contacts?
you used & (AND) which meant match ALL the criteria...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny newbie
- Posts: 65
- Joined: 29 Sep 2011, 05:18
- Znuny Version: 3.0.11
- Real Name: Ken
- Company: Baltimore City Mayor's Office
Re: LDAP Contacts?
Hmmm. I tried various other ways with varied degrees of fail. Finally, I figured hey, I should try using ADUC's custom search to test my LDAP queries. I finally got what I needed, users and contacts, using this:
(&(objectCategory=person)(|(objectClass=user)(objectClass=contact))(|(mail=*)))
Threw that into OTRS and I still get just users, not contacts. *sigh* I'm gonna be bald by the time the night is over lol.
PS, I also tried:
(&(objectClass=contact))
..and I got users and computer accounts (??) in my customers tab, but no contacts.
PPS.. I just thought hey, lets just disable filtering. Let it cull everything, wide open. STILL no contacts. Are contacts not supported? I can see them in ADUC, so I know they are there.
(&(objectCategory=person)(|(objectClass=user)(objectClass=contact))(|(mail=*)))
Threw that into OTRS and I still get just users, not contacts. *sigh* I'm gonna be bald by the time the night is over lol.
PS, I also tried:
(&(objectClass=contact))
..and I got users and computer accounts (??) in my customers tab, but no contacts.
PPS.. I just thought hey, lets just disable filtering. Let it cull everything, wide open. STILL no contacts. Are contacts not supported? I can see them in ADUC, so I know they are there.
OTRS 3.0.11 / IIS7 / MSSQL 2005 / VMware ESX
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: LDAP Contacts?
Can contacts be/are they members of the group?
Because they're not exactly "Entities with permissions"
Because they're not exactly "Entities with permissions"
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: LDAP Contacts?
Hi all,
i still have the same problem like knischan. my otrs with a customer-ldap-backend doenst shows me my LDAP contacts.
Here is my filter:
It works very fine if i try this via my LDAP Browser and it shows me accounts and contacts.
There is any solution or another way to implement external email adresses with this customer-backend?
regards Kristian
i still have the same problem like knischan. my otrs with a customer-ldap-backend doenst shows me my LDAP contacts.
Here is my filter:
Code: Select all
AlwaysFilter => '(&(objectCategory=CN=Person,.....)(!(userAccountControl=514))(mail=*)(!(sAMAccountName=res*))(!(sAMAccountName=admin*))(!(sAMAccountName=#*))(!(proxyAddresses=smtp:*.invalid)))'
There is any solution or another way to implement external email adresses with this customer-backend?
regards Kristian
openSUSE 11.4 / OTRS 3.1.13 / MySQL 5.1.63