5.2, notebook, ldap.

29 views
Skip to first unread message

Thierry Dumont

unread,
Aug 29, 2012, 9:49:39 AM8/29/12
to sage-devel, Jori Mantysalo
Since some years, I manage a Sage server in my University; this server
is used by students and I have implemented a simple ldap identification.

With Sage versions < 5.2, I always did the following:
-install python ldap in sage
-download the notebook spkg.
-In this notebook package, there was a file named "avatars.py": it
was sufficient to patch that file, and then force a reinstallation of
the notebook with sage -f notebook_patched.spkg

But, with 5.2, we have the new notebook.
There is no more avatars.py in the notebook, but there exists an
avatars.py file in sage:

locate avatars.py
sage-5.2/devel/sage-main/build/sage/server/notebook/avatars.py
sage-5.2/devel/sage-main/build/lib.linux-x86_64-2.7/sage/server/notebook/avatars.py

So, I have some questions:

a) how does it works? is the notebook delegating the identification to
sage? (which uses avatars.py). Is there a documentation on this?
b) if the answer to a is "yes", does patching avatars.py has a chance to
work? (and which one of the avatars.py file?).
c) is avatars.py a member of an spkg? so as to reinstall it by sage -f ?

Thanks in advance

Yours
t.d.


tdumont.vcf
Reply all
Reply to author
Forward
0 new messages