jelmer/openchange-samba.git
11 years agoMove handle utility functions to public header, remove more public headers. master
Jelmer Vernooij [Wed, 2 Apr 2008 12:18:31 +0000 (14:18 +0200)]
Move handle utility functions to public header, remove more public headers.

11 years agoTrim down installed headers some more.
Jelmer Vernooij [Wed, 2 Apr 2008 12:10:16 +0000 (14:10 +0200)]
Trim down installed headers some more.

11 years agoMerge hive.h into registry.h
Jelmer Vernooij [Wed, 2 Apr 2008 11:59:48 +0000 (13:59 +0200)]
Merge hive.h into registry.h

11 years agoMerge patchfile.h into registry.h
Jelmer Vernooij [Wed, 2 Apr 2008 11:58:05 +0000 (13:58 +0200)]
Merge patchfile.h into registry.h

11 years agoReduce the number of installed headers.
Jelmer Vernooij [Wed, 2 Apr 2008 11:41:10 +0000 (13:41 +0200)]
Reduce the number of installed headers.

11 years agoInstall public header files again and include required prototypes.
Jelmer Vernooij [Wed, 2 Apr 2008 02:53:27 +0000 (04:53 +0200)]
Install public header files again and include required prototypes.

11 years agoDon't write public functions to protoheaders.
Jelmer Vernooij [Tue, 1 Apr 2008 22:01:04 +0000 (00:01 +0200)]
Don't write public functions to protoheaders.

Since the public functions can be used by external parties we should
make changing their signature as hard as possible. It's also a lot
easier to document functions in manually written headers.

11 years agoAdd warning to public headers.
Jelmer Vernooij [Tue, 1 Apr 2008 14:18:31 +0000 (16:18 +0200)]
Add warning to public headers.

11 years agoInclude right perl directory when installed.
Jelmer Vernooij [Tue, 1 Apr 2008 14:08:21 +0000 (16:08 +0200)]
Include right perl directory when installed.

11 years agoInstall samba-hostconfig library.
Jelmer Vernooij [Tue, 1 Apr 2008 14:05:54 +0000 (16:05 +0200)]
Install samba-hostconfig library.

11 years agoInstall pidl to the same directory as Samba.
Jelmer Vernooij [Tue, 1 Apr 2008 14:03:31 +0000 (16:03 +0200)]
Install pidl to the same directory as Samba.

11 years agoFix dependency on samba-hostconfig.
Jelmer Vernooij [Tue, 1 Apr 2008 13:53:45 +0000 (15:53 +0200)]
Fix dependency on samba-hostconfig.

11 years agoAdd context pointer to secrets functions.
Jelmer Vernooij [Tue, 1 Apr 2008 13:26:00 +0000 (15:26 +0200)]
Add context pointer to secrets functions.

11 years agoAdd userdata argument to reseed callback function.
Jelmer Vernooij [Tue, 1 Apr 2008 13:17:18 +0000 (15:17 +0200)]
Add userdata argument to reseed callback function.

11 years agoRename libsamba-config to libsamba-hostconfig.
Jelmer Vernooij [Tue, 1 Apr 2008 13:08:30 +0000 (15:08 +0200)]
Rename libsamba-config to libsamba-hostconfig.

11 years agoAdd README file explaining param/.
Jelmer Vernooij [Tue, 1 Apr 2008 13:03:24 +0000 (15:03 +0200)]
Add README file explaining param/.

11 years agoMove ini-like file parser to the utility library.
Jelmer Vernooij [Tue, 1 Apr 2008 12:51:06 +0000 (14:51 +0200)]
Move ini-like file parser to the utility library.

11 years agoMerge commit 'origin/v4-0-stable' into v4-0-test
Stefan Metzmacher [Sat, 29 Mar 2008 07:34:10 +0000 (08:34 +0100)]
Merge commit 'origin/v4-0-stable' into v4-0-test

11 years agoOn our way to alpha4...
Andrew Bartlett [Sat, 29 Mar 2008 07:17:15 +0000 (18:17 +1100)]
On our way to alpha4...

11 years agoMark as GIT snapshots again
Andrew Bartlett [Sat, 29 Mar 2008 07:15:22 +0000 (18:15 +1100)]
Mark as GIT snapshots again

11 years agoThis is Samba4 alpha3!
Andrew Bartlett [Sat, 29 Mar 2008 06:44:18 +0000 (17:44 +1100)]
This is Samba4 alpha3!

Andrew Bartlett

11 years agoMerge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
Andrew Bartlett [Sat, 29 Mar 2008 06:19:20 +0000 (17:19 +1100)]
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local

11 years agoRework 'compleated' message in provision to be more useful.
Andrew Bartlett [Sat, 29 Mar 2008 06:17:56 +0000 (17:17 +1100)]
Rework 'compleated' message in provision to be more useful.

In particular, this should draw attention to accidential 'standalone'
server provisions and therefore cause less frustration.

Andrew Bartlett

11 years agohowto: Simplify the commands needed and remove reference to removed script.
Andrew Kroeger [Sat, 29 Mar 2008 05:07:32 +0000 (00:07 -0500)]
howto: Simplify the commands needed and remove reference to removed script.

11 years agoMakefile: Allow "make" with no arguments to build all that will be installed.
Andrew Kroeger [Sat, 29 Mar 2008 05:06:02 +0000 (00:06 -0500)]
Makefile: Allow "make" with no arguments to build all that will be installed.

11 years agohowto: Clarify differences when working from a tarball instead of Git.
Andrew Kroeger [Sat, 29 Mar 2008 04:18:25 +0000 (23:18 -0500)]
howto: Clarify differences when working from a tarball instead of Git.

11 years agomkrelease: Add checks to ensure run from top-level directory of repository.
Andrew Kroeger [Sat, 29 Mar 2008 03:53:01 +0000 (22:53 -0500)]
mkrelease: Add checks to ensure run from top-level directory of repository.

11 years agoAdd a few more safety catches to the mkrelease.sh script.
Andrew Bartlett [Sat, 29 Mar 2008 03:37:09 +0000 (14:37 +1100)]
Add a few more safety catches to the mkrelease.sh script.

Andrew Bartlett

11 years agoDon't leave release trees hanging around
Andrew Bartlett [Sat, 29 Mar 2008 03:23:43 +0000 (14:23 +1100)]
Don't leave release trees hanging around

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of git://git.id10ts.net/samba into 4-0-local
Andrew Bartlett [Sat, 29 Mar 2008 03:14:25 +0000 (14:14 +1100)]
Merge branch 'v4-0-test' of git://git.id10ts.net/samba into 4-0-local

11 years agomkrelease: Update to work with Git instead of SVN.
Andrew Kroeger [Sat, 29 Mar 2008 02:55:09 +0000 (21:55 -0500)]
mkrelease: Update to work with Git instead of SVN.

11 years agoFix more valgrind issues.
Andrew Bartlett [Sat, 29 Mar 2008 02:32:15 +0000 (13:32 +1100)]
Fix more valgrind issues.

This passes down the timeout more consistantly, and ensures that no
matter how the modules screw up, we don't free() the memory we are
going to write into the ASN1 packet until we actually write it out.

Andrew Bartlett

11 years agoFix some valgrind issues.
Andrew Bartlett [Sat, 29 Mar 2008 00:18:00 +0000 (11:18 +1100)]
Fix some valgrind issues.

These small changes seem to fix some of the early issues in 'make
valgrindtest'

Previously, the subtree_delete code didn't pass on the timeout,
leaving it uninitialised.

The ldap_server/ldap_backend.c change tidies up the talloc hierarchy a
bit.

Andrew Bartlett

11 years agoFinally found the magic string to skip the python registry tests.
Andrew Bartlett [Fri, 28 Mar 2008 22:43:58 +0000 (09:43 +1100)]
Finally found the magic string to skip the python registry tests.

(I really do wish it was clear what strings should be used in this file)

Until these tests authenticate, we can't pass against Samba4, and they
never could pass against AD.

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Fri, 28 Mar 2008 11:04:52 +0000 (22:04 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

11 years agoFix and test python scripts and kerberos
Andrew Bartlett [Fri, 28 Mar 2008 10:57:15 +0000 (21:57 +1100)]
Fix and test python scripts and kerberos

This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of git://git.samba.org/samba into v4-0-local
Andrew Kroeger [Fri, 28 Mar 2008 10:43:52 +0000 (05:43 -0500)]
Merge branch 'v4-0-test' of git://git.samba.org/samba into v4-0-local

11 years agotorture: fix compiler warnings
Stefan Metzmacher [Fri, 28 Mar 2008 08:40:08 +0000 (09:40 +0100)]
torture: fix compiler warnings

metze

11 years agolibcli/security: fix compiler warnings
Stefan Metzmacher [Fri, 28 Mar 2008 08:39:32 +0000 (09:39 +0100)]
libcli/security: fix compiler warnings

metze

11 years agocldap_server: fix compiler warning
Stefan Metzmacher [Fri, 28 Mar 2008 08:39:03 +0000 (09:39 +0100)]
cldap_server: fix compiler warning

metze

11 years agolibreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for now
Stefan Metzmacher [Fri, 28 Mar 2008 06:56:20 +0000 (07:56 +0100)]
libreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for now

This should fix the build on solaris.
Later this needs better fixing...

metze

11 years agoConvert some more files to GPLv3.
Andrew Kroeger [Fri, 28 Mar 2008 06:08:49 +0000 (01:08 -0500)]
Convert some more files to GPLv3.

11 years agoAdd tool for enabling accounts
Andrew Bartlett [Thu, 27 Mar 2008 16:46:23 +0000 (03:46 +1100)]
Add tool for enabling accounts

11 years agoRemove references to the new SWAT.
Andrew Bartlett [Fri, 28 Mar 2008 02:56:47 +0000 (13:56 +1100)]
Remove references to the new SWAT.

Andrew Bartlett

11 years agoMerge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local
Andrew Bartlett [Fri, 28 Mar 2008 02:39:59 +0000 (13:39 +1100)]
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into 4-0-local

11 years agoWHATSNEW: Update information in preparation of Alpha3.
Andrew Kroeger [Fri, 28 Mar 2008 01:30:22 +0000 (20:30 -0500)]
WHATSNEW: Update information in preparation of Alpha3.

- Update the listing of prior releases.
- Indicate that python is now required.
- Provide additional information on some of the more user-visible changes.

11 years agoMake the setup/newuser and setup/setpassword scripts actually work...
Andrew Bartlett [Fri, 28 Mar 2008 01:08:54 +0000 (12:08 +1100)]
Make the setup/newuser and setup/setpassword scripts actually work...

These need a testsuite, but this will come soon.

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Fri, 28 Mar 2008 00:10:19 +0000 (11:10 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

11 years agoAdd change about account expiry
Andrew Bartlett [Fri, 28 Mar 2008 00:09:34 +0000 (11:09 +1100)]
Add change about account expiry

11 years agoMerge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test
Jelmer Vernooij [Fri, 28 Mar 2008 00:00:48 +0000 (01:00 +0100)]
Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test

11 years agoNo longer install SWAT files
Andrew Bartlett [Thu, 27 Mar 2008 23:39:22 +0000 (10:39 +1100)]
No longer install SWAT files

Andrew Bartlett

11 years agoDon't specify what should be a default option in the generated smb.conf
Andrew Bartlett [Thu, 27 Mar 2008 23:38:12 +0000 (10:38 +1100)]
Don't specify what should be a default option in the generated smb.conf

Instead, sub in "", so that the default continued to come from the code.

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Thu, 27 Mar 2008 23:19:21 +0000 (10:19 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

11 years agoFix 'oplocks' in loadparm.
Andrew Bartlett [Thu, 27 Mar 2008 23:18:06 +0000 (10:18 +1100)]
Fix 'oplocks' in loadparm.

I forgot one more place where I must specify the new config option.  I
wish this was more templated...

Andrew Bartlett

11 years agoprovision: Increase max NetBIOS name length from 13 to 15.
Andrew Kroeger [Thu, 27 Mar 2008 21:30:18 +0000 (16:30 -0500)]
provision: Increase max NetBIOS name length from 13 to 15.

Issue originally reported by user Julsa-FR on IRC.

11 years agoRemove define that appears to cause configure test breakage on Julien's machine.
Jelmer Vernooij [Thu, 27 Mar 2008 21:26:37 +0000 (22:26 +0100)]
Remove define that appears to cause configure test breakage on Julien's machine.

11 years agoprovision: Initialize uninitialized variables if "targetdir" is not
Kai Blin [Thu, 27 Mar 2008 16:49:56 +0000 (17:49 +0100)]
provision: Initialize uninitialized variables if "targetdir" is not
defined and there is no smb.conf file

11 years agolibreplace: fix coverity ID 517 - untangle close from open in test/os2_delete.c
Michael Adam [Thu, 27 Mar 2008 10:26:33 +0000 (11:26 +0100)]
libreplace: fix coverity ID 517 - untangle close from open in test/os2_delete.c

This is not a proper bug but the code is clearer now
and we are tracking failure of open separate from that of close.

Michael

11 years agoFix how we initialise the oplocks parameter.
Andrew Bartlett [Thu, 27 Mar 2008 10:00:04 +0000 (21:00 +1100)]
Fix how we initialise the oplocks parameter.

Andrew Bartlett

11 years agoActually call into lp_oplocks() in share_classic backend.
Andrew Bartlett [Thu, 27 Mar 2008 09:50:39 +0000 (20:50 +1100)]
Actually call into lp_oplocks() in share_classic backend.

Andrew Bartlett

11 years agoFix references to ntvfs share config
Andrew Bartlett [Thu, 27 Mar 2008 09:40:40 +0000 (20:40 +1100)]
Fix references to ntvfs share config

Andrew Bartlett

11 years agoMerge with metze's change for oplocks to be on by default
Andrew Bartlett [Thu, 27 Mar 2008 09:38:36 +0000 (20:38 +1100)]
Merge ... metze's change for oplocks to be on by default

Andrew Bartlett
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

Conflicts:

source/ntvfs/common/opendb_tdb.c

11 years agoMake oplocks a per-share option.
Andrew Bartlett [Thu, 27 Mar 2008 09:32:02 +0000 (20:32 +1100)]
Make oplocks a per-share option.

This even goes via the share options system (a very odd layer of indirection).

Andrew Bartlett

11 years agoselfteset: oplocks are enabled by default now
Stefan Metzmacher [Thu, 27 Mar 2008 09:12:19 +0000 (10:12 +0100)]
selfteset: oplocks are enabled by default now

metze

11 years agoopendb_tdb: enable oplocks per default
Stefan Metzmacher [Thu, 27 Mar 2008 09:11:48 +0000 (10:11 +0100)]
opendb_tdb: enable oplocks per default

metze

11 years agoPrepare for Samba4 alpha3.
Andrew Bartlett [Thu, 27 Mar 2008 06:34:25 +0000 (17:34 +1100)]
Prepare for Samba4 alpha3.

I need help with filling this list of changes out.

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Wed, 26 Mar 2008 04:42:43 +0000 (15:42 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

11 years agoRemove old js versions of newuser and provision.
Andrew Bartlett [Wed, 26 Mar 2008 04:42:20 +0000 (15:42 +1100)]
Remove old js versions of newuser and provision.

Andrew Bartlett

11 years agoClean up the ldb python bindings to be 64 bit safe.
Andrew Bartlett [Wed, 26 Mar 2008 04:18:17 +0000 (15:18 +1100)]
Clean up the ldb python bindings to be 64 bit safe.

Thanks in particular to arkanes and KirkMcDonald on #python for their
assistance, suggesting breaking the DN check.

I eventually found it while trying to cut down on the number of gcc
warnings, which is why we also add printf annotations.

Andrew Bartlett

11 years agoAdd some more header properties as inline comments to the generated samba3 client.
Günther Deschner [Tue, 25 Mar 2008 16:38:27 +0000 (17:38 +0100)]
Add some more header properties as inline comments to the generated samba3 client.

Guenther

11 years agoRemove pointless cast
Andrew Bartlett [Tue, 25 Mar 2008 05:36:13 +0000 (16:36 +1100)]
Remove pointless cast

11 years agoRemove useless extra argument to samdb_result_account_expires().
Andrew Bartlett [Tue, 25 Mar 2008 04:25:13 +0000 (15:25 +1100)]
Remove useless extra argument to samdb_result_account_expires().

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Mon, 24 Mar 2008 23:29:35 +0000 (10:29 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

11 years agoAdd my copyright
Volker Lendecke [Fri, 21 Mar 2008 09:35:54 +0000 (10:35 +0100)]
Add my copyright

If I remember it right and when I look at the git log, then this way to do the
async functions was designed by me.

11 years agoProve that a setuserinfo level 25 does set the pwdlastset field
Volker Lendecke [Thu, 20 Mar 2008 20:59:46 +0000 (21:59 +0100)]
Prove that a setuserinfo level 25 does set the pwdlastset field

Very likely this is not the full story, but as it happens so often this proof
is needed to fix a direct s3 bug.

11 years agoAdd the workstation to the anon sessetup credentials
Volker Lendecke [Thu, 20 Mar 2008 20:11:49 +0000 (21:11 +0100)]
Add the workstation to the anon sessetup credentials

Without this patch the RPC-SAMBA3SESSIONKEY against W2k3 gives
INVALID_PARAMETER for the anonymous session setup

11 years agoFix a warning
Volker Lendecke [Thu, 20 Mar 2008 20:10:39 +0000 (21:10 +0100)]
Fix a warning

Without this patch I get
./libcli/security/proto.h:45: warning: 'struct auth_session_info' declared inside parameter list

11 years agoExplain why this attribute should be skipped.
Andrew Bartlett [Thu, 20 Mar 2008 04:14:49 +0000 (15:14 +1100)]
Explain why this attribute should be skipped.

Andrew Bartlett

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Thu, 20 Mar 2008 02:25:05 +0000 (13:25 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

11 years agoMore kludge ACLs!
Andrew Bartlett [Thu, 20 Mar 2008 01:12:10 +0000 (12:12 +1100)]
More kludge ACLs!

Rather than killing off the nasty 'kludge ACLs' stuff, this patch
extends it, to ensure that LSA secrets and the registry are also
protected.

Andrew Bartlett

11 years agontlm_auth: Improve compliance to the Squid helper protocol.
Kai Blin [Wed, 19 Mar 2008 23:42:42 +0000 (00:42 +0100)]
ntlm_auth: Improve compliance to the Squid helper protocol.

This fixes bug #4235 for Samba4.

11 years agoExtend the ldap.js test to prove faults with the LDAP backend.
Andrew Bartlett [Wed, 19 Mar 2008 01:12:24 +0000 (12:12 +1100)]
Extend the ldap.js test to prove faults with the LDAP backend.

Try to provide more information to see why OpenLDAP isn't quite up to
being a Samba4 Backend.

Andrew Bartlett

11 years agoIndent
Andrew Bartlett [Wed, 19 Mar 2008 01:06:37 +0000 (12:06 +1100)]
Indent

Andrew Bartlett

11 years agoRemove unused variable.
Andrew Bartlett [Wed, 19 Mar 2008 00:15:04 +0000 (11:15 +1100)]
Remove unused variable.

11 years agoMore safety around ldb_dn C functions in python bindings.
Andrew Bartlett [Wed, 19 Mar 2008 00:11:55 +0000 (11:11 +1100)]
More safety around ldb_dn C functions in python bindings.

Ensure that the ldb python binding 'TypeError dn not set' errors are
not in the SWIG wrapper's use of ldb functions, put some more error
checks in.

Andrew Bartlett

11 years agoSupply HDB_DB_DIR macro
Andrew Bartlett [Wed, 19 Mar 2008 00:10:19 +0000 (11:10 +1100)]
Supply HDB_DB_DIR macro

While we don't use the default HDB directories, the code needs this
macro defined.

Andrew Bartlett

11 years agoMerge branch 'v4-0-logon' of git://git.id10ts.net/samba into 4-0-local
Andrew Bartlett [Wed, 19 Mar 2008 00:04:42 +0000 (11:04 +1100)]
Merge branch 'v4-0-logon' of git://git.id10ts.net/samba into 4-0-local

11 years agoMerge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
Andrew Bartlett [Tue, 18 Mar 2008 23:18:35 +0000 (10:18 +1100)]
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

11 years agoMerge lorikeet-heimdal -r 787 into Samba4 tree.
Andrew Bartlett [Tue, 18 Mar 2008 23:17:42 +0000 (10:17 +1100)]
Merge lorikeet-heimdal -r 787 into Samba4 tree.

Andrew Bartlett

11 years agolib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymore
Stefan Metzmacher [Tue, 18 Mar 2008 17:03:18 +0000 (18:03 +0100)]
lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymore

metze

11 years agolibndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway
Stefan Metzmacher [Tue, 18 Mar 2008 17:02:23 +0000 (18:02 +0100)]
libndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway

metze

11 years agosocket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist...
Stefan Metzmacher [Tue, 18 Mar 2008 16:59:31 +0000 (17:59 +0100)]
socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore

metze

11 years agoheimdal_build: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist...
Stefan Metzmacher [Tue, 18 Mar 2008 16:58:36 +0000 (17:58 +0100)]
heimdal_build: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore

metze

11 years agolibreplace: replace.c does not need system/network.h anymore.
Michael Adam [Tue, 18 Mar 2008 16:50:23 +0000 (17:50 +0100)]
libreplace: replace.c does not need system/network.h anymore.

Michael

11 years agolibreplace: move rep_socketpair() to its own module.
Michael Adam [Tue, 18 Mar 2008 16:20:47 +0000 (17:20 +0100)]
libreplace: move rep_socketpair() to its own module.

Prototype is now in system/network.h,
implementation in socketpair.c, and
check in socketpair.m4.

Now the last networking function has vanished from replace.c.

Michael

11 years agoldb: not every shell supports '==' so use '='
Stefan Metzmacher [Tue, 18 Mar 2008 15:53:21 +0000 (16:53 +0100)]
ldb: not every shell supports '==' so use '='

metze

11 years agoFix macro name (no 's' in ifr_addr).
Gerald W. Carter [Thu, 28 Feb 2008 17:58:05 +0000 (11:58 -0600)]
Fix macro name (no 's' in ifr_addr).

Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(cherry picked from commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff)

11 years agoFix Coverity ID 554
Volker Lendecke [Sat, 15 Mar 2008 21:27:05 +0000 (22:27 +0100)]
Fix Coverity ID 554
(cherry picked from commit 471b1b0c58bc2def5d2fe9d98401def34724d447)

11 years agoCheck the return value of fgets
Volker Lendecke [Sat, 23 Feb 2008 09:42:43 +0000 (10:42 +0100)]
Check the return value of fgets
(cherry picked from commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)

11 years agolibreplace: remove duplicate entry of inet_ntoa from README.
Michael Adam [Tue, 18 Mar 2008 15:31:15 +0000 (16:31 +0100)]
libreplace: remove duplicate entry of inet_ntoa from README.

Michael