samba.git
11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Tue, 16 Dec 2008 14:36:53 +0000 (15:36 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoRename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid...
Jelmer Vernooij [Tue, 16 Dec 2008 14:36:18 +0000 (15:36 +0100)]
Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl.

11 years agodocs: "acl compatibility" is a global parameter.
Karolin Seeger [Tue, 16 Dec 2008 14:10:29 +0000 (15:10 +0100)]
docs: "acl compatibility" is a global parameter.

This fixes bug #5866.
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!

Karolin

11 years agoIgnore setup symlink.
Jelmer Vernooij [Tue, 16 Dec 2008 13:39:54 +0000 (14:39 +0100)]
Ignore setup symlink.

11 years agoAdd an entry for the "check" command to the tdbtool manpage.
Holger Hetterich [Thu, 20 Nov 2008 09:32:14 +0000 (10:32 +0100)]
Add an entry for the "check" command to the tdbtool manpage.

11 years agoAdded a simple tdb integrity check to tdbtool. The command "check" runs traverse...
Holger Hetterich [Sat, 1 Nov 2008 23:12:32 +0000 (00:12 +0100)]
Added a simple tdb integrity check to tdbtool. The command "check" runs traverse on the currently open tdb, and returns the number of entries if the integrity check is successful.

11 years agonsswitch: Move nsswitch files from source4 to top level nsswitch dir
Kai Blin [Tue, 16 Dec 2008 09:06:04 +0000 (10:06 +0100)]
nsswitch: Move nsswitch files from source4 to top level nsswitch dir

11 years agonsswitch: Move source3 files to top level dir.
Kai Blin [Tue, 16 Dec 2008 08:30:16 +0000 (09:30 +0100)]
nsswitch: Move source3 files to top level dir.

Don't move source4 files yet to not confuse git's rename tracking too much.

11 years agodocs: Remove comment about default backend.
Karolin Seeger [Tue, 16 Dec 2008 10:18:45 +0000 (11:18 +0100)]
docs: Remove comment about default backend.

Karolin

11 years agodocs: Fix typo in the idmap_ad manpage.
Karolin Seeger [Tue, 16 Dec 2008 08:04:32 +0000 (09:04 +0100)]
docs: Fix typo in the idmap_ad manpage.

Karolin

11 years agos3:net_status: use dbwrap to open sessionid.tdb
Stefan Metzmacher [Mon, 15 Dec 2008 15:47:38 +0000 (16:47 +0100)]
s3:net_status: use dbwrap to open sessionid.tdb

metze

11 years agos3: Use DEBUGADD instead of DEBUG to avoid printing the header
Dan Sledz [Tue, 16 Dec 2008 01:12:49 +0000 (17:12 -0800)]
s3: Use DEBUGADD instead of DEBUG to avoid printing the header

11 years agos3: Fix "differing signedness" build warnings
Tim Prouty [Tue, 16 Dec 2008 07:13:26 +0000 (23:13 -0800)]
s3: Fix "differing signedness" build warnings

11 years agos3: Fix a few build warnings
Tim Prouty [Tue, 16 Dec 2008 06:34:07 +0000 (22:34 -0800)]
s3: Fix a few build warnings

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Andrew Bartlett [Tue, 16 Dec 2008 05:23:10 +0000 (16:23 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel

11 years agorepack the ldb after re-indexing
Andrew Tridgell [Tue, 16 Dec 2008 03:41:21 +0000 (14:41 +1100)]
repack the ldb after re-indexing

re-indexing in ldb is triggered on any modification to the @ATTRIBUTES
or @INDEXLIST records. This happens to produce a worst-case
fragmentation of the database, as all @INDEX records are deleted then
re-created. By repacking after re-indexing we ensure that the database
ends up without extreme fragmentation.

11 years agouse transactions in ldbadd, ldbmodify and ldbedit
Andrew Tridgell [Tue, 16 Dec 2008 03:39:42 +0000 (14:39 +1100)]
use transactions in ldbadd, ldbmodify and ldbedit

The command line tools ldbadd, ldbmodify and ldbedit should operate
within a transaction to make them more efficient. The ldbadd tool in
particular is much faster when adding a large number of records if all
the adds happen within a transaction. Previously there was a
transaction per record.

11 years agoimported the tdb_repack() code from CTDB
Andrew Tridgell [Tue, 16 Dec 2008 03:38:17 +0000 (14:38 +1100)]
imported the tdb_repack() code from CTDB

The tdb_repack() function repacks a TDB so that it has a single
freelist entry. The file doesn't shrink, but it does remove all
freelist fragmentation. This code originated in the CTDB vacuuming
code, but will now be used in ldb to cope with fragmentation from
re-indexing

11 years agomake tdbbackup use transactions
Andrew Tridgell [Tue, 16 Dec 2008 03:36:56 +0000 (14:36 +1100)]
make tdbbackup use transactions

tdbbackup was originally written before we had transactions, and it
attempted to use its own fsync() calls to make it safe. Now that we
have transactions we can do it in a much safer (and faster!) fashion

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Tue, 16 Dec 2008 00:41:20 +0000 (11:41 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoA more-commented version of rpc_server crash fix, matching closer the
Andrew Bartlett [Tue, 16 Dec 2008 00:25:29 +0000 (11:25 +1100)]
A more-commented version of rpc_server crash fix, matching closer the
previous behaviour for the 'bad bind' case.

(It is only close, not matching - Windows 2008 sends a different,
non-zero, assoc_group_id each time)

Andrew Bartlett

11 years agoAdd python extensions for dom_sid.
Jelmer Vernooij [Mon, 15 Dec 2008 23:16:02 +0000 (00:16 +0100)]
Add python extensions for dom_sid.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 15 Dec 2008 22:19:49 +0000 (23:19 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agos3:loadparm: fix copy service error (canonicalize_servicename: NULL source name)
Michael Adam [Mon, 15 Dec 2008 13:42:13 +0000 (14:42 +0100)]
s3:loadparm: fix copy service error (canonicalize_servicename: NULL source name)

this was introduced by commit 3358a139d2dc77eb4c842d41722b1acc24bd2cb2.

Michael

11 years agos3:loadparm: add service-struct based variants of the free-parameter routines
Michael Adam [Mon, 15 Dec 2008 13:38:51 +0000 (14:38 +0100)]
s3:loadparm: add service-struct based variants of the free-parameter routines

and use the abstracted free_one_parameter_common() in old
free_one_parameter_by_snum() as well as in new free_one_parameter()

Michael

11 years agos3:loadparm: rename free_parameters() to free_parameters_by_snum()
Michael Adam [Mon, 15 Dec 2008 13:29:34 +0000 (14:29 +0100)]
s3:loadparm: rename free_parameters() to free_parameters_by_snum()

Michael

11 years agos3:loadparm: rename free_parameter() to free_one_parameter_by_snum()
Michael Adam [Mon, 15 Dec 2008 13:28:03 +0000 (14:28 +0100)]
s3:loadparm: rename free_parameter() to free_one_parameter_by_snum()

Michael

11 years agos3:loadparm: add lp_local_ptr() that operates on a service struct
Michael Adam [Mon, 15 Dec 2008 13:20:16 +0000 (14:20 +0100)]
s3:loadparm: add lp_local_ptr() that operates on a service struct

and use this in lp_local_ptr_by_snum().

Michael

11 years agos3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()
Michael Adam [Mon, 15 Dec 2008 13:16:06 +0000 (14:16 +0100)]
s3:loadparm: rename lp_local_ptr() to lp_local_ptr_by_snum()

Michael

11 years agos3:loadparm: fix newly introduced leading whitespaces to tabs
Michael Adam [Mon, 15 Dec 2008 12:33:24 +0000 (13:33 +0100)]
s3:loadparm: fix newly introduced leading whitespaces to tabs

Michael

11 years agos3:fix build of pam_winbind.so on older Linux systems.
Michael Adam [Mon, 15 Dec 2008 10:32:45 +0000 (11:32 +0100)]
s3:fix build of pam_winbind.so on older Linux systems.

Older pam implementations on Linux define PAM_AUTHTOK_RECOVER_ERR
instead of PAM_AUTHTOK_RECOVERY_ERR. We have always defined and
are using PAM_AUTHTOK_RECOVER_ERR in all other places.

Michael

11 years agoRename ldap.h to ldap-util.h to avoid clashing with the system ldap.h
Jelmer Vernooij [Sun, 14 Dec 2008 18:08:22 +0000 (19:08 +0100)]
Rename ldap.h to ldap-util.h to avoid clashing with the system ldap.h

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Sun, 14 Dec 2008 16:17:55 +0000 (17:17 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoRemove the global "cmdline_auth_info" from source3/lib/util.c
Volker Lendecke [Sun, 14 Dec 2008 12:06:19 +0000 (13:06 +0100)]
Remove the global "cmdline_auth_info" from source3/lib/util.c

This involves changing all our clients, that's why it's so large.

11 years agoMove 128 bytes from the data to the text segment
Volker Lendecke [Sun, 14 Dec 2008 12:11:41 +0000 (13:11 +0100)]
Move 128 bytes from the data to the text segment

11 years agoRemove a pointless static variable
Volker Lendecke [Sun, 14 Dec 2008 11:30:04 +0000 (12:30 +0100)]
Remove a pointless static variable

11 years agoAdded torture test for doing an openX over a directory
Jeremy Allison [Sat, 13 Dec 2008 21:10:48 +0000 (13:10 -0800)]
Added torture test for doing an openX over a directory
to ensure we get the correct error message.
Jeremy.

11 years agodon't return 0 on error - bad for scripts
Herb Lewis [Sat, 13 Dec 2008 19:31:20 +0000 (11:31 -0800)]
don't return 0 on error - bad for scripts

11 years agoRemove a pointless static variable
Volker Lendecke [Sat, 13 Dec 2008 15:40:25 +0000 (16:40 +0100)]
Remove a pointless static variable

Every sane compiler will only allocate "*SMBSERVER" once

11 years agoRemove a static variable
Volker Lendecke [Sat, 13 Dec 2008 16:04:12 +0000 (17:04 +0100)]
Remove a static variable

Derrell, please check!

Thanks,

Volker

11 years agoMicro-Optimize cliconnect.c
Volker Lendecke [Sat, 13 Dec 2008 15:53:17 +0000 (16:53 +0100)]
Micro-Optimize cliconnect.c

In this form, the prots array is fully read-only in the text segment and thus
can be shared between processes.

Probably pointless, but I had fun doing it :-)

11 years agos3:dsgetdcname: retry with the clients site
Stefan Metzmacher [Fri, 21 Nov 2008 07:28:13 +0000 (08:28 +0100)]
s3:dsgetdcname: retry with the clients site

metze

11 years agos3:libnet_join: use DS_FORCE_REDISCOVERY
Stefan Metzmacher [Fri, 21 Nov 2008 07:22:38 +0000 (08:22 +0100)]
s3:libnet_join: use DS_FORCE_REDISCOVERY

metze

11 years agos3:libnet_join: call saf_join_store() after a the join.
Stefan Metzmacher [Mon, 27 Oct 2008 18:40:23 +0000 (19:40 +0100)]
s3:libnet_join: call saf_join_store() after a the join.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(similar to commit feef594d275881466e2c3f59c0ff54609a9cc53b)

11 years agos3:libads/ldap.c: store the dc name in the saf cache as in all other places
Stefan Metzmacher [Mon, 27 Oct 2008 18:39:30 +0000 (19:39 +0100)]
s3:libads/ldap.c: store the dc name in the saf cache as in all other places

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 543fa85a711337e979c7b631bda5db95d109ef59)

11 years agos3:libads/ldap.c: if the client belongs to no site at all any dc is the closest
Stefan Metzmacher [Mon, 27 Oct 2008 18:38:15 +0000 (19:38 +0100)]
s3:libads/ldap.c: if the client belongs to no site at all any dc is the closest

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit f86ef9b53a903485deba94febf90dd4e657cc02b)

11 years agos3:libads/ldap.c: pass the real workgroup name to get_dc_name()
Stefan Metzmacher [Mon, 27 Oct 2008 18:36:25 +0000 (19:36 +0100)]
s3:libads/ldap.c: pass the real workgroup name to get_dc_name()

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit c2d4a84abe1b6cbf68d6e9f1bb1f8974d0b628fc)

11 years agos3:libsmb/namequery.c: add saf_join_store() function
Stefan Metzmacher [Mon, 27 Oct 2008 18:31:30 +0000 (19:31 +0100)]
s3:libsmb/namequery.c: add saf_join_store() function

saf_join_store() should be called after a successful
domain join, the affinity to the dc used at join time
has a larger ttl, to avoid problems with delayed replication.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 80e74a27c55c01221091e3eec930c2ac4433c22c)

11 years agos3: libsmb/namequery: fallback to returning all dcs, when none is available in the...
Stefan Metzmacher [Mon, 27 Oct 2008 08:40:25 +0000 (09:40 +0100)]
s3: libsmb/namequery: fallback to returning all dcs, when none is available in the requested site

It could happen that all dcs in a site are unavailable
(some sites have only one dc) and then we need to fallback
to get all dcs.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit c127367b1dd622eeceb1f47de0a047c297dda222)

11 years agos3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP case
Stefan Metzmacher [Wed, 22 Oct 2008 09:14:10 +0000 (11:14 +0200)]
s3: libads: use get_dc_name() instead of get_sorted_dc_list() in the LDAP case

We use get_dc_name() for LDAP because it generates the selfwritten
krb5.conf with the correct kdc addresses and sets KRB5_CONFIG.

For CLDAP we need to use get_sorted_dc_list() to avoid recursion.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit d2f7f81f4d61bae9c4be65cbc1bf962b6c24a31f)

11 years agos3: correctly detect if the current dc is the closest one
Stefan Metzmacher [Wed, 22 Oct 2008 08:36:21 +0000 (10:36 +0200)]
s3: correctly detect if the current dc is the closest one

ads->config.tried_closest_dc was never set.

metze

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)

11 years agoFix a valgrind error in get_relative_fid_filename
Volker Lendecke [Sat, 13 Dec 2008 09:31:11 +0000 (10:31 +0100)]
Fix a valgrind error in get_relative_fid_filename

It doesn't really make sense to check the length of a not-yet-allocated string
:-)

Volker

11 years agoFor read&x replies, check the offset
Volker Lendecke [Wed, 19 Nov 2008 21:55:06 +0000 (22:55 +0100)]
For read&x replies, check the offset

11 years agos3: fix netlogon rpc_server build after idl change.
Günther Deschner [Fri, 12 Dec 2008 23:27:25 +0000 (00:27 +0100)]
s3: fix netlogon rpc_server build after idl change.

Guenther

11 years agos3: re-run make samba3-idl.
Günther Deschner [Fri, 12 Dec 2008 23:24:02 +0000 (00:24 +0100)]
s3: re-run make samba3-idl.

Guenther

11 years agos3: remove duplicate prototypes in proto.h.
Günther Deschner [Fri, 12 Dec 2008 23:13:02 +0000 (00:13 +0100)]
s3: remove duplicate prototypes in proto.h.

Guenther

11 years agoMove dom_sid to the Samba 3 IDL file, remove the old definition.
Jelmer Vernooij [Fri, 12 Dec 2008 19:20:01 +0000 (20:20 +0100)]
Move dom_sid to the Samba 3 IDL file, remove the old definition.

11 years agoManually marshall dom_sid, so we can use a fixed size array for
Jelmer Vernooij [Fri, 12 Dec 2008 18:52:06 +0000 (19:52 +0100)]
Manually marshall dom_sid, so we can use a fixed size array for
dom_sid.sub_auths rather than a dynamically allocated one.

This makes it possible to use the same DCE/RPC object code for Samba 3
and Samba 4's DCE/RPC parsers and allows copying sids more easily
(since they no longer contain any pointers). The cost of having additional
manual marshalling code is limited (~35 additional lines of C code).

11 years agoDon't allow specifying arguments to pidl object constructors, as they'll
Jelmer Vernooij [Fri, 12 Dec 2008 18:01:40 +0000 (19:01 +0100)]
Don't allow specifying arguments to pidl object constructors, as they'll
be ignored anyway atm.

11 years agowinbindd: vars for signals must be volatile sig_atomic_t
SATOH Fumiyasu [Fri, 12 Dec 2008 16:43:51 +0000 (17:43 +0100)]
winbindd: vars for signals must be volatile sig_atomic_t

11 years agoFix error code when smbclient puts a file over an existing directory
Volker Lendecke [Fri, 12 Dec 2008 12:47:41 +0000 (13:47 +0100)]
Fix error code when smbclient puts a file over an existing directory

Windows returns NT_STATUS_FILE_IS_A_DIRECTORY, as does Samba 3.0. 3.2 and
following returned NT_STATUS_INVALID_PARAMETER which is wrong.

Before I converted reply_open_and_X to create_file() we called
open_file_ntcreate directly. Passing through open&X for a filename that exists
as a directory ends up in open_directory after having tried open_file_ntcreate.
Some check in there returns NT_STATUS_INVALID_PARAMETER. With this additional
FILE_NON_DIRECTORY_FILE flag we get the correct error message back from
create_file_unixpath before trying open_directory().

Survives make test, but as this also touches the other open variants I would
like others to review this.

Volker

11 years agos3 sesssetup.c: Add missing line break to debug message.
root [Fri, 12 Dec 2008 15:51:34 +0000 (16:51 +0100)]
s3 sesssetup.c: Add missing line break to debug message.

Karolin

11 years agodocs: Add hint that "socket address" usually don't need to be set.
Karolin Seeger [Fri, 12 Dec 2008 13:30:01 +0000 (14:30 +0100)]
docs: Add hint that "socket address" usually don't need to be set.

This fixes bug #5950.
Thanks to the Debian Samba package maintainers for reporting!

Karolin

11 years agoAllow overriding repr function for pidl-defined types.
Jelmer Vernooij [Fri, 12 Dec 2008 12:31:42 +0000 (13:31 +0100)]
Allow overriding repr function for pidl-defined types.

11 years agomount.cifs: allow mounts to ipv6 capable servers
Jeff Layton [Fri, 12 Dec 2008 12:00:38 +0000 (07:00 -0500)]
mount.cifs: allow mounts to ipv6 capable servers

The current name resolution scheme in mount.cifs is IPv4 only. Expand
it to be protocol-independent. Also take advantage of the fact that
getaddrinfo() returns a list of addresses and have mount.cifs try each
in turn until it hits one that's reachable and allows the socket to
connect.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
11 years agoSupport pyhelper property to allow additional methods to be tucked onto a
Jelmer Vernooij [Fri, 12 Dec 2008 11:40:11 +0000 (12:40 +0100)]
Support pyhelper property to allow additional methods to be tucked onto a
pidl-generated type.

11 years agoRemove noejs property, which is no longer used.
Jelmer Vernooij [Fri, 12 Dec 2008 10:48:42 +0000 (11:48 +0100)]
Remove noejs property, which is no longer used.

11 years agoAdd convenience function for determining if an array should be allocated with talloc.
Jelmer Vernooij [Fri, 12 Dec 2008 10:16:36 +0000 (11:16 +0100)]
Add convenience function for determining if an array should be allocated with talloc.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Fri, 12 Dec 2008 09:31:02 +0000 (10:31 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoRemove EJS backend for PIDL, as we don't have EJS anymore.
Jelmer Vernooij [Fri, 12 Dec 2008 09:30:13 +0000 (10:30 +0100)]
Remove EJS backend for PIDL, as we don't have EJS anymore.

11 years agos4:fix segfault in rpc-server, when client binds to unsupported service.
Stefan Metzmacher [Fri, 12 Dec 2008 08:51:44 +0000 (09:51 +0100)]
s4:fix segfault in rpc-server, when client binds to unsupported service.

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agos3: Use strtoul since id types are unsigned
Dan Sledz [Mon, 8 Dec 2008 22:52:14 +0000 (14:52 -0800)]
s3: Use strtoul since id types are unsigned

11 years agoInstall symlink for convenience for the samba4 setup directory.
Jelmer Vernooij [Thu, 11 Dec 2008 18:07:50 +0000 (19:07 +0100)]
Install symlink for convenience for the samba4 setup directory.

11 years agoAdd interactive flag to setup/provision (also the default when no arguments are given).
Jelmer Vernooij [Thu, 11 Dec 2008 17:51:28 +0000 (18:51 +0100)]
Add interactive flag to setup/provision (also the default when no arguments are given).

11 years agoBuild python modules by default in merged build (required for provision).
Jelmer Vernooij [Thu, 11 Dec 2008 17:20:18 +0000 (18:20 +0100)]
Build python modules by default in merged build (required for provision).

11 years agoSamba3-HOWTO: Fix usage of 'net idmap restore'.
Karolin Seeger [Thu, 11 Dec 2008 17:08:29 +0000 (18:08 +0100)]
Samba3-HOWTO: Fix usage of 'net idmap restore'.

This fixes bug #5883.

Karolin

11 years agos4:selftest: samba4 fails the changed delete test
Stefan Metzmacher [Thu, 11 Dec 2008 16:54:38 +0000 (17:54 +0100)]
s4:selftest: samba4 fails the changed delete test

metze

11 years agos4:libcli/resolve: add resolve_name_all*() which return all addresses not only the...
Stefan Metzmacher [Thu, 11 Dec 2008 14:43:47 +0000 (15:43 +0100)]
s4:libcli/resolve: add resolve_name_all*() which return all addresses not only the first one

metze

11 years agopackaging(RHEL-CTDB): don't show failure messages in check for ccache
Michael Adam [Mon, 1 Dec 2008 22:19:02 +0000 (23:19 +0100)]
packaging(RHEL-CTDB): don't show failure messages in check for ccache

by fixing the order of "> /dev/null 2>&1"

Michael
(cherry picked from commit 0e9d5638a7c375b3b18f19f83f97924ab45ad382)
(cherry picked from commit 6e51f250c5d38e973948aa1d53222bcccdcca365)

11 years agopackaging(RHEL-CTDB): fix the build when ccache is not found.
Michael Adam [Mon, 1 Dec 2008 22:03:38 +0000 (23:03 +0100)]
packaging(RHEL-CTDB): fix the build when ccache is not found.

Michael
(cherry picked from commit c98fb34ef933944a96a286d2d276cf2adc99e25e)
(cherry picked from commit 7d929d9fa363a1f1c67926678524f338e84b3535)

11 years agopackaging(RHEL-CTDB): use ccache if available
Michael Adam [Mon, 1 Dec 2008 02:07:19 +0000 (03:07 +0100)]
packaging(RHEL-CTDB): use ccache if available

Michael
(cherry picked from commit 36ca917a63f23126536e786bed845dee48fbf61c)
(cherry picked from commit 05b51bc176f87e7dc1b65adf3d866e797159d953)

11 years agopackaging(RHEL-CTDB): move the cifs.upcall manpage to the client package
Michael Adam [Tue, 11 Nov 2008 12:47:37 +0000 (13:47 +0100)]
packaging(RHEL-CTDB): move the cifs.upcall manpage to the client package

Michael
(cherry picked from commit 16f23eb27467ace9751ef2d1fbb6c4d3a5ae9550)
(cherry picked from commit 9538e3130f33ffde1d68eaea303b2b2dd9ddd71d)

11 years agopackaging(RHEL-CTDB): add the cifs.upcall binary to the client package.
Michael Adam [Tue, 11 Nov 2008 12:45:40 +0000 (13:45 +0100)]
packaging(RHEL-CTDB): add the cifs.upcall binary to the client package.

Michael
(cherry picked from commit 1875b373a319ac9494fdc907793e59804c577a4d)
(cherry picked from commit e1dca5f1870975b7d9a57869357c971d559afdfe)

11 years agopackaging(RHEL-CTDB): fix typo in makerpms.sh
Michael Adam [Mon, 15 Sep 2008 14:15:42 +0000 (16:15 +0200)]
packaging(RHEL-CTDB): fix typo in makerpms.sh

Michael
(cherry picked from commit 5fc5e82d4c2c386894fde95f94992171620c7853)
(cherry picked from commit 0e35ff0b46be2f9deab6e539c34970c85c3b58ce)

11 years agopackaging(RHEL-CTDB): refactor creation of spec file from template out
Michael Adam [Fri, 12 Sep 2008 13:50:33 +0000 (15:50 +0200)]
packaging(RHEL-CTDB): refactor creation of spec file from template out

into new script makespec.sh

Michael
(cherry picked from commit d49a9d1c67e4d98017ce5f7d1351bca1366e1a8d)
(cherry picked from commit 086873f00de96ca48717b05dddb71e776c74ca7d)

11 years agopackaging(RHEL-CTDB): fix installation of pam modules
Michael Adam [Wed, 10 Sep 2008 21:06:28 +0000 (23:06 +0200)]
packaging(RHEL-CTDB): fix installation of pam modules

use configure parameter to specify the pam modules dir.

Michael
(cherry picked from commit 24282daa5e293ef9362a69f7f70a684587d6763a)

11 years agos3-libnet: fix DEBUG statement in libnet_keytab.
Günther Deschner [Thu, 11 Dec 2008 10:25:45 +0000 (11:25 +0100)]
s3-libnet: fix DEBUG statement in libnet_keytab.

Guenther

11 years agoMake the LookupRid access check match LookupName until
Jeremy Allison [Thu, 11 Dec 2008 01:03:53 +0000 (17:03 -0800)]
Make the LookupRid access check match LookupName until
we know the correct bits to use here.
Jeremy.

11 years agoFix usrmgr opening a user object as non-root.
Jeremy Allison [Wed, 10 Dec 2008 23:29:14 +0000 (15:29 -0800)]
Fix usrmgr opening a user object as non-root.
Jeremy.

11 years agoFix the build
Volker Lendecke [Wed, 10 Dec 2008 15:58:40 +0000 (16:58 +0100)]
Fix the build

Crap, too many trees and no instant, infinitely fast rebuild

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agoAlso search for -lgpfs which is available as GPL in GPFS PTF8
Volker Lendecke [Wed, 10 Dec 2008 17:17:59 +0000 (18:17 +0100)]
Also search for -lgpfs which is available as GPL in GPFS PTF8
(cherry picked from commit 3c93c96fd0fe362c35fe8127058f94868abc9342)

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agoMake use of smbd_gpfs_get_realfilename_path in unix_convert
Volker Lendecke [Wed, 10 Dec 2008 11:32:24 +0000 (12:32 +0100)]
Make use of smbd_gpfs_get_realfilename_path in unix_convert
(cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58)

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agoFix nonempty blank lines in vfs_gpfs.c
Volker Lendecke [Wed, 10 Dec 2008 02:22:04 +0000 (03:22 +0100)]
Fix nonempty blank lines in vfs_gpfs.c

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agos3:modules/gpfs: Fix nonempty blank lines
Volker Lendecke [Wed, 1 Oct 2008 10:26:55 +0000 (12:26 +0200)]
s3:modules/gpfs: Fix nonempty blank lines

11 years agopackaging(RHEL-CTDB): explicitly build the gpfs module
Michael Adam [Mon, 1 Dec 2008 02:05:40 +0000 (03:05 +0100)]
packaging(RHEL-CTDB): explicitly build the gpfs module

to prevent potetential problems on PTF8 systems where there
is no valid autodetecting configure check yet.

Michael
(cherry picked from commit 37039d345e9a25654bef038f2b8bb4b891cfa6f0)

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agopackaging(RHEL-CTDB): adapt configure.rpm to changes to the spec file
Michael Adam [Thu, 18 Sep 2008 03:02:14 +0000 (05:02 +0200)]
packaging(RHEL-CTDB): adapt configure.rpm to changes to the spec file

Michael
(cherry picked from commit d249a9ca2a1761f20655cbcfe39fbc942547974d)

Signed-off-by: Michael Adam <obnox@samba.org>
11 years agoMove the doxygen comments of wbclient to the header file.
Andreas Schneider [Tue, 9 Dec 2008 12:18:06 +0000 (13:18 +0100)]
Move the doxygen comments of wbclient to the header file.

So that a developer who wants to use the wbclient api can read
the documentation in the header file.

Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Michael Adam <obnox@samba.org>
11 years agoRevert "Fix some merge omissions for GPFS"
Volker Lendecke [Wed, 10 Dec 2008 22:14:46 +0000 (23:14 +0100)]
Revert "Fix some merge omissions for GPFS"

This reverts commit a0efc4cffbd84898c454d27eaf946d073dfdad0f.

This one should have been done with careful cherry-picks, sorry.

Volker

11 years agoRevert "Fix nonempty blank lines in vfs_gpfs.c"
Volker Lendecke [Wed, 10 Dec 2008 22:14:16 +0000 (23:14 +0100)]
Revert "Fix nonempty blank lines in vfs_gpfs.c"

This reverts commit a4b52118d44906882677ed1234428d8025134036.

11 years agoRevert "Make use of smbd_gpfs_get_realfilename_path in unix_convert"
Volker Lendecke [Wed, 10 Dec 2008 22:14:01 +0000 (23:14 +0100)]
Revert "Make use of smbd_gpfs_get_realfilename_path in unix_convert"

This reverts commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58.