Traceback: File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response 92. response = callback(request, *callback_args, **callback_kwargs) File "/usr/share/cobbler/web/cobbler_web/views.py" in index 58. html = t.render(Context({
Exception Type: AttributeError at /cobbler_web/ Exception Value: 'NoneType' object has no attribute 'version'
This may be a sign of an Apache configuration issue? Version as an XMLPRC api method has been in pretty much every version of Cobbler.
Another likely problem is that -- if you built it yourself (not a rpmbuild --rebuild, but actually built it yourself) that the version file was missing from /var/lib/cobbler/version.
This wouldn't happen with a rpmbuild rebuilt version, however -- but if you built from source ("make rpms", etc) on a system without git installed, it could be possible.
I figure maybe it needed content, and imported a distro. That didn't help either.
What am I doing wrong?
I've only changed cobbler_web.conf to have "AuthUserFile /etc/httpd/passwd" added.
You shouldn't do this -- the authn/authz layers are enforced by cobblerd, not Apache. Just because we don't log does not mean it is not being used. (Logging levels and levels of detail possibly being subject to another discussion of course, that's a valid point).
Anyway, authn/authz is still controlled by /etc/cobbler/modules.conf -- this has *not* changed.
It would not be effective to enforce user control only at the web access level because then we wouldn't be securing other XMLRPC clients. Further, doing double authentication via Apache and then also Django ... I'm not sure what that would do.