
17th May 2006, 18:00
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 22
Thanks: 0
Thanked 4 Times in 1 Post
|
|
squirrelmail virtual username solution proposal
hi everyone.
digging the mail archive and the forum i realized that many of us prefer squirrelmail as the webmail option to provide easy access to our customers to their mails using their browsers. i also realized that at this moment ISPConfig developers are way too busy to develop support to squirrelmail in a form so that users don't need to use their 'ugly' web[WEBID]-user format username but username@domain.tld format.
giving it some time i thought of an idea of creating a pam module which translates user@domain.tld according to postfix's virtualuser.db database to real username's with which the client can be authenticated.
please (ISPConfig developers) let me know if there's need for such a feature. i'd not like to work in parallel with you guys.
thanks.
frank
ps: the reason i'm not thinking of writing a squirrelmail auth plugin because in the pam module case other services can make use of this method, such as ftp or imap/pop daemons.
|

17th May 2006, 18:05
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 22
Thanks: 0
Thanked 4 Times in 1 Post
|
|
even better. i have not looked at the mysql database of ISPConfig yet, but if we can keep all the info in mysql (username, password, shell, home dir, etc) leaving /etc/passwd intact we could easily use mysql pam module so none of the existing apps would need to know where they are getting the auth info from.
was this idea already inspected and discarded for performance reasons or other?
|

17th May 2006, 22:06
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,843
Thanks: 781
Thanked 1,557 Times in 1,476 Posts
|
|
Quote:
|
Originally Posted by sfrank
even better. i have not looked at the mysql database of ISPConfig yet, but if we can keep all the info in mysql (username, password, shell, home dir, etc) leaving /etc/passwd intact we could easily use mysql pam module so none of the existing apps would need to know where they are getting the auth info from.
was this idea already inspected and discarded for performance reasons or other?
|
The passwords aren't stored in the ISPConfig database, they are in /etc/shadow, that's why this solution won't work.
|

18th May 2006, 00:07
|
|
Junior Member
|
|
Join Date: May 2006
Posts: 22
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Quote:
|
Originally Posted by falko
The passwords aren't stored in the ISPConfig database, they are in /etc/shadow, that's why this solution won't work.
|
Any intentions to make it that way in future releases? It'd not be difficult to write a script which copies/moves the already existing user info into the database if an upgrade occures.
But again, if for any reasons you're not a fan of such a solution I accept that. Shall I ask you to comment my first post in this topic too?
Thx in advance.
Frank
|

18th May 2006, 08:54
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,796
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
Quote:
|
Originally Posted by sfrank
even better. i have not looked at the mysql database of ISPConfig yet, but if we can keep all the info in mysql (username, password, shell, home dir, etc) leaving /etc/passwd intact we could easily use mysql pam module so none of the existing apps would need to know where they are getting the auth info from.
was this idea already inspected and discarded for performance reasons or other?
|
We have chosen to not store the passwords in mySQL for security reasons.
Also if you keep the passwords in two places you might get problems with synchronization if a password is changed on the shell.
If storing the passwords in DB can be disabled, it will be fine to have a additional PAM module for accessing the data from squirrelmail and other applications.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 17:33.
|
Recent comments
9 hours 57 sec ago
14 hours 16 min ago
14 hours 27 min ago
14 hours 35 min ago
15 hours 37 min ago
17 hours 45 min ago
20 hours 10 min ago
20 hours 28 min ago
20 hours 37 min ago
21 hours 52 min ago