Günther Deschner
ed239fc784
s3-build: link ndr_named_pipe_auth only where needed.
...
Guenther
2010-09-10 11:24:28 +02:00
Günther Deschner
f8b10a738c
s3-waf: link ndr_named_pipe_auth only where needed.
...
Guenther
2010-09-10 11:23:59 +02:00
Günther Deschner
26ea51c7ab
s3-spoolss: allow a short printername w/o servername.
...
Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test.
Guenther
2010-09-10 00:31:27 +02:00
Jeremy Allison
718fd39f10
Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder <andreas.moroder@gmx.net>".
...
Jeremy.
2010-09-09 15:29:03 -07:00
Jeremy Allison
e6b85c2a7b
More paranoia to ensure SD's can't be set on read-only shares.
...
Jeremy.
2010-09-09 15:28:43 -07:00
Günther Deschner
9962462278
s3-selftest: rename printer "print4" to "lp".
...
This should trigger a false error condition in our code.
Guenther
2010-09-10 00:26:26 +02:00
Günther Deschner
cf76cf0299
s4-smbtorture: add spoolss_OpenPrinter with unc and printername in RPC-SPOOLSS-PRINTSERVER.
...
Guenther
2010-09-10 00:26:25 +02:00
Volker Lendecke
7277c9e5ad
s3: Fix messsssages
2010-09-09 14:59:07 -07:00
Volker Lendecke
789a162989
s3: Ensure NULL termination for "workstation" in auth_crap
2010-09-09 14:26:28 -07:00
Günther Deschner
9f4c1a2a7b
s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.
...
Guenther
2010-09-09 23:14:08 +02:00
Volker Lendecke
18962ea385
s3: These assignments are overwritten immediately
...
Dump them
2010-09-09 14:08:23 -07:00
Günther Deschner
71b95703f9
s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.
...
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
36d7efa75a
s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.
...
Couldn't find any reproducer for a short request, so removing it for now.
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
bfda968e07
s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.
...
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
f002b7fa1b
s3-nmbd: handle source_name in one location in nmbd_process_logon().
...
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
5fc7d14b06
s3-nmbd: use nbt_netlogon_packet in process_logon_packet().
...
Guenther
2010-09-09 23:07:11 +02:00
Günther Deschner
fe30e35967
libcli/netlogon: add LOGON_REQUEST handling to pull_nbt_netlogon_response().
...
Guenther
2010-09-09 23:07:10 +02:00
Günther Deschner
9a1dbe04a8
libcli/netlogon: add LOGON_RESPONSE2 to pull_nbt_netlogon_response().
...
Guenther
2010-09-09 23:07:10 +02:00
Günther Deschner
daa948df2b
libcli/netlogon: add NETLOGON_RESPONSE2 to push_nbt_netlogon_response().
...
Guenther
2010-09-09 23:07:10 +02:00
Matthias Dieter Wallnöfer
c82bcef16d
s4:client/cifsdd.c - restore Solaris cc compatibility
...
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09 21:29:21 +02:00
Matthias Dieter Wallnöfer
ad25264dd7
s4:torture/rpc/winreg.c - restore Solaris cc compatibility
...
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09 21:26:43 +02:00
Matthias Dieter Wallnöfer
59559bd02f
s4:libcli/security/*.c - fix some wrong typed counters
...
According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
2010-09-09 20:35:43 +02:00
Kamen Mazdrashki
4f5dd3f93b
s4-dreplsrv: Do allocations on long-living context so that callback gets called
2010-09-09 18:26:51 +03:00
Kamen Mazdrashki
118df599ce
s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefs
...
At first I got the impression we are not handling those cases,
but after those tests surprisingly passed I saw that
we have correct behavior implemented in a helper function.
So I decided to commit those tests in case someone change the
strange-looking check for DRSUAPI_DRS_ADD_REF flag in
a function that handles delete operation :)
2010-09-09 18:26:51 +03:00
Kamen Mazdrashki
3593298c7e
s4-dreplsrv: Call dreplsrv_out_operation::callback in case we fail to even run the operation
...
Operation was scheduled already, so we need to call
the callback function for it to be able to do its job.
For instance, if we are blocking an rpc call until an
operation is completed and there is no memory, then
client will be blocked without knowing what is going on
with the server.
2010-09-09 18:26:51 +03:00
Kamen Mazdrashki
7ee34182df
s4-dsdb/repl/drepl_out_pull.c: Remove unused code
2010-09-09 18:26:50 +03:00
Kamen Mazdrashki
ef56945d0e
s4-drepl_service.c: Update (C)
...
and remove few trailing white spaces
2010-09-09 18:26:50 +03:00
Kamen Mazdrashki
3fa3bc7eba
s4-drepsrv: Dump more info when drepl_replica_sync() fails
...
There are many spots where this function may fail
and I find it very useful to know where exactly function
fails and what are the input parameters during testing.
REPLICA_SYNC_FAIL() macro now dumps an error message
so we may remove extra DEBUG() dump in implementation.
2010-09-09 18:26:50 +03:00
Andreas Schneider
81e97c09c3
s3-printing: Make missing auth_serversupplied_info const.
2010-09-09 16:39:33 +02:00
Andreas Schneider
59c14282eb
s3-spoolss: Use systerm server_info for winreg connection.
...
This will ensure that we have the rights we need to access the regsitry.
2010-09-09 16:00:08 +02:00
Andreas Schneider
1c42bc3ad4
s3-spoolss: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
bbf2cd50b0
s3-printing: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
021539570b
s3-msdfs: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
0d9fa9e96f
s3-rpcint: Make auth_serversupplied_info const.
2010-09-09 16:00:08 +02:00
Andreas Schneider
669213e812
s3-auth: Added get_server_info_system function.
2010-09-09 16:00:07 +02:00
Andreas Schneider
cd2b9db04b
s3-spoolss: Fixed some build warnings.
2010-09-09 16:00:07 +02:00
Andrew Tridgell
3d420ea2bb
s4-rodc: cope with missing searchFlags
...
this can be missing after the schema tests
2010-09-09 21:39:25 +10:00
Andrew Bartlett
b2ea0ca3d6
s4-dsdb Change debug levels for startup messages
...
We should make the 'common' error not show up, but the unusal case fatal.
Andrew Bartlett
2010-09-09 21:39:25 +10:00
Andrew Bartlett
22d5a96550
s4-setup Make krb5.conf use DNS by default
...
We set up our DNS pretty well these days, and I think the previous setting
was only there because Andrew Kroeger copied this out of our selftest code
in bf3f3af926
.
Andrew Bartlett
2010-09-09 21:39:24 +10:00
Andrew Tridgell
977db514b3
s4-test: added a RODC test using rpcecho
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Andrew Tridgell
6bfe8b74aa
s4-test: added a RODC to our testing
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Andrew Tridgell
b9c0b59034
s4-rodc: get the domain name from the partitions DN
...
don't rely on the netbios domain name being the first part of the
realm
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Andrew Tridgell
c95c3863df
pyldb: expose PyLdbDn_FromDn()
...
This is needed by the dsdb python interface
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Andrew Tridgell
c44bdbc01d
s4-provision: fixed error format string
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Andrew Tridgell
54e86d881d
s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in python
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09 21:39:24 +10:00
Andrew Tridgell
650dcda2a2
s4-rodc: s->schema need initialisation
...
this fixes a segfault in net rodc preload
2010-09-09 21:39:24 +10:00
Günther Deschner
a4d23ed66f
lib/util: remove some unused_result warnings.
...
Guenther
2010-09-09 11:11:04 +02:00
Günther Deschner
f1aa9ebb08
s3-utils: remove unused variable in smbget.
...
Guenther
2010-09-09 11:11:04 +02:00
Volker Lendecke
eedf476c24
s3: Remove "mem_ctx" from a few functions
2010-09-09 06:19:25 +02:00
Volker Lendecke
eaf778593f
s3: Remove "mem_ctx" from wcache_save_creds()
2010-09-09 06:19:24 +02:00