1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

51386 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
b5e2e72511 merged-build: pass PYTHON and PERL down to make test4
metze
2009-02-10 11:47:00 +01:00
Stefan Metzmacher
4248a8bf99 selftest: add my copyright
metze
2009-02-10 11:47:00 +01:00
Günther Deschner
cab2de7bb0 s3-spoolss: remove old spoolss_OpenPrinter.
Guenther
2009-02-10 11:27:04 +01:00
Günther Deschner
96f05fcd1c s3-spoolss: use pidl for _spoolss_OpenPrinter.
Guenther
2009-02-10 11:26:58 +01:00
Günther Deschner
3d4221a9cb s3-spoolss: remove old spoolss_OpenPrinterEx.
Guenther
2009-02-10 11:26:52 +01:00
Günther Deschner
b4bda6da5a s3-spoolss: use pidl for _spoolss_OpenPrinterEx.
Guenther
2009-02-10 11:26:45 +01:00
Günther Deschner
0fc13e7e2c s3-spoolss: remove old spoolss_SetJob.
Guenther
2009-02-10 11:26:39 +01:00
Günther Deschner
e4b5e67566 s3-spoolss: use pidl for _spoolss_SetJob.
Guenther
2009-02-10 11:26:33 +01:00
Günther Deschner
2ede56f3c0 s3-spoolss: remove old spoolss_StartDocPrinter.
Guenther
2009-02-10 11:26:26 +01:00
Günther Deschner
0a34c140cc s3-spoolss: use pidl for _spoolss_StartDocPrinter.
Guenther
2009-02-10 11:26:19 +01:00
Günther Deschner
46200a7cd4 s3-spoolss: add temporary convert_devicemode_new function.
Guenther
2009-02-10 11:24:47 +01:00
Günther Deschner
ee469585eb s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL.
Guenther
2009-02-10 11:09:51 +01:00
Günther Deschner
9d05e91ec0 s3-rpcclient: use rpccli_spoolss_openprinter_ex helper.
Guenther
2009-02-10 11:05:02 +01:00
Günther Deschner
b19b6aea12 s3-rpcclient: add rpccli_spoolss_openprinter_ex() convenience wrapper.
Guenther
2009-02-10 11:04:53 +01:00
Günther Deschner
25fc58afcd s3-spoolss: fix memleak in get_remote_printer_publishing_data().
Guenther
2009-02-10 10:54:15 +01:00
Steven Danneman
11f60a62a1 s3: OneFS bulk directory enumeration support
OneFS provides the bulk directory enumeration syscall readdirplus().  This
syscall has the same semantics as the NFSv3 READDIRPLUS command, returning
a batch of directory entries with prefetched stat information via one
syscall.

This commit wraps the readdirplus() call in the existing POSIX
readdir/seekdir VFS interface.  By default a batch of 128 directory entries
are optimistically read from the kernel into a global cache, and fed to
iterative calls of VFS_OP_READDIR.

The global buffers could be avoided in the future by hanging connection
specific buffers off the conn struct.

Added new parameter "onefs:use readdirplus" which toggles usage of this
code on or off.
2009-02-09 23:56:17 -08:00
Steven Danneman
6272f4c2f4 s3: Added SMB_VFS_INIT_SEARCH_OP to initialize data at the beginning of SMB search requests.
By default this VFS call is a NOOP, but the onefs vfs module takes advantage
of it to initialize direntry search caches at the beginning of each
TRANS2_FIND_FIRST, TRANS2_FIND_NEXT, SMBffirst, SMBsearch, and SMBunique
2009-02-09 23:56:17 -08:00
Steven Danneman
25d345eb39 Pass stat buffer down through all levels of VFS_READDIR wrappers
* VFS_OP_READDIR can now provide stat information, take advantage of it
  if it's available
* is_visible_file(): optimistically expect the provided stat buffer is
  already valid
* dptr_ReadDirName(): refactor code for easier readability, functionality
  is the same
2009-02-09 23:56:16 -08:00