winbind4 in nsswitch.conf spawns a lot of processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba4 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have a working setup of samba4. Both wbinfo -g and wbinfo -u work on ubuntu precise (current alpha2 + patches).
When adding winbind to nsswitch.conf a lot of samba processes are spawned when issuing getent passwd. That leaves the system unusable. Nothing is logged to /var/log/
These are the original lines from nsswitch.conf:
passwd: compat
group: compat
changed to:
passwd: compat winbind
group: compat winbind
Before adding winbind 14 samba -d processes exist. Some seconds after issuing getent passwd after adding winbind some ~100 processes exist. This goes until all system memory is used and the kernel kills some processes due to out of memory exceptions.
This is what I have done to set up samba4