Changeset 762
- Timestamp:
 - Jun 3, 2008, 1:43:58 PM (17 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          server/common/oursrc/whoisd/whoisd.tac (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
server/common/oursrc/whoisd/whoisd.tac
r627 r762 20 20 self.ldap_base = ldap_base 21 21 self.vhosts = {} 22 self.rescanVhosts() 22 if vhostDir: 23 self.rescanVhosts() 23 24 def rescanVhosts(self): 24 25 newVhosts = {} … … 68 69 user = pwd.getpwuid(int(attrs['apacheSuexecUid'])) 69 70 if user: 70 attrs['locker'] = user.pw_name 71 attrs['locker'] = user.pw_namep 71 72 else: 72 73 attrs['locker'] = None … … 87 88 88 89 application = service.Application('whois', uid=99, gid=99) 89 factory = WhoisFactory( "/etc/httpd/vhosts.d",90 factory = WhoisFactory(None, 90 91 "ldap://localhost", "ou=VirtualHosts,dc=scripts,dc=mit,dc=edu") 91 92 internet.TCPServer(43, factory).setServiceParent(  
Note: See TracChangeset
          for help on using the changeset viewer.
      