1 |
Hallo, |
2 |
|
3 |
ich stelle gerade einen Samba Server von Suse auf Gentoo um. |
4 |
Dabei tritt folgendes Problem auf: |
5 |
|
6 |
Der passwd chat in smb.conf unter Suse sah folgendermaßen aus: |
7 |
|
8 |
passwd chat = *new*password* %n\\n *new*password* %n\\n *changed* |
9 |
|
10 |
Das passte zum /usr/bin/passwd |
11 |
|
12 |
czwserv:/usr/local/samba/lib # passwd fnumrich |
13 |
New password: |
14 |
Re-enter new password: |
15 |
Password changed |
16 |
czwserv:/usr/local/samba/lib # |
17 |
|
18 |
|
19 |
Unter Gentoo liefert aber /usr/bin/passwd nach der zweiten Passworteingabe keine Meldung mehr: |
20 |
|
21 |
root@czwserv1 fnumrich # passwd fnumrich |
22 |
New UNIX password: |
23 |
Retype new UNIX password: |
24 |
root@czwserv1 fnumrich # |
25 |
|
26 |
Nun schreibe ich meinen passwd chat folgendermaßen: |
27 |
|
28 |
passwd chat = *New*password* %n\\n *new*password* %n\\n |
29 |
|
30 |
Allerdings wartet Samba anscheinend dann immer auf irgendeine Reaktion von passwd: |
31 |
|
32 |
|
33 |
[2004/07/27 23:30:12, 100] smbd/chgpasswd.c:expect(274) |
34 |
expect: expected [*New*UNIX*password:*] received [New UNIX password: ] match yes |
35 |
[2004/07/27 23:30:12, 10] smbd/chgpasswd.c:expect(285) |
36 |
expect: returning True |
37 |
[2004/07/27 23:30:12, 100] smbd/chgpasswd.c:expect(237) |
38 |
expect: sending [hasine12345\ |
39 |
] |
40 |
[2004/07/27 23:30:12, 10] lib/util_sock.c:read_socket_with_timeout(263) |
41 |
read_socket_with_timeout: timeout read. select timed out. |
42 |
[2004/07/27 23:30:12, 100] smbd/chgpasswd.c:expect(274) |
43 |
expect: expected [*Retype*new*UNIX*password:*] received [ |
44 |
Retype new UNIX password: ] match yes |
45 |
[2004/07/27 23:30:12, 10] 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 |
|
51 |
Das Passwort wird also korrekterweise 2x gesendet, aber dann tut sich nichts mehr, bis ich die Sache von Hand beende. |
52 |
|
53 |
Kann ich Samba beibringen, dass passwd die Arbeit stillschweigend erledigt hat und schon fertig ist? |
54 |
|
55 |
Viele Grüße |
56 |
Frank |
57 |
|
58 |
|
59 |
|
60 |
|
61 |
|
62 |
-- |
63 |
gentoo-user-de@g.o mailing list |