1 |
Dieter Franzke <lists@×××××××××××.de> wrote: |
2 |
> Hi, |
3 |
> |
4 |
> Frank Numrich am Wednesday, 28. July 2004 23:33: |
5 |
> > Hallo, |
6 |
> > |
7 |
> > sorry dass die Mail nochmal kommt. Das erste Mal war die Mail als |
8 |
> > Reply in einem anderen Thread. |
9 |
> > |
10 |
> > Ich stelle gerade einen Samba Server von Suse auf Gentoo um. |
11 |
> > Dabei tritt folgendes Problem auf: |
12 |
> > |
13 |
> > Der passwd chat in smb.conf unter Suse sah folgendermaßen aus: |
14 |
> > |
15 |
> > passwd chat = *new*password* %n\\n *new*password* %n\\n *changed* |
16 |
> > |
17 |
> > Das passte zum /usr/bin/passwd |
18 |
> > |
19 |
> > czwserv:/usr/local/samba/lib # passwd fnumrich |
20 |
> > New password: |
21 |
> > Re-enter new password: |
22 |
> > Password changed |
23 |
> > czwserv:/usr/local/samba/lib # |
24 |
> > |
25 |
> > |
26 |
> > Unter Gentoo liefert aber /usr/bin/passwd nach der zweiten |
27 |
> > Passworteingabe keine Meldung mehr: |
28 |
> > |
29 |
> > root@czwserv1 fnumrich # passwd fnumrich |
30 |
> > New UNIX password: |
31 |
> > Retype new UNIX password: |
32 |
> > root@czwserv1 fnumrich # |
33 |
> > |
34 |
> > Nun schreibe ich meinen passwd chat folgendermaßen: |
35 |
> > |
36 |
> > passwd chat = *New*password* %n\\n *new*password* %n\\n |
37 |
> > |
38 |
> > Allerdings wartet Samba anscheinend dann immer auf irgendeine |
39 |
> > Reaktion von passwd: |
40 |
> > |
41 |
> > |
42 |
> > [2004/07/27 23:30:12, 100] smbd/chgpasswd.c:expect(274) |
43 |
> > expect: expected [*New*UNIX*password:*] received [New UNIX |
44 |
> > password: ] match yes [2004/07/27 23:30:12, 10] |
45 |
> > smbd/chgpasswd.c:expect(285) |
46 |
> > expect: returning True |
47 |
> > [2004/07/27 23:30:12, 100] smbd/chgpasswd.c:expect(237) |
48 |
> > expect: sending [hasine12345\ |
49 |
> > ] |
50 |
> > [2004/07/27 23:30:12, 10] |
51 |
> > lib/util_sock.c:read_socket_with_timeout(263) |
52 |
> > read_socket_with_timeout: timeout read. select timed out. |
53 |
> > [2004/07/27 23:30:12, 100] smbd/chgpasswd.c:expect(274) |
54 |
> > expect: expected [*Retype*new*UNIX*password:*] received [ |
55 |
> > Retype new UNIX password: ] match yes |
56 |
> > [2004/07/27 23:30:12, 10] smbd/chgpasswd.c:expect(285) |
57 |
> > expect: returning True |
58 |
> > [2004/07/27 23:30:12, 100] smbd/chgpasswd.c:expect(237) |
59 |
> > expect: sending [hasine12345\ |
60 |
> > ] |
61 |
> > |
62 |
> > Das Passwort wird also korrekterweise 2x gesendet, aber dann tut |
63 |
> > sich nichts mehr, bis ich die Sache von Hand beende. |
64 |
> > |
65 |
> > Kann ich Samba beibringen, dass passwd die Arbeit stillschweigend |
66 |
> > erledigt hat und schon fertig ist? |
67 |
> |
68 |
> |
69 |
> haste mal die /etc/samba/smb.conf.example angeschaut? |
70 |
> |
71 |
> Da steht etwas zum passwordchat drin.... |
72 |
> |
73 |
> dieter |
74 |
> |
75 |
|
76 |
Da steht nichts was mir hilft: |
77 |
|
78 |
passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n*passwd:*all*authentication*tokens*updated*successfully* |
79 |
|
80 |
Also wird auch hier nach der zweiten Passworteingabe eine Ausgabe von passwd erwartet. |
81 |
|
82 |
Grüße Frank |
83 |
|
84 |
-- |
85 |
gentoo-user-de@g.o mailing list |