Pam Errors

2004-11-25 Thread Simon Collyer
Hi,

I seem to be having some issues with Pam correctly working on
my debian sarge system.

I had pam working for smtp auth, samba etc but now I cannot
authenticate using these systems, even su brings up errors

eg

[EMAIL PROTECTED]:~# passwd libby
passwd: Authentication service cannot retrieve authentication info.

It's bring up some errors in auth.log but not enough
for me to decipher

Nov 26 11:21:36 winetka passwd[11622]: (pam_unix) check pass; user
unknown
Nov 26 11:21:36 winetka passwd[11622]: (pam_unix) authentication
failure; logname=scollyer uid=1002 euid=0 tty= ruser= rhost=


Anyone have any ideas on something i may have stuffed or
has happened?

Thanks in advance.

Simon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Pam Errors

2004-11-25 Thread Simon Collyer
n-related modules common to
# all services
#
# This file is included from other service-specific PAM config
# files,
# and should contain a list of modules that define tasks to be
# performed
# at the start and end of sessions of *any* kind (both
# interactive and
# non-interactive).  The default is pam_unix.
#
session requiredpam_unix.so
[EMAIL PROTECTED]:~#


And here is pam.conf

Contains nothing

# ---#
# /etc/pam.conf
# #
# ---#
#
# NOTE
# 
#
# NOTE: Most program use a file under the /etc/pam.d/ directory to setup
# their
# PAM service modules. This file is used, but not recommended
# ---#
 
 # Format:
 # serv. module ctrl   module [path]     ...[args..]
 # #
 # name  type   flag




On Thu, Nov 25, 2004 at 08:26:16PM -0500, Adam Aube wrote:
> Simon Collyer wrote:
> 
> > I seem to be having some issues with Pam correctly working on
> > my debian sarge system.
> 
> > I had pam working for smtp auth, samba etc but now I cannot
> > authenticate using these systems, even su brings up errors
> 
> > [EMAIL PROTECTED]:~# passwd libby
> > passwd: Authentication service cannot retrieve authentication info.
> 
> Post the contents of the /etc/pam.d/common-* files, and if /etc/pam.conf has
> any uncommented lines, post that as well.
> 
> Adam
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Pam Errors

2004-11-25 Thread Simon Collyer
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
 
 passwd: compat
 group:  compat
 shadow: compat
  
  hosts:  files dns
  networks:   files
   
   protocols:  db files
   services:   db files
   ethers: db files
   rpc:db files

netgroup:   nis



On Thu, Nov 25, 2004 at 11:48:16PM -0500, Adam Aube wrote:
> Simon Collyer wrote:
> > On Thu, Nov 25, 2004 at 08:26:16PM -0500, Adam Aube wrote:
> >> Simon Collyer wrote:
> 
> >>> I seem to be having some issues with Pam correctly working on
> >>> my debian sarge system.
> 
> >>> I had pam working for smtp auth, samba etc but now I cannot
> >>> authenticate using these systems, even su brings up errors
> 
> >>> [EMAIL PROTECTED]:~# passwd libby
> >>> passwd: Authentication service cannot retrieve authentication info.
> 
> >> Post the contents of the /etc/pam.d/common-* files, and if /etc/pam.conf
> >> has any uncommented lines, post that as well.
> 
> > Here we go
> 
> [long output snipped]
> 
> These PAM settings look fine. What's in /etc/nsswitch.conf?
> 
> Adam
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Pam Errors

2004-11-26 Thread Simon Collyer
Quoting Adam Aube <[EMAIL PROTECTED]>:


> Those settings also look fine. This does not appear to be a
> misconfiguration. Try reinstalling the PAM libraries (all one line):
>
> dpkg -l | grep "libpam" | awk '{print $2}' | xargs apt-get install
> --reinstall
>
> This won't help you figure out what broke, but it should fix it. If you want
> to find out exactly what the problem is, run 'su' under 'strace' to see
> where the errors occur.
>
> Adam
>
>

Adam,

Still no luck,  its complaining about the immediate configuration on
libpam0g

Any other ideas?


[EMAIL PROTECTED]:~# dpkg -l | grep "libpam" | awk '{print $2}' | xargs apt-get
install --reinstall -y
Reading Package Lists... Done
Building Dependency Tree... Done
0 upgraded, 0 newly installed, 3 reinstalled, 0 to remove and 54 not upgraded.
Need to get 285kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://ftp.au.debian.org testing/main libpam-modules 0.76-22 [152kB]
Get:2 http://ftp.au.debian.org testing/main libpam-runtime 0.76-22 [59.0kB]
Get:3 http://ftp.au.debian.org testing/main libpam0g 0.76-22 [74.2kB]
Fetched 285kB in 2s (128kB/s)
E: Internal Error, Could not perform immediate configuration (2) on libpam0g
[EMAIL PROTECTED]:~#

> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>







-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Pam Errors

2004-11-27 Thread Simon Collyer
>
> Ok. Run a command that triggers this error (like su) under strace:
>
> strace -o su-strace.log su
>
> Then post the contents of su-strace.log to the list.
>
> Adam
>


See attached.







su-strace.log
Description: Binary data


horde2, imp & mysql

2004-10-09 Thread Simon Collyer
Has any one got any howto's on how to do this?

I've installed the packages but can't seem
to find anything of where to set the mysql
db's etc.

If anyone has managed to do this and has written
some doco, i would love to read it.

Thanks

Simon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]