svn commit: samba r16060 - branches/SAMBA_3_0/source/include
branches/SAMBA_3_0/source/rpc_parse
branches/SAMBA_3_0/source/rpc_server trunk/source/include
trunk/source/rpc_parse trunk/source/rpc_server
vlendec at samba.org
vlendec at samba.org
Tue Jun 6 14:18:13 GMT 2006
Author: vlendec
Date: 2006-06-06 14:18:12 +0000 (Tue, 06 Jun 2006)
New Revision: 16060
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16060
Log:
This is one of the more dirty patches I've put in lately. Parse enough of
SetUserInfo level 25 to survive the join method XP uses if the user did not
exist before. For good taste this contains way too much cut&paste, but for a
real fix there is just not enough time.
Up to 3.0.22 we completely ignored that a full level 21 is being sent together
with level 25, but we got away with that because on creation we did not set
the "disabled" flag on the workstation account. Now we correctly follow W2k3
in this regard, and we end up with a disabled workstation after join.
Man, I hate rpc_parse/. The correct fix would be to import PIDL generated samr
parsing, but this is would probably be a bit too much for .23...
Thanks to Tom Bork for finding this one.
Volker
Modified:
branches/SAMBA_3_0/source/include/rpc_samr.h
branches/SAMBA_3_0/source/rpc_parse/parse_samr.c
branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c
branches/SAMBA_3_0/source/rpc_server/srv_samr_util.c
trunk/source/include/rpc_samr.h
trunk/source/rpc_parse/parse_samr.c
trunk/source/rpc_server/srv_samr_nt.c
trunk/source/rpc_server/srv_samr_util.c
Changeset:
Sorry, the patch is too large (617 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16060
More information about the samba-cvs
mailing list