?
Solved

How can I keep OTRS from displaying disabled accounts from Active Directory?

Posted on 2010-01-11
2
Medium Priority
?
1,159 Views
Last Modified: 2013-12-24
I have recently built an OTRS server.  We have it setup to handle user accounts and authentication thru LDAP.  When i log in as admin and look through the list of otrs users, the user list as well as the email list is displaying accounts that are disabled in Active Directory.  Short of deleting the accounts from AD completely (which will not happen), how can I keep OTRS from displaying these disabled AD accounts as users and email addresses?
0
Comment
Question by:Sappbrosts
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:liorfr
ID: 26288450
How about giving all your active users a special role thank define in OTRS the group of active users with that special role?
Take a look in this post:
http://lists.otrs.org/pipermail/otrs/2009-August/027512.html
0
 
LVL 7

Accepted Solution

by:
Sappbrosts earned 0 total points
ID: 26372678
for anyone else thats looking for the correct solution to this issue:

http://lists.otrs.org/pipermail/otrs/2008-February/022345.html

You have to add this to your Config.pm file:


# We only need to see users. Not computers and no disabled users. 
    $Self->{'Customer::AuthModule::LDAP::AlwaysFilter'} = '(&(!(objectClass=Computer))(!(userAccountControl:1.2.840.113556.1.4.803:=2)))';

Open in new window

0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
In this article, we’ll look at how to deploy ProxySQL.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question