[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-16 Thread Steve Langasek
Sorry, I ended up down a rat hole debugging a pam-auth-update bug on my
system when trying to work on a patch for this.  Please find attached a
patch which should switch likewise-open over to using pam-auth-update
exclusively on Ubuntu.  Unfortunately there's no way to automatically
enable/disable a module in the PAM config via pam-auth-update, so
instead we ship the module in a configuration that can be non-
disruptively enabled by default.  If there's a reason that this isn't
acceptable, let me know and I'll try to find a different approach (have
libdomainjoin invoke pam-auth-update itself for interactive
configuration?)

** Attachment added: debdiff to make likewise-open use pam-auth-update
   http://launchpadlibrarian.net/17638385/likewise-open-262264.debdiff

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-16 Thread Steve Langasek
the previous patch fails to DTRT on package removal; updated patch
attached.

** Attachment added: debdiff to make likewise-open use pam-auth-update
   http://launchpadlibrarian.net/17639022/likewise-open-262264.debdiff

** Attachment removed: debdiff to make likewise-open use pam-auth-
update

   http://launchpadlibrarian.net/17638385/likewise-open-262264.debdiff

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-16 Thread Thierry Carrez
pam-auth-update.diff makes it segfault at domain join/leave, I'm trying
to disable the pam module in domainjoin more completely, stay tuned

** Changed in: likewise-open (Ubuntu Intrepid)
 Assignee: (unassigned) = Thierry Carrez (tcarrez)
   Status: Triaged = In Progress

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-16 Thread Thierry Carrez
Proposed update
Includes the libwbclient0 fix and a slightly modified pam-auth-update.diff 
patch.

likewise-open (4.1.0.2956-0ubuntu2) intrepid; urgency=low

  [ Steve Langasek ]
  * debian/likewise-open.{pam-auth-update,prerm,postinst,install}: port
likewise-open PAM handling to pam-auth-update.
  * debian/control: depend on libpam-runtime (= 1.0.1-4ubuntu1) for the
above.
  * debian/patches/pam-auth-update.diff: disable the code in
libdomainjoin to edit pam.d directly, since this should now be
addressed at the package level.

  [ Thierry Carrez ]
  * debian/rules, debian/likewise-open.install: Revert to using a specific
libwbclient0 in /usr/lib/likewise-open because upstream says it is
compatible but not equivalent to the one provided by Samba.
  * debian/patches/pam-auth-update.diff: disable the pam domainjoin module
completely in djmodule.c rather than working around it in djpamconf.c
(fixes LP: #262264)

 -- Thierry Carrez [EMAIL PROTECTED]  Tue, 16 Sep 2008
13:36:43 +0200

** Attachment added: likewise-open_4.1.0.2956-0ubuntu2.debdiff
   
http://launchpadlibrarian.net/17642246/likewise-open_4.1.0.2956-0ubuntu2.debdiff

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-16 Thread Launchpad Bug Tracker
This bug was fixed in the package likewise-open - 4.1.0.2956-0ubuntu2

---
likewise-open (4.1.0.2956-0ubuntu2) intrepid; urgency=low

  [ Steve Langasek ]
  * debian/likewise-open.{pam-auth-update,prerm,postinst,install}: port
likewise-open PAM handling to pam-auth-update.
  * debian/control: depend on libpam-runtime (= 1.0.1-4ubuntu1) for the
above.
  * debian/patches/pam-auth-update.diff: disable the code in
libdomainjoin to edit pam.d directly, since this should now be
addressed at the package level.
  * debian/rules: fix the clean target to call distclean in the
centutils and domainjoin, to avoid cruft in the diff after a
build/clean cycle.

  [ Thierry Carrez ]
  * debian/rules, debian/likewise-open.install: Revert to using a specific
libwbclient0 in /usr/lib/likewise-open because upstream says it is
compatible but not equivalent to the one provided by Samba.
  * debian/patches/pam-auth-update.diff: disable the pam domainjoin module
completely in djmodule.c rather than working around it in djpamconf.c
(fixes LP: #262264)

 -- Thierry Carrez [EMAIL PROTECTED]   Tue, 16 Sep 2008
13:36:43 +0200

** Changed in: likewise-open (Ubuntu Intrepid)
   Status: In Progress = Fix Released

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-15 Thread Mathias Gug
Hi Gerald,

On Fri, Sep 12, 2008 at 11:09:28PM -, Gerald Carter wrote:
 Steve,  Would you mind pointing me at some details of path-auth-update?


Steve is probably referring to the new Pam configuration framework he
implemented for intrepid:

https://wiki.ubuntu.com/PAMConfigFrameworkSpec


-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-12 Thread Steve Langasek
Running domainjoin-cli on my system, I end up with the following in
/etc/pam.d/common-auth:

# here are the per-package modules (the Primary block)
auth[success=2 default=ignore]  pam_krb5.so minimum_uid=1000
authsufficient  pam_lwidentity.so 
auth[success=1 default=ignore]  pam_unix.so nullok_secure try_first_pass
# here's the fallback if no module succeeds
authrequisite   pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
authrequiredpam_permit.so

This, of course, is not the intended behavior...

Yes, I think we need to fix this for Ubuntu by implementing support for
pam-auth-update.

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-11 Thread Lucian Mormogeac

** Attachment added: log2
   http://launchpadlibrarian.net/17530634/log2

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-11 Thread Lucian Mormogeac
this is the log from gui inerface likewise

** Attachment added: log1
   http://launchpadlibrarian.net/17530632/log1

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-11 Thread Lucian Mormogeac

** Attachment added: log4
   http://launchpadlibrarian.net/17530641/log4

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-11 Thread Thierry Carrez
** Changed in: likewise-open (Ubuntu Intrepid)
 Assignee: (unassigned) = Thierry Carrez (tcarrez)
   Status: Confirmed = In Progress

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-09-08 Thread Fregster
I get the same error, all software up to date on a x32 dell optiplex
170l

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 262264] Re: Fails to join a domain: Unknown pam configuration

2008-08-29 Thread Rick Clark
** Changed in: likewise-open (Ubuntu Intrepid)
   Status: New = Confirmed

-- 
Fails to join a domain: Unknown pam configuration
https://bugs.launchpad.net/bugs/262264
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to likewise-open in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs