diff options
author | Günther Deschner <gd@samba.org> | 2006-02-27 10:32:45 +0000 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2006-02-27 10:32:45 +0000 |
commit | 34738398012b8ce714586c77e39351c50e9ca629 (patch) | |
tree | dd99d9cea12b97597f32e8ebb841ba7a362b5e3c /examples | |
parent | f34ca8060a495000b26fbd038152ba0532898fa5 (diff) | |
download | samba-34738398012b8ce714586c77e39351c50e9ca629.tar.gz samba-34738398012b8ce714586c77e39351c50e9ca629.tar.xz samba-34738398012b8ce714586c77e39351c50e9ca629.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
Diffstat (limited to 'examples')
-rw-r--r-- | examples/libmsrpc/test/sam/samenum.c | 2 | ||||
-rw-r--r-- | examples/pdb/test.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/libmsrpc/test/sam/samenum.c b/examples/libmsrpc/test/sam/samenum.c index 5b10475aacf..f1b9ebdf842 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); diff --git a/examples/pdb/test.c b/examples/pdb/test.c index 63eb1eaaf97..68b5b9a3e5a 100644 --- a/examples/pdb/test.c +++ b/examples/pdb/test.c @@ -29,7 +29,7 @@ static int testsam_debug_level = DBGC_ALL; Start enumeration of the passwd list. ****************************************************************/ -static NTSTATUS testsam_setsampwent(struct pdb_methods *methods, BOOL update, uint16 acb_mask) +static NTSTATUS testsam_setsampwent(struct pdb_methods *methods, BOOL update, uint32 acb_mask) { DEBUG(10, ("testsam_setsampwent called\n")); return NT_STATUS_NOT_IMPLEMENTED; |