diff options
author | Günther Deschner <gd@samba.org> | 2006-02-27 10:32:45 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:25 -0500 |
commit | e54786b53543b4667288c64abb55478fddd95061 (patch) | |
tree | c9641bd414989a72be6c425f9857f5731da74188 /examples/libmsrpc/test/sam | |
parent | bd97e1a5eae982feda5e5bbd08e7f4e3b6473baf (diff) | |
download | samba-e54786b53543b4667288c64abb55478fddd95061.tar.gz samba-e54786b53543b4667288c64abb55478fddd95061.tar.bz2 samba-e54786b53543b4667288c64abb55478fddd95061.zip |
r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.
* Fix a couple of related parsing issues.
* in the info3 reply in a samlogon, return the ACB-flags (instead of
returning zero)
Guenther
(This used to be commit 5b89e8bc24f0fdc8b52d5c9e849aba723df34ea7)
Diffstat (limited to 'examples/libmsrpc/test/sam')
-rw-r--r-- | examples/libmsrpc/test/sam/samenum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/libmsrpc/test/sam/samenum.c b/examples/libmsrpc/test/sam/samenum.c index 5b10475aac..f1b9ebdf84 100644 --- a/examples/libmsrpc/test/sam/samenum.c +++ b/examples/libmsrpc/test/sam/samenum.c @@ -51,7 +51,7 @@ int main(int argc, char **argv) { eu.in.dom_hnd = sod.out.dom_hnd; printf("ACB mask (can be 0): "); - scanf("%hx", &eu.in.acb_mask); + scanf("%x", &eu.in.acb_mask); while(cac_SamEnumUsers(hnd, mem_ctx, &eu)) { printf("Enumerated %d users:\n", eu.out.num_users); |