philbertphotos / osticket-multildap-auth-plugin

Plugin for OS Ticket that allows for authentication with multiple domains.
GNU General Public License v3.0
28 stars 17 forks source link

Sync not finding/updating any users, only agents #55

Closed dylanglass6300 closed 1 year ago

dylanglass6300 commented 2 years ago

Hello,

I am using osTicket v1.16.3, on PHP 8.0.13, using the most recent version of your plugin.

I am able to connect my LDAP server and have it sync properly and on schedule, but it is always pulling 0 users like the screenshot below. My search filter and LDAP sync filter are blank in configuration, so the issue may lie in that. I have also used the default filters that you have set, and they also came back with 0 users.

Let me know if you need any more info from me.

image

philbertphotos commented 2 years ago

Look like the newest version is stripping HTML in the logs. Its very very strange that its able to find agents and not able to find users since they both use the same search string.... but let me see to make sure.

berilslv commented 1 year ago

Im facing similar problem using php8.0.20(ubuntu server) Synced agent count- 3 , but I cant find them in any group/list/organzation.

philbertphotos commented 1 year ago

Check by making a change to a user attribute to verify since it looks at that for changes. If it sees none then there would be no need to update

philbertphotos commented 1 year ago

This is me .. It list total ldapusers total agents and only the users who have been updated image

philbertphotos commented 1 year ago

@berilslv can you send a image of you sanitized of your settings.

PaysenPetersen commented 1 year ago

Hello,

i still have the same problem. Agents are syncronized, users are not syncronized. If a new user logs in and writes a ticket, the e-mail address etc. will not be transferred to the database. Until yesterday I had the problem with UTF-8, which you fixed. The connect to both AD' now works perfectly. The registration too. But no synchronization.

Can I provide you with any LOG files?

image

philbertphotos commented 1 year ago

@PaysenPetersen Yes send me logs files you have.... So question for example if I edit any bit of information in this user on the next sync it updates the user. Cant you try that? image

philbertphotos commented 1 year ago

@PaysenPetersen This should be fixed now updated lots of bits so it actually supports 1.16 and 1.17