nss_ldap and multiple group memberships

2010-02-24 Thread Gerrit Kühn
Hi all, Is anyone here using nss_ldap and can successfully get it to work with multiple group memberships? I would really like to get this to work here, but I only get the primary group: penumbra# id gekueh uid=1030(gekueh) gid=1012(aei) groups=1012(aei) getent group comes up with the complete

Re: nss_ldap and multiple group memberships

2010-02-24 Thread Patrick M. Hausen
Hi, all, On Wed, Feb 24, 2010 at 11:23:11AM +0100, Gerrit Kühn wrote: Is anyone here using nss_ldap and can successfully get it to work with multiple group memberships? I would really like to get this to work here, but I only get the primary group: penumbra# id gekueh uid=1030(gekueh)

Re: nss_ldap and multiple group memberships

2010-02-24 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/02/2010 10:39, Patrick M. Hausen wrote: I do not remember where that '?one' came from and what precisely it does. Voodoo I copied from some obscure Howto, I figure. I'd appreciate some feedback on that part ;-) It sets the scope of the LDAP

Re: sleep(3) sometimes too sleepy on FreeBSD 8.0?

2010-02-24 Thread Kostik Belousov
On Wed, Feb 24, 2010 at 06:53:59PM +1100, Peter Jeremy wrote: Updates following some off-line discussions and debugging with John on IRC. I've cc'd gshapiro@ because the problem appears to be sendmail, rather than the FreeBSD kernel. On 2010-Feb-23 12:35:22 +1100, John Marshall

Re: sleep(3) sometimes too sleepy on FreeBSD 8.0?

2010-02-24 Thread Jeremy Chadwick
On Wed, Feb 24, 2010 at 01:21:39PM +0200, Kostik Belousov wrote: On Wed, Feb 24, 2010 at 06:53:59PM +1100, Peter Jeremy wrote: Updates following some off-line discussions and debugging with John on IRC. I've cc'd gshapiro@ because the problem appears to be sendmail, rather than the FreeBSD

Re: sleep(3) sometimes too sleepy on FreeBSD 8.0?

2010-02-24 Thread Kostik Belousov
On Wed, Feb 24, 2010 at 03:44:41AM -0800, Jeremy Chadwick wrote: On Wed, Feb 24, 2010 at 01:21:39PM +0200, Kostik Belousov wrote: On Wed, Feb 24, 2010 at 06:53:59PM +1100, Peter Jeremy wrote: Updates following some off-line discussions and debugging with John on IRC. I've cc'd gshapiro@

Re: sleep(3) sometimes too sleepy on FreeBSD 8.0?

2010-02-24 Thread John Marshall
On Wed, 24 Feb 2010, 14:20 +0200, Kostik Belousov wrote: On Wed, Feb 24, 2010 at 03:44:41AM -0800, Jeremy Chadwick wrote: On Wed, Feb 24, 2010 at 01:21:39PM +0200, Kostik Belousov wrote: On Wed, Feb 24, 2010 at 06:53:59PM +1100, Peter Jeremy wrote: Updates following some off-line

Re: ahcich timeouts, only with ahci, not with ataahci

2010-02-24 Thread Andriy Gapon
on 23/02/2010 21:13 George Liaskos said the following: I booted my old kernel (was from Feb 13) and i had the same issue. The timeout occurs when i try to burn CDs with the k3b application, after some queries i found this thread: http://www.pubbs.net/kde/200910/40852/ I have no problem

Re: sleep(3) sometimes too sleepy on FreeBSD 8.0?

2010-02-24 Thread Kostik Belousov
On Wed, Feb 24, 2010 at 11:41:01PM +1100, John Marshall wrote: On Wed, 24 Feb 2010, 14:20 +0200, Kostik Belousov wrote: On Wed, Feb 24, 2010 at 03:44:41AM -0800, Jeremy Chadwick wrote: On Wed, Feb 24, 2010 at 01:21:39PM +0200, Kostik Belousov wrote: On Wed, Feb 24, 2010 at 06:53:59PM

resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-02-24 Thread Ted Faber
Hi, I'm running a recent (yesterday) FreeBSD 8-STABLE on my T42. When I resume from suspend the fan starts screen returns immediately (to text mode) and then the system idles for about a minute until it shakes itself awake. The keyboard LEDs cycle, the disk runs and X returns. I don't recall

RE: nss_ldap and multiple group memberships

2010-02-24 Thread Scott, Brian
It depends on the type of group. There are at least two types of group objects that you can use in LDAP but only one of them works. You need to use posixGroup objects for unix groups. As I remember it, these have memberUid attributes for the member ids. These are simple unix identifiers.

Re: nss_ldap and multiple group memberships

2010-02-24 Thread Peter C. Lai
Wow this is a really well written explanation. On 2010-02-25 11:17:32AM +1100, Scott, Brian wrote: It depends on the type of group. There are at least two types of group objects that you can use in LDAP but only one of them works. You need to use posixGroup objects for unix groups. As I

Re: 8-stable crashes in vmware (possible em driver issue?)

2010-02-24 Thread Ivan Voras
Ivan Voras wrote: I have a fairly recent 8-stable machine running under VMWare ESXi 3.5 (amd64 guest), which apparently crashes every few days from the same causes: em0: discard frame w/o packet header em0: discard frame w/o packet header em0: discard frame w/o packet header Panic string:

Re: 8-stable crashes in vmware (possible em driver issue?)

2010-02-24 Thread Jack Vogel
Hmmm, not sure what changes are in this, what if you use the 8.0 REL driver, does it still happen? Regards, Jack On Wed, Feb 24, 2010 at 4:23 PM, Ivan Voras ivo...@freebsd.org wrote: Ivan Voras wrote: I have a fairly recent 8-stable machine running under VMWare ESXi 3.5 (amd64 guest),

RE: nss_ldap and multiple group memberships

2010-02-24 Thread Scott, Brian
I hate people who contradict themselves with follow up emails. On this occasion however... Since writing my earlier email I've done some digging around. What I have found is that nss_ldap can use uniqueMember attributes as an alternative to memberUid attributes. The rub is that the standard

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-02-24 Thread Ian Smith
On Wed, 24 Feb 2010, Ted Faber wrote: I'm running a recent (yesterday) FreeBSD 8-STABLE on my T42. When I resume from suspend the fan starts screen returns immediately (to text mode) and then the system idles for about a minute until it shakes itself awake. The keyboard LEDs cycle, the

vfs deadlock during panic?

2010-02-24 Thread Jake Holland
Hello, I'm running today's stable/8 -r 204294 on a Dell r610 (2 processors with 4 cores per processor). I have turned on WITNESS and DEBUG_VFS_LOCKS, because I've been trying to troubleshoot an occasional hang during panic, and I think I have reason to believe a vfs deadlock is occurring. Some

Re: vfs deadlock during panic?

2010-02-24 Thread Jeremy Chadwick
On Wed, Feb 24, 2010 at 10:36:14PM -0800, Jake Holland wrote: I'm running today's stable/8 -r 204294 on a Dell r610 (2 processors with 4 cores per processor). I have turned on WITNESS and DEBUG_VFS_LOCKS, because I've been trying to troubleshoot an occasional hang during panic, and I think I