Skip to content
Discussion options

You must be logged in to vote

I figured it out, I had the credentials keys wrong.

$credentials = [
        'email' => '[email protected]',
        'password' => 'aaasdasd',
    ];`

Can't use email, I need to use userprincipalname or samaccountname with just the username, this is mentioned on the docs but I assumed that the email was converted on the fly to userprincipalname with LdapRecord, and since I made it to sync on the auth.php I wrongly assumed it would "sync" the array keys.

'sync_attributes' => [
                    'name' => 'cn',
                    'email' => 'userPrincipalName',
                ],

Since the docs mentioned the "email", I assume my clients AD don't have the email as a entry, other…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
8 replies
@luis-gmonkey
Comment options

@luis-gmonkey
Comment options

@stevebauman
Comment options

@luis-gmonkey
Comment options

@luis-gmonkey
Comment options

Comment options

You must be logged in to vote
4 replies
@stevebauman
Comment options

@stevebauman
Comment options

@luis-gmonkey
Comment options

@stevebauman
Comment options

Answer selected by luis-gmonkey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants