def __init__ (self,confdir): Thread.__init__(self) self.confdir = confdir self.conf = config.read_config(config.findConfigFileNameInArgv(sys.argv,self.confdir)) self.conf['GENERAL']['VERSION'] = '0.9.9.0.1' #-------------------------------------------------------------- print 'NTLM authorization Proxy Server v%s' % self.conf['GENERAL']['VERSION'] print 'Copyright (C) 2001-2004 by Dmitry Rozmanov and others.'
# You should have received a copy of the GNU General Public License # along with the sofware; see the file COPYING. If not, write to the # Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # import __init__ import sys import server, config, config_affairs #-------------------------------------------------------------- # config affairs # look for default config name in lib/config.py conf = config.read_config(config.findConfigFileNameInArgv(sys.argv, __init__.ntlmaps_dir+'/')) conf['GENERAL']['VERSION'] = '0.9.9.0.1' #-------------------------------------------------------------- print 'NTLM authorization Proxy Server v%s' % conf['GENERAL']['VERSION'] print 'Copyright (C) 2001-2004 by Dmitry Rozmanov and others.' config = config_affairs.arrange(conf) #-------------------------------------------------------------- # let's run it serv = server.AuthProxyServer(config) serv.run()
# # You should have received a copy of the GNU General Public License # along with the sofware; see the file COPYING. If not, write to the # Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. # import __init__ import sys import server, config, config_affairs #-------------------------------------------------------------- # config affairs # look for default config name in lib/config.py conf = config.read_config( config.findConfigFileNameInArgv(sys.argv, __init__.ntlmaps_dir + '/')) conf['GENERAL']['VERSION'] = '0.9.9' #-------------------------------------------------------------- print 'NTLM authorization Proxy Server v%s' % conf['GENERAL']['VERSION'] print 'Copyright (C) 2001-2004 by Dmitry Rozmanov and others.' config = config_affairs.arrange(conf) #-------------------------------------------------------------- # let's run it serv = server.AuthProxyServer(config) serv.run()