Q&A > CGI programming > Can I use NT authentification for a script running on a Linux server? - Answer contributed by Schuk

I also found a nice little solution. In fact it only gives you the nt login name of the client box. You need the IpInfo module which I found in the sources of NBTscan.
use IpInfo; ... my $info = new IpInfo($cur_ipaddr); print $info->nbUserName();
The module reads out the netbios.