Hi Petter, the script fails at the very first Popen call. If I replace proc = subprocess.Popen(cmd, shell-True, stdout=subprocess.PIPE,) with proc = subprocess.Popen(cmd, shell-True, stdout=None,) the call succeeds. If the user has a local account, login succeeds, too. I haven't tested any further combinations (e.g. home directory, primary group membership, etc.) so far. I wonder why the author have specified subprocess.PIPE, since the actual output is not captured anywhere in the script? On 25/07/11 18:00, Petter Reinholdtsen wrote: [Wolfgang Schulze-Zachau]Hi Petter, nope, doesn't make any difference, I still get the "Unexpected exception, should never happen ..." message.Hm. Not quite sure how to figure out what is missing a child. Could you try to add log/print statements to try to figure out what is failing?I have stopped nscd, no difference. And nslcd isn't installed (do I need it other than for caching?).nslcd is only used when libnss_ldapd is used, and it is an alternative to sssd and should probably be disabled/removed if you want to use sssd. Please send to 634829@bugs.debian.org, to make sure BTS is up to date. Happy hacking, --
best regards Wolfgang Amino | Mob: +44 7554 457 455 | Desk: +44 1954 234 190 | skype: wszachauamino |