selfcommit / gaedav

Automatically exported from code.google.com/p/gaedav
GNU Lesser General Public License v2.1
0 stars 0 forks source link

'PyFileServerDomainController' object has no attribute 'authRealmUser' #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. in PyFileServerConf.py, set defaultdigest = False to use basic
authentication, and adduser(...) to define a user 
2. try to access a resource with a WebDAV client and give user/password
when asked
3. get this error in the app engine logs

What is the expected output? What do you see instead?
<type 'exceptions.AttributeError'>: 'PyFileServerDomainController' object
has no attribute 'authRealmUser'
Traceback (most recent call last):
...
  File
"/base/data/home/apps/.../1.332748532136340626/pyfileserver/httpauthentication.p
y",
line 159, in __call__
    return self.authBasicAuthRequest(environ, start_response)
  File
"/base/data/home/apps/.../1.332748532136340626/pyfileserver/httpauthentication.p
y",
line 188, in authBasicAuthRequest
    if self._domaincontroller.authRealmUser(realmname, username, password,
environ):

What version of the product are you using? On what operating system?
From the repository on 12 april 2009

Please provide any additional information below.
Basically there's an inconsistency between the code and the interface for
domain controllers.

If you copy the existing authDomainUser() method in
pyfiledomaincontroller.py to authRealmUser() it works fine :-)

Original issue reported on code.google.com by mikes...@gmail.com on 13 Apr 2009 at 8:52