bbaumbach/samba-autobuild/.git
12 years agoDetect Heimdal Kerberos on OpenBSD 4.2.
James Peach [Sun, 18 Nov 2007 21:56:19 +0000 (13:56 -0800)]
Detect Heimdal Kerberos on OpenBSD 4.2.

Patch from Sean McCreary <samba-technical@mcwest.org>.
(This used to be commit 8b0bee7c7688a966777f502c97922d7ad40d841c)

12 years agoRemove pstring from modules directory.
Jeremy Allison [Sat, 17 Nov 2007 01:07:11 +0000 (17:07 -0800)]
Remove pstring from modules directory.
Jeremy.
(This used to be commit 977dc3accb3d440e5fd19591c425da7dc3718d94)

12 years agoEnsure we use PATH_MAX for symlinks.
Jeremy Allison [Sat, 17 Nov 2007 01:06:57 +0000 (17:06 -0800)]
Ensure we use PATH_MAX for symlinks.
Jeremy.
(This used to be commit a90ef69350c5efcf8dcf95d4853cbe3c662d1ba3)

12 years agoFix bug #4393 smbclient does not store files with zero filesize in tar-archives
Jeremy Allison [Sat, 17 Nov 2007 01:06:36 +0000 (17:06 -0800)]
Fix bug #4393 smbclient does not store files with zero filesize in tar-archives
from tometzky@batory.org.pl.
Jeremy.
(This used to be commit f3bd5e828af04f33178a66f9f332199f7d395b7b)

12 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 16 Nov 2007 21:29:42 +0000 (13:29 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 01e85f146b32d3ec91f2affb070bfd3516a28333)

12 years agoFix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.
Michael Adam [Fri, 16 Nov 2007 21:26:26 +0000 (22:26 +0100)]
Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.

Canonicalize mountpoint by trimming trailing slashes before unmounting.
This allows for correct cleanup of /etc/mtab after unmounting.

Thanks to Steve Langasek <vorlon@debian.org>.

Michael
(This used to be commit 118fd6213d5f6419f654e9226a41d527c04346f7)

12 years agoFix an implicit cast warning.
Michael Adam [Fri, 16 Nov 2007 21:22:05 +0000 (22:22 +0100)]
Fix an implicit cast warning.

Michael
(This used to be commit d2c7417393e58de12b5747b9d6c19aea3c343ea5)

12 years agoMatch the 3.0.27a version of this function.
Jeremy Allison [Fri, 16 Nov 2007 21:14:24 +0000 (13:14 -0800)]
Match the 3.0.27a version of this function.
Jeremy.
(This used to be commit 629406cbe77a5d56a258ac414ab47f3e89183e52)

12 years agoAdd MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy Allison [Fri, 16 Nov 2007 02:27:26 +0000 (18:27 -0800)]
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy.
(This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)

12 years agoFix bug noticed by kukks <linux@kukkukk.com> where
Jeremy Allison [Fri, 16 Nov 2007 01:59:12 +0000 (17:59 -0800)]
Fix bug noticed by kukks <linux@kukkukk.com> where
ip list didn't match namelist added to subnetdb.
Could cause bogus IP addresses to be reported for
the __SAMBA__ name.
Jeremy.
(This used to be commit ad9f14b6dcb05e8fa68b51ff26ff40fc445a4631)

12 years agoFix the build on RHEL5, when libcap-devel is installed.
Michael Adam [Thu, 15 Nov 2007 23:45:44 +0000 (00:45 +0100)]
Fix the build on RHEL5, when libcap-devel is installed.

The /usr/include/sys/capability.h defines _LINUX_TYPES_H
which prevents /usr/include/linux/types.h from being parsed
(when included afterwards). Thus certain types are undefined
that are for instance needed in /usr/include/linux/dqblk_xfs.h.
This breaks the build of lib/sysquotas_xfs.c.

This commit adds a configure check and a workaround for this.

Michael
(This used to be commit 11bcdf780e164659b89a66e24edc27e89da7619a)

12 years agoFix an implicit cast warning.
Michael Adam [Thu, 15 Nov 2007 23:34:37 +0000 (00:34 +0100)]
Fix an implicit cast warning.

Michael
(This used to be commit 4ab3b23a630e822e3fdf1ab4d08330625b0e4fb6)

12 years agoMore pstring removal. This one was tricky. I had to add
Jeremy Allison [Thu, 15 Nov 2007 22:19:52 +0000 (14:19 -0800)]
More pstring removal. This one was tricky. I had to add
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
(This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)

12 years agoalpha_strcpy includes the space for the terminating nul.
Jeremy Allison [Thu, 15 Nov 2007 21:18:42 +0000 (13:18 -0800)]
alpha_strcpy includes the space for the terminating nul.
Jeremy.
(This used to be commit b3ed3f7e4e40c4f78d4c347411c75de81979455f)

12 years agoFix for CVE-2007-5398.
Gerald (Jerry) Carter [Thu, 15 Nov 2007 02:51:14 +0000 (20:51 -0600)]
Fix for CVE-2007-5398.

== Subject:     Remote code execution in Samba's WINS
==              server daemon (nmbd) when processing name
==              registration followed name query requests.
==
== CVE ID#:     CVE-2007-5398
==
== Versions:    Samba 3.0.0 - 3.0.26a (inclusive)
...
Secunia Research reported a vulnerability that allows for
the execution of arbitrary code in nmbd.  This defect may
only be exploited when the "wins support" parameter has
been enabled in smb.conf.
(This used to be commit e40c372e0ddf631dd9162c1fdfaaa49c29915f23)

12 years agoFix bug #5083 (and duplicate bug #5084).
Michael Adam [Thu, 15 Nov 2007 10:08:53 +0000 (11:08 +0100)]
Fix bug #5083 (and duplicate bug #5084).

Make solarisacl_sys_acl_get_fd() return a result
when there is one (thereby fixing a memleak).

Thanks to Markus Zell for reporting this.

Michael
(This used to be commit 242fc0099cc81877d8e9630b46dfb8d4a3265d94)

12 years agoRemove smbldap_get_single_pstring() and all pstrings
Jeremy Allison [Thu, 15 Nov 2007 00:05:42 +0000 (16:05 -0800)]
Remove smbldap_get_single_pstring() and all pstrings
from pdb_ldap.c. I don't have an LDAP passdb setup here,
so I'm going to need some help on testing this.
Jeremy.
(This used to be commit 00760451b6c2b65f3a8a9187789ca4f270b622a2)

12 years agoRemove pstring from auth/*
Jeremy Allison [Wed, 14 Nov 2007 18:37:18 +0000 (10:37 -0800)]
Remove pstring from auth/*
Jeremy.
(This used to be commit 72c19d114b40ee307bbe45d9828667165a26d7a3)

12 years agoRemove pstring from param/
Jeremy Allison [Wed, 14 Nov 2007 02:42:42 +0000 (18:42 -0800)]
Remove pstring from param/
This was a little tricky..... I'll watch the
build farm.
Jeremy.
(This used to be commit d6e2519c67fd015e1089021769de04085fd90894)

12 years agoRemove all pstring from groupdb/
Jeremy Allison [Tue, 13 Nov 2007 23:00:48 +0000 (15:00 -0800)]
Remove all pstring from groupdb/
Jeremy.
(This used to be commit 6959c5c7e3e95604c66788b86d5789757e18cc36)

12 years agoFix potential orphaned open files.
Michael Adam [Tue, 13 Nov 2007 22:26:38 +0000 (23:26 +0100)]
Fix potential orphaned open files.

Calling can_access_file could lead to orphaned open files
when SMB_VFS_GET_NT_ACL returned ENOSYS (not implemented).

Michael
(This used to be commit f4f700cf0c1657c36e801fab20fe7b1a4efcb714)

12 years agoRemove last pstring from smbd/*.c
Jeremy Allison [Tue, 13 Nov 2007 20:51:31 +0000 (12:51 -0800)]
Remove last pstring from smbd/*.c
Jeremy.
(This used to be commit f1680bada913af4eaf5c0d686983018d6c8b3e5f)

12 years agoFix build of the zfs_acl module.
Michael Adam [Mon, 12 Nov 2007 11:49:40 +0000 (12:49 +0100)]
Fix build of the zfs_acl module.

There was one caller of smb_get_nt_acl_nfs4() forgotten
in the change of return value.

Michael
(This used to be commit 4d3e84a3b3a39d3d2c9b86affa16c8124b1496e5)

12 years agoFix the build: correct prototype.
Michael Adam [Mon, 12 Nov 2007 11:48:29 +0000 (12:48 +0100)]
Fix the build: correct prototype.

Adapt prototype of smb_get_nt_acl_nfs4() in the header file, too.

Michael
(This used to be commit a2949fd7a567ba3357024c9e4a8429733009dde4)

12 years agoMake [f]get_nt_acl return NTSTATUS
Volker Lendecke [Sat, 13 Oct 2007 19:06:49 +0000 (21:06 +0200)]
Make [f]get_nt_acl return NTSTATUS
(This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)

12 years agoMore pstring removal from smbd/*.c
Jeremy Allison [Tue, 13 Nov 2007 02:12:26 +0000 (18:12 -0800)]
More pstring removal from smbd/*.c
Jeremy.
(This used to be commit 01663c2312467ceebeb2e2fb1aa432ad96c626e5)

12 years agoRemove pstrings from lanman.c
Jeremy Allison [Tue, 13 Nov 2007 01:59:18 +0000 (17:59 -0800)]
Remove pstrings from lanman.c
Jeremy.
(This used to be commit 7bfd25c75602e25da73710261a54da8e0feea133)

12 years agoRemove all pstrings from smbd/chgpasswd.c.
Jeremy Allison [Mon, 12 Nov 2007 23:02:50 +0000 (15:02 -0800)]
Remove all pstrings from smbd/chgpasswd.c.
Jeremy.
(This used to be commit eaf14c701b08e9eff5b94bf57af68cb29142d7fc)

12 years agoFix bug #5073. Allow "delete readonly = yes" to correctly
Jeremy Allison [Mon, 12 Nov 2007 19:39:35 +0000 (11:39 -0800)]
Fix bug #5073. Allow "delete readonly = yes" to correctly
override deletion of a file. Fix from David Shaw <dshaw@jabberwocky.com>
Jeremy.
(This used to be commit 5d1d650d192d4782421b5c3c2be1b632d4318279)

12 years agoThree more pstring removals.
Jeremy Allison [Mon, 12 Nov 2007 05:46:52 +0000 (21:46 -0800)]
Three more pstring removals.
Jeremy.
(This used to be commit c15819b75751a1e15cfed2ef94dae10ee72d769c)

12 years agoRemove a pstring.
Jeremy Allison [Mon, 12 Nov 2007 05:45:55 +0000 (21:45 -0800)]
Remove a pstring.
Jeremy.
(This used to be commit c0412b5d13546f388b615a073e82e7730e01d731)

12 years agoSome pstring removal
Volker Lendecke [Sun, 11 Nov 2007 14:30:01 +0000 (15:30 +0100)]
Some pstring removal

Hi!

Feel free to push :-)

Volker

From 7fae6b3709a973bd0a5a13d3f5c880c61d5e35de Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sun, 11 Nov 2007 15:28:59 +0100
Subject: [PATCH] Remove some static pstrings
(This used to be commit c3a66b4ee97a902c5cf43c3bb145541849a029ed)

12 years agoCosmetic fix
Volker Lendecke [Sun, 11 Nov 2007 11:49:42 +0000 (12:49 +0100)]
Cosmetic fix

Do directory vs file open before entering open_file_stat
(This used to be commit cd62122916defbfb57468c3b82a60b766fc4652e)

12 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Sun, 11 Nov 2007 21:18:22 +0000 (13:18 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit b9d79fb509a6c59fdd73b016be5f4da3435c7789)

12 years agoRemove a static fstring
Volker Lendecke [Sun, 11 Nov 2007 14:50:16 +0000 (15:50 +0100)]
Remove a static fstring

Feel free to push :-)

Volker
(This used to be commit f213556f50de4a28b5c5d2e1e762013837feb722)

12 years agoRemove a static fstring
Volker Lendecke [Sun, 11 Nov 2007 14:38:50 +0000 (15:38 +0100)]
Remove a static fstring

I'm not sure why this used to be static, to me it seems that every time this
variable is overwritten. I just don't see how name_status_find() could return
true and not overwrite name. Can someone please review this and potentially
check it in?

Thanks,

Volker
(This used to be commit 329c688e4a9e69b71996fd1b0eee2202a849f3f5)

12 years agoConvert ctdb_conn.c to enum ndr_error_code
Volker Lendecke [Sat, 10 Nov 2007 22:15:40 +0000 (23:15 +0100)]
Convert ctdb_conn.c to enum ndr_error_code

Fix the build
(This used to be commit 432d0e9cb2370e52f7d4cb58d2da747e526403e8)

12 years agoAdd ndr_errstr
Volker Lendecke [Sat, 10 Nov 2007 20:37:24 +0000 (21:37 +0100)]
Add ndr_errstr
(This used to be commit e3b36073f1fc994b102a5bdf321b9dd519288420)

12 years agoAlways define PATH_MAX. Makes code simpler (removes
Jeremy Allison [Sun, 11 Nov 2007 06:31:34 +0000 (22:31 -0800)]
Always define PATH_MAX. Makes code simpler (removes
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)

12 years agoRemove last pstring from sesssetup.c
Jeremy Allison [Sat, 10 Nov 2007 23:36:47 +0000 (15:36 -0800)]
Remove last pstring from sesssetup.c
Jeremy.
(This used to be commit 9ed12bfc48fe7f9b1863a9dd88e881974083053c)

12 years agoFix the build when realpath doesn't take null
Jeremy Allison [Sat, 10 Nov 2007 23:02:08 +0000 (15:02 -0800)]
Fix the build when realpath doesn't take null
as a last arg.
Jeremy.
(This used to be commit 63125225383f512f43002b9a92569d4b8f1b63bd)

12 years agoRemove pstring from service.c.
Jeremy Allison [Sat, 10 Nov 2007 22:43:39 +0000 (14:43 -0800)]
Remove pstring from service.c.
Jeremy.
(This used to be commit cdd9e5cc8366cf0be4dc31f793fc0e5be6f63c3e)

12 years agoRemove more static fstring/pstrings. Fix socket option
Jeremy Allison [Fri, 9 Nov 2007 23:09:16 +0000 (15:09 -0800)]
Remove more static fstring/pstrings. Fix socket option
set on wrong fd (-1).
Jeremy.
(This used to be commit 52fe04df8e8c08126afe61d509fc1d3cb676e327)

12 years agondr: change NTSTAUS into enum ndr_err_code (samba3 callers)
Stefan Metzmacher [Fri, 9 Nov 2007 13:39:45 +0000 (14:39 +0100)]
ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)

lib/messages_local.c
rpc_client/ndr.c
smbd/notify_internal.c
utils/net_rpc_registry.c

metze
(This used to be commit c2645d2164c05976a98bafed980b6029baf89977)

12 years agondr: change NTSTAUS into enum ndr_err_code (ndrdump)
metze [Fri, 9 Nov 2007 19:24:25 +0000 (19:24 +0000)]
ndr: change NTSTAUS into enum ndr_err_code (ndrdump)

librpc/tools/ndrdump.c

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25919 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 95530073de6d5b112391312bed373229af1824b0)

12 years agorerun make idl
Stefan Metzmacher [Fri, 9 Nov 2007 13:38:47 +0000 (14:38 +0100)]
rerun make idl

metze
(This used to be commit 53a636828d2ba01603401086f4a5f72f9b5ea214)

12 years agondr: change NTSTAUS into enum ndr_err_code (samba3 handwritten stuff)
Stefan Metzmacher [Fri, 9 Nov 2007 12:00:43 +0000 (13:00 +0100)]
ndr: change NTSTAUS into enum ndr_err_code (samba3 handwritten stuff)

ndr_misc.c
ndr_sec.h
ndr_sec_helper.c
librpc/ndr/sid.c

metze
(This used to be commit 42590e917af464f894bf4eb1490f0d1075b2c10e)

12 years agondr: change NTSTAUS into enum ndr_err_code (basic stuff)
metze [Fri, 9 Nov 2007 19:23:40 +0000 (19:23 +0000)]
ndr: change NTSTAUS into enum ndr_err_code (basic stuff)

librpc/ndr/

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25916 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit b1b8088cafa3ebbc94d700c7a029a2b74b7652ed)

12 years agoprepare changes in ndr code
Stefan Metzmacher [Fri, 9 Nov 2007 20:20:46 +0000 (21:20 +0100)]
prepare changes in ndr code

metze
(This used to be commit 9ba00e7c167fb871a3d9acbd9fc5ce4e935d92c2)

12 years agoSanitize smbcacls slightly
Volker Lendecke [Wed, 10 Oct 2007 14:57:34 +0000 (16:57 +0200)]
Sanitize smbcacls slightly
(This used to be commit 9c57628dbd79d3d28f20d5d1ab62a68ae683d46e)

12 years agoFix some warnings
Volker Lendecke [Fri, 9 Nov 2007 13:23:16 +0000 (14:23 +0100)]
Fix some warnings
(This used to be commit df42038f8801ca65ed7d44f7ae26640e2d840dba)

12 years agonss_wrapper: Fix some warnings
Volker Lendecke [Fri, 9 Nov 2007 13:23:16 +0000 (14:23 +0100)]
nss_wrapper: Fix some warnings
(This used to be commit b401450e8409c19d12d944c61e5553ed3334bc11)

12 years agoFix some warnings
Volker Lendecke [Fri, 9 Nov 2007 13:23:16 +0000 (14:23 +0100)]
Fix some warnings
(This used to be commit 0a1f524e8cce9bbe4fd10467c1f64f7a8862d298)

12 years agoAdd some comments
Volker Lendecke [Wed, 7 Nov 2007 22:24:36 +0000 (23:24 +0100)]
Add some comments
(This used to be commit fc58f2f45ab93ecea855e1dc07b6fdccce041c8d)

12 years agoMake base64_encode_data_blob return a talloced string
Volker Lendecke [Sun, 28 Oct 2007 18:15:08 +0000 (19:15 +0100)]
Make base64_encode_data_blob return a talloced string
(This used to be commit 5f205ab48d8ac3b7af573ea0be1ce095ab835448)

12 years agoRemove the silly "user_socket_options" global variable
Volker Lendecke [Thu, 1 Nov 2007 17:13:00 +0000 (18:13 +0100)]
Remove the silly "user_socket_options" global variable

This is better done with a 'lp_do_parameter(-1, "socket options", ..);
(This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)

12 years agopstring removal
Volker Lendecke [Wed, 7 Nov 2007 17:47:32 +0000 (18:47 +0100)]
pstring removal
(This used to be commit 0ee896827215a24e70a4ac6bde5ded13f9497296)

12 years agoFix dbwrap debug output
Volker Lendecke [Wed, 7 Nov 2007 18:06:30 +0000 (19:06 +0100)]
Fix dbwrap debug output
(This used to be commit 9f9c933c16abacb2d0aa7bc7faa5b1ddac61b0e5)

12 years agomake test: try to get a more portable way to get UID and GID
Stefan Metzmacher [Fri, 9 Nov 2007 13:35:58 +0000 (14:35 +0100)]
make test: try to get a more portable way to get UID and GID

metze
(This used to be commit 0dc2d7ec010610c4bdab8eb6d488295a0259fbc9)

12 years agoFix typo
Karolin Seeger [Fri, 9 Nov 2007 10:30:30 +0000 (11:30 +0100)]
Fix typo
(This used to be commit e811b9f3bbf614f76e628755dafd358769b8a58b)

12 years agouse samba4's librpc/ndr/uuid.c
Stefan Metzmacher [Fri, 9 Nov 2007 10:50:14 +0000 (11:50 +0100)]
use samba4's librpc/ndr/uuid.c

metze
(This used to be commit c148e91fdedd20cfb737465dffc86ed6fa7d7c02)

12 years agoThe FSF has moved around a lot. This fixes their Mass Ave address.
Michael Adam [Fri, 9 Nov 2007 10:18:45 +0000 (11:18 +0100)]
The FSF has moved around a lot. This fixes their Mass Ave address.

This adapts r23801 / 87c91e4362c51819032bfbebbb273c52e203b227
to files just added by cherry-pick.
Michael
(This used to be commit a0d595c2277d2f754cdb0c85119fdc130d86f7ea)

12 years agoFind and fix more GPL2 -> GPL3.
Michael Adam [Fri, 9 Nov 2007 10:17:18 +0000 (11:17 +0100)]
Find and fix more GPL2 -> GPL3.
Jeremy.

This adapts r23780 / c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f
for files added by cherry-pick.
(This used to be commit 1b6cf93992fbe338dff83a9f904ec9dfc422e242)

12 years agor23714: This script allows for adding lists of users (or other objects)
Michael Adam [Thu, 5 Jul 2007 00:12:24 +0000 (00:12 +0000)]
r23714: This script allows for adding lists of users (or other objects)
to lists of groups (or aliases). Useful for creating large test
scenarios.

Michael
(cherry picked from commit b3e5082e105f6eaeed51e9a42d525d811e7155ee)
(This used to be commit 78a2344fe7ed53e9927e189fa4d465652731deab)

12 years agor23711: Refactor the actual creation of object into its own small function.
Michael Adam [Wed, 4 Jul 2007 23:21:51 +0000 (23:21 +0000)]
r23711: Refactor the actual creation of object into its own small function.

Michael
(cherry picked from commit 26349c0b173e8baf6fa43deb39cb2bfdb31bf18e)
(This used to be commit 852570059c974bc6c06f893e4bf5e76674e4ec00)

12 years agor23706: Add a script to create domainusers,-groups and -aliases.
Michael Adam [Wed, 4 Jul 2007 16:17:48 +0000 (16:17 +0000)]
r23706: Add a script to create domainusers,-groups and -aliases.
This is done via rpc client. The main purpose is to
be able to fill a domain controller with a large number
of users / groups easily. A the object names are
built as <prefix><num> where number ranges from a given
start number counting up until a given number of objects
has been created.

In a next step, I will submit scripts to add (many) users to
a group and to add a user to (many) groups.

Michael
(cherry picked from commit 8b81fbb7d998eda65978a772f2194b4a3de467f9)
(This used to be commit 79414f8bfa9cce1b4543b3cf5d6ea65651fc0769)

12 years agomake test: start winbindd
Stefan Metzmacher [Wed, 24 Oct 2007 11:18:42 +0000 (13:18 +0200)]
make test: start winbindd

metze
(This used to be commit 8ad4287cca5393a7fef148365aef2e2377c29280)

12 years agowe don't have build-farm specific tests anymore
Stefan Metzmacher [Thu, 18 Oct 2007 15:14:37 +0000 (17:14 +0200)]
we don't have build-farm specific tests anymore

metze
(This used to be commit bb125f3e084a99125e92cc6c3aceb7f2b66db678)

12 years agoremove faked_create_user() BUILD_FARM hack as we have nss_wrapper now
Stefan Metzmacher [Thu, 18 Oct 2007 15:13:01 +0000 (17:13 +0200)]
remove faked_create_user() BUILD_FARM hack as we have nss_wrapper now

metze
(This used to be commit fc98c1904865608509a01911afa46de74873ef41)

12 years agomake test: activate nss_wrapper for make test
Stefan Metzmacher [Mon, 5 Nov 2007 08:49:08 +0000 (09:49 +0100)]
make test: activate nss_wrapper for make test

metze
(This used to be commit 02cfd283627bd8f10d7beb8d43cead35dd867346)

12 years agonss_wrapper: hopefully a better fix for the solaris get*ent_r functions
metze [Tue, 6 Nov 2007 12:34:50 +0000 (12:34 +0000)]
nss_wrapper: hopefully a better fix for the solaris get*ent_r functions

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25873 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit e0c8c01650b2aa0a1ab491c9800b8aa575bf4185)

12 years agonss_wrapper: revert solaris get*ent_r() functions
metze [Tue, 6 Nov 2007 12:15:19 +0000 (12:15 +0000)]
nss_wrapper: revert solaris get*ent_r() functions

This was the wrong approach, as in future lib/replace
should hide this special solaris stuff.

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25872 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 350d6c19e3e933804ce7234f21ef008c74894e2e)

12 years agonss_wrapper: set the destination pointer in the get*_r functions
metze [Tue, 6 Nov 2007 12:11:35 +0000 (12:11 +0000)]
nss_wrapper: set the destination pointer in the get*_r functions

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25871 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 17b449212a2f68262a95b0ebaabb377cc9a8dcc9)

12 years agolibreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
metze [Tue, 6 Nov 2007 10:40:07 +0000 (10:40 +0000)]
libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 95dfbd3a6c22ff6381c8b220b06ec3a5cf59c06b)

12 years agonss_wrapper: add solaris versions of getpwent_r and getgrent_r
metze [Tue, 6 Nov 2007 09:26:42 +0000 (09:26 +0000)]
nss_wrapper: add solaris versions of getpwent_r and getgrent_r

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25868 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 70ea441fe46d75162adc6c4b055a9fd5fab00342)

12 years agolibreplace: solaris has different prototypes for getpwent_r and getgrent_r
metze [Tue, 6 Nov 2007 09:15:11 +0000 (09:15 +0000)]
libreplace: solaris has different prototypes for getpwent_r and getgrent_r

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 77900d2ba03455412ad645e757ba468ca90453fb)

12 years agonss_wrapper: not all systems have get*_r calls
metze [Tue, 6 Nov 2007 08:06:50 +0000 (08:06 +0000)]
nss_wrapper: not all systems have get*_r calls

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25866 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 2451399acb9dbba6b02935f6a1d02e2b56b499ef)

12 years agolibreplace: check for nss passwd|group get*_r functions
metze [Tue, 6 Nov 2007 07:26:12 +0000 (07:26 +0000)]
libreplace: check for nss passwd|group get*_r functions

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 8e81dd7356eb8422284a93bfc9b55ed1523c8208)

12 years agouse nss_wrapper code in samba3 when --enable-nss-wrapper is given
Stefan Metzmacher [Thu, 18 Oct 2007 14:46:16 +0000 (16:46 +0200)]
use nss_wrapper code in samba3 when --enable-nss-wrapper is given

metze
(This used to be commit 96827929626a528bb3e1ec8366aef58c174d67e1)

12 years agonss_wrapper: add nss_wrapper.pl
metze [Mon, 5 Nov 2007 15:42:38 +0000 (15:42 +0000)]
nss_wrapper: add nss_wrapper.pl

This script will be used to add|delete passwd|group entries

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25837 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 28789e60cc59a3e7a42500ebb78c472093be6b12)

12 years agonss_wrapper: add support for groups and return EPERM in initgroups()
metze [Mon, 5 Nov 2007 15:41:23 +0000 (15:41 +0000)]
nss_wrapper: add support for groups and return EPERM in initgroups()

The NSS_WRAPPER_GROUP envvar should point to
the /etc/group style file.

Note: NSS_WRAPPER_PASSWD and NSS_WRAPPER_GROUP both
      need non-empty values to enable NSS Wrapper
      support.

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25836 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 6abc84a564682f2b3dda314b5a08816ef99ac517)

12 years agonss_wrapper: add support for passwd accounts
metze [Mon, 5 Nov 2007 15:39:46 +0000 (15:39 +0000)]
nss_wrapper: add support for passwd accounts

The NSS_WRAPPER_PASSWD envvar should point to
the /etc/passwd style file.

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25835 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 36af3e864c2698b2f4ffd1bc3c873f1e4f8b718b)

12 years agonss_wrapper: add lib/nss_wrapper skeleton
metze [Mon, 5 Nov 2007 15:38:36 +0000 (15:38 +0000)]
nss_wrapper: add lib/nss_wrapper skeleton

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25834 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 0924b0c8de70c0b84785cf6885f6aab325fc9b8e)

12 years agoTry to fix building dso's on hpux with gcc
jelmer [Wed, 7 Nov 2007 01:32:17 +0000 (01:32 +0000)]
Try to fix building dso's on hpux with gcc

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 4642af8026f086488672a51a0ecce2603e65f4ce)

12 years agoTry to get some more flags right.
jelmer [Tue, 6 Nov 2007 18:25:34 +0000 (18:25 +0000)]
Try to get some more flags right.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit ccb39b18448376b094680fa927c60159cc5ec566)

12 years agoAdd libreplace macro for soname flags.
jelmer [Tue, 6 Nov 2007 16:23:18 +0000 (16:23 +0000)]
Add libreplace macro for soname flags.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 81167d8f38e11423bcde5305f9e77ec268b0cf2e)

12 years agoTry to fix the build on some HPUX machines.
jelmer [Tue, 6 Nov 2007 14:51:42 +0000 (14:51 +0000)]
Try to fix the build on some HPUX machines.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 8d1f54f45d9b8278e5e031d016b1e7b44d3b1a22)

12 years agoMore pstring/fstring removal.
Jeremy Allison [Fri, 9 Nov 2007 03:00:10 +0000 (19:00 -0800)]
More pstring/fstring removal.
Jeremy.
(This used to be commit 7646f4b284403c18b22ca5cc7de4a57ba571183e)

12 years agoRemove more pstring/fstrings.
Jeremy Allison [Fri, 9 Nov 2007 02:50:07 +0000 (18:50 -0800)]
Remove more pstring/fstrings.
Jeremy.
(This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)

12 years agoRemove unneeded variable.
Jeremy Allison [Fri, 9 Nov 2007 02:01:00 +0000 (18:01 -0800)]
Remove unneeded variable.
Jeremy.
(This used to be commit c21bc756e36581d3adc770bc2b773b5cf9bf11d0)

12 years agoFix case where we have no dns domain name. Return a talloc of "".
Jeremy Allison [Fri, 9 Nov 2007 01:58:55 +0000 (17:58 -0800)]
Fix case where we have no dns domain name. Return a talloc of "".
Jeremy.
(This used to be commit ab8934844a8ae08657769ce1787c32f14a7eb745)

12 years agoRemove more fstring/pstring bad useage. Go talloc !
Jeremy Allison [Fri, 9 Nov 2007 01:25:45 +0000 (17:25 -0800)]
Remove more fstring/pstring bad useage. Go talloc !
Jeremy.
(This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)

12 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 8 Nov 2007 23:13:41 +0000 (15:13 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit d9335456d23271a4b15b97d24f1b263700a3b9df)

12 years agosync the most parts of librpc/ndr with samba4
Stefan Metzmacher [Thu, 8 Nov 2007 13:36:13 +0000 (14:36 +0100)]
sync the most parts of librpc/ndr with samba4

metze
(This used to be commit 201800a4c960d4f2afeb6cc760ac303df76d5e36)

12 years agoadd '_PUBLIC_' prototypes into proto.h
Stefan Metzmacher [Thu, 8 Nov 2007 13:34:02 +0000 (14:34 +0100)]
add '_PUBLIC_' prototypes into proto.h

this makes merging samba4 code easier...

metze
(This used to be commit 005909726e0121a549abf625a3b443f3a6964d84)

12 years agoadd win_errstr() as wrapper of dos_errstr().
Stefan Metzmacher [Thu, 8 Nov 2007 13:33:04 +0000 (14:33 +0100)]
add win_errstr() as wrapper of dos_errstr().

this makes merging stuff from samba4 easier

metze
(This used to be commit cfbdb133b998a704c6c167b9b4b56370f4ff666d)

12 years agowe should not ignore convert_string_talloc() failures.
Stefan Metzmacher [Thu, 8 Nov 2007 12:52:56 +0000 (13:52 +0100)]
we should not ignore convert_string_talloc() failures.

In all other places in ndr_string.c we already use False...

metze
(This used to be commit 9a201fd4c81509eb8a93087a38bb0fda69dfd7e4)

12 years agolibreplace: we need to link to make sure the functions are available
Stefan Metzmacher [Thu, 8 Nov 2007 11:18:28 +0000 (12:18 +0100)]
libreplace: we need to link to make sure the functions are available

metze
(This used to be commit 130de20d646fe14f494b021a98d6855c7b5b2a1a)

12 years agoTry to fix the build on systems without struct sockaddr_storage type
Michael Adam [Thu, 8 Nov 2007 10:46:13 +0000 (11:46 +0100)]
Try to fix the build on systems without struct sockaddr_storage type
(like hape - HPUX 11.00).

Michael
(This used to be commit f3d762737540476bab7da1bf6db047b66f53d9ae)

12 years agoConstrain "min receivefile size" to max of BUFFER_SIZE
Jeremy Allison [Thu, 8 Nov 2007 05:47:00 +0000 (21:47 -0800)]
Constrain "min receivefile size" to max of BUFFER_SIZE
(128k). Add debug error messages so we can see why
writeX large is denied. Ensure we don't allow recvfile
writes on IPC$.
Jeremy.
(This used to be commit 6bf053a6a17749a3bc73c8cc5fd490aa5f93b763)