Bug#652339: Error code was NT code 0x1c010002 next a login failure in a samba server with winbind

2011-12-16 Thread Jorge Bueno Magdalena
Package: winbind

Version: 2:3.5.6~dfsg-3squeeze5

Severity: important

I have a samba server connected to a samba PDC. I can connect fine to
the share folders but next a login failure appear the error NT code
0x1c010002 (0x1c010002) and it is impossible to connect with any user.
I have to delete samba cache and restart samba and winbind to have a
normal use.


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

WorkgroupMaster
-   ---
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



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, I can login. If not give the message dsession setup
failed: NT_STATUS_LOGON_FAILURE as normal.

** I have found a bug in samba that it looks like to be the same
problem = https://bugzilla.samba.org/show_bug.cgi?id=7888 and have
patches for different samba versions.

Regards


smb.conf
Description: Binary data


Bug#539337: Same problem in Debian Squeeze with version 2:3.5.6~dfsg-3squeeze5

2011-12-13 Thread Jorge Bueno Magdalena
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

WorkgroupMaster
-   ---
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.


smb.conf
Description: Binary data


Bug#539337: Same problem in Debian Squeeze with version 2:3.5.6~dfsg-3squeeze5

2011-12-13 Thread Jorge Bueno Magdalena
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

 WorkgroupMaster
 -   ---
 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.






Bug#524167: Upgrading from etch to lenny

2009-04-15 Thread Jorge Bueno Magdalena
Package: nagios2-common
Version: 2.6-2+etch1

Hello,

I don't know if it is exactly a bug but I think it is wrong behaviour.
I had debian etch with nagios2 and I upgraded to debian lenny.
In the upgrade, nagios2 wasn't upgraded to nagios3 but the binaries
were unistalled although neither the /etc/nagios2 not the
/etc/init.d/nagios2 script.
were unistalled.

Regards


Bug#443586: The bug continue existing

2009-01-07 Thread Jorge Bueno Magdalena
The package continue giving conflict problems:


   1. x: ~ # aptitude install libapache2-mod-mime-xattr
   2. Reading package list ... Made
   3. Building dependency tree ... Made
   4. Reading extended state information
   5. Initializing the status of packages ... Made
   6. Reading descriptions of the tasks ... Made
   7. Building a database of tags ... Made
   8. The following packages are broken:
   9.apache2.2-common
   10. Will install the following packages:
   11.libapache2-mod-mime-xattr
   12. 0 packages upgraded, 1 newly installed, 0 to remove and 0 not
   upgraded.
   13. Need to get 12.1 kB file. After unpacking 36.9 kB will be used.
   14. Dependencies are not met the following packages:
   15.apache2.2-common: in conflict: libapache2-mod-mime-xattr (=
   0.3-2) but 0.3-2 is to be installed.
   16. Resolving dependencies ...
   17. The following actions will resolve these dependencies
   18.
   19. Remove the following packages:
   20. apache2
   21. apache2-mpm-prefork
   22. apache2.2-common
   23. libapache2-mod-php5
   24.
   25. Install the following packages:
   26. php5-cgi [5.2.0-8 + etch13 (stable)]
   27. webfs [1.21-4.1 (stable)]
   28.
   29. The score is -1492
   30.
   31. Accept this solution? [Y / n / q /?] Q