search for: smbencrypt

Displaying 20 results from an estimated 63 matches for "smbencrypt".

1998 Dec 15
0
SAMBA digest 1909
...websp/htdocs, but It needs to be password protected. I was trying to compile again Samba with encryption option, but the package Samba doen?t brings the library ***** DES.H ***** I have des.h in Solaris, but when I copied this file inside the correct directory, a lot of errors appeared. Compiling smbencrypt.c smbencrypt.c: In function `str_to_key': smbencrypt.c:34: parse error before `*' smbencrypt.c:48: `des_cblock' undeclared (first use this function) smbencrypt.c:48: (Each undeclared identifier is reported only once smbencrypt.c:48: for each function it appears in.) smbencrypt.c:48: par...
2003 Feb 11
1
Samba LDAP - bug in ldapsync.pl
In the course of correcting directory references for Mandrake in smbldap-tools I came acrossed the following: samba-2.2.7a/examples/LDAP/ldapsync.pl on line 72 we have: > $ntpwd = `/usr/local/sbin/smbencrypt '$oldpass'`; On Mandrake this would be: > $ntpwd = `/usr/sbin/smbencrypt '$oldpass'`; Except that I can't find anything by that name (i.e. smbencrypt ) in my rpm database. Can anyone tell me what it is? Should it perhaps be replaced by mkntpwd or something? Jim...
2007 Jun 18
3
decode_pw_buffer: incorrect password length
...e typed using the correct case." The strange is that the server *did* change both Linux and Windows passwords and the shadowLastChange and sambaPwdLastSet attributes also. So all is ok anly i get this "stupid" message. In the samba-logs i see this: [2007/06/18 08:59:08, 0] libsmb/smbencrypt.c:decode_pw_buffer(520) decode_pw_buffer: incorrect password length (-1582166334). [2007/06/18 08:59:08, 0] libsmb/smbencrypt.c:decode_pw_buffer(521) decode_pw_buffer: check that 'encrypt passwords = yes' in my smb.conf i have : unix password sync = Yes Is this a bug ? Other t...
2005 Feb 13
2
3.0.11/MirOS password change problem
Hi! Does this sound familiar, before I try to look deeper into it? [2005/02/13 20:10:16, 0] /usr/ports/net/samba/w-samba-3.0.11/samba-3.0.11/source/libsmb/smbencrypt.c:decode_pw_buffer(539) decode_pw_buffer: incorrect password length (1251354155). [2005/02/13 20:10:16, 0] /usr/ports/net/samba/w-samba-3.0...
2004 May 17
1
samba 3.0.4 on SLES8: password sync will not work...(decode_pw_buffer: incorrect password length)
...9;ve compiled the full developer build of samba from 3.0.4-4 source. Compile was successful. I'm running tdbsam as password backend. I've troubleshooted quit a bit using google, docs, etc. as guide. Everytime I get same DEBUG output in the log file: [2004/05/17 09:44:08, 0] libsmb/smbencrypt.c:decode_pw_buffer(519) decode_pw_buffer: incorrect password length (-2013139859). [2004/05/17 09:44:08, 0] libsmb/smbencrypt.c:decode_pw_buffer(520) decode_pw_buffer: check that 'encrypt passwords = yes' and here is the DEBUG source code from smbencrypt.c generating the o...
2008 Apr 30
1
wondows & ldap passwords are changed but with an error
...ter password chenged: Apr 30 19:22:20 pdc smbd[26051]: [2008/04/30 19:22:20, 0] lib/util_sock.c:read_socket_with_timeout(497) Apr 30 19:22:20 pdc smbd[26051]: read_socket_with_timeout: timeout read. read error = Input/output error. Apr 30 19:22:21 pdc smbd[26051]: [2008/04/30 19:22:20, 0] libsmb/smbencrypt.c:decode_pw_buffer(552) Apr 30 19:22:21 pdc smbd[26051]: decode_pw_buffer: incorrect password length (-278203093). Apr 30 19:22:21 pdc smbd[26051]: [2008/04/30 19:22:21, 0] libsmb/smbencrypt.c:decode_pw_buffer(553) Apr 30 19:22:21 pdc smbd[26051]: decode_pw_buffer: check that 'encrypt passw...
2010 Aug 03
2
Error: Incorrect password length
...int is not connected write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer [2010/08/03 12:10:19.682030, 0] smbd/process.c:79(srv_send_smb) Error writing 4 bytes to client. -1. (Transport endpoint is not connected) [2010/08/03 12:10:19.987801, 0] ../libcli/auth/smbencrypt.c:589(decode_pw_buffer) decode_pw_buffer: incorrect password length (1720729972). [2010/08/03 12:10:19.987986, 0] ../libcli/auth/smbencrypt.c:590(decode_pw_buffer) decode_pw_buffer: check that 'encrypt passwords = yes' My smb.conf is -- [global] workgroup = LMD netbios name = LAND...
2011 May 26
1
Error when changing domain password in Windows XP
...r_ChangePasswordUser2 out: struct samr_ChangePasswordUser2 result : NT_STATUS_UNSUCCESSFUL The attribute sambaNTPassword is present on the object, so that makes no sense? I'm also seeing this error: [2011/05/26 12:22:15.512074, 0] ../libcli/auth/smbencrypt.c:589(decode_pw_buffer) decode_pw_buffer: incorrect password length (1024268875). [2011/05/26 12:22:15.512087, 0] ../libcli/auth/smbencrypt.c:590(decode_pw_buffer) decode_pw_buffer: check that 'encrypt passwords = yes' [2011/05/26 12:22:15.512100, 5] rpc_server/srv_samr_nt.c:1954(...
2004 Nov 02
1
Samba3 + LDAP - w2k says it couldn't change password (but it did)
...typed). However, the password was changed in LDAP master, and replicated to the slave - so after a logout, user can log in with a new password (though this user was said that the password wasn't changed). This is what I have in log.machine with log level = 9: [2004/11/02 15:24:20, 0] libsmb/smbencrypt.c:decode_pw_buffer(519) decode_pw_buffer: incorrect password length (-954408756). [2004/11/02 15:24:20, 0] libsmb/smbencrypt.c:decode_pw_buffer(520) decode_pw_buffer: check that 'encrypt passwords = yes' The log is the same whether I have "encrypt passwords = yes" or don'...
2006 Oct 04
2
Windows client does not recognize password change...
...am_from_ldap(499) init_sam_from_ldap: Entry found for user: jason [2006/10/04 13:13:12, 7] passdb/login_cache.c:login_cache_read(83) Looking up login cache for user jason [2006/10/04 13:13:12, 7] passdb/login_cache.c:login_cache_read(97) No cache entry found [2006/10/04 13:13:12, 0] libsmb/smbencrypt.c:decode_pw_buffer(540) decode_pw_buffer: incorrect password length (190012133). [2006/10/04 13:13:12, 0] libsmb/smbencrypt.c:decode_pw_buffer(541) decode_pw_buffer: check that 'encrypt passwords = yes' dn: uid=jason,ou=People,dc=amiwest,dc=com objectClass: top objectClass: person o...
2005 Jun 07
1
Problems with userPassword when it's base64 encoded
...sam_account(1731) ldapsam_update_sam_account: failed to modify user with uid = gg, error: Current passwd must be supplied by the user. (Success) [2005/06/07 19:27:45, 2] passdb/pdb_ldap.c:init_sam_from_ldap(511) init_sam_from_ldap: Entry found for user: gg [2005/06/07 19:27:45, 0] libsmb/smbencrypt.c:decode_pw_buffer(539) decode_pw_buffer: incorrect password length (-988553355). [2005/06/07 19:27:45, 0] libsmb/smbencrypt.c:decode_pw_buffer(540) decode_pw_buffer: check that 'encrypt passwords = yes' -- cut here -- And a dialog from Windows that says: "The User name or old p...
2003 Dec 12
1
incorrect password length when joining domain, need help
...tc... The problem happens with Windows 2000 SP2, It tells me wrong user/password. Here is the samba error : decode_pw_buffer: incorrect password length (-2118884061). Here is the full log : Attempting administrator password change (level 23) for user workstation$ [2003/12/12 13:25:57, 0] libsmb/smbencrypt.c:decode_pw_buffer(501) decode_pw_buffer: incorrect password length (-2118884061). [2003/12/12 13:25:57, 0] libsmb/smbencrypt.c:decode_pw_buffer(502) decode_pw_buffer: check that 'encrypt passwords = yes' [2003/12/12 13:25:57, 5] rpc_parse/parse_prs.c:prs_debug(82) 000000 samr_io_r_se...
2002 Nov 20
3
The Samba Team announces Samba 2.2.7 - security release
....2 to 2.2.6 - --------------------------------------- The following patch applies cleanly to the above Samba versions and will fix the vulnerability for sites that do not wish to upgrade to 2.2.7 at this time. - -------------------------------cut here--------------------------------- - --- libsmb/smbencrypt.c.orig Tue Nov 19 17:21:57 2002 +++ libsmb/smbencrypt.c Tue Nov 19 17:22:12 2002 @@ -63,7 +63,7 @@ if(len > 128) len = 128; /* Password must be converted to NT unicode - null terminated. */ - - dos_struni2((char *)wpwd, (const char *)passwd, 256); +...
2002 Nov 20
3
The Samba Team announces Samba 2.2.7 - security release
....2 to 2.2.6 - --------------------------------------- The following patch applies cleanly to the above Samba versions and will fix the vulnerability for sites that do not wish to upgrade to 2.2.7 at this time. - -------------------------------cut here--------------------------------- - --- libsmb/smbencrypt.c.orig Tue Nov 19 17:21:57 2002 +++ libsmb/smbencrypt.c Tue Nov 19 17:22:12 2002 @@ -63,7 +63,7 @@ if(len > 128) len = 128; /* Password must be converted to NT unicode - null terminated. */ - - dos_struni2((char *)wpwd, (const char *)passwd, 256); +...
2002 Feb 11
1
incorrect password length (1305249416)
...conf and it is no problem to get in contact with Samba from the notebooks. Then I got ther error message: "No login name or password incorrect" at notebook. If I look in log.smbd, I found the following error messages: api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO libsmb/smbencrypt.c: decode_pw_buffer(263) decode_pw_buffer: incorrect password length (1305249416) Finally I tell you it's no problem to use Samba as PDC from NT4.0SP6 in the same net and without wireless. Can you help me? Ralph
2002 Dec 06
0
smbpasswd has password length problem with the 2.2.7 security patch
....2.2 to 2.2.6 - --------------------------------------- The following patch applies cleanly to the above Samba versions and will fix the vulnerability for sites that do not wish to upgrade to 2.2.7 at this time. --------------------------------cut here--------------------------------- ---- libsmb/smbencrypt.c.orig Tue Nov 19 17:21:57 2002 +++ libsmb/smbencrypt.c Tue Nov 19 17:22:12 2002 @@ -63,7 +63,7 @@ if(len > 128) len = 128; /* Password must be converted to NT unicode - null terminated. */ - dos_struni2((char *)wpwd, (const char *)passwd, 256); + d...
2004 Jun 03
0
SOLVED Can't joint domain per LDAP slave servers
..., but only in the network with the master LDAP server I can join the domain successfully. The slave's smbd ends up with: [2004/06/03 19:29:58, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(786) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2004/06/03 19:29:58, 0] libsmb/smbencrypt.c:decode_pw_buffer(521) decode_pw_buffer: incorrect password length (-1061250291). [2004/06/03 19:29:58, 0] libsmb/smbencrypt.c:decode_pw_buffer(522) decode_pw_buffer: check that 'encrypt passwords = yes' and "incorrect user name" is displayed by the client. The machine acco...
2005 Jul 26
1
error: modify/delete: sambaLMPassword: no such value
...psam_update_sam_account: failed to modify user with uid = luser2, error: modify/delete: sambaLMPassword: no such value (Success) Jul 25 22:44:53 sambaserver1 smbd[18878]: [2005/07/25 22:44:53, 0] libsmb/smbencrypt.c:decode_pw_buffer(539) Jul 25 22:44:53 sambaserver1 smbd[18878]: decode_pw_buffer: incorrect password length (481736093). Jul 25 22:44:53 sambaserver1 smbd[18878]: [2005/07/25 22:44:53, 0] libsmb/smbencrypt.c:decode_pw_buffer(540)...
2007 Mar 21
0
Samba FDS pasword problem
...y required Operation requires a secure connection. [2007/03/19 12:28:51, 0] passdb/pdb_ldap.c:ldapsam_update_sam_account(1720) ldapsam_update_sam_account: failed to modify user with uid = user1, error: Operation requires a secure connection. (Success) [2007/03/19 12:28:51, 0] libsmb/smbencrypt.c:decode_pw_buffer(539) decode_pw_buffer: incorrect password length (-1886846999). [2007/03/19 12:28:51, 0] libsmb/smbencrypt.c:decode_pw_buffer(540) decode_pw_buffer: check that 'encrypt passwords = yes' My smb.conf is in attachement Is anyone has ever meet this problem ??? Thank&...
2004 Jun 15
2
Password problems with Samba-3.0.4
...ecting properly, but my users can't change passwords from their WinXP clients now. (Client error message is "bad username or incorrect old password".) This happens with any user account, including newly created test accounts. Here is what I get in the log.%MACHINENAME% file: libsmb/smbencrypt.c:decode_pw_buffer(519) decode_pw_buffer: incorrect password length (12889175). libsmb/smbencrypt.c:decode_pw_buffer(520) decode_pw_buffer: check that 'encrypt passwords = yes' (other versions of this error give lengths of (1000352699) and (-55166985) I already have 'encrypt passw...