28 aug 2005 kl. 02.42 skrev Jerry LeVan:
Hi, I just added a PC to my home network and was playing with trying to access directories on my Mac OS X system and suddenly my pop server quit working (qpopper). It had been working fine for at least a year!
There are some differences in password storage for users allowed to connect by smb and others. If the users can log in locally however, the problem is probably with qpopper rather than system passwords, and I don't know how qpopper does authentication...
Not a single user could connect to the server via telnet ( I can connect ok but sending the password *always* fails). I hopped into perl as root and tried: macjerry:~ root# perl -de0 Loading DB routines from perl5db.pl version 1.28 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. main::(-e:1): 0 DB<1> print getpwnam "jerry" jerry********501200Jerry LeVan/Users/jerry/bin/bash0 note the *'s where the password should be...I suspect this is why qpopper is failing.
That is just the way it is, you never show a password.
I think mucking around with enabling Mac OSX to allow Windows Networking connections has mucked up how passwords are handled. I can still log on ok and the only thing that I have found so far that is broken is the pop3 server I am running. How can I programatically determine if user "x" has password "z"? A cursory exam of the qpopper code "seems" to indicate that the getpw family of functions seem to be used. I have spent the better part of the day trying to run down how to do user authentication on Mac OS X (10.4.2) but I have not made any headway.... Thanks for any pointers. Jerry
Christian Huldt 070 461 22 07 08 616 83 07 [EMAIL PROTECTED]