1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

62417 Commits

Author SHA1 Message Date
Günther Deschner
131c51db38 s3: re-run make samba3-idl.
Guenther
2010-04-30 01:25:21 +02:00
Günther Deschner
696e554e80 rap: fix jobinfo IDL.
Guenther
2010-04-30 01:25:15 +02:00
Günther Deschner
9d9fc4cfe7 s4-smbtorture: fix parsing of rap_pull_rap_PrintQueue1 and rap_pull_rap_PrintQueue2.
Guenther
2010-04-30 01:25:08 +02:00
Günther Deschner
1cb7b8ded6 s3: re-run make samba3-idl.
Guenther
2010-04-30 01:25:01 +02:00
Günther Deschner
4fc3aefc51 rap: fix some rap_PrintQueue IDL structures.
Guenther
2010-04-30 01:24:53 +02:00
Günther Deschner
37901bb96a s4-smbtorture: add test_netprintjob() to RAP-PRINTING.
Guenther
2010-04-30 01:24:45 +02:00
Jeremy Allison
1f69a7a80e Attempt to fix bug #7399 - SMB2: QUERY_DIRECTORY is returning invalid values.
Based on an initial patch from Ira Cooper <samba@ira.wakeful.net>.

Jeremy.
2010-04-29 13:40:25 -07:00
Volker Lendecke
ca860e4279 s3: range-check idmap script output
Not doing so results in the id mapping succeeding once unchecked and later on
being refused, because when reading from the tdb we do the checks.
2010-04-29 14:33:08 +02:00
Volker Lendecke
fcdba1b36f s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id()
When we find an invalid record in the database, there's no point in checking
the non-existing value against the range limits.
2010-04-29 14:33:08 +02:00
Volker Lendecke
81e75bacd3 s3: Fix some nonempty blank lines 2010-04-29 14:33:07 +02:00
Günther Deschner
99518bc1ea s4-smbtorture: add smbcli_rap_netprintjob{pause,continue,delete}.
Guenther
2010-04-29 14:24:06 +02:00
Günther Deschner
d266af79b3 rap: add IDL for NetPrintJob{Pause,Continue,Delete}.
Guenther
2010-04-29 14:24:02 +02:00
Günther Deschner
9a313bbac0 s3-lanman: fix api_DosPrintQGetInfo().
Found by torture test.

Guenther
2010-04-29 13:47:33 +02:00
Günther Deschner
5e8db42d50 s4-smbtorture: add test_netprintqgetinfo to RAP-PRINTING.
Guenther
2010-04-29 13:47:33 +02:00
Günther Deschner
0df8c9ffde s4-smbtorture: add smbcli_rap_netprintqgetinfo().
Guenther
2010-04-29 13:47:33 +02:00
Günther Deschner
169b72dce4 rap: add rap_NetPrintQGetInfo to IDL.
Guenther
2010-04-29 13:47:33 +02:00
Günther Deschner
2a9e8e348a s4-smbtorture: rework smbcli_rap_netprintqenum a bit.
Guenther
2010-04-29 13:47:33 +02:00
Stefan Metzmacher
1765732f82 s4: remove unused references to swat
metze
2010-04-29 12:36:47 +02:00
Stefan Metzmacher
8e792d7b9b s4:dynconfig: fix fhs variables and list them all explicit
This adds 'samba' subdirs to smb.conf and setup.

metze
2010-04-29 12:36:46 +02:00
Stefan Metzmacher
48fb78eba6 s4:dynconfig: reorder non fhs variables
metze
2010-04-29 12:36:46 +02:00
Günther Deschner
ce9fde439b rap: fill in rap_PrintQueue2 IDL.
Guenther
2010-04-29 12:05:42 +02:00
Günther Deschner
2b1dae3662 s4-smbtorture: implement and test level 3 and 5 of PrintQEnum RAP.
Guenther
2010-04-29 12:05:42 +02:00
Günther Deschner
1467b0e6f6 s4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).
Guenther
2010-04-29 12:05:42 +02:00
Günther Deschner
f5ac746091 s3-pdb_ldap: fix memleak.
Guenther
2010-04-29 12:05:42 +02:00
Günther Deschner
7e678ef0cf s3-lanman: fix api_DosPrintQEnum.
Found by torture test.

Guenther
2010-04-29 12:05:42 +02:00
Günther Deschner
f85a4ab778 s4-rap: add rap print helpers.
Guenther
2010-04-29 12:05:41 +02:00
Andrew Bartlett
084c8065f8 s4:libnet Make 'net vampire' more robust to command line arguments
When we have just joined a domain, we know a bit about that domain.
Use these to override previous guesses as to what domain and realm to
use for the rest of the join.

Andrew Bartlett
2010-04-29 19:44:16 +10:00
Andrew Bartlett
716ae7b4c8 s4:howto Improve OpenLDAP backend instructions 2010-04-29 19:44:16 +10:00
Anatoliy Atanasov
dbbbc7d1f8 s4/rodc: RODC FAS initial implementation 2010-04-29 10:18:06 +03:00
Kamen Mazdrashki
5a4ee75289 s4/tort: Add simple unit test for dsdb_schema_info object creation 2010-04-29 04:54:08 +03:00
Kamen Mazdrashki
59830d0a6e s4/dsdb: schemaInfo revision may be 0
In case schemaInfo value is still not set, WinAD supplies
schemaInfo blob with revision = 0 and GUID_ZERO
2010-04-29 04:54:07 +03:00
Kamen Mazdrashki
a8438015ca s4/dsdb: remove unused dsdb_schema_info_create() function 2010-04-29 04:54:07 +03:00
Kamen Mazdrashki
2264d917ae s4/dsdb: Update Schema cache with updated schemaInfo value
Error checking is simplified and my leave leeks.
I did it this way to make code more readable, and if we
get error in those lines, it will be WERR_NOMEM in which
case we are in a much deeper troubles than delayed freeing
of few bytes.
2010-04-29 04:54:07 +03:00
Kamen Mazdrashki
e41eac96af s4/samldb: Create initial schemaInfo value if it doesn't exists yet 2010-04-29 04:54:06 +03:00
Kamen Mazdrashki
546a727bd3 s4/dsdb: Use default schemaInfo value when no such value is given
Having no value for schemaInfo is totally OK as it turns out.
In such cases, we should use a default value with
all fields set to 0.
2010-04-29 04:54:06 +03:00
Kamen Mazdrashki
da127d44e3 s4/test: schemaInfo may not to be set yet
On newly provisioned Forest schemaInfo is not initially set.
It should be created after firs Schema modification
2010-04-29 04:54:05 +03:00
Kamen Mazdrashki
5bf12e101a Revert "s4/dsdb: Set schemaInfo attribute value during provisioning"
This reverts commit 8149094eddebd9a0e8b7c123c2ed54d00164bb26.

Windows implementation does not set schemaInfo attribute value
until first Schema update request.
This way, newly provisioned forest returns no schemaInfo value.

I think it won't be bad for us to have this value preset, but
I want to mimic Win AD behavior as close as possible.
2010-04-29 04:54:05 +03:00
Andrew Tridgell
2bf23735fa idl: we only need ndr_rap.[ch] and rap.h 2010-04-29 09:22:21 +10:00
Andrew Tridgell
66e47f393c s4-idl: added generated files from rap.idl 2010-04-29 08:27:58 +10:00
Andrew Tridgell
4a87ca2028 s4-waf: added --enable-build-farm configure option
this adds a smbtorture.static binary which s3 will use in the build
farm
2010-04-29 08:01:48 +10:00
Andrew Tridgell
08c3ce25c6 build: added enabled=True/False option to SAMBA_BINARY() 2010-04-29 08:01:48 +10:00
Jeremy Allison
4e7195be36 Update (C) for 2010.
Jeremy.
2010-04-28 14:56:12 -07:00
Günther Deschner
db3a1b9d51 s4-selftest: skip RAP-PRINTING tests.
Guenther
2010-04-28 23:23:38 +02:00
Günther Deschner
8878be3c45 s3-selftest: enable RAP-PRINTING against s3.
Guenther
2010-04-28 23:23:38 +02:00
Günther Deschner
d53544800f s3-lanman: support level 0 NetPrintQEnum RAP query.
Guenther
2010-04-28 23:23:38 +02:00
Günther Deschner
2c5b3fc40b s4-smbtorture: link in ../../librpc/gen_ndr/ndr_rap.o.
Guenther
2010-04-28 23:23:38 +02:00
Günther Deschner
bdfb9a43d3 s4-smbtorture: add test for rap_NetPrintQEnum.
Guenther
2010-04-28 23:23:38 +02:00
Günther Deschner
03d83128dd s4-smbtorture: add RAP-PRINTING suite.
Guenther
2010-04-28 23:23:37 +02:00
Günther Deschner
1764bcecf2 s4-smbtorture: add smbcli_rap_netprintqenum.
Guenther
2010-04-28 23:23:37 +02:00
Günther Deschner
42003e5661 s3: re-run make samba3-idl
Guenther
2010-04-28 23:23:37 +02:00