From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from ) id 1IFkdo-00066G-4o for garchives@archives.gentoo.org; Tue, 31 Jul 2007 05:51:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6V5oGgj003352; Tue, 31 Jul 2007 05:50:16 GMT Received: from mail.gelita.se (212-162-182-244.skbbip.com [212.162.182.244]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6V5k41v031067 for ; Tue, 31 Jul 2007 05:46:06 GMT Received: from server25.gelita.swe (212-162-182-242.skbbip.com [212.162.182.242]) by mail.gelita.se (Postfix) with ESMTP id 47B9510F90B for ; Tue, 31 Jul 2007 07:44:39 +0200 (CEST) Date: Tue, 31 Jul 2007 07:44:38 +0200 From: Anders =?ISO-8859-1?Q?Trob=E4ck?= To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Winbind... Message-ID: <20070731074438.32f74c8b@server25.gelita.swe> In-Reply-To: <20070730154414.34d55d07@server25.gelita.swe> References: <20070727101246.121fe7ae@server25.gelita.swe> <61F7D4BC-A1DB-47E6-BBD6-F70EFF5D266C@stellar.eclipse.co.uk> <20070730130747.06b38983@server25.gelita.swe> <07DD973F-B978-4EAF-8474-27413613C77C@stellar.eclipse.co.uk> <20070730154414.34d55d07@server25.gelita.swe> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Troback-MailScanner-Information: Please contact postmaster@troback.com for more information X-Troback-MailScanner: Found to be clean X-Troback-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.398, required 3.2, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60, DK_POLICY_SIGNSOME 0.00) X-Troback-MailScanner-From: public@troback.com X-Spam-Status: No X-Archives-Salt: 597b92a2-3772-4f82-9919-b2e0f915b918 X-Archives-Hash: b9f157a7eea6cf2235f1ceab2bd3cb71 On Mon, 30 Jul 2007 15:44:14 +0200 Anders Trob=E4ck wrote: > On Mon, 30 Jul 2007 14:17:37 +0100 > Stroller wrote: >=20 > >=20 > > On 30 Jul 2007, at 12:07, Anders Trob=E4ck wrote: > > > ... > > > However, I did add the winbind to the system-auth like this: > > > auth required pam_env.so > > > auth sufficient /lib/security/pam_winbind.so > > > auth sufficient pam_unix.so use_first_pass likeauth nullok > > > > > > account required pam_unix.so > > > > > > password sufficient pam_winbind.so > > > password required pam_cracklib.so difok=3D2 minlen=3D8 dcredit= =3D2 > > > ocredit=3D2 retry=3D3 > > > password sufficient pam_unix.so nullok md5 shadow use_authtok > > > password required pam_deny.so > > > > > > session required pam_limits.so > > > session required pam_unix.so > > > > > > > > > Now I can ssh to the box but I as soon as I are logged on I'm > > > kicked off! > >=20 > > Do the winbind users have a shell & homedir? > >=20 > > I'm afraid I can't recall how the shell is defined for them, but I =20 > > use pam_mkhomedir for the latter. I have always used courier-imap > > at home, but it doesn't use a pam session, required for > > pam_mkhomedir, so chose Dovecot IMAP for this office. I'm pretty > > sure that ssh works fine with pam_mkhomedir, tho'. > >=20 > > Stroller. > >=20 >=20 > Yes the have home folders. I think that you set the shell with > "template shell" in smb.conf!(?) >=20 Now it's working! It was file permissions, the home folder was set to 770 but if I chmod to 750 it worked! Thanks for your time!!! \\troback --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Microsoft is not the answer. Microsoft is the question. And 'No' is the answer! -------------------------------------------- Anders Trob=E4ck http://www.troback.com -- gentoo-user@gentoo.org mailing list