On Tue, 4 Nov 2003, Damian Gerow wrote: > Thus spake Alan DeKok ([EMAIL PROTECTED]) [04/11/03 11:26]: > > There's dialup_admin, which is in the tree. It's based on PHP & the > > web, but it's similar. > > > > It may be possible to make the dialup_admin tools also wrok as > > command-line tools, or to make a "generic" command line tool which > > dialup_admin can use, too. > > I'm hoping to provide a companion to the web interface, but don't know PHP > very well. I don't know perl very well either, but that's what I'm shooting > to use. I've already written a password management utility (expire, > reactivate users, change passwords, put users on hold), so the next step is > user creation and generic attribute management.
I would suggest the same thing. PHP is mainly for web applications, perl for command line utils. And it would be nice to also have command line utils in companion with dialupadmin mainly for mass user creation/administration. > > I'm willing to share my (ugly) code with anyone that wants it. I figure I'm > not the only one who wants command-line control of the users database. > Unfortunately, it's SQL only. I've never touched LDAP with perl. One nice thing would be to try and distinguish script operation from the actual database operations. Mainly keep them all in a separate included file(s). dialupadmin shares that kind of logic. Then someone else can easily create ldap specific code. > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
