Tag Info

New answers tagged


You can find out the Username/sAMAccountName by starting a LDAP query to the AD and then performing the NTLM-Authentication. A very basic bash script mail_to_username (without any input filter) would look like this: #!/bin/bash MAIL=$1 NTDOMAIN=$2 CHALLENGE=$3 NTRESPONSE=$4 HOST="ldap://ip-adress" BASE_DN="OU=Users,DC=example,DC=de" ...

Top 50 recent answers are included