1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

51404 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
da12481df6 selftest/Samba4: split provision() into provision_raw_prepare() and provision_raw_run()
This functions will be reused soon for a Samba34.pm used by
a 'make selftest34'

metze
2009-02-10 18:06:49 +01:00
Stefan Metzmacher
f0e75ff363 selftest: s/SMBD/SAMBA/ in Samba.pm
metze
2009-02-10 11:47:24 +01:00
Stefan Metzmacher
76a2d068f5 selftest: allow "skip" as max runtime for smbd, nmbd and winbindd
metze
2009-02-10 11:47:02 +01:00
Stefan Metzmacher
bb88b03846 selftest: Samba3 protect against removing /*
metze
2009-02-10 11:47:01 +01:00
Stefan Metzmacher
3c1feb82c8 selftest: add target::Template
metze
2009-02-10 11:47:01 +01:00