Gerald (Jerry) Carter
2003-May-09 21:30 UTC
[Samba] patch for 2.2 to correctly detect WinXP and Win2K2 client arch types
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tom,
Try this patch. I lost your original message but this should
fix the problem with 'logon path = \\%L\profile\%U\%a'
confusing WinXP with Win2K.
cheers, jerry
----------------------------------------------------------------------
Hewlett-Packard ------------------------- http://www.hp.com
SAMBA Team ---------------------- http://www.samba.org
GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc
"You can never go home again, Oatman, but I guess you can shop
there."
--John Cusack - "Grosse Point Blank"
(1997)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQE+vB4LIR7qMdg1EfYRArA8AJ42nzf5+9S+pfNWZV+czSv31hmx/gCg2f0T
HF13Fe8eOEbAMw6dQb7FOBY=V2i6
-----END PGP SIGNATURE-----
-------------- next part --------------
Index: source/smbd/reply.c
==================================================================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"
Thomas Bork
2003-May-10 02:28 UTC
[Samba] patch for 2.2 to correctly detect WinXP and Win2K2 client arch types
Hi Gerald (Jerry) Carter, you wrote:>> Try this patch. I lost your original message but this should >> fix the problem with 'logon path = \\%L\profile\%U\%a' >> confusing WinXP with Win2K.works now, also with logon path = \\%N\%U\%a Thanks a lot :) der tom
Thomas Bork
2003-May-12 17:19 UTC
[Samba] patch for 2.2 to correctly detect WinXP and Win2K2 client arch types
Hallo Gerald (Jerry) Carter, you wrote:> Try this patch. I lost your original message but this should > fix the problem with 'logon path = \\%L\profile\%U\%a' > confusing WinXP with Win2K.uuups? I tried it already and answered you and then you answered me? Once again: It is working now. der tom ________________________________________________________________ Mit der Grupppen-SMS von WEB.DE FreeMail k?nnen Sie eine SMS an alle Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179