[PATCH] source/rpc_parse/parse_samr.c

James E. Flemer jflemer at acm.jhu.edu
Tue Mar 19 16:30:16 GMT 2002


[ Please CC me on replies. Not on list yet. ]

Getting careless with cut-and-paste? Man did it confuse me
when the debug logs said it was in sam_io_user_info23 when
the switch value was 0x19 (25). :-)

Also a question about the "password" field. What key is
used to encode this field when a computer (W2k SP2) is
trying to join a domain? I am trying to make a hybrid
passdb using DCE (Krb5) for users and smbpasswd (file) for
machine accounts, and I keep getting 'decode_pw_buffer:
incorrect password length' for machines joining.

-James

Index: source/rpc_parse/parse_samr.c
===================================================================
RCS file: /cvsroot/samba/source/rpc_parse/parse_samr.c,v
retrieving revision 1.142
diff -u -r1.142 parse_samr.c
--- source/rpc_parse/parse_samr.c	27 Feb 2002 22:02:05 -0000	1.142
+++ source/rpc_parse/parse_samr.c	19 Mar 2002 23:50:27 -0000
@@ -5610,7 +5610,7 @@
 	if (usr == NULL)
 		return False;

-	prs_debug(ps, depth, desc, "sam_io_user_info23");
+	prs_debug(ps, depth, desc, "sam_io_user_info25");
 	depth++;

 	if(!prs_align(ps))





More information about the samba-technical mailing list