Skip Menu |

This queue is for tickets about the Apache2-AuthenNTLM CPAN distribution.

Report information
The Basics
Id: 23574
Status: new
Priority: 0/
Queue: Apache2-AuthenNTLM

People
Owner: Nobody in particular
Requestors: peter [...] axomic.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.01
  • 0.02
Fixed in: (no value)

Attachments
Apache2-AuthenNTLM-0.02_Suggested_Changes.tar.gz



Subject: Valid_User_Connect using IP not /etc/hosts for Linux / Mac
Hi Shannon, Thank you for the very useful Apache2::AuthenNTLM package. I have a small request. I am working with Linux and Mac servers and they need to run: Authen::Smb::Valid_User_Connect However, the servers I am connecting to will not be in /etc/hosts files or DNS lookups. I can't add them due to security restrictions on these systems and networks. I understand your comments on Active Directory in the perldoc for AuthenNTLM.pm. However, I need a workaround so I can pass both an IPs and server names. I have gone into the code and can see that the intention was to have a gethostbyname() call followed by NetBIOS lookup. However the NetBIOS lookup was never implemented, and I agree it is probably quite a bit of work to get a reliable solution. See: Apache2-AuthenNTLM-0.02/smb/smbval/rfcnb-util.c /* Try NetBIOS name lookup, how the hell do we do that? */ I therefore suggest a modification that is back compatible with all your code. It basically adds a couple of methods that use IPs rather than gethostbyname(). I have attached the relevant files. Valid_User_Connect_IP(server,backup,domain,nonce,ipServer,ipBackup) SMB_Connect_Server_IP(Con,server,NTdomain,ip) I have tested these modifications against Active Directory here, with and without using IPs. If you could include these changes in Apache2::AuthenNTLM I would be extremely grateful. Many Thanks Peter Walsham -- Axomic Ltd 338 City Road London EC1V 2PY t: +44 (0)20 7239 8287 m: +44 (0)7812 122418 http://www.axomic.com
Subject: Apache2-AuthenNTLM-0.02_Suggested_Changes.tar.gz

Message body not shown because it is not plain text.