Displaying 6 results from an estimated 6 matches for "smb_apasslen".
2001 Apr 20
0
Fudging domain support - samba 2.2.0
...mbd/reply.c Wed Apr 18 15:59:55 2001
***************
*** 616,623 ****
if(lp_security() != SEC_DOMAIN)
return False;
! if (!check_domain_match(orig_user, domain))
! return False;
ret = domain_client_validate(orig_user, domain,
smb_apasswd, smb_apasslen,
--- 616,625 ----
if(lp_security() != SEC_DOMAIN)
return False;
! if (!check_domain_match(orig_user, domain)) {
! DEBUG(0,("Domain %s remapped to %s\n",domain,global_myworkgroup));
! domain = global_myworkgroup;
! }
ret = domain_client_validate(orig_user,...
1998 Jun 19
1
SAMBA 1.9.18p8, username map, server security
I have a problem with new version (1.9.18p8) of SAMBA and username
mapping.
Configuration:
WindowsNT 4.0 Workstation + SP1
WindowsNT domain - NTEP01 is PDC
Digital UNIX 3.2C
Username on NT:
Babor
Username on UNIX:
baborl
In SMB.CONF I have following lines:
[global]
security = server
password server = NTEP01
username map = /usr/local/samba/lib/username.map
username.map:
baborl = babor
1998 Jul 13
1
password server problem
We are using samba with a NT4.0 Primary Domain Controller as a samba password
server.
Logon validation on the primary domain controller works fine, the NT machine
validates the user password.
BUT: On the NT PDC the event log shows numerous entries saying:
Unknown user or wrong password
Did anybody experience this too ????
Rainer von Bongartz
/D/I/L/
rainer.von-bongartz@dil.de
2001 Mar 16
0
Win98 zero-length encrypted passwords
...ce code, and added some
strategic DEBUG()'s to the reply.c file, and what I
found has me baffled. If Win98 is setup for plaintext
passwords, I see the password in my debugging output, and
the password length is fine. If I setup Win98 for encrypted
passwords, the password lengths are all zero (smb_apasslen
and smb_ntpasslen are both zero, and the passwords themselves
are blank).
So, can anyone suggest what my customer has done to cause
Win98 to send blank passwords _only in encrypted mode_? I've
double-checker the user's Win98 login password, and it's
fine. I really would prefer to lea...
2003 May 09
2
patch for 2.2 to correctly detect WinXP and Win2K2 client arch types
...=============
RCS file: /data/cvs/samba/source/smbd/reply.c,v
retrieving revision 1.240.2.132
diff -u -r1.240.2.132 reply.c
--- source/smbd/reply.c 9 Apr 2003 22:49:49 -0000 1.240.2.132
+++ source/smbd/reply.c 9 May 2003 21:26:55 -0000
@@ -765,7 +765,7 @@
}
username_str = smb_buf(inbuf)+smb_apasslen;
- fstrcpy( native_lanman, skip_string(username_str, 3));
+ fstrcpy( native_lanman, skip_string(username_str, 4));
/*
* we distinguish between 2K and XP by the "Native Lan Manager"
2003 Dec 01
0
No subject
...+776,8 @@
add_session_user(user);
if (!guest) {
- valid_password = NT_STATUS_IS_OK(pass_check_smb(user, domain,
+// stj
+ valid_password = NT_STATUS_IS_OK(pass_check_smb(orig_user, domain,
(unsigned char *)smb_apasswd,
smb_apasslen,
(unsigned char *)smb_ntpasswd,
Tim Potter wrote:
>Andrew Bartlett writes:
>
>[...]
>
>>>It seems a bit confusing at the moment with request_username and
>>>smb_username kind of meaning the same thing.
>>>
>>Thanks. I...