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
Günther Deschner
b66602898a
rap: add rap_NetPrintQEnum to IDL.
...
Guenther
2010-04-28 23:23:37 +02:00
Jeremy Allison
ac09506d36
Connect set security descriptor into SMB2 code.
...
Jeremy.
2010-04-28 14:13:22 -07:00
Günther Deschner
37e9019119
s4-smbtorture: when comparing PrinterData from DsSpooler and PrinterInfo also
...
query some existing values.
Guenther
2010-04-28 17:06:17 +02:00
Günther Deschner
6cb21806e8
s4-smbtorture: add a test that adds a printer incl. devicemode.
...
Guenther
2010-04-28 17:06:17 +02:00
Stefan Metzmacher
d5cc067367
s3:smbd: make fsp->fake_file_handle a talloc child of fsp
...
metze
2010-04-28 15:46:58 +02:00
Stefan Metzmacher
4783f84264
s3:smbd: add comment about returning STATUS_BUFFER_OVERFLOW in pipe_read_andx_done()
...
metze
2010-04-28 15:46:23 +02:00
Stefan Metzmacher
ae1c040b51
s4:smb_server/smb: SMBreadX can return STATUS_BUFFER_OVERFLOW
...
metze
2010-04-28 15:46:01 +02:00
Stefan Metzmacher
21ec116bbf
libcli/named_pipe_auth: we need to hide length of the message mode header from the caller
...
metze
2010-04-28 15:45:38 +02:00
Stefan Metzmacher
6129aa0cf5
s4:web_server: use tsocket_address functions to get the local ip and port
...
metze
(cherry picked from commit 9a1a00199c2603376eacfdba7e7d0d55bc64f405)
2010-04-28 15:45:02 +02:00
Günther Deschner
a53b09141c
s4-smbtorture: start on a test to verify how SetPrinter changes DsSpooler Printer Data.
...
Guenther
2010-04-28 15:11:41 +02:00
Kamen Mazdrashki
eed665d653
s4/net_drs: Fix Connection name printed
2010-04-28 12:11:03 +03:00
Kamen Mazdrashki
bf49ac99c9
s4/dsdb: dsdb_validate_invocation_id() should validate by objectGUID
...
This function is used in DRSUpdateRefs() implementation where we
get DSA's objectGUID rather than invocationId
2010-04-28 12:11:03 +03:00
Volker Lendecke
5197d76faa
s3: Make a debug msg more readable
2010-04-28 10:55:50 +02:00
Jeremy Allison
c9a3661c4b
Fix the "allow_smb2" bug being set to false that was driving me mad :-).
...
The first packet from a rebooted Win7 on an SMB2 connection is an SMB1
negprot...
Jeremy.
2010-04-27 22:15:17 -07:00
Andrew Bartlett
3c585e9a80
s4:provisionbackend Don't loop forever waiting for OpenLDAP
...
We need to give a good error when we can't get OpenLDAP to accept our
connections.
Andrew Bartlett
2010-04-28 10:39:57 +10:00
Jeremy Allison
4d1f0436bd
Don't return a potentially uninitialized NT_STATUS. We can now see user lists in Windows ACLs.
...
Jeremy.
2010-04-27 17:09:40 -07:00
Jeremy Allison
33256e41e1
Add debug statements so I can track the flow of RPC data.
...
Jeremy.
2010-04-27 17:07:44 -07:00
Günther Deschner
f56d9006d5
s3-lanman: use spoolss for api_WPrintDestGetInfo() and api_WPrintDestEnum().
...
With this, I think, all implemented RAP printing calls are routed over SPOOLSS.
Torture tests to follow...
Guenther
2010-04-28 01:27:40 +02:00