Closed Groganj89 closed 4 years ago
Hey all, just wondering if anyone has managed to have a look at my issue? :)
Hey all, so just to test my code, I created a user's table with the correct columns and tried my import and finally it worked! but now I need to know how to force php artisan adldap:import
to import to a different table with the same columns in. I have read somewhere that you can force it to use a different model but I'm not quite sure what contents need to be in the model in order to import into the other table.
All sorted now, I was being thick and a more experience colleague sorted my issue and pointed out my error! job complete.
Thank you for this awesome module.
Description:
Hi Steve
I am wondering if you can share some wisdom and perhaps help me out bud :) Basically, I started again with my adldap2-laravel as I now have more time to get it right and implement it into our app.
So The login part is not as important as I thought it was to be honest but I am having issues syncing. It finds all my people in my AD but it will not import, it states: Successfully imported / synchronized 0 user(s).
As far as I can tell I am not getting any error messages or anything, and I have set up my ldap, ldap_auth, and auth.php up correctly as far as I can see.
Please note this is a special circumstance as I am wanting to import it into a 'Peoples' table, to which I have set this up in my migrations table.
Please see my ldap.php, ldap_auth.php and auth.php files.
Steps To Reproduce:
LDAP.php
`<?php
return [
];'`
`LDAP_AUTH.php
`<?php
return [
];`
auth.php
`<?php
return [
];`
Thank you in advance :)