2.0.7pre2: passwd change, log, ...
Jeremy Allison
jeremy at valinux.com
Sat Mar 25 01:27:50 GMT 2000
Giulio Orsero wrote:
>
> rh61, 2.2.14, 2.0.7pre2
>
> == 12)
> I cannot change password anymore from win9x control panel (changing with
> "$ smbpasswd" with sync, is ok).
> Last time I checked I used 2.0.6 and it worked perfectly.
>
> Logon from win95/win98SE to samba domain
> [2000/03/23 20:20:02, 1]
> nmbd/nmbd_processlogon.c:process_logon_packet(70)
> process_logon_packet: Logon from 10.0.0.179: code = 7
Giulio,
My guess is the new code in nmbd/nmbd_processlogin.c
added in 2.0.7 to detect "short" GETDC requests is not correct.
To confirm this, can you apply the following patch and run
at debug level 3 or above and post the nmbd log file. I may
need to revert this code.
Thanks,
Jeremy.
----------cut here-------------------------------------
Index: nmbd/nmbd_processlogon.c
===================================================================
RCS file: /data/cvs/samba/source/nmbd/nmbd_processlogon.c,v
retrieving revision 1.16.2.1.2.3
diff -u -r1.16.2.1.2.3 nmbd_processlogon.c
--- nmbd_processlogon.c 2000/03/16 22:59:25 1.16.2.1.2.3
+++ nmbd_processlogon.c 2000/03/25 00:28:36
@@ -123,6 +123,7 @@
if ((buf - q) >= len) { /* Check for a short request */
+ DEBUG(3,("process_logon_packet: short GETDC request\n"));
short_request = True;
}
@@ -168,8 +169,9 @@
/* RJS, 21-Feb-2000, we send a short reply if the request was short */
- DEBUG(3,("process_logon_packet: GETDC request from %s at IP %s, \
+ DEBUG(3,("process_logon_packet: (%s) GETDC request from %s at IP %s, \
reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
+ short_request ? "short" : "long",
machine,inet_ntoa(p->ip), reply_name, lp_workgroup(),
QUERYFORPDC_R, (uint32)ntversion, (uint32)lmnttoken,
(uint32)lm20token ));
----------cut here-------------------------------------
--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
More information about the samba
mailing list