@@ -634,16 +634,16 @@ class LdapAttributeHandler
634634#### Password Synchronization
635635
636636The password sync option allows you to automatically synchronize
637- users AD passwords to your local database. These passwords are
637+ users LDAP passwords to your local database. These passwords are
638638hashed natively by laravel.
639639
640640Enabling this option would also allow users to login to their
641- accounts using the password last used when an AD connection
641+ accounts using the password last used when an LDAP connection
642642was present.
643643
644644If this option is disabled, the local user account is applied
645645a random 16 character hashed password, and will lose access
646- to this account upon loss of AD connectivity.
646+ to this account upon loss of LDAP connectivity.
647647
648648This feature is disabled by default.
649649
@@ -670,27 +670,29 @@ There are several events fired during each operation that takes place in Adldap2
670670The login fallback option allows you to login as a local database user using the default Eloquent authentication
671671driver if LDAP authentication fails. This option would be handy in environments where:
672672
673- - You may have some active directory users and other users registering through the website itself (user does not exist in your AD).
674- - Local development where your AD server may be unavailable
673+ - You may have some active directory users and other users registering through
674+ the website itself (user does not exist in your LDAP directory).
675+ - Local development where your LDAP server may be unavailable
675676
676677To enable it, simply set the option to true in your ` config/adldap_auth.php ` configuration file:
677678
678679``` php
679680'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', true), // Set to true.
680681```
681682
682- #### Developing Locally without an AD connection
683+ #### Developing Locally without an LDAP connection
683684
684- You can continue to develop and login to your application without a connection to your AD server in the following scenario:
685+ You can continue to develop and login to your application without a
686+ connection to your LDAP server in the following scenario:
685687
686688* You have ` auto_connect ` set to ` false ` in your ` adldap.php ` configuration
687- > This is necessary so we don't automatically try and bind to your AD server when your application boots.
689+ > This is necessary so we don't automatically try and bind to your LDAP server when your application boots.
688690
689691* You have ` login_fallback ` set to ` true ` in your ` adldap_auth.php ` configuration
690692 > This is necessary so we fallback to the standard ` eloquent ` auth driver.
691693
692694* You have ` password_sync ` set to ` true ` in your ` adldap_auth.php ` configuration
693- > This is necessary so we can login to the account with the last password that was used when an AD connection was present.
695+ > This is necessary so we can login to the account with the last password that was used when an LDAP connection was present.
694696
695697* You have logged into the synchronized LDAP account previously
696698 > This is necessary so the account actually exists in your local app's database.
@@ -703,9 +705,9 @@ application without a persistent connection to your LDAP server.
703705Model binding allows you to attach the users LDAP model to their Eloquent
704706model so their LDAP data is available on every request automatically.
705707
706- > ** Note** : Before we begin, enabling this option will perform a single query on your AD server for a logged
708+ > ** Note** : Before we begin, enabling this option will perform a single query on your LDAP server for a logged
707709 in user ** per request** . Eloquent already does this for authentication, however
708- this could lead to slightly longer load times (depending on your AD
710+ this could lead to slightly longer load times (depending on your LDAP
709711server and network speed of course).
710712
711713To begin, insert the ` Adldap\Laravel\Traits\HasLdapUser ` trait onto your ` User ` model:
@@ -757,7 +759,7 @@ in some other means with Apache. Adldap2 does not set this up for you. To enable
757759https://www.iis.net/configreference/system.webserver/security/authentication/windowsauthentication/providers/add
758760
759761> ** Note** : The WindowsAuthenticate middleware utilizes the ` scopes ` inside your ` config/adldap.php ` file.
760- > A user may successfully authenticate against your AD server when visiting your site, but
762+ > A user may successfully authenticate against your LDAP server when visiting your site, but
761763> depending on your scopes, may not be imported or logged in.
762764
763765To use the middleware, insert it on your middleware stack inside your ` app/Http/Kernel.php ` file:
@@ -803,5 +805,5 @@ authentication enabled, IIS will set the PHP server variable `AUTH_USER`. This v
803805is usually equal to the currently logged in users ` samaccountname ` .
804806
805807The configuration array represents this mapping. The WindowsAuthenticate middleware will
806- check if the server variable is set, and try to locate the user in your AD server
808+ check if the server variable is set, and try to locate the user in your LDAP server
807809by their ` samaccountname ` .
0 commit comments