I have to add that the same test in a Debian Lenny server with the same configuration and samba version 3.2.5-4lenny15 is working fine.
If user/passwd is right, can login. If not give the message "dsession setup failed: NT_STATUS_LOGON_FAILURE" as normal. 2011/12/13 Jorge Bueno Magdalena <jxr...@gmail.com> > I am using the latest samba package in Debian Squeeze and I have the same > problem with error NT code 0x1c010002 but only next a login failure. > > 1) First I can login without any problem from different clients with > different OS. > > On the client: > > myuser@mycomputer:~$ smbclient -L sambaserver -U user1 > Enter user1's password: > Domain=[ORG1] OS=[Unix] Server=[Samba 3.5.6] > > Sharename Type Comment > --------- ---- ------- > mynewshare Disk My test share > IPC$ IPC IPC Service (Samba 3.5.6) > Domain=[ORG1] OS=[Unix] Server=[Samba 3.5.6] > > Server Comment > --------- ------- > SAMBASERVER samba 3.5.6 > > Workgroup Master > --------- ------- > ORG1 > > On the server: > > id user1 is running ok. > getent passwd, getent group is running ok. > wbinfo -u, wbinfo -g, wbinfo -a user1%passwd is running ok. > > 2) If I the passwd for user1 is wrong: > > On the client: > > myuser@mycomputer:~$ smbclient -L sambaserver -U user1 > Enter user1's password: > session setup failed: NT code 0x1c010002 > > On the server: > > id user1 is running ok. > getent passwd, getent group is running ok. > wbinfo -u, wbinfo -g is running ok. > > wbinfo -a user1%passwd: > plaintext password authentication failed > Could not authenticate user user1%user with plaintext password > challenge/response password authentication failed > error code was NT code 0x1c010002 (0x1c010002) > error messsage was: NT code 0x1c010002 > Could not authenticate user user1 with challenge/response > > 3) If the passwd for user1 is right but next the previous failure: > > On the client: > > myuser@mycomputer:~$ smbclient -L sambaserver -U user1 > Enter user1's password: > session setup failed: NT code 0x1c010002 > > On the server: > > id user1 not found user but yes other users from de domain. > getent passwd(even user1), getent group is running ok. > wbinfo -u, wbinfo -g is running ok. > wbinfo -a user1%passwd: > plaintext password authentication failed > Could not authenticate user user1%user with plaintext password > challenge/response password authentication failed > error code was NT code 0x1c010002 (0x1c010002) > error messsage was: NT code 0x1c010002 > Could not authenticate user user1 with challenge/response > > 4) Commands for going to the first point: > > rm /var/cache/samba/*tdb > /etc/init.d/samba restart > /etc/init.d/winbind restart > > > * My samba server is a domain member and the PDC is a Mac OSX server with > samba. > ** It looks like the problem is something with the cache. With winbind > cache time = 1 I have the same results. > > Package samba info: > > Version: 2:3.5.6~dfsg-3squeeze5 > Dependences: samba-common (= 2:3.5.6~dfsg-3squeeze5), libwbclient0 (= > 2:3.5.6~dfsg-3squeeze5), libacl1 (>= 2.2.11-1), libattr1 (>= 2.4.41-1), > libc6 (>= 2.6), libcap2 (>= 2.10), libcomerr2 (>= 1.01), libcups2 (>= > 1.4.0), libgssapi-krb5-2 (>= 1.8+dfsg), libk5crypto3 (>= 1.6.dfsg.2), > libkrb5-3 (>= 1.8+dfsg), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), > libpopt0 (>= 1.16), libtalloc2 (>= 2.0.0), zlib1g (>= 1:1.1.4), debconf > (>=0.5) | debconf-2.0, libpam-runtime (>= 1.0.1-11), libpam-modules, > lsb-base (>= 3.2-13), procps, update-inetd, adduser > > If you need more information tell me. > > Thanks so much. > > Regards. > > > >