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

854 Commits

Author SHA1 Message Date
Lars Müller
45f2e5997b r13416: Remove superfluous -lc while linking libnss_wins.so and pam_winbind.so.
(This used to be commit e64134a859)
2007-10-10 11:10:00 -05:00
Tim Potter
32f0fa59c0 r13363: Honour the $(DESTDIR) Makefile variable when installing Python
extensions.  Fix from Vladimir Lettiev.
(This used to be commit 7ca75d9060)
2007-10-10 11:06:26 -05:00
Volker Lendecke
da979c9e7e r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)
Implement 'net rpc shell account' -- An editor for account policies

nt_time_to_unix_abs changed its argument which to me seems wrong, and I could
not find a caller that depends on this. So I changed it. Applied some more
const in time.c.

Volker
(This used to be commit fc73690a70)
2007-10-10 11:06:26 -05:00
Volker Lendecke
74f32df289 r13338: Remove the experimental pdb modules
(This used to be commit a3bc4f5114)
2007-10-10 11:06:25 -05:00
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed)
2007-10-10 11:06:23 -05:00
Gerald Carter
d75dc6fa20 r13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now
(This used to be commit 51fe6bd845)
2007-10-10 11:06:19 -05:00
James Peach
543ff192b3 r13027: Support file change notifications from FAM.
(This used to be commit 652b511ff2)
2007-10-10 11:06:11 -05:00
Günther Deschner
8eba11978d r12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".
Finally cleanup the way idmap modules are build and loaded, idmap_rid
now will have to be loaded without prefix, just "rid".

Guenther
(This used to be commit a77e02177d)
2007-10-10 11:06:06 -05:00
Lars Müller
80f2848260 r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
head.

Volker: Thanks for poking me last week.
(This used to be commit 9a8e1c8b4c)
2007-10-10 11:06:05 -05:00
Volker Lendecke
4d1d826be4 r12735: After talking to Tridge and Jeremy... This needs to be made more generic
before it goes in.

Volker
(This used to be commit 2c3d5c029a)
2007-10-10 11:06:02 -05:00
Volker Lendecke
a189257c15 r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share modes and
oplocks across the cluster. Adapt Samba to it.

The gpfs API is called via libgpfs.so. This code is written with dlopen(), so
that you can compile on a system with gpfs installed and later on run on
systems without gpfs available.

So to actually make Samba call gpfs share mode calls you need to compile with
gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you
export from GPFS.

Volker
(This used to be commit 2253b17a1a)
2007-10-10 11:06:01 -05:00
Jeremy Allison
7d2771e758 r12203: Add the share path into the sharemode db. This involves
revving the minor version number for libsmbsharemodes (we
now have a new _ex interface that takes the share path
as well as the filename). Needed for #3303. Some code written
by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes
to locking/locking.c. The smbstatus output is a bit of a mess
and needs overhauling...
Jeremy.
(This used to be commit 9d93af713f)
2007-10-10 11:05:49 -05:00
Jeremy Allison
2c93f195be r12111: Fix the "everything" build by re-adding debug2html. Oops.
Jeremy.
(This used to be commit d270b809ed)
2007-10-10 11:05:45 -05:00
Jeremy Allison
83b987befd r12107: Move to a tdb-based wins database. At the moment we still
use it as though it were an in-memory db and dump out to
a flat file every 2 mins, but that can now change.
Jeremy.
(This used to be commit a342681792)
2007-10-10 11:05:45 -05:00
Lars Müller
884a0c8226 r12077: Add configure switch to disable libmsrpc build. Add new Makefile target
installlibmsrpc.  This works the same way as we're already doing it for
libsmbclient.  Default is to build it.

Add a soname to libmsrpc as we do it for libsmbclient.  We already had
the MAJOR and MINOR variable in the Makefile.
(This used to be commit 6794d44099)
2007-10-10 11:05:44 -05:00
Volker Lendecke
05ac2de0df r12051: Merge across the lookup_name and lookup_sid work. Lets see how the build farm
reacts :-)

Volker
(This used to be commit 9f99d04a54)
2007-10-10 11:05:43 -05:00
Jeremy Allison
a77658a33f r11962: Bring talloc up to date with Samba4, re-add the
talloc_describe_all() function. Fix smbcontrol <pid> pool-usage
as we desparately need it working in the field to track down
memory leaks. Seriously, when new functionality like the
Samba4 talloc is added, don't just disable working functionality
like "pool-usage", fix the damn thing first !
Jeremy.
(This used to be commit 2e262a75cc)
2007-10-10 11:05:40 -05:00
Volker Lendecke
4ce6499849 r11917: Move nt_token_to_group_list to srv_netlog_nt.c. srv_util.c is empty now.
Volker
(This used to be commit ae4ffc1cfb)
2007-10-10 11:05:35 -05:00
Gerald Carter
56f6b5d8d1 r11725: build smbget by default
(This used to be commit 715bd97708)
2007-10-10 11:05:25 -05:00
Gerald Carter
ce0a1fa159 r11652: Reinstate the netsamlogon_cache in order to work
around failed query_user calls.  This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.

As per comments on samba-technical, I still need to add

(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away

Both Jeremy and Guenther have signed off on the idea.
(This used to be commit 0c2bb5ba7b)
2007-10-10 11:05:23 -05:00
Derrell Lipman
5e7d3081d3 r11583: r10556@cabra: derrell | 2005-11-08 13:20:56 -0500
fix copy/paste error
(This used to be commit 07dd45af84)
2007-10-10 11:05:21 -05:00
Derrell Lipman
fe6ce8ee45 r11582: r10193@cabra: derrell | 2005-11-08 13:12:39 -0500
Fixed "clean" target -- bin/libmsrpc.a was not being deleted.

 Jerry, the shared version of libmsrpc is not using a version number.  For consistency, I added LIBMSRPC_MAJOR and LIBMSRPC_MINOR definitions but they are not
 currently being used.  I don't know if the non-use of version is intentional
 or not.
(This used to be commit b4871a5525)
2007-10-10 11:05:21 -05:00
Jeremy Allison
a5b339c799 r11232: Added ab's POSIX statvfs vfs call. Sorry for the delay ab.
Jeremy.
(This used to be commit af85458067)
2007-10-10 11:05:08 -05:00
Gerald Carter
949102dc5e r11163: fix installation of libmsrpc
(This used to be commit 2f94df3222)
2007-10-10 11:05:04 -05:00
Gerald Carter
846d52efae r11124: Commit Chris' fixes for libmsrpc after the rpc_client
rewrite.  His comments:

        I've gotten the libmsrpc code to work with TRUNK.
        I've put the patch at:
        www.uoguelph.ca/~cnicholl/libmsrpc_trunk_v1.patch.gz

        It is from revision 11093.

        I also fixed a minor bug in the svcctl code, the timeout
        parameter for all the control functions was working
        in milliseconds instead of seconds.

Also fixed bug in Makefile when building libmsrpc.a
(This used to be commit d3a52900ec)
2007-10-10 11:05:01 -05:00
Gerald Carter
c246649e3d r11123: * patches from Brian Moran for creating new eventlog
source keys
* my patches to get registry utility functions linking
  with eventlogadm tool
(This used to be commit 24e7663086)
2007-10-10 11:05:00 -05:00
Gerald Carter
5292f1c2f3 r11065: rename wr_eventlog to eventlogadm
(This used to be commit 9a63b52efa)
2007-10-10 11:04:59 -05:00
Gerald Carter
bb68761a50 r11060: merging new eventlog code from trunk
(This used to be commit 1bcf7e82ed)
2007-10-10 11:04:59 -05:00
Gerald Carter
47e297bc8d r10904: build patches from Marc Balmer <marc@msys.ch> when builddir!=srcdir
(This used to be commit b7fc404518)
2007-10-10 11:04:55 -05:00
Gerald Carter
0bf72b6e33 r10781: merging eventlog and svcctl code from trunk
(This used to be commit f10aa9fb84)
2007-10-10 11:04:53 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7)
2007-10-10 11:04:48 -05:00
Gerald Carter
79a822b7e6 r10451: add $(LDFLAGS) to tdb command line tools to fix build issues
(This used to be commit 32edf36b95)
2007-10-10 11:03:42 -05:00
Jeremy Allison
c762908074 r10371: Adding iPrint printing backend written by Joel J. Smith @ Novell.
Jeremy.
(This used to be commit 155dc2d52a)
2007-10-10 11:03:41 -05:00
Jeremy Allison
418e92d06d r10234: Add new auth module "auth_script" to allow valid users to
be provisioned on demand - calls script with domain,
username, challenge and LM and NT responses - passing
the info through a pipe.
Jeremy.
(This used to be commit 67be4ee41c)
2007-10-10 11:03:38 -05:00
Gerald Carter
dade4d9e95 r10176: adding smbctool from Kalim's SoC project; requires make bin/smbctool
(This used to be commit 79fcc3bb7b)
2007-10-10 11:03:35 -05:00
Jeremy Allison
1ff0de8b6d r10135: Remove external dependencies for libsmbsharemodes.so
Jeremy.
(This used to be commit 2521ae826f)
2007-10-10 11:03:33 -05:00
Jeremy Allison
ddb8f65bba r10056: Fix typo stopping .o's being added to shared library.
Jeremy.
(This used to be commit 6ac2fa52bc)
2007-10-10 11:03:32 -05:00
Jeremy Allison
34721ad233 r10042: Add in external LGPL library for accessing the share mode db. Allow
others to examine & test. May not end up here eventually...
Jeremy.
(This used to be commit 7cc70ae633)
2007-10-10 11:03:31 -05:00
Gerald Carter
a44e97c99f r10001: adding in libmsrpc from Chris Nicholls (SoC project). not built by default per conversation with Jeremy until the rpc changes from trunk are merged back
(This used to be commit e813de1e52)
2007-10-10 11:03:30 -05:00
Gerald Carter
a3ef9eb6dd r9947: fix build breakage on Status VOS (build farm)
(This used to be commit ea642ac3f1)
2007-10-10 11:03:29 -05:00
Gerald Carter
244a6421eb r9913: fix some build breakage on solaris with --enable-socket-wrapper
(This used to be commit ece650b062)
2007-10-10 11:03:28 -05:00
Günther Deschner
b3367b8ddc r9897: fix build with --enable-socket-wrapper
Guenther
(This used to be commit 56b84995bb)
2007-10-10 11:03:27 -05:00
Gerald Carter
7343eb9172 r9653: adding common popt args to profiles tool (needed for debuglevel to regfio lib)
(This used to be commit 092ff70625)
2007-10-10 11:03:23 -05:00
James Peach
77deaeac03 r9636: The new profiles code needs all the dummy objects to link.
(This used to be commit c72c4e4299)
2007-10-10 11:03:23 -05:00
Gerald Carter
83f44fc187 r9628: rewrite profiles tool to use the regfio code.
Still have one bug to track down in it though....
(This used to be commit e69df2d205)
2007-10-10 11:03:23 -05:00
Gerald Carter
dab71bed4e r9588: remove netsamlogon_cache interface...everything seems to work fine. Will deal with any fallout from special environments using a non-cache solution
(This used to be commit e1de6f238f)
2007-10-10 11:03:22 -05:00
Gerald Carter
c3d30670d4 r9582: a few makefile fixes for 'make test'; get the dependencies and cleanup right
(This used to be commit bec6cf7ea8)
2007-10-10 11:01:13 -05:00
Gerald Carter
a6ff363319 r9186: comment out 'make check'; to be replaced by 'make test'
(This used to be commit d66a5a97f3)
2007-10-10 11:00:27 -05:00
Gerald Carter
b549e4903d r8992: More make test work. Adding a way to order tests (might change
my mind on this later).
(This used to be commit 136fe3f15e)
2007-10-10 11:00:23 -05:00
Gerald Carter
c731d11471 r8990: First trivial example of 'make test'
(This used to be commit 11c8863949)
2007-10-10 11:00:23 -05:00
Lars Müller
3ddc4877bd r8151: Add support to create position independent executable (PIE) code if the
compiler supports it.

We have to compile with -fPIE and not -fpie.  Else ppc and s390(x) will
fail (to small GOT).

It's possible to disable configure's PIE detection with --disable-pie
(This used to be commit 07845bb4c5)
2007-10-10 10:58:12 -05:00
Günther Deschner
3922667cbe r7992: Adding PADL's idmap_ad plugin (taken from the latest
xad_oss_plugins-tarball).

Guenther
(This used to be commit 1d59841c99)
2007-10-10 10:58:07 -05:00
Jeremy Allison
f2f55d703d r7963: Add aio support to 3.0.
Jeremy.
(This used to be commit 1de27da470)
2007-10-10 10:58:05 -05:00
Gerald Carter
ab0033d40a r7938: * move the hardcoded registry value names from _reg_query_value()
to a thin layer in fetch_reg_values().  Not entirely efficient
  seeing as the the dynamic value paths are stored in an unsorted
  array but it is one strequal() per path.  If this was really big
  it should be worked into the reghook_cache().
(This used to be commit 63b81ad3cb)
2007-10-10 10:58:03 -05:00
Gerald Carter
2851e43e48 r7595: start trying to split out the svcctl functions into separate files for better maintenance; add SERVICE_CONTROL_OPS for spoolss service
(This used to be commit 2b0ea30a1a)
2007-10-10 10:57:15 -05:00
Gerald Carter
fed660877c r7415: * big change -- volker's new async winbindd from trunk
(This used to be commit a0ac9a8ffd)
2007-10-10 10:57:08 -05:00
Gerald Carter
503914b2c5 r7197: fix build failure when running 'make torture' without
first running 'make all' first
(This used to be commit 8a8408a340)
2007-10-10 10:57:05 -05:00
Gerald Carter
f24d88cf9d r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1
(This used to be commit 9727d05241)
2007-10-10 10:57:02 -05:00
Gerald Carter
450e8d5749 r7130: remove 'winbind enable local accounts' code from the 3.0 tree
(This used to be commit 318c3db4cb)
2007-10-10 10:57:01 -05:00
Gerald Carter
af52df2f1f r7020: fixing printer ace values and getting rid of false compiler warning about unitialized variable
(This used to be commit 3a91b20e4b)
2007-10-10 10:57:00 -05:00
Gerald Carter
f0c650a382 r6942: * merging the registry changes back to the 3.0 tree
* removing the testprns tool
(This used to be commit 81ffb0dbbb)
2007-10-10 10:56:57 -05:00
Jelmer Vernooij
714a426fe5 r6585: Fix socket-wrapper-enabled build for the tdb tools
(This used to be commit 93ee9cfe22)
2007-10-10 10:56:45 -05:00
Jelmer Vernooij
2d1e1f7e2e r6570: Add socket_wrapper library to 3.0. Can be enabled by passing
--enable-socket-wrapper to configure
(This used to be commit 9c6cdd23ea)
2007-10-10 10:56:45 -05:00
Jeremy Allison
7981bd7f04 r6495: Bugfix for #2596 by James Peach @ SGI. Fix become_root link issues and one IRIX
stack backtrace bug.
Jeremy.
(This used to be commit c0b99c692b)
2007-10-10 10:56:43 -05:00
Tim Potter
4e95263320 r6407: Fix for bugzilla 2623 and 2630: $< and $* are not valid in explicit
rules according to POSIX.
(This used to be commit 3216125bed)
2007-10-10 10:56:40 -05:00
Herb Lewis
5a72f0da1d r6318: don't include smbwrapper stuff unless asked for
(This used to be commit ce38ead0fc)
2007-10-10 10:56:36 -05:00
Gerald Carter
2e3ce1d534 r6029: adding files necessary to support 'net rpc service' functions; will fill in tomorrow
(This used to be commit 6bbd61cfd1)
2007-10-10 10:56:16 -05:00
Gerald Carter
5d1cb8e79e r6014: rather large change set....
pulling back all recent rpc changes from trunk into
3.0.  I've tested a compile and so don't think I've missed
any files.  But if so, just mail me and I'll clean backup
in a couple of hours.

Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.

I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
(This used to be commit 4e0ac63c36)
2007-10-10 10:56:15 -05:00
Jelmer Vernooij
b62fae5edc r5915: Remove --with-manpages-languages= from configure (we only have them in one
lanuage, English, at the moment). Fixes #2261. If other languages
might are added in the future, this parameter will still not be needed.
(This used to be commit d41e790b4b)
2007-10-10 10:56:08 -05:00
Volker Lendecke
eb200fcdda r5880: From the comment....
* Implement a fixed mapping of forbidden NT characters in filenames that are
 * used a lot by the CAD package Catia.
 *
 * Yes, this a BAD BAD UGLY INCOMPLETE hack, but it helps quite some people
 * out there. Catia V4 on AIX uses characters like "<*$ a *lot*, all forbidden
 * under Windows...

Volker
(This used to be commit 8c0148df81)
2007-10-10 10:56:06 -05:00
Gerald Carter
61dfab9f70 r5805: merging spoolss parsing changes from trunk and cleaning up resulting segvs
(This used to be commit 25121547ca)
2007-10-10 10:56:01 -05:00
Gerald Carter
640eb81e06 r5597: full fix for BUG 2394 (unresolved symbols on IRIX)
(This used to be commit cb08dd5f90)
2007-10-10 10:55:49 -05:00
Gerald Carter
ec5ea58179 r5596: BUG 2394: fix nmbd linking issue on IRIX
(This used to be commit 0a07f2b1d9)
2007-10-10 10:55:49 -05:00
Gerald Carter
038d939c2a r5545: move cli_cm_XXX() connection handling code to clidfs and out of client.c; client.c still maintains a pointer to the first connection so the change is fairly reansparent to other smbclient functions such as -L and -M
(This used to be commit d6a05ffd66)
2007-10-10 10:55:46 -05:00
Gerald Carter
01b87c63c9 r5518: Add initial msdfs support to smbclient. Currently I can only
cd up and down the tree and get directory listings.

Still have to figure out how to get a directory listing on a
2k dfs root.  Also have to work out some issues with relative paths
that cross dfs mount points.

We're protected from the new code paths when connecting to
a non-dfs root share ( the flag from the tcon&X is stored
in the struct cli_state* )
(This used to be commit e57fd2c5f0)
2007-10-10 10:55:44 -05:00
Gerald Carter
37ea9da1fd r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopen
and SMBsplclose commands (BUG 2010)
* clarify some debug messages in smbspool (also from Mike)

my changes:

* start adding msdfs client routines
* enable smbclient to maintain multiple connections
* set the CAP_DFS flag for our internal clienht routines.

I actualy have a dfs referral working in do_cd() but that code
is too ugly to live so I'm not checking it in just yet.
Further work is to merge with vl's changes in trunk to support multiple
TIDs per cli_state *.
(This used to be commit 0449756309)
2007-10-10 10:55:43 -05:00
Günther Deschner
6c84ecb556 r5349: After talking with Jerry, reverted the addition of account policies to
passdb in 3_0 (they are still in trunk).

Guenther
(This used to be commit fdf9bdbbac)
2007-10-10 10:55:38 -05:00
Günther Deschner
b4afdc08d5 r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).
Does automated migration from account_policy.tdb v1 and v2 and offers a
pdbedit-Migration interface. Jerry, please feel free to revert that if
you have other plans.

Guenther
(This used to be commit 75af83dfcd)
2007-10-10 10:55:08 -05:00
Gerald Carter
cf85715319 r4821: finish off 'net rpc rights [list|grant|revoke]'
one small todo item is to add a 'accounts' sub option
to 'net rpc list' so enumerate all privileged SIDs
and their associated rights.
(This used to be commit bf4385c79a)
2007-10-10 10:53:56 -05:00
Gerald Carter
862e610e4a r4820: add beginnings of 'net rpc rights' for managing privilege assignments
(This used to be commit 164f94e529)
2007-10-10 10:53:55 -05:00
Gerald Carter
d94d87472c r4724: Add support for Windows privileges in Samba 3.0
(based on Simo's code in trunk).  Rewritten with the
following changes:

* privilege set is based on a 32-bit mask instead of strings
  (plans are to extend this to a 64 or 128-bit mask before
   the next 3.0.11preX release).
* Remove the privilege code from the passdb API
  (replication to come later)
* Only support the minimum amount of privileges that make
  sense.
* Rewrite the domain join checks to use the SeMachineAccountPrivilege
  instead of the 'is a member of "Domain Admins"?' check that started
  all this.

Still todo:

* Utilize the SePrintOperatorPrivilege in addition to the 'printer admin'
  parameter
* Utilize the SeAddUserPrivilege for adding users and groups
* Fix some of the hard coded _lsa_*() calls
* Start work on enough of SAM replication to get privileges from one
  Samba DC to another.
* Come up with some management tool for manipultaing privileges
  instead of user manager since it is buggy when run on a 2k client
  (haven't tried xp).  Works ok on NT4.
(This used to be commit 77c10ff9aa)
2007-10-10 10:53:51 -05:00
Gerald Carter
aedb05350a r4645: patch from Rob to fix the build breakage in vfstest after the reload_printers() cleanup
(This used to be commit 054b64fb86)
2007-10-10 10:53:49 -05:00
Volker Lendecke
0ac4cc4cae r4604: Attempt to fix the buildfarm build.
vfstest refers to reload_printers, only defined in smbd/server.c. Jerry, could
you take a look at that?

Thanks,

Volker
(This used to be commit a83e5c1132)
2007-10-10 10:53:49 -05:00
Gerald Carter
d097ea4905 r4539: patch from Rob -- adding real printcap name cache function to speed up printcap reloads
(This used to be commit 1cad525093)
2007-10-10 10:53:46 -05:00
Volker Lendecke
f9e87b9ba6 r3705: Nobody has commented, so I'll take this as an ack...
abartlet, I'd like to ask you to take a severe look at this!

We have solved the problem to find the global groups a user is in twice: Once
in auth_util.c and another time for the corresponding samr call. The attached
patch unifies these and sends them through the passdb backend (new function
pdb_enum_group_memberships). Thus it gives pdb_ldap.c the chance to further
optimize the corresponding call if the samba and posix accounts are unified by
issuing a specialized ldap query.

The parameter to activate this ldapsam behaviour is

ldapsam:trusted = yes

Volker
(This used to be commit b94838aff1)
2007-10-10 10:53:15 -05:00
Günther Deschner
7f0f846c26 r3681: Fix build of libsmbclient on x86_64.
Patch from Lars Mueller <lmuelle@suse.de>

Guenther
(This used to be commit b87abdfd0e)
2007-10-10 10:53:13 -05:00
Günther Deschner
f23d3c2cfc r3668: Fix unresolved symbols in libsmbclient.so.
Patch from Lars Müller <lmuelle@suse.de> ( Bugzilla #2013 )

Guenther
(This used to be commit af3ec11f8d)
2007-10-10 10:53:12 -05:00
Günther Deschner
951ebacf45 r3469: Fix build of smbmount.
Guenther
(This used to be commit d22b29ee9c)
2007-10-10 10:53:07 -05:00
Günther Deschner
1704ff8c12 r3437: fix the build.
Guenther
(This used to be commit c4cb2ffa61)
2007-10-10 10:53:07 -05:00
Volker Lendecke
9341fddf26 r3408: Another build fix
(This used to be commit 0bc5105f71)
2007-10-10 10:53:06 -05:00
Herb Lewis
c5621fe5a6 r3339: allow tdbtool to be built
(This used to be commit 682b746ab6)
2007-10-10 10:53:05 -05:00
Günther Deschner
94bfc6ff0f r3145: Add experimental idmap_rid-Plugin.
Written by Sumit Bose <sbose@suse.de> and myself a while ago.

idmap_rid does a direct, static mapping between RIDs and UIDs/GIDs using
the idmap-range as offset. It does thus allow to have a unified mapping
over several winbindd-systems without having the need of a central
LDAP-Server (and all related dependencies and problems this solution can
bring).

Compile:
./configure --with-shared-modules=idmap_rid

Usage:
        idmap backend = idmap_rid

idmp_rid does even allow you to have multiple mappings (for trusted
domains). This is a rather problemtic feature and will be turned off by
default rather soon. The problem is that ranges can quickly overlap when
not measured with caution.

        idmap backend = idmap_rid:"MYDOMAIN=1000-9999 OTHER=10000-19999"

Will valgrind idmap_rid later today and fix a couple of things.

Guenther
(This used to be commit 49a238bd37)
2007-10-10 10:53:02 -05:00
Tim Potter
73d82994fb r2453: I think this is the last lot of fixes to get shared libraries working on
HPUX.  This is Richard Allen's suggestion to get HPUX to use cc instead of
ld.

Also he added some missing $(DYNEXP) on link lines and removed the definition
of $(LINK) as it is no longer used in the Makefile.
(This used to be commit 9481f2a79e)
2007-10-10 10:52:44 -05:00
Jeremy Allison
f1688d61df r2112: Simplify the mangle hash code to use an in-memory tdb.
Should be ready for the new directory code now...
Jeremy.
(This used to be commit c2eff8ef1b)
2007-10-10 10:52:32 -05:00
Jeremy Allison
fcbb2d3132 r2026: Simplify statcache to use an in-memory tdb. Modify tdb to use
a customer hash function for this tdb (yes it does make a difference
on benchmarks). Remove the no longer used hash.c code.
Jeremy.
(This used to be commit 3fbadac85b)
2007-10-10 10:52:29 -05:00
Günther Deschner
ba183f876e r2015: Reverting fix for #1474.
Jelmer, we need to find another way to solve this bug. This way,
rpcclient is linked to libxml2, libmysqlclient and libpg (with according
dependencies in samba-client.rpm's) if one just wants to build the more
experimental pdb-modules as well.

Guenther
(This used to be commit 67bffc5034)
2007-10-10 10:52:28 -05:00
Jelmer Vernooij
5e77ee2a4f r1863: Fix build of exp stuff on Solaris (#1474)
(This used to be commit d5c757d89b)
2007-10-10 10:52:22 -05:00
Günther Deschner
60727acc3b r1692: first commit :)
* add IA64 to the architecture table of printer-drivers

* add new "net"-subcommands:

  net rpc printer migrate {drivers|printers|forms|security|settings|all}
        [printer]
  net rpc share migrate {shares|files|all} [share]

  this is the first part of the migration suite. this will will (once
  feature-complete) allow to do 1:1 server-cloning in the best possible way by
  making heavy use of samba's rpc_client-functions. all migration-steps
  are implemented as rpc/smb-client-calls; net communicates via rpc/smb
  with two servers at the same time (a remote, source server and a
  destination server that currently defaults to the local smbd). this
  allows e. g. printer-driver migration including driverfiles, recursive
  mirroring of file-shares including file-acls, etc. almost any migration
  step can be called with a migrate-subcommand to provide more flexibility
  during a migration process (at the cost of quite some redundancy :) ).

  "net rpc printer migrate settings" is still in a bad condition (many
  open questions that hopefully can be adressed soon).

  "net rpc share migrate security" as an isolated call to just migrate
  share-ACLs will be added later.

  Before playing with it, make sure to use a test-server. Migration is a
  serious business and this tool-set can perfectly overwrite your
  existing file/print-shares.

* along with the migration functions had to make I the following
  changes:

        - implement setprinter level 3 client-side

        - implement net_add_share level 502 client-side

        - allow security descriptor to be set in setprinterdata level 2
          serverside

guenther
(This used to be commit 8f1716a29b)
2007-10-10 10:52:19 -05:00
Volker Lendecke
b2701e8c72 r1531: smbd/tdbutil.c isn't used anymore. Bug 1443 is suspected to be a tdb
corruption problem, and smbd_log_tdb happily destoyed the evidence ....

Volker
(This used to be commit 359b9dcffe)
2007-10-10 10:52:13 -05:00
Volker Lendecke
0b3cfe4aab r1318: Install libsmbclient into $(LIBDIR), not into hardcoded ${prefix}/lib. This
helps amd64 systems with /lib and /lib64 and an explicit configure --libdir
setting.

Thanks to Bjoern Jacke <bj@sernet.de>

Volker
(This used to be commit cc1881c143)
2007-10-10 10:52:06 -05:00