Gentoo Archives: gentoo-user-de

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

Replies

Subject Author
Re: [gentoo-user-de] Samba passwd chat Frank Numrich <fnumrich@×××.de>