1 |
On Mon, 30 Jul 2007 14:17:37 +0100 |
2 |
Stroller <stroller@××××××××××××××××××.uk> wrote: |
3 |
|
4 |
> |
5 |
> On 30 Jul 2007, at 12:07, Anders Trobäck wrote: |
6 |
> > ... |
7 |
> > However, I did add the winbind to the system-auth like this: |
8 |
> > auth required pam_env.so |
9 |
> > auth sufficient /lib/security/pam_winbind.so |
10 |
> > auth sufficient pam_unix.so use_first_pass likeauth nullok |
11 |
> > |
12 |
> > account required pam_unix.so |
13 |
> > |
14 |
> > password sufficient pam_winbind.so |
15 |
> > password required pam_cracklib.so difok=2 minlen=8 dcredit=2 |
16 |
> > ocredit=2 retry=3 |
17 |
> > password sufficient pam_unix.so nullok md5 shadow use_authtok |
18 |
> > password required pam_deny.so |
19 |
> > |
20 |
> > session required pam_limits.so |
21 |
> > session required pam_unix.so |
22 |
> > |
23 |
> > |
24 |
> > Now I can ssh to the box but I as soon as I are logged on I'm kicked |
25 |
> > off! |
26 |
> |
27 |
> Do the winbind users have a shell & homedir? |
28 |
> |
29 |
> I'm afraid I can't recall how the shell is defined for them, but I |
30 |
> use pam_mkhomedir for the latter. I have always used courier-imap at |
31 |
> home, but it doesn't use a pam session, required for pam_mkhomedir, |
32 |
> so chose Dovecot IMAP for this office. I'm pretty sure that ssh |
33 |
> works fine with pam_mkhomedir, tho'. |
34 |
> |
35 |
> Stroller. |
36 |
> |
37 |
|
38 |
Yes the have home folders. I think that you set the shell with |
39 |
"template shell" in smb.conf!(?) |
40 |
|
41 |
-- |
42 |
|
43 |
============================================ |
44 |
Microsoft is not the answer. |
45 |
Microsoft is the question. |
46 |
And 'No' is the answer! |
47 |
-------------------------------------------- |
48 |
Anders Trobäck |
49 |
http://www.troback.com |
50 |
-- |
51 |
gentoo-user@g.o mailing list |