Checked different ways to authenticate users in an windows environment. At least i realised the simplest way would be to let it do by the webserver himself:

Enable windows authentificaion in your IIS authentification settings.

Create a user entity:

Next, make sure to create the database table:

Configure your user provider:

Enable REMOTE_USER based authentication in your security.yml:

Insert your first user with username as DOMAIN\user in your db and you will be fine. For debugging print out $_SERVER and look for REMOTE_USER is filled with your desired username.

Leave a Comment

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.