Hi,
I've hacked together a small squirrelmail plugin for nadmin so users can
login without using the username:sgid form. You'll find it
here:http://cms.polarmedia.no/midgard it's the file login_nadmin.tar.bz2
Comments are welcome.
Tarjei
>From the readme:
Login_nadmin by tarjei huse ([EMAIL PROTECTED])
A small hack to make virtualhosting w/ nadmin easier.
To install:
- Untar (you've done this already - right ? ;P )
- create a mysql user with select rights to the host table in your
midgard db.
- insert the username and password into the <username> and <password>
fields in setup.php
- add the plugin to the pluginlist in squirrelmail.
- Add an alias entry to the http.conf for squirrelmail. I use this:
Alias /mail/ "/var/www/squirrelmail/"
<Directory "/var/www/squirrelmail">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
How it works:
Nadminstudio does virtual hosting by setting each username to the form
userid:sitegroup.
So when a user logs in to the cyrus-server he or she logs inn with f.x.
arne:9. What this plugin does is that when the user logs in
on a site that is under the sitegroup 9 the user can log in with
username arne and the :9 is automaticly apended to the uid.
If the user logs in with arne:9 this is also handled.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]