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

124 Commits

Author SHA1 Message Date
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce0)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
61933e159c r14381: Kill structs.h
(This used to be commit 1ffb82a759)
2007-10-10 13:57:17 -05:00
Jelmer Vernooij
3f16241a1d r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c30513)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
e153a8099e r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
(This used to be commit 7871b07e21)
2007-10-10 13:57:12 -05:00
Stefan Metzmacher
2ec69980c8 r14067: give more usefull errors
metze
(This used to be commit bc5281a95f)
2007-10-10 13:52:40 -05:00
Jelmer Vernooij
4ac2be9958 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 1228358767)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
71bf8326f5 r13767: fix compiler warnings
metze
(This used to be commit 0ab3a42341)
2007-10-10 13:52:10 -05:00
Günther Deschner
1e98ecd032 r12825: Add \n
Guenther
(This used to be commit 909ef011b1)
2007-10-10 13:50:02 -05:00
Jelmer Vernooij
63d718e243 r12696: Reduce the size of include/structs.h
(This used to be commit 6391761601)
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318)
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583ed)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
ab31a44216 r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2)
2007-10-10 13:47:24 -05:00
Volker Lendecke
f7d8ba6279 r11518: Fix a warning
(This used to be commit 4a32df49e6)
2007-10-10 13:45:47 -05:00
Jelmer Vernooij
a4e7bf3a89 r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc)
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
93fd08168f r11377: Add support for building LIBRARY elements as shared libraries:
- Adds -rpath bin/ so you don't have to install Samba in order to use compiled binaries.
 - Writes out pkg-config files when building shared libs
 - Supports automatic fallback to MERGEDOBJ (which is the default) or
   OBJ_LIST (if ld -r is not supported)

Building with shared libs reduces the size of the Samba binaries from
197 Mb to 60 Mb (including libraries) on my system (GCC4, with debugging).

To build with shared libraries support enabled, run:

LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY ./config.status

init functions don't get called correctly yet when using shared libs, so
you won't be able to actually run anything with success :-)

Once init functions are done, I'll look at support for loading shared
modules once again.

Based on a patch by Peter Novodvorsky (nidd on IRC).
(This used to be commit 0b54405685)
2007-10-10 13:45:28 -05:00
Jelmer Vernooij
4c5a4a7e02 r11244: Relative path names in .mk files
(This used to be commit 24e1030090)
2007-10-10 13:45:06 -05:00
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c917)
2007-10-10 13:45:03 -05:00
Jelmer Vernooij
5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc51)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
42b81d7c3e r10528: Add credentials.h back into includes.h as some compilers don't
seem to be able to handle incomplete enum types.
(This used to be commit 540155fad3)
2007-10-10 13:39:02 -05:00
Jelmer Vernooij
7f7a2d133d r10517: Get rid of use of next_token() in lib/samba3/
(This used to be commit 811a6e28cc)
2007-10-10 13:38:59 -05:00
Jelmer Vernooij
f801ad3592 r10510: Decrease the amount of data included by includes.h a bit
(This used to be commit 03647e1321)
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
6812c73534 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
(This used to be commit 4f0d7f75b9)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
5b02ee9b9d r10336: Add sconscript for a couple more subsystems.
(This used to be commit 59d4450453)
2007-10-10 13:38:29 -05:00
Jelmer Vernooij
74b26525ea r9919: Remove debug statement from samba3sam
Add SOC STATUS doc
(This used to be commit 152c1a37b5)
2007-10-10 13:36:22 -05:00
Jelmer Vernooij
4f4dae05f0 r9912: Fix another bug in ldb_map.
(This used to be commit 4c3b37d660)
2007-10-10 13:36:21 -05:00
Jelmer Vernooij
ca6c0af86f r9908: Generate posixUser and posixGroup as well
(This used to be commit ebed25b47d)
2007-10-10 13:36:21 -05:00
Tim Potter
eb133639dc r9885: Fix code before declarations.
(This used to be commit b7d982c94b)
2007-10-10 13:36:20 -05:00
Jelmer Vernooij
1b5cb7309d r9857: Fix rename/delete issues
(This used to be commit d6dce7ef3e)
2007-10-10 13:36:18 -05:00
Jelmer Vernooij
05db3024ba r9854: Finish ldb_map testsuite
Update PLAN
Some more small other fixes
(This used to be commit de2bde2526)
2007-10-10 13:36:18 -05:00
Jelmer Vernooij
84bfcd3c78 r9835: Make ldb_map compile in the stand-alone LDB build
(This used to be commit 2283a336e0)
2007-10-10 13:36:17 -05:00
Jelmer Vernooij
d991196655 r9827: Convert 'passdb backend' rather then 'passdb backends'
Be a bit more verbose
(This used to be commit fb2fd8da10)
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
f58a74aaba r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
(This used to be commit 488d737fb0)
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
34305d74e1 r9808: Improve code that selects what "passdb backend" to import from.
(This used to be commit 7739d092d5)
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
9f4b32996c r9800: Add EJS interface to param. tridge, sorry this overlaps a bit
with your loadparm interface. :-/
(This used to be commit bb0cef581a)
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
a3a7881d39 r9798: Add generic functions for handling smb.conf files (the parameters don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once.
Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome...

Remove old smb.conf-parsing code from libsamba3.
(This used to be commit 414e5f7f6d)
2007-10-10 13:35:02 -05:00
Jelmer Vernooij
b674411eb4 r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652)
2007-10-10 13:35:01 -05:00
Jelmer Vernooij
81e130b592 r9789: Patch from Volker that fixes the build on AIX.
(This used to be commit 9a1a7fb60e)
2007-10-10 13:35:01 -05:00
Jelmer Vernooij
f9447d2a17 r9786: Move ldb_map into ldb/modules/
Move samba3sam to dsdb/
(This used to be commit eb9d615bcd)
2007-10-10 13:35:01 -05:00
Jelmer Vernooij
7be4cf8c1d r9770: Couple other bugfixes
Update TODO-list
(This used to be commit d9541535e3)
2007-10-10 13:34:58 -05:00
Jelmer Vernooij
ec934124db r9762: Add support for reading good old smbpasswd files
Fix password support
Make base64 decode/encode functions available to EJS
(This used to be commit 1376a1fe44)
2007-10-10 13:34:57 -05:00
Jelmer Vernooij
c9ace93ce2 r9756: One-way upgrade from Samba3->Samba4 basically works now
Still need to polish some rough edges
(This used to be commit a8f309aa81)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
11f3f0fa6c r9754: Upgrading with the command line utility now works, at least partially (-:
Upgrading using SWAT should work as well now.
(This used to be commit 8baa2ac377)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
615e1c55bf r9751: Remove C version of samba3dump (the EJS version works nicely as well).
Fix a couple of bugs in ldb_map.
(This used to be commit 66df76a634)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
0a72d9a5f7 r9744: - [upgrade.js] Start working on smb.conf conversion.
- [ldb_map] Support storing non-mappable data in a fallback LDB
(This used to be commit 435e4c6389)
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
0549763600 r9735: More work on generating a valid Samba4 configuration using the
Samba3 data (both console and SWAT)
(This used to be commit d569465dc4)
2007-10-10 13:34:55 -05:00
Andrew Bartlett
24186a80eb r9728: A *major* update to the credentials system, to incorporate the
Kerberos CCACHE into the system.

This again allows the use of the system ccache when no username is
specified, and brings more code in common between gensec_krb5 and
gensec_gssapi.

It also has a side-effect that may (or may not) be expected: If there
is a ccache, even if it is not used (perhaps the remote server didn't
want kerberos), it will change the default username.

Andrew Bartlett
(This used to be commit 6202267f6e)
2007-10-10 13:34:54 -05:00
Jelmer Vernooij
d6cd54fb0a r9718: Work a bit on the SWAT interface
(This used to be commit b1844905d2)
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
8b15ef881d r9712: Bunch of small fixes
Write out basic sam.ldif
(This used to be commit 67593bef7f)
2007-10-10 13:34:52 -05:00
Jelmer Vernooij
37059d70d9 r9700: Change DATA_BLOB in ejs back to struct datablob
Support writing idmap mappings to winbind.ldif
(This used to be commit 3709def353)
2007-10-10 13:34:49 -05:00
Jelmer Vernooij
7e3838dd2d r9685: Add tests for samba3sam mapping module
Fix a couple of bugs
Move samba3sam backend to lib/ldb/
Remove some more unused parameters
(This used to be commit 7f864d446d)
2007-10-10 13:34:41 -05:00
Jelmer Vernooij
02779b745f r9672: Fix build for compilers that don't like undefined-length arrays at the end of structs...
(This used to be commit c2211df586)
2007-10-10 13:34:39 -05:00
Jelmer Vernooij
a16c390fe0 r9624: Support writing wins.ldif
(This used to be commit b0595d238b)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
c9d3763bfc r9623: samba3dump now generates LDIF for the registry hives from registry.tdb
couple of other small fixes
(This used to be commit 06bc5d8e09)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
69fb684063 r9621: Bunch of bug fixes. Add 'format' option to samba3dump (text,summary,ldif)
(This used to be commit dc6aab8d4a)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
9bf5e494f7 r9616: Finish ldb_map module (still needs a lot of testing though...)
Add initial mapping table for ldb_samba3. Contains most attributes.
(This used to be commit b73441b04d)
2007-10-10 13:34:35 -05:00
Jelmer Vernooij
dcd27d550f r9602: Add support for reading share_info.tdb and smb.conf.
Add userdata argument to function pointers for pm_process()
(This used to be commit 84b2fb3467)
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
98b303e2eb r9595: Add ldb map module
(This used to be commit e0a0d3f092)
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
47843f2b64 r9591: - Remove empty file
- Fix a couple of typo's
- Fix build of lib/samba3/secrets.c for systems that don't have /usr/include/tdb.h...
(This used to be commit b8c5290063)
2007-10-10 13:34:33 -05:00
Jelmer Vernooij
cdf218e270 r9589: Support reading secrets tdb
(This used to be commit dd15131b52)
2007-10-10 13:34:32 -05:00
Jelmer Vernooij
ca71549d5a r9581: Registry db
(This used to be commit b264e9f56a)
2007-10-10 13:34:31 -05:00
Tim Potter
00e79ceb49 r9563: I think this INIT_OBJ_FILES should be ADD_OBJ_FILES so that the lib/samba3
source files are included in make proto.  Fixes the build with
./configure.developer.
(This used to be commit 691d6a04d7)
2007-10-10 13:34:29 -05:00
Jelmer Vernooij
479ef0a387 r9557: Some more updates. Use combined function for parsing a set of
samba3 databases
(This used to be commit b91a695bd8)
2007-10-10 13:34:28 -05:00
Jelmer Vernooij
c0ab876711 r9555: More updates. Everything except for secrets.c compiles now..
(This used to be commit e59d6156b2)
2007-10-10 13:34:28 -05:00
Jelmer Vernooij
c1b6fd5c4b r9552: Add idmap support.
(This used to be commit 37882f2287)
2007-10-10 13:34:27 -05:00
Jelmer Vernooij
5b15e435d1 r9472: Add read-only version of Samba3 registry database (doesn't compile yet)
(This used to be commit 77cbb62998)
2007-10-10 13:34:19 -05:00
Jelmer Vernooij
6e388c27d8 r9455: Support for reading the policy database
(This used to be commit 7548a5012a)
2007-10-10 13:34:17 -05:00
Jelmer Vernooij
70ca861538 r9450: Initial work on reading group mapping database.
(This used to be commit 788fd262fc)
2007-10-10 13:34:16 -05:00
Jelmer Vernooij
0b3f8c443d r9449: Add simple utility for dumping Samba3 domain information. Currently
only prints rids and usernames of users in passdb database.

Update plan
(This used to be commit 651d06728f)
2007-10-10 13:34:16 -05:00
Jelmer Vernooij
7de12a8d50 r9448: Work on reading the secrets tdb. Build tdbsam support by default.
(This used to be commit 9ea601c0a6)
2007-10-10 13:34:16 -05:00
Jelmer Vernooij
85a12fe9af r9437: Update PLAN and README for Samba3 compatibility layer
Add support for reading tdbsam files
(This used to be commit 75ac972909)
2007-10-10 13:34:14 -05:00
Jelmer Vernooij
747cae7151 r8294: Add PLAN file for samba3->samba4 upgrade (Google Summer of Code) project.
(This used to be commit 7ebf81adce)
2007-10-10 13:19:32 -05:00
Andrew Bartlett
3191ed9ae9 r8245: Add const.
Andrew Bartlett
(This used to be commit 8c079ce163)
2007-10-10 13:19:24 -05:00
Andrew Bartlett
8bf57cf8f5 r6573: Start on my project to implement an NT4 compatible BDC in Samba4.
This brings in a compatability layer for Samba3 in Samba4 - where we
will start to define file formats and similar details.

The 'net samdump' command uses 'password server = ' for now, and
performs a similar task to Samba3's 'net rpc samsync'.

Andrew Bartlett
(This used to be commit 550f17f992)
2007-10-10 13:16:27 -05:00