summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-19misc.idl: Add reference to the slightly odd representation of if_versionAndrew Bartlett1-0/+3
I found this confusing, so explian for the next poor programmer who has to get up to speed with this quickly. Andrew Bartlett
2010-02-19s4:rpc_server Record the remote connections association group IDAndrew Bartlett2-6/+39
By recording the association group the remote server assigned to our proxied RPC connection, we can ensure we use the same value when the client wishes to use it. This isn't stored in a private pointer, as mapiproxy will want to use this feature too. Andrew Bartlett
2010-02-19s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett2-5/+26
Now we give the user a clue as to what may be wrong, and the file path that we could not find the domain SID in. Andrew Bartlett
2010-02-18More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.Jeremy Allison1-16/+31
Alignment space calculations are tricky :-). Jeremy.
2010-02-19s3-spoolss: add support for _spoolss_SetPrinter level 8.Günther Deschner1-1/+65
Guenther
2010-02-19nss_wrapper: fix segfault in print_group() in the testsuiteMichael Adam1-1/+1
Running 'TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test' from s3 made smbtorture4 crash on my box. Michael
2010-02-18More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.Jeremy Allison1-14/+16
Ensure we calculate the space correctly (including the ss_padding_len) when constructing reply packets. Jeremy.
2010-02-18s4-smbtorture: add LOCAL-NSS-WRAPPER-DUPLICATES test.Günther Deschner1-1/+92
Guenther
2010-02-18s4-smbtorture: be more verbose in LOCAL-NSS-WRAPPER.Günther Deschner1-4/+4
Guenther
2010-02-18s3: optimize strict allocate for XFS on IRIXBjörn Jacke1-0/+25
2010-02-18testprogs: add tests for GetJob() to spoolss test.Günther Deschner1-0/+106
Guenther
2010-02-18Fix bug #7155 - valgrind Conditional jump or move depends on uninitialised ↵Jeremy Allison1-0/+1
value(s) error when "mangling method = hash" The charset array allocated in init_chartest() is allocated by MALLOC, but only some elements of it being set after allocation. Fix is to memset to zero after allocation. Jeremy.
2010-02-18Fix bug #7154 - mangling method = hash can crash storing a name not ↵Jeremy Allison1-3/+5
containing a '.' Fix use of uninitialized variable. This can lead to crashes if mangling = hash processes names with no '.'. Jeremy.
2010-02-18testprogs: add RPC_S_PROCNUM_OUT_OF_RANGE error.Günther Deschner1-0/+2
Guenther
2010-02-18spoolss: use ndr_push_spoolss_PrinterInfo2 hand-marshalled version (moves ↵Günther Deschner4-239/+239
devmode relative pointer down to sd). Guenther
2010-02-18spoolss: add spoolss_security_descriptor.Günther Deschner5-52/+115
Guenther
2010-02-18s3: re-run make samba3-idl.Günther Deschner5-1263/+1627
Guenther
2010-02-18security: make two bitmaps public.Günther Deschner1-2/+2
Guenther
2010-02-18spoolss: make two bitmaps public.Günther Deschner1-2/+2
Guenther
2010-02-18spoolss: make all security descriptors and devicemodes 4 byte aligned and ↵Stefan Metzmacher1-8/+8
add missing subcontexts. Guenther
2010-02-18spoolss: set NDR_RELATIVE_REVERSE flag for various unions that have relative ↵Günther Deschner1-10/+10
pointers. Guenther
2010-02-18ndr_spoolss_buf: use LIBNDR_FLAG_NO_NDR_SIZE in NDR_SPOOLSS_SIZE_*Stefan Metzmacher1-2/+2
metze
2010-02-18spoolss: use subcontext in NDR_SPOOLSS_PUSH_ENUM_OUT macro.Stefan Metzmacher1-1/+4
metze
2010-02-18libndr: fix ndr_size_* calculation with relative reverse buffersStefan Metzmacher1-0/+6
metze
2010-02-18libndr: for now align reverse relative pointers to 2 bytes by default.Stefan Metzmacher1-0/+3
This is just a hack and we should let the callers use FLAG_ALIGN2 explicit in future. metze
2010-02-18libndr: implement LIBNDR_RELATIVE_REVERSE handlingStefan Metzmacher2-3/+87
This is based on Guenther's initial code. metze
2010-02-18libndr: store a subcontext buffer size in ndr_push_subcontext_start.Günther Deschner2-0/+2
Guenther
2010-02-18libndr: give an error when ndr_push_relative_ptr2_start()/_end() is used ↵Stefan Metzmacher1-1/+6
with the RELATIVE_REVERSE flag metze
2010-02-18libndr: add LIBNDR_FLAG_NO_RELATIVE_REVERSE so that relative reverse processingGünther Deschner3-0/+7
can be disabled for single structure elements. Guenther
2010-02-18libndr: add LIBNDR_FLAG_RELATIVE_REVERSE flag.Günther Deschner2-0/+4
Guenther
2010-02-18libndr: change subcontext buffer allocation to allocate on subcontext_start.Günther Deschner1-3/+7
Guenther
2010-02-18librpc/ndr: make ndr_push_relative_ptr2() staticStefan Metzmacher2-2/+1
metze
2010-02-18librpc/ndr_krb5pac: use ndr_push_relative_ptr2_start()/_end()Stefan Metzmacher1-1/+2
metze
2010-02-18librpc/ndr_drsblobs: use ndr_push_relative_ptr2_start()/_end()Stefan Metzmacher1-2/+4
metze
2010-02-18spoolss: fix relative pointers in ndr_push_spoolss_DriverInfo101.Günther Deschner1-10/+20
Guenther
2010-02-18s3: re-run make full_idl.Günther Deschner6-172/+344
Guenther
2010-02-18pidl: use ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.Günther Deschner1-1/+5
Guenther
2010-02-18libndr: add ndr_push_relative_ptr2_start and ndr_push_relative_ptr2_end.Günther Deschner2-0/+26
Guenther
2010-02-18s3-docs: Remove trailing whitespaces and fix a typo.Karolin Seeger1-3/+3
Karolin
2010-02-18s3:docs: add some advice for usage of strict allocateBjörn Jacke1-6/+18
2010-02-18s3-spoolss: Fix _spoolss_EnumPrinters servername handling.Günther Deschner1-1/+1
Guenther
2010-02-18s3-selftest: fix return code for modprinter.pl -a.Günther Deschner1-1/+2
Background is: the SetPrinter level 2 calls "addprinter command" an fails if a share already existed (and the addprinter command returned a non-0 return code). Removing the non-0 return code is fine, as in AddPrinter{Ex}, we have checks to see if a share already exists before calling out the addprinter command. Maybe one day, we need to have a "changeprinter command"... Guenther
2010-02-18tsocket/bsd: fix comment in tdgram_bsd_recvfrom_handler()Stefan Metzmacher1-2/+4
metze
2010-02-17Revert "Got back to 16-byte padding on auth RPC. S3 clients and servers now ↵Jeremy Allison1-6/+4
cope with this. Jeremy" This reverts commit 38c50c7027d2a2a9a3df060b74b2a2efce4d9e6f. As tridge requested, we need this to work with older S3 servers, not just for smbtorture4. Jeremy.
2010-02-18s3-selftest: finally enable RPC-SPOOLSS-PRINTER against Samba 3.Günther Deschner1-1/+2
Guenther
2010-02-18s3-selftest: include addprinter/deleteprinter command.Günther Deschner3-0/+136
Guenther
2010-02-18s3-spoolss: fix return code of spoolss_DeletePrinter.Günther Deschner1-1/+1
When the printer has been removed by the "deleteprinter command", we need to check if it is still there and then fail, not fail if we successfully removed it (found by RPC-SPOOLSS-PRINTER). Guenther
2010-02-18s3-spoolss: in spoolss_EnumPrinters r->in.server is a *unique* pointer!Günther Deschner1-3/+5
Guenther
2010-02-18s3-spoolss: more AddPrinter{Ex} checks.Günther Deschner1-0/+18
Windows will allow to add a non-shared printer that is returned by EnumPrinters. Samba has no notion of non-shared local printers yet, so just make sure to behave like we do elsewhere: a printer autoloaded by samba or added to samba is shared. Guenther
2010-02-18s3-spoolss: add some printer info validation for AddPrinter calls.Günther Deschner1-0/+22
Guenther