LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 04-14-2008, 01:44 PM   #1
dody1313
Member
 
Registered: May 2007
Posts: 179

Rep: Reputation: 30
digest-md5


hi guys
how can i enable digest-md5 authentication method
do i have to download and install it somewhre
or do i just run a command to activate it on my solaris 10 sparc server?
 
Old 04-14-2008, 03:08 PM   #2
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
the raison i am asking it's because i am using squirrelmail as a webmail and i would like to authenticate using digest-md5 method
 
Old 04-14-2008, 04:09 PM   #3
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by dody1313 View Post
the raison i am asking it's because i am using squirrelmail as a webmail and i would like to authenticate using digest-md5 method
digest-md5 is a part of the SASL framework.
If Squirrelmail is compiled with SASL, you should be able to call on your preferred encryption mechanism.

Thanks, C
 
Old 04-14-2008, 04:37 PM   #4
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
do you mean that as long as i have sasl installed on my server i should have digest-md5 authentication method enabled?
 
Old 04-15-2008, 10:16 AM   #5
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by dody1313 View Post
do you mean that as long as i have sasl installed on my server i should have digest-md5 authentication method enabled?
Yes and no.
See http://www.squirrelmail.org/docs/admin/admin-8.html
 
Old 04-15-2008, 04:17 PM   #6
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
i c what u mean
but i realize that i only have to activate digest-md5 through the ldapsearch command
but now it's asking me for a Bind password...which is "secret" by default but it doesnt work.
what do u think i should do to obtain this misterious bind password so i can activate digest-md5 authentication methode?
 
Old 04-16-2008, 10:55 AM   #7
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
how do i get
PHP XML extension?
 
Old 04-16-2008, 01:23 PM   #8
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
ok i realize that my php does support xml extension
but all i need is how to enable digest-md5 ... what command should i use???
 
Old 04-17-2008, 02:00 PM   #9
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by dody1313 View Post
ok i realize that my php does support xml extension
but all i need is how to enable digest-md5 ... what command should i use???
Put this
"$imap_auth_mech = 'digest-md5';" in the SquirrelMail config file.
Or use config.pl

If you don't have (or run) Perl, you can use a file called:
config_default.php.
Make a copy of this file and rename it to config.php
Then look for this part:

/* The dns name and port for your imap server. */
global $imapServerAddress, $imapPort;
$imapServerAddress = 'localhost';

$imapPort = 143;
...
$imap_server_type = 'other';
...
$use_imap_tls = false;
...
$imap_auth_mech = 'your preferred auth method';
...
$optional_delimiter = 'detect';

Last edited by coolster; 04-17-2008 at 02:19 PM. Reason: t
 
Old 04-18-2008, 08:43 AM   #10
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
hi
i think i didn't put enough info on what i wanted to do ...i apologize
i understand the way you explain to me on how to activate digest-md5 auth. meth
i can do
# perl conf.pl and i get an option menu so that i could configure squirrelmail the way i want it.
that part i understand
but what i am missing is to activate digest-md5 on the server so that squirrelmail can use it...what i mean by that, is each time i try to authenticate with the digest-md5 option on...i get the error message:
"Bad request: IMAP server does not appear to support the authentication method selected. Please contact your system administrator."

so i assume that some where in my server imap doesn't support digest-md5 auth. method.

i did try the other method which is CRAM-md5...but the problem with it is that in the file cram-md5.pwd, the passwords are in plain text, which is not a good thing at all...but i learn that with digest the passwords are encrypted all the way.
so i would like to know what to do so that when i choose the auth. option "digest-md5" it works?
and what to do so that squirrelmail can see that digest is supported on the server
 
Old 04-18-2008, 10:29 AM   #11
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by dody1313 View Post
but what i am missing is to activate digest-md5 on the server so that squirrelmail can use it...
Thought you had that covered, because you don't mention anywhere what IMAP server you are using....
 
Old 04-18-2008, 11:03 AM   #12
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
am sorry about that...lol
i installed the package from sunfreeware...
imap-2006e for for solaris 10 sparc
do you think that's the correct one?
 
Old 04-18-2008, 11:46 AM   #13
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by dody1313 View Post
am sorry about that...lol
i installed the package from sunfreeware...
imap-2006e for for solaris 10 sparc
do you think that's the correct one?
Ah... de University of Washington.
Take a look right here http://www.washington.edu/imap/ and you 'll find everything there is to know about the UW-IMAP server.

C
 
Old 04-18-2008, 12:36 PM   #14
dody1313
Member
 
Registered: May 2007
Posts: 179

Original Poster
Rep: Reputation: 30
oh ok
thanks am gonna take a look at it
by the way, do u know how i can activate mhash extension on php ?
 
Old 04-18-2008, 02:05 PM   #15
coolster
Member
 
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
Quote:
Originally Posted by dody1313 View Post
oh ok
thanks am gonna take a look at it
by the way, do u know how i can activate mhash extension on php ?
I 'm not very much into php, but when you google on "activate mhash extension on php' you 'll see the answer quite rapidly.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help unpacking hmac-md5 hash into md5 hash lynx5 Programming 3 02-02-2008 04:06 PM
difference between md5 shadow and md5 elsewhere? whysyn Linux - Security 5 12-11-2007 10:11 AM
Error MD5 digest ynajjar Linux - Hardware 1 12-10-2007 11:19 AM
apache hangs when starting -> Digest: generating secret for digest authentication ... jma Linux - Networking 4 02-22-2007 01:02 AM
bad md5 digest help cas3onl1nux Linux - Newbie 2 05-16-2005 10:17 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 08:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration