units_per_week 1942 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_uint16(ndr, NDR_SCALARS, r->units_per_week)); units_per_week 1949 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->units_per_week / 8)); units_per_week 1950 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_push_array_uint8(ndr, NDR_SCALARS, r->bits, r->units_per_week / 8)); units_per_week 1967 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_pull_uint16(ndr, NDR_SCALARS, &r->units_per_week)); units_per_week 1992 librpc/gen_ndr/ndr_samr.c NDR_CHECK(ndr_check_array_length(ndr, (void*)&r->bits, r->units_per_week / 8)); units_per_week 2007 librpc/gen_ndr/ndr_samr.c ndr_print_uint16(ndr, "units_per_week", r->units_per_week); units_per_week 2011 librpc/gen_ndr/ndr_samr.c ndr_print_array_uint8(ndr, "bits", r->bits, r->units_per_week / 8); units_per_week 380 librpc/gen_ndr/samr.h uint16_t units_per_week; units_per_week 827 source3/lib/netapi/user.c i->usri2_units_per_week = i21->logon_hours.units_per_week; units_per_week 865 source3/lib/netapi/user.c i->usri3_units_per_week = i21->logon_hours.units_per_week; units_per_week 912 source3/lib/netapi/user.c i->usri4_units_per_week = i21->logon_hours.units_per_week; units_per_week 977 source3/lib/netapi/user.c i->usri11_units_per_week = i21->logon_hours.units_per_week; units_per_week 160 source3/libnet/libnet_samsync_passdb.c if (pdb_get_logon_divs(account) != r->logon_hours.units_per_week) units_per_week 161 source3/libnet/libnet_samsync_passdb.c pdb_set_logon_divs(account, r->logon_hours.units_per_week, PDB_CHANGED); units_per_week 171 source3/libnet/libnet_samsync_passdb.c if (r->logon_hours.units_per_week/8 != pdb_get_hours_len(account)) { units_per_week 172 source3/libnet/libnet_samsync_passdb.c pdb_set_hours_len(account, r->logon_hours.units_per_week/8, PDB_CHANGED); units_per_week 2364 source3/passdb/passdb.c const int units_per_week = 168; units_per_week 2367 source3/passdb/passdb.c hours.bits = talloc_array(mem_ctx, uint8_t, units_per_week); units_per_week 2372 source3/passdb/passdb.c hours.units_per_week = units_per_week; units_per_week 2373 source3/passdb/passdb.c memset(hours.bits, 0xFF, units_per_week); units_per_week 2377 source3/passdb/passdb.c MIN(pdb_get_hours_len(pw), units_per_week)); units_per_week 562 source3/rpc_server/srv_samr_util.c pdb_get_logon_divs(to), from->logon_hours.units_per_week)); units_per_week 563 source3/rpc_server/srv_samr_util.c if (from->logon_hours.units_per_week != pdb_get_logon_divs(to)) { units_per_week 565 source3/rpc_server/srv_samr_util.c from->logon_hours.units_per_week, PDB_CHANGED); units_per_week 570 source3/rpc_server/srv_samr_util.c from->logon_hours.units_per_week/8)); units_per_week 571 source3/rpc_server/srv_samr_util.c if (from->logon_hours.units_per_week/8 != pdb_get_hours_len(to)) { units_per_week 573 source3/rpc_server/srv_samr_util.c from->logon_hours.units_per_week/8, PDB_CHANGED); units_per_week 101 source3/rpcclient/cmd_samr.c printf("\tlogon_divs:\t%d\n", r->logon_hours.units_per_week); /* 0x0000 00a8 which is 168 which is num hrs in a week */ units_per_week 108 source3/rpcclient/cmd_samr.c printf("\tlogon_hrs[0..%d]...\n", r->logon_hours.units_per_week/8); units_per_week 617 source4/dsdb/common/util.c const int units_per_week = 168; units_per_week 620 source4/dsdb/common/util.c hours.bits = talloc_array(mem_ctx, uint8_t, units_per_week); units_per_week 624 source4/dsdb/common/util.c hours.units_per_week = units_per_week; units_per_week 625 source4/dsdb/common/util.c memset(hours.bits, 0xFF, units_per_week); units_per_week 627 source4/dsdb/common/util.c memcpy(hours.bits, val->data, MIN(val->length, units_per_week)); units_per_week 916 source4/dsdb/common/util.c val.length = hours->units_per_week / 8; units_per_week 1616 source4/torture/rpc/samlogon.c u.info21.logon_hours.units_per_week = 168; units_per_week 317 source4/torture/rpc/samr.c u.info21.logon_hours.units_per_week = 168; \ units_per_week 518 source4/torture/rpc/samsync.c TEST_INT_EQUAL(info->info21.logon_hours.units_per_week, units_per_week 519 source4/torture/rpc/samsync.c user->logon_hours.units_per_week); units_per_week 522 source4/torture/rpc/samsync.c info->info21.logon_hours.units_per_week/8) != 0) {