1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-08 16:23:49 +03:00
Commit Graph

489 Commits

Author SHA1 Message Date
Tim Potter
4c9af9c149 r14804: Start writing a more Pythonic tdb module. 2007-10-10 13:59:21 -05:00
Tim Potter
3721072fc5 r14801: Move swig testing makefile fragment into swig's config.mk and out of
main.mk
2007-10-10 13:59:21 -05:00
Tim Potter
3dfd0959f7 r14798: Get swig building again (by commenting out dcerpc stuff for now).
Add the start of a test framework for swigged functionality.
2007-10-10 13:59:20 -05:00
Jelmer Vernooij
8575e9a490 r14603: Fix building of ejs modules as shared libs
Fix calling of ejs_exception() without requiring --export-dynamic
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
06f7a8c692 r14594: Fix some dependencies (required for shared library build) 2007-10-10 13:58:58 -05:00
Jelmer Vernooij
ed382873fd r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Jelmer Vernooij
867fc48922 r14500: Make some more functions public 2007-10-10 13:57:34 -05:00
Jelmer Vernooij
c74fc55831 r14497: Fix build with shared libraries 2007-10-10 13:57:34 -05:00
Jelmer Vernooij
9c37f847d3 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone. 2007-10-10 13:57:30 -05:00
Jelmer Vernooij
3dd477ca51 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
1ffb82a759 r14381: Kill structs.h 2007-10-10 13:57:17 -05:00
Jelmer Vernooij
1a16a6f1df r14380: Reduce the size of structs.h 2007-10-10 13:57:16 -05:00
Jelmer Vernooij
98c4c30513 r14363: Remove credentials.h from the global includes. 2007-10-10 13:57:14 -05:00
Jelmer Vernooij
7871b07e21 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.
2007-10-10 13:57:12 -05:00
Andrew Bartlett
0859ba59ae r14200: Now we have real USN support, don't force the values in the provision
scripts.

This tests the real module, and avoids duplication.

Andrew Bartlett
2007-10-10 13:56:59 -05:00
Stefan Metzmacher
13c1059747 r14110: make ndr interface parsing code libraries,
so it will not included in multiple modules or binaries

metze
2007-10-10 13:56:52 -05:00
Jelmer Vernooij
d538eac9db r14109: Modulify the smbcalls subsystem. 2007-10-10 13:56:51 -05:00
Simo Sorce
af92996e30 r13985: Slowly start swig_ldb
dcerpc still need fixing, the produced shared library misses some symbols.
Jelmer, can you look at it while you are playing with the build system ?
2007-10-10 13:52:34 -05:00
Jelmer Vernooij
2c74698032 r13960: Generate makefile rules for installing/removing shared modules. 2007-10-10 13:52:32 -05:00
Jelmer Vernooij
f87debeb12 r13944: Yet another round of splitups. 2007-10-10 13:52:31 -05:00
Stefan Metzmacher
71d3fbf65c r13942: fix dependencies
metze
2007-10-10 13:52:29 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Simo Sorce
c5a9ba3e1c r13906: fix swig build 2007-10-10 13:52:22 -05:00
Jelmer Vernooij
c80a8f1102 r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
52a2356505 r13786: [merge] Add registration functions for LDB modules
Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.

The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build
2007-10-10 13:52:11 -05:00
Stefan Metzmacher
6ee7de9bbf r13710: fix compiler warnings
metze
2007-10-10 13:52:07 -05:00
Jelmer Vernooij
bca0e8054f r13655: Use new name of build header 2007-10-10 13:52:05 -05:00
Simo Sorce
3fb9571a76 r13369: let's have a way to show the samba4 version through ejs
and use it in provisioning to fullfill rfc 3045 requirements
2007-10-10 13:51:50 -05:00
Andrew Tridgell
dc74d8ccf1 r13102: fixed the vampire code to correctly setup foreign sids and default
unix name mappings
2007-10-10 13:51:25 -05:00
Andrew Tridgell
0cacd69dd5 r13098: make check for workgroup and realm case insensitive 2007-10-10 13:51:24 -05:00
Andrew Tridgell
95e90169f4 r13097: move the creation of the default sam name -> unix name mappings into
the main provision logic, so it can also be used as part of the
vampire process
2007-10-10 13:51:24 -05:00
Stefan Metzmacher
b7a0a778cc r13084: fix 'make test'!
I would sugguest to run 'make test && make valgrind' before each commit
at this stage...

metze
2007-10-10 13:51:23 -05:00
Andrew Tridgell
1c49ce8df0 r13076: catch a easy to make error during vampire install 2007-10-10 13:51:22 -05:00
Jelmer Vernooij
cc4cab341e r13062: Fix upgrade of WINS entries 2007-10-10 13:51:20 -05:00
Andrew Bartlett
f50186e930 r13018: Fix (correct) warning about mixing C/js interface function types. I
don't use the arguments, but you must connect as the right type
anyway.

Andrew Bartlett
2007-10-10 13:51:17 -05:00
Andrew Bartlett
498d72c4ad r12997: Feed the right event context to libnet in ejsnet and the auth code.
This should give better behaviour in SWAT.

Fix authentication as Samba, rather than System, users in SWAT.

Andrew Bartlett
2007-10-10 13:51:15 -05:00
Andrew Tridgell
c7951d17b1 r12947: added some error checking that I stumbled across while testing domain migration 2007-10-10 13:51:12 -05:00
Andrew Bartlett
701558b5fe r12945: Try to move closer to getting Samba3 import working again.
There still a few things to work out

Andrew Bartlett
2007-10-10 13:51:12 -05:00
Andrew Bartlett
51eded8180 r12931: Remove some prefixes. We have:
Login failed: Login Failed: Logon failure - please try again

In SWAT currently...

Andrew Bartlett
2007-10-10 13:51:08 -05:00
Andrew Bartlett
def3195618 r12929: Fix more implict global and shadowing variables.
Andrew Bartlett
2007-10-10 13:51:07 -05:00
Andrew Bartlett
a38ceefd11 r12928: This patch improves the interaction between the vampire and provsion code.
Previously, we had to know (or guess) the host and domain guid at the
provision stage.  Now we query the database post-provision, to extract
the values and fill in the zone file.

This allows us to generate a correct zone file in the Windows migration case.

In an effort to make SWAT easier to use, I have removed and renamed
some of the provision options.

I have also fixed a nasty issue in my js code.  I had implictly
declared a global variable of the name 'join', with disasterious
results for any subsequent user of the string utility function:

esp exception - ASSERT at lib/appweb/ejs/ejsParser.c:2064, 0

Backtrace:
        [ 0]       substitute_var:20   ->               list[i] = join("", list2)
        [ 1]           setup_file:9    ->       data = substitute_var(data, subobj)

Andrew Bartlett
2007-10-10 13:51:07 -05:00
Andrew Bartlett
e13cb0ab17 r12918: Don't tell the user the difference between 'no such user' and 'wrong
password'.

Andrew Bartlett
2007-10-10 13:51:02 -05:00
Andrew Bartlett
a5e7c17c34 r12892: Add a 'Migrate from Windows' page to our installation section in SWAT.
Doing this required reworking ejsnet, particularly so it could take a
set of credentials, not just a username and password argument.

This required fixing the ejsnet.js test script, which now adds and
deletes a user, and is run from 'make test'.  This should prevent it
being broken again.

Deleting a user from ejsnet required that the matching backend be
added to libnet, hooking fortunetly onto already existing code for the
actual deletion.

The js credentials interface now handles the 'set machine account' flag.

New functions have been added to provision.js to wrap the basic
operations (so we can write a command line version, as well as the web
based version).

Andrew Bartlett
2007-10-10 13:50:59 -05:00
Andrew Bartlett
7b169aad3f r12891: We no longer manually set the 'name' attribute.
Andrew Bartlett
2007-10-10 13:50:58 -05:00
Andrew Bartlett
002cdcf3ca r12823: Fix up the provison and newuser code in SWAT. This also cleans up the
main provision script a bit, as the argument list was getting out of
control.  (It has been replaced in part with an object).

This also returns the session_info from the auth code into ejs.

We still need access control allowing only root to re-provision.

Andrew Bartlett
2007-10-10 13:50:02 -05:00
Andrew Bartlett
a6028558dc r12822: Given that talloc gives us this extra level of safety, use it.
Andrew Bartlett
2007-10-10 13:50:02 -05:00
Andrew Bartlett
7a7b2668c0 r12819: Fix swat authentication again. We need to pass the socket_address
structure around, so the auth code knows where the request came from.

Andrew Bartlett
2007-10-10 13:50:01 -05:00
Andrew Bartlett
88198c4881 r12804: This patch reworks the Samba4 sockets layer to use a socket_address
structure that is more generic than just 'IP/port'.

It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).

This passes 'make test' as well as kerberos use (not currently in the
testsuite).

The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again.   It also removes nbt_peer_addr, which was being used
for a similar purpose.

It is a large change, but worthwhile I feel.

Andrew Bartlett
2007-10-10 13:49:57 -05:00
Andrew Bartlett
42cdad5e3f r12749: Fix the newuser script.
Andrew Bartlett
2007-10-10 13:49:49 -05:00