Skip to content

Tip: Disabled users in active directory on sync

Post any question you may have in regards to GoAnywhere Services and let our talented support staff and other users assist you.
  • bothunbr Offline
  • Posts: 12
  • Joined: Sun Mar 31, 2013 12:13 pm

Tip: Disabled users in active directory on sync

Post by bothunbr »

I'm using the new ldap sync feature introduced in one of the recent versions of GA services. The feature allows us to keep user in sync with active directory. The one thing I didn't like when I set this up was that if you did a sync to create users that don't already exist it would pull all of your disabled users and create home directories for them.

Here is how to stop that from happening:
Security->Login Methods
Click the edit button on the LDAP/AD profile your users are sync'd with:
Click the "User" tab
Edit the "Object Filter" to look like: (&(objectClass=User)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
UserTab
UserTab
GA-LDAP.png (10.51 KiB) Viewed 6395 times
--Brad
  • Support_Jon Offline
  • Support Specialist
  • Posts: 62
  • Joined: Thu Jul 19, 2012 9:15 am
  • Location: Ashland, NE
  • Contact:

Re: Tip: Disabled users in active directory on sync

Post by Support_Jon »

Brad,

Thank you for sharing this tip. This will work well for customers using Active Directory for authentication as part of a Managed LDAP Login Method. However, this object filter does not work with Active Directory Lightweight Directory Servers (AD LDS) based on our testing.

Thanks - Jon
Post Reply