Re: Re: oddjob-mkhomedir question

2021-12-08 Thread charlie derr
Thx so much, Stanislav!

pam_mkhomedir works like a charm (and it didn't even take me too long to figure
out how to set it up)

   best,
  ~c


--
charlie derr
systems thinker and nature lover
https://medium.com/@cderr


signature.asc
Description: This is a digitally signed message part.


Re: oddjob-mkhomedir question

2021-12-08 Thread Stanislav Vlasov
2021-12-08 17:07 GMT+05:00, charlie derr :

> On this relatively new platform, i was able to quite trivially get pam-ldap
> functionality (for SSH logins) working. However, after installing the oddjob
> package(s), a user who does not yet have a home directory on the server is
> still not getting one autocreated upon SSHing in.

Years ago in 2009 with users in LDAP (with pam_ldap) i use
pam_mkhomedir on debian and some russian rpm-based distro.
pam_mkhomedir will be work now as in 2009.

I think, most RH-only services must be used only if most of your
servers are RH-based and you vendor-locked on RH.
If datacenter not RH-based, then i prefer more universal solutions,
which work on RH too.

> I've looked in log files, bumped sshd_config loglevel up to DEBUG, and
> restarted dbus, ssh and the oddjobd services.

> Should any of you have any advice about where to look in order to
> troubleshoot (there seems to be no evidence that any attempt was even made
> to create a homedir upon the user logging in), i'd love to have you share
> it.

I think, you shoud look to /etc/pam.d
Not all configs work as expected, when need some strange (e.g. not
localhost desktop or alone server)

-- 
Stanislav



List mail delays, was: oddjob-mkhomedir question

2021-12-08 Thread Thomas Schmitt
Hi,

regrettably i cannot contribute anything to your actual question.

But the question of mail delays can be answered out of my mailbox:

charlie derr wrote:
> my initial attempt to post the below to the
> list well over half an hour ago from my other address (CCed) hasn't yet made
> it to the list, though i don't know why,

Your message from
  Date: Wed, 8 Dec 2021 12:07:03 +
arrived after 23.5 minutes at my (and your) mail provider's server:

  Received: from bendel.debian.org ([82.195.75.100]) by mx-ha.gmx.net
(mxgmx014
 [212.227.15.9]) with ESMTPS (Nemesis) id 1MeAxp-1mNWTv0lWB-00bJHD for
 ; Wed, 08 Dec 2021 13:30:24 +0100

The delay seems to be a cooperation of Debian's server ecosystem
and linode.com.

At Debian:

  Received: from localhost (localhost [127.0.0.1])
by bendel.debian.org (Postfix) with QMQP
id D50422036B; Wed,  8 Dec 2021 12:30:13 + (UTC)

is more than 15 minutes after

  Received: from localhost (localhost [127.0.0.1])
by bendel.debian.org (Postfix) with ESMTP id D083E20220
for ; Wed,
8 Dec 2021 12:14:46 + (UTC)
  Received: from bendel.debian.org ([127.0.0.1])
by localhost (lists.debian.org [127.0.0.1]) (amavisd-new, port 2525)
with ESMTP id m_NL4LxlSScX for ;
Wed,  8 Dec 2021 12:14:43 + (UTC)

Before that, the mail spent a while on linode.com :

  Received: from localhost.members.linode.com (emergencyguild.org
[IPv6:2600:3c04::f03c:92ff:fe58:ffe3])
...
by bendel.debian.org (Postfix) with ESMTPS id 494FB20094
for ; Wed,
8 Dec 2021 12:14:43 + (UTC)

is more than 7 minutes after

  Received: by localhost.members.linode.com (Postfix, from userid 1000)
id 07A0979742; Wed,  8 Dec 2021 12:07:03 + (UTC)


Have a nice day :)

Thomas



Re: oddjob-mkhomedir question

2021-12-08 Thread Brad Rogers
On Wed, 8 Dec 2021 07:51:11 -0500
charlie derr  wrote:

Hello charlie,

>(apologies for the resend, but my initial attempt to post the below to
>the list well over half an hour ago from my other address (CCed) hasn't
>yet made it to the list, though i don't know why, so...)

Yes it did.

-- 
 Regards  _
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
Going round on the Circle Line trying to find a way out
Titanic (My Over) Reaction - 999


pgpffFoLQxRh7.pgp
Description: OpenPGP digital signature


oddjob-mkhomedir question

2021-12-08 Thread charlie derr
Greetings everyone,

(apologies for the resend, but my initial attempt to post the below to the list 
well over half an hour ago from my other address (CCed) hasn't yet made it to 
the list, though i don't know why, so...)

i'm not subscribed to the list (but will check back via the web archives for 
responses that don't get CCed or BCCed to me).

Given that fact, do feel free to loop me in directly via (B)CC if you wish 
(though again, it's not necessary).

i've been using debian for ~25 years, and first of all, i have to express my 
debt of gratitude. It just keeps getting better and better.

Bullseye is truly awesome.

On this relatively new platform, i was able to quite trivially get pam-ldap 
functionality (for SSH logins) working. However, after installing the oddjob 
package(s), a user who does not yet have a home directory on the server is 
still not getting one autocreated upon SSHing in.

I've looked in log files, bumped sshd_config loglevel up to DEBUG, and 
restarted dbus, ssh and the oddjobd services.

Should any of you have any advice about where to look in order to troubleshoot 
(there seems to be no evidence that any attempt was even made to create a 
homedir upon the user logging in), i'd love to have you share it.

And/or if there's a different auto-create-homedir solution you might suggest, 
I'm also happy to try that (it does seem that oddjob is somewhat redhat 
specific?).

thanks again for all that you all do -- what a great community,
 ~c


-- 
charlie derr 
https://medium.com/@cderr


pgp8GUGvJ36Df.pgp
Description: PGP signature


oddjob-mkhomedir question

2021-12-08 Thread charlie derr
Greetings everyone,

i'm not subscribed to the list (but will check back via the web archives for 
responses that don't get CCed or BCCed to me).

Given that fact, do feel free to loop me in directly via (B)CC if you wish 
(though again, it's not necessary).

i've been using debian for ~25 years, and first of all, i have to express my 
debt of gratitude. It just keeps getting better and better.

Bullseye is truly awesome.

On this relatively new platform, i was able to quite trivially get pam-ldap 
functionality (for SSH logins) working. However, after installing the oddjob 
package(s), a user who does not yet have a home directory on the server is 
still not getting one autocreated upon SSHing in.

I've looked in log files, bumped sshd_config loglevel up to DEBUG, and 
restarted dbus, ssh and the oddjobd services.

Should any of you have any advice about where to look in order to troubleshoot 
(there seems to be no evidence that any attempt was even made to create a 
homedir upon the user logging in), i'd love to have you share it.

And/or if there's a different auto-create-homedir solution you might suggest, 
I'm also happy to try that (it does seem that oddjob is somewhat redhat 
specific?).

thanks again for all that you all do -- what a great community,
 ~c