> Would you believe me if I say I didn't find anything similar > to what you showed me? >
You mean you "grep expect /var/log/samba/*" and you and you end up empty handed? Woops! :-| I do believe you but is sounds very strange... This was the limit of my trouble with the password change in samba. After many restarts I've got a chat sequence that worked. Yet I say that the sollution should be deduced from the logs... Some gurus should step in and enlighten us... :-) > I try to change passwd from a W2k Workstation and it says I'm > not allowed to change passwd... > > And I still can't log in from a Win NT 4 Workstation... :((( So don't start from W2K, start from linux login on the samba server; can you change it from bash prompt as that user or not?! If you set unix password change = no you should be able to do smbpasswd username and "basta"! Ok, as as a paranoia test do also a smbmount '\\mysambaserver\myshare' /mnt/somewhere -o username=mysambaname and if it works it means the samba infrastructure is OK nomatter what, it's got to be in W2K; or at least AFAIK... Why do you insist so much in keeping the UNIX pass in sync anyway? :-o > > On Mon, 14 Jul 2003, Vizitiu, Ciprian wrote: > > > > > > >> I'm trying to set up my "passwd chat", then I was adviced to use: > >> > >> passwd chat debug = yes > >> debug level = 103 > >> encryp passwords = no > >> > >> But I can't find the "chat" inside log.smbd > >> > >> What am I doing wrong? > > > >You're looking in the wrokg place... Look in the machine.log where > >"machine" is the smbname of the WS trying to change the password you > >should see something like this: > > > >[2003/07/14 16:08:24, 3] smbd/sec_ctx.c:set_sec_ctx(329) > > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 > >[2003/07/14 16:08:24, 3] smbd/chgpasswd.c:chat_with_program(430) > > Dochild for user zoko (uid=0,gid=0) > >[2003/07/14 16:08:24, 10] smbd/chgpasswd.c:dochild(211) > > Invoking '/usr/bin/passwd zoko' as password change program. > >[2003/07/14 16:08:26, 100] smbd/chgpasswd.c:expect(265) > > expect: expected [*New*password*] received [Changing password for > >user zoko. New password: ] match no [2003/07/14 16:08:28, 100] > >smbd/chgpasswd.c:expect(265) > > expect: expected [*New*password*] received [] match no [2003/07/14 > >16:08:28, 10] smbd/chgpasswd.c:expect(276) > > expect: returning False > >[2003/07/14 16:08:28, 3] smbd/chgpasswd.c:talktochild(302) > > Response 1 incorrect > >[2003/07/14 16:08:28, 3] smbd/chgpasswd.c:chat_with_program(363) > > Child failed to change password: zoko > >[2003/07/14 16:08:28, 3] smbd/chgpasswd.c:chat_with_program(401) > > The process exited while we were waiting > > > >>From the above "dialog" it should be clear that samba is expecting > >>something > >different than what it is receiving. Question is why * > doesn't really > >match like it says in the man page?! Anyway carefully > crafting the chat > >sequence you can overcome this "small issue"... ;-) > >-- > >To unsubscribe from this list go to the following URL and read the > >instructions: http://lists.samba.org/mailman/listinfo/samba > > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba