kai/samba-autobuild/.git
15 years agoPush sam_get_server_info_principal into the auth subsystem
Andrew Bartlett [Fri, 13 Feb 2009 03:02:49 +0000 (14:02 +1100)]
Push sam_get_server_info_principal into the auth subsystem

This means it must be accessed via the supplied auth_context in the
GENSEC server, and should remove the hard depenceny of GENSEC on the
auth subsystem and ldb (allowing LDB not to rely on LDB is considered
a good thing, apparently)

Andrew Bartlett

15 years agoRemove auth/ntlm as a dependency of GENSEC by means of function pointers.
Andrew Bartlett [Thu, 12 Feb 2009 23:24:16 +0000 (10:24 +1100)]
Remove auth/ntlm as a dependency of GENSEC by means of function pointers.

When starting GENSEC on the server, the auth subsystem context must be
passed in, which now includes function pointers to the key elements.

This should (when the other dependencies are fixed up) allow GENSEC to
exist as a client or server library without bundling in too much of
our server code.

Andrew Bartlett

15 years agoFix Coverity ID 871 -- do not dereference "sp" before checking for NULL
Volker Lendecke [Thu, 12 Feb 2009 22:19:45 +0000 (23:19 +0100)]
Fix Coverity ID 871 -- do not dereference "sp" before checking for NULL

15 years agoFix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines above
Volker Lendecke [Thu, 12 Feb 2009 22:16:18 +0000 (23:16 +0100)]
Fix Coverity ID 872 -- we have alread dereferenced "ac" 2 lines above

15 years agos3 onefs: rename custom parameter to plural to match previous usage
Steven Danneman [Thu, 12 Feb 2009 22:07:30 +0000 (14:07 -0800)]
s3 onefs: rename custom parameter to plural to match previous usage

15 years agoFix Coverity IDs 879 and 880 (RESOURCE_LEAK, REVERSE_INULL)
Volker Lendecke [Thu, 12 Feb 2009 21:58:24 +0000 (22:58 +0100)]
Fix Coverity IDs 879 and 880 (RESOURCE_LEAK, REVERSE_INULL)

15 years agos3: Added new parameter "map untrusted to domain"
Steven Danneman [Thu, 12 Feb 2009 21:01:45 +0000 (13:01 -0800)]
s3: Added new parameter "map untrusted to domain"

When enabled this reverts smbd to the legacy domain remapping behavior when
a user provides an untrusted domain

This partially reverts d8c54fdd

15 years agos3-spoolss: remove old spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:28:45 +0000 (22:28 +0100)]
s3-spoolss: remove old spoolss_SetPrinterDataEx.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:23:04 +0000 (22:23 +0100)]
s3-spoolss: use pidl for _spoolss_SetPrinterDataEx.

Guenther

15 years agos3-net: use rpccli_spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:28:10 +0000 (22:28 +0100)]
s3-net: use rpccli_spoolss_SetPrinterDataEx.

Guenther

15 years agos3-spoolss: remove old spoolss_GetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:07:30 +0000 (22:07 +0100)]
s3-spoolss: remove old spoolss_GetPrinterDataEx.

Guenther

15 years agos3-rpcclient: use rpccli_spoolss_GetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:06:54 +0000 (22:06 +0100)]
s3-rpcclient: use rpccli_spoolss_GetPrinterDataEx.

Guenther

15 years agos3-spoolss: use pidl for _spoolss_GetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 18:42:57 +0000 (19:42 +0100)]
s3-spoolss: use pidl for _spoolss_GetPrinterDataEx.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Thu, 12 Feb 2009 21:44:29 +0000 (22:44 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: fix IDL for spoolss_SetPrinterDataEx.
Günther Deschner [Thu, 12 Feb 2009 21:29:08 +0000 (22:29 +0100)]
spoolss: fix IDL for spoolss_SetPrinterDataEx.

Guenther

15 years agoFix "make etags" properly :-)
Volker Lendecke [Wed, 11 Feb 2009 12:45:15 +0000 (13:45 +0100)]
Fix "make etags" properly :-)

15 years agore-run make samba3-idl.
Günther Deschner [Thu, 12 Feb 2009 17:04:06 +0000 (18:04 +0100)]
re-run make samba3-idl.

Guenther

15 years agos3-spoolss: add init_systemtime helper.
Günther Deschner [Thu, 12 Feb 2009 11:10:16 +0000 (12:10 +0100)]
s3-spoolss: add init_systemtime helper.

Guenther

15 years agospoolss: always set version 2 in notify info and option structs.
Günther Deschner [Thu, 12 Feb 2009 16:45:09 +0000 (17:45 +0100)]
spoolss: always set version 2 in notify info and option structs.

Guenther

15 years agospoolss: add spoolss_NotifyTable enum.
Günther Deschner [Thu, 12 Feb 2009 16:26:17 +0000 (17:26 +0100)]
spoolss: add spoolss_NotifyTable enum.

Guenther

15 years agospoolss: fix some cases in the spoolss_NotifyData union.
Günther Deschner [Thu, 12 Feb 2009 13:00:49 +0000 (14:00 +0100)]
spoolss: fix some cases in the spoolss_NotifyData union.

Guenther

15 years agospoolss: add spoolss_DriverInfo8.
Günther Deschner [Wed, 11 Feb 2009 20:32:18 +0000 (21:32 +0100)]
spoolss: add spoolss_DriverInfo8.

Guenther

15 years agospoolss: fix spoolss_AddPrinterEx IDL.
Günther Deschner [Wed, 11 Feb 2009 23:48:29 +0000 (00:48 +0100)]
spoolss: fix spoolss_AddPrinterEx IDL.

Guenther

15 years ago[Bug 6069] Add a fstatvfs function for libsmbclient
Derrell Lipman [Thu, 12 Feb 2009 15:39:17 +0000 (10:39 -0500)]
[Bug 6069] Add a fstatvfs function for libsmbclient

- port functionality from v3_3_test to master

Derrell

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Thu, 12 Feb 2009 15:00:46 +0000 (16:00 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agoProvide a SamDB TestCase-class that can be used by OpenChange.
Jelmer Vernooij [Thu, 12 Feb 2009 15:00:11 +0000 (16:00 +0100)]
Provide a SamDB TestCase-class that can be used by OpenChange.

15 years agoUse created loadparm context, rather than the one specified on the command-line.
Jelmer Vernooij [Thu, 12 Feb 2009 14:58:11 +0000 (15:58 +0100)]
Use created loadparm context, rather than the one specified on the command-line.

15 years agoThere are systems where nanosleep is in libc *and* in librt.
Björn Jacke [Thu, 12 Feb 2009 10:14:18 +0000 (11:14 +0100)]
There are systems where nanosleep is in libc *and* in librt.

Let's just do the test in librt when the first one failed.

15 years agotidy up timestamp checks
Björn Jacke [Wed, 11 Feb 2009 20:19:01 +0000 (21:19 +0100)]
tidy up timestamp checks

AC_CHECK_MEMBERS should be a sufficient check, there's no need to do manual
compile tests. We can also assume that we have ctime and atime members when we
have the mtime member.

15 years agotoday valgrind is available on 64bit Linux, too
Björn Jacke [Thu, 12 Feb 2009 11:29:35 +0000 (12:29 +0100)]
today valgrind is available on 64bit Linux, too

15 years agos3: Change behavior when seeing an unknown domain.
Dan Sledz [Tue, 10 Feb 2009 23:50:39 +0000 (15:50 -0800)]
s3: Change behavior when seeing an unknown domain.

After a lot of testing against various Windows servers (W2K, W2K3, W2K8),
within an AD domain it seems that unknown domains will only be translated
to the local account domain, not the netbios name of the member server's
domain.  This makes samba act more like Windows.

15 years agos3: Implement wbcGetSidAliases
Dan Sledz [Tue, 10 Feb 2009 21:59:10 +0000 (13:59 -0800)]
s3: Implement wbcGetSidAliases

* Adds wbcGetSidAliases that calls the lookup_useraliases function.
* Updates wbinfo and winbind_util.c to call the new function.
* Also added winbind_get_groups helper function.

15 years agos3: Implement wbcGetpwsid
Dan Sledz [Tue, 10 Feb 2009 19:06:44 +0000 (11:06 -0800)]
s3: Implement wbcGetpwsid

* Adds the plumbing required to lookup users by sid into winbind, wbinfo
  and smbd helper lib (winbind_util.c).
* Removes some double declarations of winbind_util.c functions.
* Bumps the winbind protocol version to 21 and the minor version of
  wbclient to 3.

15 years agoFix double free caused by incorrect talloc_steal usage.
Dan Sledz [Sun, 8 Feb 2009 19:40:26 +0000 (11:40 -0800)]
Fix double free caused by incorrect talloc_steal usage.

15 years agoAdded nsswitch/ object files to make clean
Steven Danneman [Thu, 12 Feb 2009 00:06:18 +0000 (16:06 -0800)]
Added nsswitch/ object files to make clean

* also removed duplicate paths to lib directories in make clean

15 years agos3-spoolss: remove duplicate PRINTER_NOTIFY_INFO_DISCARDED define.
Günther Deschner [Wed, 11 Feb 2009 23:42:59 +0000 (00:42 +0100)]
s3-spoolss: remove duplicate PRINTER_NOTIFY_INFO_DISCARDED define.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 23:54:40 +0000 (00:54 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: fill in spoolss_RouterReplyPrinterEx.
Günther Deschner [Wed, 11 Feb 2009 21:07:26 +0000 (22:07 +0100)]
spoolss: fill in spoolss_RouterReplyPrinterEx.

Guenther

15 years agos4-smbtorture: fix the build of the ndr spoolss tester.
Günther Deschner [Wed, 11 Feb 2009 22:36:43 +0000 (23:36 +0100)]
s4-smbtorture: fix the build of the ndr spoolss tester.

Guenther

15 years agos3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.
Günther Deschner [Wed, 11 Feb 2009 14:26:00 +0000 (15:26 +0100)]
s3-spoolss: use SPOOLSS_PRINTER_CONTROL flags defined in IDL.

Guenther

15 years agos3: remove old copy of SPOOLSS_ADDPRINTERDRIVEREX flags.
Günther Deschner [Wed, 11 Feb 2009 12:08:44 +0000 (13:08 +0100)]
s3: remove old copy of SPOOLSS_ADDPRINTERDRIVEREX flags.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 12:08:11 +0000 (13:08 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: add spoolss_AddPrinterDriverExFlags.
Günther Deschner [Wed, 11 Feb 2009 12:07:45 +0000 (13:07 +0100)]
spoolss: add spoolss_AddPrinterDriverExFlags.

Guenther

15 years agos3:packaging: fix parsing of include.h in fill-templates
Michael Adam [Wed, 11 Feb 2009 21:27:48 +0000 (22:27 +0100)]
s3:packaging: fix parsing of include.h in fill-templates

The content has changed slightly in master for the merged build,
and we must be more exact when parsing the lines.

Michael

15 years agos3:packaging: fix path to calling update-pkginfo after pushd in fill-templates
Michael Adam [Wed, 11 Feb 2009 21:25:41 +0000 (22:25 +0100)]
s3:packaging: fix path to calling update-pkginfo after pushd in fill-templates

Michael

15 years agos3:packaging: paths cosmetics in fill-templates
Michael Adam [Wed, 11 Feb 2009 21:24:52 +0000 (22:24 +0100)]
s3:packaging: paths cosmetics in fill-templates

Michael

15 years agos3-spoolss: Fix uninitialised variable warning.
Günther Deschner [Wed, 11 Feb 2009 21:34:41 +0000 (22:34 +0100)]
s3-spoolss: Fix uninitialised variable warning.

Guenther

15 years agos4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
Günther Deschner [Wed, 11 Feb 2009 21:06:45 +0000 (22:06 +0100)]
s4-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.

Guenther

15 years agos3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.
Günther Deschner [Wed, 11 Feb 2009 21:05:18 +0000 (22:05 +0100)]
s3-spoolss: fix rpc_server stub names for opnum 0x42 and 0x43.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 21:12:56 +0000 (22:12 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: fix name mismatch for opnum 0x42 (66).
Günther Deschner [Wed, 11 Feb 2009 20:51:39 +0000 (21:51 +0100)]
spoolss: fix name mismatch for opnum 0x42 (66).

opnum 0x42 is spoolss_RouterReplyPrinterEx and *not*
spoolss_RouterRefreshPrinterChangeNotification.

Guenther

15 years agospoolss: fix name mismatch for opnum 0x43 (67).
Günther Deschner [Wed, 11 Feb 2009 20:42:19 +0000 (21:42 +0100)]
spoolss: fix name mismatch for opnum 0x43 (67).

opnum 0x43 is spoolss_RouterRefreshPrinterChangeNotify and *not*
spoolss_RemoteFindNextPrinterChangeNotifyEx

Guenther

15 years agos3 OneFS: Expand the usage of the ignore sacl parameter
todd stecher [Wed, 11 Feb 2009 17:52:02 +0000 (09:52 -0800)]
s3 OneFS: Expand the usage of the ignore sacl parameter

15 years agos4 torture: Smbtorture additions for Windows BRL
Zack Kirsch [Tue, 10 Feb 2009 05:58:50 +0000 (21:58 -0800)]
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

15 years agos4 torture: Two minor fixes to smbtorture BRL tests.
Zack Kirsch [Tue, 10 Feb 2009 05:59:40 +0000 (21:59 -0800)]
s4 torture: Two minor fixes to smbtorture BRL tests.

15 years agoenable IPv6 support for NetBSD, FreeBSD
Björn Jacke [Wed, 11 Feb 2009 15:34:02 +0000 (16:34 +0100)]
enable IPv6 support for NetBSD, FreeBSD

most systems include netinet/in.h via netdb.h but *BSD don't.

15 years agoCatch specific exceptions, rather than catching everything, which might hide other...
Jelmer Vernooij [Wed, 11 Feb 2009 18:04:33 +0000 (19:04 +0100)]
Catch specific exceptions, rather than catching everything, which might hide other exceptions silently.

15 years agoUse convenience function for finding setup dir in SaMDB tests.
Jelmer Vernooij [Wed, 11 Feb 2009 17:45:51 +0000 (18:45 +0100)]
Use convenience function for finding setup dir in SaMDB tests.

15 years agoUse convenience function for finding setup_dir based on location of
Jelmer Vernooij [Wed, 11 Feb 2009 17:44:57 +0000 (18:44 +0100)]
Use convenience function for finding setup_dir based on location of
python module.

15 years agoMove some samdb-specific code out of provision.
Jelmer Vernooij [Wed, 11 Feb 2009 17:31:52 +0000 (18:31 +0100)]
Move some samdb-specific code out of provision.

15 years agoMake it possible to override the setup path.
Jelmer Vernooij [Wed, 11 Feb 2009 17:17:00 +0000 (18:17 +0100)]
Make it possible to override the setup path.

15 years agoCancel transactions when exceptions are raised.
Jelmer Vernooij [Wed, 11 Feb 2009 16:54:58 +0000 (17:54 +0100)]
Cancel transactions when exceptions are raised.

15 years ago--interactive doesn't take any argument.
Jelmer Vernooij [Wed, 11 Feb 2009 15:58:00 +0000 (16:58 +0100)]
--interactive doesn't take any argument.

15 years agoFix Coverity ID 519 (NEGATIVE_RETURNS)
Volker Lendecke [Wed, 11 Feb 2009 11:00:19 +0000 (12:00 +0100)]
Fix Coverity ID 519 (NEGATIVE_RETURNS)

15 years agos3:build: some implementations of "ln" are picky about the order of arguments
Michael Adam [Wed, 11 Feb 2009 10:02:05 +0000 (11:02 +0100)]
s3:build: some implementations of "ln" are picky about  the order of arguments

Michael

15 years agos3: re-run make samba3-idl.
Günther Deschner [Wed, 11 Feb 2009 09:20:34 +0000 (10:20 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: fill in spoolss_AddPrinterDriverEx. This is metze's work from 2005 (!).
Günther Deschner [Wed, 11 Feb 2009 09:15:56 +0000 (10:15 +0100)]
spoolss: fill in spoolss_AddPrinterDriverEx. This is metze's work from 2005 (!).

Guenther

15 years agospoolss: fill in spoolss_AddPrinterDriver. This is metze's work from 2005 (!).
Günther Deschner [Wed, 11 Feb 2009 09:13:48 +0000 (10:13 +0100)]
spoolss: fill in spoolss_AddPrinterDriver. This is metze's work from 2005 (!).

Guenther

15 years agoOnly assign argv[1] after the argc check, thanks Tim!
Volker Lendecke [Wed, 11 Feb 2009 08:35:05 +0000 (09:35 +0100)]
Only assign argv[1] after the argc check, thanks Tim!

15 years agoFix an uninitialized variable
Volker Lendecke [Wed, 11 Feb 2009 07:42:29 +0000 (08:42 +0100)]
Fix an uninitialized variable

15 years agos3: Remove some unused vars
Tim Prouty [Wed, 11 Feb 2009 06:16:26 +0000 (22:16 -0800)]
s3: Remove some unused vars

15 years agos4 torture: Change nttransrename to use a normal access mask
Tim Prouty [Wed, 11 Feb 2009 00:51:47 +0000 (16:51 -0800)]
s4 torture: Change nttransrename to use a normal access mask

batch9 already tests for stat-only opens

15 years agopackaging: make update-pkginfo callable from any directory
Michael Adam [Tue, 10 Feb 2009 22:52:40 +0000 (23:52 +0100)]
packaging: make update-pkginfo callable from any directory

Michael

15 years agopackaging: remove commented out stuff from update-pkginfo
Michael Adam [Tue, 10 Feb 2009 22:50:14 +0000 (23:50 +0100)]
packaging: remove commented out stuff from update-pkginfo

Michael

15 years agopackaging: don't clutter the output of fillup-templates with popd output
Michael Adam [Tue, 10 Feb 2009 22:31:52 +0000 (23:31 +0100)]
packaging: don't clutter the output of fillup-templates  with popd output

Michael

15 years agopackaging: fix fill-templates call to update-pkginfo to pushd appropriately first
Michael Adam [Tue, 10 Feb 2009 22:30:48 +0000 (23:30 +0100)]
packaging: fix fill-templates call to update-pkginfo to pushd appropriately first

Michael

15 years agopackaging: fix source dir to source3 in fill-templates
Michael Adam [Tue, 10 Feb 2009 22:10:23 +0000 (23:10 +0100)]
packaging: fix source dir to source3 in fill-templates

Michael

15 years agos3-rpcclient: use one macro for all printername formats.
Günther Deschner [Tue, 10 Feb 2009 14:11:29 +0000 (15:11 +0100)]
s3-rpcclient: use one macro for all printername formats.

Guenther

15 years agos3-spoolss: remove more whitespace.
Günther Deschner [Tue, 10 Feb 2009 12:55:03 +0000 (13:55 +0100)]
s3-spoolss: remove more whitespace.

Guenther

15 years agos3-spoolss: remove devmode fields from include file.
Günther Deschner [Tue, 10 Feb 2009 12:54:39 +0000 (13:54 +0100)]
s3-spoolss: remove devmode fields from include file.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Tue, 10 Feb 2009 12:54:20 +0000 (13:54 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: add spoolss_DeviceModeFields bitmap.
Günther Deschner [Tue, 10 Feb 2009 12:53:54 +0000 (13:53 +0100)]
spoolss: add spoolss_DeviceModeFields bitmap.

Guenther

15 years agos4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.
Günther Deschner [Mon, 9 Feb 2009 14:50:34 +0000 (15:50 +0100)]
s4-spoolss: fix dcerpc_spoolss_ReplyOpenPrinter caller.

Guenther

15 years agos3-spoolss: remove old spoolss_ReplyOpenPrinter.
Günther Deschner [Mon, 9 Feb 2009 14:16:25 +0000 (15:16 +0100)]
s3-spoolss: remove old spoolss_ReplyOpenPrinter.

Guenther

15 years agos4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.
Günther Deschner [Mon, 9 Feb 2009 14:15:46 +0000 (15:15 +0100)]
s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.

Guenther

15 years agos3-spoolss: use rpccli_spoolss_ReplyOpenPrinter.
Günther Deschner [Mon, 9 Feb 2009 14:15:26 +0000 (15:15 +0100)]
s3-spoolss: use rpccli_spoolss_ReplyOpenPrinter.

Guenther

15 years agos3: re-run make samba3-idl.
Günther Deschner [Mon, 9 Feb 2009 14:14:52 +0000 (15:14 +0100)]
s3: re-run make samba3-idl.

Guenther

15 years agospoolss: fix spoolss_ReplyOpenPrinter IDL.
Günther Deschner [Mon, 9 Feb 2009 14:14:30 +0000 (15:14 +0100)]
spoolss: fix spoolss_ReplyOpenPrinter IDL.

Guenther

15 years agoS3: Add in missing full audit entries.
todd stecher [Tue, 10 Feb 2009 20:14:39 +0000 (12:14 -0800)]
S3: Add in missing full audit entries.

15 years agoS3: Fixes for coverity issues.
todd stecher [Mon, 9 Feb 2009 21:25:59 +0000 (13:25 -0800)]
S3: Fixes for coverity issues.

15 years agoRemove an unused extern reference
Volker Lendecke [Sun, 8 Feb 2009 13:24:22 +0000 (14:24 +0100)]
Remove an unused extern reference

15 years agoConvert api_NetUserGetGroups to use samr instead of pdb
Volker Lendecke [Sun, 8 Feb 2009 13:20:17 +0000 (14:20 +0100)]
Convert api_NetUserGetGroups to use samr instead of pdb

15 years agoFix some nonempty blank lines
Volker Lendecke [Thu, 5 Feb 2009 14:53:04 +0000 (15:53 +0100)]
Fix some nonempty blank lines

15 years agoDo not use strlen if not necessary... :-)
Volker Lendecke [Sun, 1 Feb 2009 19:47:59 +0000 (20:47 +0100)]
Do not use strlen if not necessary... :-)

15 years agoIf we receive a DOS error code, nt_errstr should display it
Volker Lendecke [Sun, 1 Feb 2009 16:17:37 +0000 (17:17 +0100)]
If we receive a DOS error code, nt_errstr should display it

15 years agopackaging: add script fill-templates
Michael Adam [Tue, 10 Feb 2009 17:54:16 +0000 (18:54 +0100)]
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

15 years agoFix an uninitialized variable. Tim, please check!
Volker Lendecke [Tue, 10 Feb 2009 17:09:12 +0000 (18:09 +0100)]
Fix an uninitialized variable. Tim, please check!

15 years agoAdd queueing to np_write
Volker Lendecke [Tue, 10 Feb 2009 14:28:56 +0000 (15:28 +0100)]
Add queueing to np_write

15 years agoAdd queueing to np_read_state, simulate message-type named pipes.
Volker Lendecke [Mon, 9 Feb 2009 07:10:09 +0000 (08:10 +0100)]
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.

15 years agoAdd read_pkt_send/recv
Volker Lendecke [Tue, 10 Feb 2009 16:29:02 +0000 (17:29 +0100)]
Add read_pkt_send/recv