Hi!
When I enter smbpaswd as a normal user iget the following error:
Connecting to 127.0.0.1 at port 139
machine 127.0.0.1 rejected the password change: Error was : The specified
password is invalid.
Failed to change password for mgoeben
and in the logs I got:
==> /var/log/samba/log.smb <=[2000/08/16 18:39:57, 3]
locking/shmem_sysv.c:sysv_shm_open(707)
Initialised IPC area of size 1048576
[2000/08/16 18:39:57, 2] smbd/server.c:main(746)
Changed root to /
[2000/08/16 18:39:57, 3] smbd/oplock.c:open_oplock_ipc(86)
open_oplock_ipc: opening loopback UDP socket.
[2000/08/16 18:39:57, 3] lib/util_sock.c:open_socket_in(875)
bind succeeded on port 0
[2000/08/16 18:39:57, 3] smbd/oplock.c:open_oplock_ipc(114)
open_oplock ipc: pid = 1098, global_oplock_port = 1025
==> /var/log/samba/log.james-demo-lan <=[2000/08/16 18:39:57, 3]
smbd/process.c:process_smb(618)
Transaction 1 of length 168
[2000/08/16 18:39:57, 3] smbd/process.c:switch_message(448)
switch message SMBnegprot (pid 1098)
[2000/08/16 18:39:57, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2000/08/16 18:39:57, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [MICROSOFT NETWORKS 1.03]
[2000/08/16 18:39:57, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [MICROSOFT NETWORKS 3.0]
[2000/08/16 18:39:57, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [LANMAN1.0]
[2000/08/16 18:39:57, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [LM1.2X002]
[2000/08/16 18:39:57, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [Samba]
[2000/08/16 18:39:57, 3] smbd/negprot.c:reply_negprot(424)
Selected protocol NT LANMAN 1.0
[2000/08/16 18:39:57, 3] smbd/process.c:process_smb(618)
Transaction 2 of length 78
[2000/08/16 18:39:57, 3] smbd/process.c:switch_message(448)
switch message SMBsesssetupX (pid 1098)
[2000/08/16 18:39:57, 3] smbd/reply.c:reply_sesssetup_and_X(805)
Domain=[] NativeOS=[Unix] NativeLanMan=[Samba]
[2000/08/16 18:39:57, 3] smbd/reply.c:reply_sesssetup_and_X(809)
sesssetupX:name=[]
[2000/08/16 18:39:57, 3] smbd/password.c:setup_groups(192)
nobody is in 1 groups: 99
[2000/08/16 18:39:57, 3] smbd/password.c:register_vuid(270)
uid 99 registered to name nobody
[2000/08/16 18:39:57, 3] smbd/password.c:register_vuid(272)
Clearing default real name
[2000/08/16 18:39:57, 3] smbd/password.c:register_vuid(277)
User name: nobody Real name: Nobody
[2000/08/16 18:39:57, 3] smbd/process.c:process_smb(618)
Transaction 3 of length 69
[2000/08/16 18:39:57, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 1098)
[2000/08/16 18:39:57, 3] smbd/password.c:authorise_login(816)
ACCEPTED: guest account and guest ok
[2000/08/16 18:39:57, 3] smbd/service.c:make_connection(441)
Connect path is /tmp
[2000/08/16 18:39:57, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /tmp
[2000/08/16 18:39:57, 3] smbd/service.c:make_connection(550)
james-demo-lan (127.0.0.1) connect to service IPC$ as user nobody (uid=99,
gid=99) (pid 109
8)
[2000/08/16 18:39:57, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /root
[2000/08/16 18:39:57, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /root
[2000/08/16 18:39:57, 3] smbd/reply.c:reply_tcon_and_X(358)
tconX service=ipc$ user=nobody
[2000/08/16 18:39:57, 3] smbd/process.c:process_smb(618)
Transaction 4 of length 636
[2000/08/16 18:39:57, 3] smbd/process.c:switch_message(448)
switch message SMBtrans (pid 1098)
[2000/08/16 18:39:57, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /tmp
[2000/08/16 18:39:57, 3] smbd/ipc.c:reply_trans(3659)
trans <\PIPE\LANMAN> data=532 params=24 setup=0
[2000/08/16 18:39:57, 3] smbd/ipc.c:named_pipe(3516)
named pipe command on <LANMAN> name
[2000/08/16 18:39:57, 3] smbd/ipc.c:api_reply(3461)
Got API command 214 of form <zsT> <B516B16>
(tdscnt=532,tpscnt=24,mdrcnt=0,mprcnt=2)
[2000/08/16 18:39:57, 3] smbd/ipc.c:api_reply(3465)
Doing SamOEMChangePassword
[2000/08/16 18:39:57, 3] smbd/ipc.c:api_SamOEMChangePassword(1816)
api_SamOEMChangePassword: Change password for <mgoeben>
[2000/08/16 18:39:57, 3] smbd/chgpasswd.c:chgpasswd(388)
Password change for user: mgoeben
[2000/08/16 18:39:57, 3] smbd/chgpasswd.c:chat_with_program(363)
Dochild for user mgoeben (uid=0,gid=0)
----------------------------------------------------------
----------------------------------------------------------
I think here is the error:
[2000/08/16 18:39:58, 2] smbd/chgpasswd.c:expect(236)
expect: Input/output error
[2000/08/16 18:39:58, 3] smbd/chgpasswd.c:talktochild(266)
Response 3 incorrect
----------------------------------------------------------
----------------------------------------------------------
[2000/08/16 18:39:58, 3] smbd/chgpasswd.c:chat_with_program(310)
Child failed to change password: mgoeben
[2000/08/16 18:39:58, 3] smbd/process.c:timeout_processing(856)
end of file from client
[2000/08/16 18:39:58, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /root
[2000/08/16 18:39:58, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /root
[2000/08/16 18:39:58, 2] smbd/server.c:exit_server(408)
Closing connections
[2000/08/16 18:39:58, 3] smbd/service.c:close_cnum(583)
james-demo-lan (127.0.0.1) closed connection to service IPC$
[2000/08/16 18:39:58, 3] smbd/connection.c:yield_connection(45)
Yielding connection to IPC$
[2000/08/16 18:39:58, 3] smbd/server.c:exit_server(435)
Server exit (normal exit)
==> /var/log/samba/log.smb <=[2000/08/16 18:39:57, 3]
smbd/process.c:process_smb(618)
Transaction 0 of length 76
[2000/08/16 18:39:57, 2] smbd/reply.c:reply_special(97)
netbios connect: name1=127.0.0.1 name2=JAMES-DEMO-LAN
My config file is:
# Global parameters
workgroup = Workgroup
interfaces = 192.168.20.1/24 127.0.0.1
bind interfaces only = yes
netbios name = JAMES-DEMO-LAN
server string = James Demo
security = USER
encrypt passwords = Yes
unix password sync = Yes
debug level = 3
log file = /var/log/samba/log.%m
nt acl support = Yes
change notify timeout = 20
socket options = TCP_NODELAY
unix realname = Yes
printcap name = /etc/printcap
printing = bsd
mangle case = yes
passwd program = /usr/bin/passwd
print command = lpr -l -r -P%p %s -U %u
lprm command = /usr/bin/lprm -P%p %j
hide dot files = Yes
veto files = /.b*/.s*/.X*/.e*/
[homes]
comment = Home Directory
read only = No
browseable = No
writable = yes
[printers]
path = /var/spool/samba/lp
printable = Yes
browseable = no
[common]
comment = Allgemeine Dateien
path = /var/spool/samba/common
read only = No
public = yes
I marked the error between some ------------------------------ lines.
Can anyone help me!
Please mailto:mgoebenich@entire-systems.com, because I'm currently not
subscribed to this mailinglist.
Thanks
Marco Goebenich