[Samba] machine rejected the tconX on the IPC$ share. Error was : NT_STATUS_ACCESS_DENIED --SMBPASSWD ERROR

pcinformace pcinformace pcinformace at gmail.com
Mon Nov 2 13:44:30 MST 2009

Hi all,

I think I have found some issue in samba packed with Debian.

installed packages are

dpkg -l | grep samba

ii  samba                             2:3.2.5-4lenny7          a
LanManager-like file and printer server for Unix
ii  samba-common               2:3.2.5-4lenny7          Samba common
files used by both the server and the client
ii  samba-doc                      2:3.2.5-4lenny7          Samba documentation

I am using ldap backend to keep password and enabled ldap passwd sync
in smb.conf.

I can chnage password for user test1, when I am logged as root, but
when I log as user "test1" to samba server
and issue command


I am getting constantly error

Old SMB password:
New SMB password:
Retype new SMB password:
machine rejected the tconX on the IPC$ share. Error was :
Failed to change password for test1

I can log in as user1 ( it is ldap user ) and change its password using passwd.

Also I can change password
for user1 when I am logged as root
using : smbpasswd test1

 when I chanege password as root for test1, change is propagated to ldap and
I can use password for user " test1" changed with smpasswd to log in
to server via ssh.

Any hint is welcome, I really do not know what the problem is here.

Thank you in advance for any comment

More information about the samba mailing list