1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

51559 Commits

Author SHA1 Message Date
Zack Kirsch
4e1a4cbe1f s4 torture: Smbtorture additions for Windows BRL
- Adds a few new BRL tests to RAW-LOCK
- Adds a "win7" target to allow torture to handle protocol changes in
  windows 7
2009-02-11 12:23:52 -08:00
Zack Kirsch
307f4a66ac s4 torture: Two minor fixes to smbtorture BRL tests. 2009-02-11 12:23:32 -08:00
Björn Jacke
dc9387ec42 enable IPv6 support for NetBSD, FreeBSD
most systems include netinet/in.h via netdb.h but *BSD don't.
2009-02-11 10:19:12 -08:00
Jelmer Vernooij
be9a4157f0 Catch specific exceptions, rather than catching everything, which might hide other exceptions silently. 2009-02-11 19:04:33 +01:00
Jelmer Vernooij
9e71fef57b Use convenience function for finding setup dir in SaMDB tests. 2009-02-11 18:45:51 +01:00
Jelmer Vernooij
53b59aa2cf Use convenience function for finding setup_dir based on location of
python module.
2009-02-11 18:44:57 +01:00
Jelmer Vernooij
ddb4db7c65 Move some samdb-specific code out of provision. 2009-02-11 18:31:52 +01:00
Jelmer Vernooij
d9e94bf336 Make it possible to override the setup path. 2009-02-11 18:17:00 +01:00
Jelmer Vernooij
f13895851f Cancel transactions when exceptions are raised. 2009-02-11 17:54:58 +01:00
Jelmer Vernooij
71221fded4 --interactive doesn't take any argument. 2009-02-11 16:58:00 +01:00
Volker Lendecke
58c0b415ef Fix Coverity ID 519 (NEGATIVE_RETURNS) 2009-02-11 12:20:42 +01:00
Michael Adam
d520f85b09 s3:build: some implementations of "ln" are picky about the order of arguments
Michael
2009-02-11 11:12:26 +01:00
Günther Deschner
e798d2c395 s3: re-run make samba3-idl.
Guenther
2009-02-11 10:20:57 +01:00
Günther Deschner
4fb1ccef4b spoolss: fill in spoolss_AddPrinterDriverEx. This is metze's work from 2005 (!).
Guenther
2009-02-11 10:20:52 +01:00
Günther Deschner
7b2aae5646 spoolss: fill in spoolss_AddPrinterDriver. This is metze's work from 2005 (!).
Guenther
2009-02-11 10:19:42 +01:00
Volker Lendecke
0b6f21841e Only assign argv[1] after the argc check, thanks Tim! 2009-02-11 09:35:15 +01:00
Volker Lendecke
df42719ca3 Fix an uninitialized variable 2009-02-11 08:42:50 +01:00
Tim Prouty
abec7cfa16 s3: Remove some unused vars 2009-02-10 22:18:35 -08:00
Tim Prouty
7eb097a66d s4 torture: Change nttransrename to use a normal access mask
batch9 already tests for stat-only opens
2009-02-10 19:35:33 -08:00
Michael Adam
49b84197e0 packaging: make update-pkginfo callable from any directory
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
d68e4a1503 packaging: remove commented out stuff from update-pkginfo
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
e374bef8fc packaging: don't clutter the output of fillup-templates with popd output
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
97cbf86e79 packaging: fix fill-templates call to update-pkginfo to pushd appropriately first
Michael
2009-02-11 00:29:16 +01:00
Michael Adam
aa33bc134a packaging: fix source dir to source3 in fill-templates
Michael
2009-02-11 00:29:15 +01:00
Günther Deschner
473c558937 s3-rpcclient: use one macro for all printername formats.
Guenther
2009-02-10 23:59:24 +01:00
Günther Deschner
46bb22fe5e s3-spoolss: remove more whitespace.
Guenther
2009-02-10 23:59:12 +01:00
Günther Deschner
0f58db8158 s3-spoolss: remove devmode fields from include file.
Guenther
2009-02-10 23:58:42 +01:00
Günther Deschner
d92e1347b8 s3: re-run make samba3-idl.
Guenther
2009-02-10 23:58:33 +01:00
Günther Deschner
645e3c892d spoolss: add spoolss_DeviceModeFields bitmap.
Guenther
2009-02-10 23:58:26 +01:00
Günther Deschner
e3e03d7d83 s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
fd8e8d5e58 s3-spoolss: remove old spoolss_ReplyOpenPrinter.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
c1dbcd4cf8 s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
aee462893b s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
1c82217c01 s3: re-run make samba3-idl.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
f4c46bc2e8 spoolss: fix spoolss_ReplyOpenPrinter IDL.
Guenther
2009-02-10 23:57:30 +01:00
todd stecher
a45c5c607a S3: Add in missing full audit entries. 2009-02-10 14:43:15 -08:00
todd stecher
9d4d2f70cb S3: Fixes for coverity issues. 2009-02-10 14:43:14 -08:00
Volker Lendecke
fdd282afa3 Remove an unused extern reference 2009-02-10 21:55:13 +01:00
Volker Lendecke
e07e964729 Convert api_NetUserGetGroups to use samr instead of pdb 2009-02-10 21:55:13 +01:00
Volker Lendecke
1cbc58d3be Fix some nonempty blank lines 2009-02-10 21:55:13 +01:00
Volker Lendecke
7ecaced886 Do not use strlen if not necessary... :-) 2009-02-10 21:55:13 +01:00
Volker Lendecke
e3569df15b If we receive a DOS error code, nt_errstr should display it 2009-02-10 21:55:13 +01:00
Michael Adam
ca23469a90 packaging: add script fill-templates
This is a standalone-wrapper for update-pkginfo, which is
usually called from create-tarball. It basically repeats
some functionality of create-tarball.

Michael
2009-02-10 18:59:33 +01:00
Volker Lendecke
77e3272092 Fix an uninitialized variable. Tim, please check! 2009-02-10 18:29:34 +01:00
Volker Lendecke
bbb665501a Add queueing to np_write 2009-02-10 18:29:34 +01:00
Volker Lendecke
f6e9f1e7ea Add queueing to np_read_state, simulate message-type named pipes.
The problem with msg-type pipes is that we have to return short reads when a
message ends before the read request. When reading from the unix domain socket,
the message limits are lost. So we would happily return more than a message,
which confuses for example the s4 rpc client horribly. I'd expect other np rpc
clients also to blow up over this.

The real solution is to properly implement a two-byte length field per message
on the unix domain socket, but this requires more changes there. And as we
right now only serve DCE/RPC over the named pipes, this implements a hack that
looks into the fragment headers to figure out hdr.frag_len.
2009-02-10 18:29:34 +01:00
Volker Lendecke
47cb572d40 Add read_pkt_send/recv 2009-02-10 18:29:34 +01:00
Stefan Metzmacher
c3baf1529d selftest/Samba4: pass down the kdc address down to provision_raw_*()
metze
2009-02-10 18:07:13 +01:00
Stefan Metzmacher
0d9531e2d3 selftest/Samba4: split out ldap specific stuff from provision_raw_*()
metze
2009-02-10 18:07:12 +01:00
Stefan Metzmacher
cfb9cbdf68 selftest/Samba4: split out share configurations of provision_raw*()
metze
2009-02-10 18:07:12 +01:00