Open nodenineinc opened 5 years ago
I'm not familiar with how the LDAP module works; what does drush sqlq 'select * from users'
return? I.e., are there entries (users) in the users
table?
Good morning - thank you for the follow-up.
Just for the sake of brevity in the response, I limited the SELECT statement a bit, but as you can see, the users table returns users without any issue.
drush sqlq 'select uid,name,status from users'
mysql: [Warning] Using a password on the command line interface can be insecure.
uid name status
0 0
1 administrator 1
245 chris 1
3220 testuser 1
Also want to add that the other built-in drush user commands, such as 'user-information' are functioning fine. For some reason though, the added 'user-list' command just returns no output.
# drush user-information testuser
User ID : 3220
User name : testuser
User mail : chris@siliconhotrod.com
User roles : authenticated user, paymentverified
User status : active
# drush uls
# drush user-list
#
And wanted to mention about the environment, we're running Drupal 7.63 for this site instance, with all the latest updates and patches applied for core and any/all installed modules and themes.
Hello.
I'm not quite sure why, but I just cloned this into my functional drush/drupal-7 env and tried running it but it's not returning any users.
Steps performed:
I have run with the drush -d (debug) flag as well and it offered no hints as to why this is not returning any users.
I have 3 current users for this site instance that I am building, and I would expect at least the 'Administrator' account to show at a minimum.
I am leveraging the LDAP module for external user authentication, so don't know if that's perhaps a factor, but end result I need is to be able to pull a list of drupal accounts, their status, and assigned roles, so that I can run scripts to perform further processing upon account creation. This module sound like exactly what I need tool-wise, but I could use a hand debugging why it's not currently returning any results.
Cheers, -Chris