[LON-CAPA-admin] [was LON-CAPA-users] mass resetting internal aauth passwords

Guy Albertelli II guy at albertelli.com
Fri Sep 15 13:18:44 EDT 2006


Hi Hon-Kie,

> > > Not sure if people wants it - currently it is not general enough
> > > since the script runs on the lib server and it is hard coded in.
> >
> >Could you send me what you have? I might be a good starting point for
> >to implement the dc upload idea Gerd desires.
> 
> Let me clean it up before sending it to you?

Sure.

> >Or if you have some time to beat into to shape for doing the upload
> >I'd like that too.
> 
> What do you have in mind? It may not be that hard to modify. :-)

Well as Gerd said:

> Yep. At some point, I would like to add the functionality that if a  
> domain coordinator impersonates a course coordinator, they can upload  
> class lists and overwrite the password.

> > > Is there is way to get the library server name for a user domain?
> >
> >If you are writing internal script code
> >&Apache::lonnet::homeserver($username,$domain);
> >
> >We don't provide a means to get this data from the authoring point.
> 
> Unfortunately, it is in the authoring space that I need it. So the cc 
> clicks on the res. There is a link in the res that points to a script 
> on the lib server.

Not really, the script on the lib server, could do a
use Apache::lonnet;

and call homeserver with the passed in username/domain.


-- 
guy at albertelli.com   0-7-1-6-27,137



More information about the LON-CAPA-admin mailing list