Jump to content

Migrate local account to LDAP users


Go to solution Solved by Thuzad,

Recommended Posts

Thuzad
Posted

Hello,

 

I am looking to change my authentication method to use LDAP. I have quite a few local accounts on Emby and would like to migrate them.

 

If I need to reset the passwords, that's no problem, but I would like to keep everything else related to the accounts:

- Media watched

- Preferences

- etc.

 

I know this isn't possible by default, but is there a way to do it? I've thought of a few things:

- Try to create an LDAP account and see how it's structured in the database, then make the necessary updates (I think there's a big risk involved)

- Create a new Emby instance and use watchstate, but I'll lose the users' preferences

 

Thanks in advance for your help.

Thuzad
Posted

Ok I think I have found :

- stop the server

- Into the settings.xml of the user change :

  <AuthenticationProviderId>Emby.Server.Implementations.Library.DefaultAuthenticationProvider</AuthenticationProviderId>

to

<AuthenticationProviderId>LDAP.AuthenticationProvider</AuthenticationProviderId>

 

Can you tell me if is ok ?

  • Solution
Thuzad
Posted

I tried too hard to find it, but it's already in the user settings...

  • Thanks 1
Posted
13 hours ago, Thuzad said:

I tried too hard to find it, but it's already in the user settings...

Thanks for following up.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...