Hi Ian, I am not aware of an existing script, although the new REST API for patrons should be helpful in the future. I also found a bug that could be interesting to you and is currently waiting to be tested: *BugĀ 11808* <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11808> - When searching for a cardnumber in the intranet, also try to search for it on the LDAP server if one is configured Hope this helps, Katrin On 11.03.2018 06:37, Mr. Ian McNaught wrote:
Hi
We've successfully got Koha running using LDAP to authenticate via our active directory server, but we would like to go one step further and have patron accounts provisioned based on user accounts in AD. Currently a user account will be created if they log in to the OPAC interface, but if they try to take a book on loan without first logging in, they will not have a patron account. To avoid this issue we are manually creating patron accounts that match up with AD accounts, but it would be nice if this part could be automated. Is there any sync script available? Or web service we could use to create said script? Has anyone else resolved this issue?
Thanks
Ian *Ian McNaught* *Head of Library & Computing Services* *Tel: (+968) 24730404*