search for: ndr_flags

Displaying 4 results from an estimated 4 matches for "ndr_flags".

Did you mean: hdr_flags
2016 Jul 19
2
Samba 4.4.5 exists with segmention fault on FreeBSD 10.3 during domain provision
...(11,F_SETLKW,0x7fffffffcda8) = 0 (0x0) fcntl(11,F_SETLKW,0x7fffffffce18) = 0 (0x0) SIGNAL 11 (SIGSEGV) process killed, signal = 11 (core dumped) Loading the core dump in GDB (command 'where') gives me: #0 0x0000000806e5ba6e in ndr_pull_uint8 (ndr=0x833ce82e0, ndr_flags=256, v=0x7fffffffcc5f "") at ../librpc/ndr/ndr_basic.c:82 #1 0x0000000806e5f133 in ndr_pull_enum_uint8 (ndr=0x833ce82e0, ndr_flags=256, v=0x7fffffffcc5f "") at ../librpc/ndr/ndr_basic.c:346 #2 0x000000080708bf95 in ndr_pull_security_descriptor_revision ( ndr=0x...
2016 Jul 21
0
Samba 4.4.5 exists with segmention fault on FreeBSD 10.3 during domain provision
...= 0 (0x0) > fcntl(11,F_SETLKW,0x7fffffffce18) = 0 (0x0) > SIGNAL 11 (SIGSEGV) > process killed, signal = 11 (core dumped) > > Loading the core dump in GDB (command 'where') gives me: > #0 0x0000000806e5ba6e in ndr_pull_uint8 (ndr=0x833ce82e0, ndr_flags=256, > v=0x7fffffffcc5f "") at ../librpc/ndr/ndr_basic.c:82 > #1 0x0000000806e5f133 in ndr_pull_enum_uint8 (ndr=0x833ce82e0, > ndr_flags=256, > v=0x7fffffffcc5f "") at ../librpc/ndr/ndr_basic.c:346 > #2 0x000000080708bf95 in ndr_pull_security_descriptor...
2023 Nov 21
0
is it safe to encode/decode uid_t/gid_t in 4 bytes?
Hi, Samba internally uses 8 bytes to encode/decode uid_t/gid_t, e.g., _PUBLIC_ enum ndr_err_code ndr_push_uid_t(struct ndr_push *ndr, int ndr_flags, uid_t u) { NDR_PUSH_CHECK_FLAGS(ndr, ndr_flags); return ndr_push_hyper(ndr, NDR_SCALARS, (uint64_t)u); } I want to know if it is safe to use 4 bytes to reduce the size in storing security_info in tdb. I am not aware of if there is any platform on which uid_t or gid_t is 64bits, an...
2006 Jun 05
2
[PATCH] Pet peave then->than
...rce/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm =================================================================== --- source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm (revision 16046) +++ source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm (working copy) @@ -836,7 +836,7 @@ { my ($e,$l,$ndr,$var_name,$ndr_flags) = @_; - # strings are passed by value rather then reference + # strings are passed by value rather than reference if (not Parse::Pidl::Typelist::is_scalar($l->{DATA_TYPE}) or Parse::Pidl::Typelist::scalar_is_reference($l->{DATA_TYPE})) { $var_name = get_pointer_to($var_name); } @@ -...