Re: Sage for the summer?

45 views
Skip to first unread message

William Stein

unread,
May 23, 2012, 4:47:40 PM5/23/12
to J. Maurice Rojas, sage-support, sage-notebook
On Tue, May 22, 2012 at 11:23 AM, J. Maurice Rojas
<jmauri...@gmail.com> wrote:
> Dear William,
>
>   Greetings from Texas A&M. Hope you're doing well.
>
>    I'm trying to convince my local computer gurus to install Sage,
> but am having some trouble
> with some settings that I know very little about: one sysadmin
> complains that Sage has not
> implemented ldap. The other (who's e-mail I've appended below)
> complains that, for security
> reasons, he does not want to allow the notebook() interface to run.
>
>   In the interest of getting Sage running in our department (and for
> the sake of some summer
> students I'll be teaching) could you please tell me how to disable the
> notebook interface and just use
> the command line?
>
>   I look forward to hearing from you soon.


In the file sage-5.0/devel/sagenb-main/sagenb/notebook/notebook_object.py
change

def __call__(self, *args, **kwds): # line 216
return self.notebook(*args, **kwds)

to

def __call__(self, *args, **kwds):
raise RuntimeError("banned")
return self.notebook(*args, **kwds)

P Purkayastha

unread,
May 24, 2012, 5:53:10 AM5/24/12
to sage-n...@googlegroups.com, J. Maurice Rojas, sage-support
LDAP support is implemented here:

Dima Pasechnik

unread,
May 24, 2012, 9:29:35 AM5/24/12
to sage-n...@googlegroups.com, J. Maurice Rojas, sage-support


On Thursday, 24 May 2012 11:53:10 UTC+2, P Purkayastha wrote:
LDAP support is implemented here:

maybe it's a good idea to get this ticket into sagenb, finally :)
At least we should upload there our working version of the
patch.

Dima 

On Thursday, May 24, 2012 4:47:40 AM UTC+8, William Stein wrote:
On Tue, May 22, 2012 at 11:23 AM, J. Maurice Rojas
Reply all
Reply to author
Forward
0 new messages