Date: Wed, 14 Oct 2009 15:33:45 -0700 From: Chris Cowart <ccowart@rescomp.berkeley.edu> To: Craig Butler <craig001@lerwick.hopto.org> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: ldap and pam-mkhomedir, anyone know how to set directory ownership to the ldap user logging in ?? Message-ID: <20091014223345.GA11723@hal.rescomp.berkeley.edu> In-Reply-To: <1255556963.1258.4.camel@coyote.lerwick.hopto.org> References: <1255556963.1258.4.camel@coyote.lerwick.hopto.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Craig Butler wrote: > Currently I have got pam authenticating against ldap and mkhomedir > creating the home directories, but they are created owned as root:wheel > and the user can't write to their own home directory -- I have read the > man page for pam_mkhomedir, the only way I see it working at the moment > is setting an insecure umask in the pam definition.... >=20 > Any ideas on how I can get them owned by the ldap user signing in ? It should "Just Work". Do you have the accounts properly configured in /etc/nsswitch.conf?=20 If you: getent passwd USER For the account whose home directory isn't being created correctly? Do you see the entry? --=20 Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley --wac7ysb48OaltWcw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iQIcBAEBAwAGBQJK1lHJAAoJEC8b9sM8ejXtSxoP/0Adyy7fIb1Ht14hjhlnYaml iQEsEzYK6fq9672E3mFni66IEf96O5Qq2FoTm/qUBMrTPahm+xtVbJO4H7DnYLnM WnXn/IvzFqb2jcYGNx9Qv+oTCjk65nBgLDRkxhXiJ6ewLxl3/mdCUkYf5+u0L+Gg bSdiK21RgFSVIrtQQ8Z6BQdehKdcyIaGZLKP8e9lbe1Ofl+qOgCjSrpjRNiIhenN 44v3XK4FsxSxF7ywTTcfHeGB+5bfS092wfOp19Dyn5GgEEHHfVq6u7OHB8DQ458G DAkVaubhfjlT+Zh3zjlzpUCqJRt4YpHGe8vNiQ4kxzfh5nzHLkkXDGiZ2QuBV+kz K0YsyodRjuRdxbleeBDGxvlbag1rGDDbThQ4mqKG4PwqMP0Nspa86O58w3KhZIem sGqXeGFRzwvioXDVlaG3PvFf0UlCpg8wJOCvJQS7LASM797Fi5Ls7bNi8bNgb4AL dh517gfQXY3mEtme6JBSPuSHRozaWxG931PUK4n10wHZG7pVsGlWnHp5PSnmlynv dqQPiD50nT095Z2LT22u0LYC7M0WSCep2heET5DeH9+PzCMVI0CLKM49BGG0FuVH ClB2zSF3Qwh5J5xUznennY5Y2P8RP2ciVXTr69y60GZyef83DQuUy8xVIIeqlNtH KGi3LImFer9R/4ZM3tQA =iCGm -----END PGP SIGNATURE----- --wac7ysb48OaltWcw--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091014223345.GA11723>