All posts by Mike Dixson

Exporting Active Directory Users Into CSV

It took far too long to find this very very useful command online so I thought I’d repost to help others find it.
The below command exports as follows:
Connection to server: domain.local
Exporting attributes: whenChanged,whenCreated,cn,sAMAccountName,givenName,sn
From DN Root: DC=domain,DC=local
Into File: domain.local-users.csv
csvde -s domain.local -l "whenChanged,whenCreated,cn,sAMAccountName,givenName,sn" -d "DC=domain,DC=local" -f domain.local-users.csv

Solution: libpam-radius-auth: Sends out as NAS-IP-Address


When authentication linux to radius using libpam-radius-auth: Sends out as NAS-IP-Address


/etc/hosts file contains the local machine’s hostname with


Either remove the offending line, or before this line place the correct ip address with the hostname (note that order is important). computerName computerName