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

583 Commits

Author SHA1 Message Date
Stefan Metzmacher
ebbd8a83c9 r20554: - use ${ROOTDN} for the rootDomainNamingContext
- the ${CONFIGDN} is a child of the ${ROOTDN}

metze
2007-10-10 14:36:55 -05:00
Stefan Metzmacher
09ca6aae12 r20553: add ${CONFIGDN} and ${SCHEMADN} instead of using hardcoded paths
under ${BASEDN}

metze
2007-10-10 14:36:54 -05:00
Andrew Bartlett
5781d0f41a r20505: I had the wrong ldif name here.
Andrew Bartlett
2007-10-10 14:36:02 -05:00
Andrew Bartlett
f45504e271 r20495: Further notes on joining with fedora DS.
Add in a hook for adding an ACI, needed to allow anonymous access
until we hook across a SYSTEM token to the LDAP server.

Andrew Bartlett
2007-10-10 14:36:00 -05:00
Andrew Bartlett
600c7f1a68 r20492: Add in instructions/sample LDIF to setup Fedora DS as a backend.
Add a new module entrypoint to handle the new, interesting and
different mappings required for Fedora DS.

Andrew Bartlett
2007-10-10 14:35:59 -05:00
Andrew Bartlett
99faff0ad8 r20468: Patch from Martin Kuehl <kuehl@univention.de> to make it easier to load
into an exsting LDAP server.  (Allow some parts to pre-exist, and try
to blow away less data).

Andrew Bartlett
2007-10-10 14:35:54 -05:00
Derrell Lipman
0201baef46 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
2007-10-10 14:30:39 -05:00
Derrell Lipman
29db71587f r20364: SWAT updates, part 1
These next few check-ins will add a working Statistics module to SWAT, and add
an API Documentation module as well.

Next step will be to modify the LDB browser to work with this new module and
fsm structure.

Derrell
2007-10-10 14:30:16 -05:00
Stefan Metzmacher
02d2ce65e6 r20358: - fix ejs generated code for ipv4address
- (not Parse::Pidl::Typelist::scalar_is_reference($e->{TYPE}))
  is much more generic than ($e->{TYPE} ne "string")
  and handles ipv4address and other special types...

metze
2007-10-10 14:30:15 -05:00
Andrew Bartlett
79941adbff r20353: Restructure the DRSUAPI DsGetDomainControllerInfo test, because as
usual things are more complex than they appear.

Also remove the incorrect server-side implementation, which blindly
assumed some sense of consistancy across the API switch levels.

Andrew Bartlett
2007-10-10 14:30:15 -05:00
Stefan Metzmacher
b97b8f5dcb r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointer
to a ldb_schema_syntax struct.

the default attribute handler is now registered dynamicly as "*"
attribute, instead of having its own code path.

ldb_schema_attribute's can be added to the ldb_schema given a
ldb_schema_syntax struct or the syntax name

we may also need to introduce a ldb_schema_matching_rule,
and add a pointer to a default ldb_schema_matching_rule
in the ldb_schema_syntax.

metze
2007-10-10 14:29:19 -05:00
Rafal Szczesniak
ca8259fd27 r20175: use libnet context instead mem_ctx as the latter gets
freed just before the function returns.

rafal
2007-10-10 14:29:17 -05:00
Rafal Szczesniak
af539fec4a r20163: Return null object if no user is found.
rafal
2007-10-10 14:29:16 -05:00
Rafal Szczesniak
3cdd43ebce r20143: a bit of experiments before doing serious changes in ejsnet.
rafal
2007-10-10 14:29:14 -05:00
Rafal Szczesniak
bc88640bb5 r19972: put a placeholder of a new js function and use error strings
returned by each libnet call.

rafal
2007-10-10 14:28:43 -05:00
Simo Sorce
3929c086d5 r19832: better prototypes for the linearization functions:
- ldb_dn_get_linearized
  returns a const string

- ldb_dn_alloc_linearized
  allocs astring with the linearized dn
2007-10-10 14:28:22 -05:00
Simo Sorce
a580c871d3 r19831: Big ldb_dn optimization and interfaces enhancement patch
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.

The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.

The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.

Simo.
2007-10-10 14:28:22 -05:00
Andrew Bartlett
9890af534d r19732: The 'res' from ldb_search is only valid if the call returns LDB_SUCCESS.
This seems to show up (as an abort() from talloc) particularly under
ldb_ildap.

Andrew Bartlett
2007-10-10 14:28:15 -05:00
Andrew Bartlett
2b569c42e0 r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
2007-10-10 14:25:00 -05:00
Derrell Lipman
2406af1079 r19449: ldbbrowse: installation hopefully works now. "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.

With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:

  JSON/qooxdoo -> ldb browser

Derrell
2007-10-10 14:21:33 -05:00
Stefan Metzmacher
0fcdc8c243 r19427: print out the currect name
metze
2007-10-10 14:21:29 -05:00
Jelmer Vernooij
0eb6097305 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
2007-10-10 14:21:12 -05:00
Simo Sorce
57ee79c155 r19334: Commit commented provisioning code to activate the schema 2007-10-10 14:21:11 -05:00
Andrew Bartlett
9b77d285d8 r19318: Because we don't test the vampire code in SWAT very regularly, it bit-rotted.
Fix up interfaces and interaction between the two..

Andrew Bartlett
2007-10-10 14:21:08 -05:00
Andrew Tridgell
6978225ffc r19297: fixed a leak in the ejs ldb interface 2007-10-10 14:21:04 -05:00
Andrew Bartlett
962219df7d r19258: Don't delete the contents of the partitions twice, and in particular
don't delete their contents until we have specified the new partition
locations.

However, preserve the important part of tridge's change, that is to
ensure that no database index is present when the mass delete occours.
In my testing, it is best to leave the index until the provision is
compleated.

Andrew Bartlett
2007-10-10 14:20:58 -05:00
Andrew Tridgell
b62437214c r19252: - fixed 'erase' argument to setup_ldb()
- when wiping a ldb, wipe within each naming context first. By not
  wiping the naming contexts we didn't wipe the partitions, which
  caused a massive slowdown in re-provisioning due to re-indexing of
  the schema.
2007-10-10 14:20:58 -05:00
Andrew Bartlett
a4aafe307d r19216: Merge from SAMBA_4_0_RELEASE:
Move default for subobj.LDAPMODULES into scripting/libjs/provision.js
so that SWAT can provision again.

Andrew Bartlett
2007-10-10 14:20:54 -05:00
Derrell Lipman
aa8e4227a1 r19165: handle errors better for jsonrpc. generate an error object whenever possible 2007-10-10 14:20:47 -05:00
Derrell Lipman
5bfebbda7a r19055: JSON-RPC is working! It passes the small qooxdoo JSON-RPC test suite
perfectly.

This check in covers the remaining fixes and enhancements to complete the
server.  In a subsequent check-in, I need to learn about the new qooxdoo
packaging mechanism.  Although it'd be nice to have the whole source tree,
that's huge and needn't be in samba svn.  It's now supposed to be very easy to
package qooxdoo, so I'll figure out how that's done and then check in the
relevant small number of files.

Steps after that involve generating the stubs to allow various ejs functions
to be called via JSON-RPC.

Derrell
2007-10-10 14:20:32 -05:00
Derrell Lipman
6e9cb2ed1c r19051: JSON-RPC server work-in-progress. It's almost working. 2007-10-10 14:20:31 -05:00
Derrell Lipman
bcf5e98a8c r19048: ensure our memory gets cleaned up even upon exception 2007-10-10 14:20:31 -05:00
Derrell Lipman
bb07f606de r19020: move jsonrpc_include to a more appropriate location in the file, and call the setup function for parsing literals. 2007-10-10 14:20:28 -05:00
Derrell Lipman
82fdcd9339 r19019: Add a parser for javascript literals. This is implemented for parsing JSON
strings, but is generally useful for creating ejs variables from object or
array literals, which aren't supported in the old version of ejs that we're
using.

This parser is implemented in C, but is callable from an ejs script via
literal_to_var().
2007-10-10 14:20:28 -05:00
Andrew Bartlett
9b2003618b r18977: Seperate these asserts, so we know which fired.
Andrew Bartlett
2007-10-10 14:20:26 -05:00
Derrell Lipman
34bffbaebf r18880: JSON-RPC work in progress 2007-10-10 14:20:17 -05:00
Derrell Lipman
e8f892bedc r18850: add strspn() function i ejs 2007-10-10 14:20:16 -05:00
Andrew Tridgell
7005806aa6 r18567: fixed the winreg js code for the new names of the fields in winreg.idl
When changing a field name in idl, please remember to check for use of
those functions in any js code as well.
2007-10-10 14:18:47 -05:00
Andrew Tridgell
96db975024 r18334: AIX 5.1 doesn't have any of 'users', 'guest', 'other' or 'unknown'
it does have 'usr'
2007-10-10 14:18:11 -05:00
Andrew Bartlett
77b810f548 r18248: Bail out with a error message if this search fails for some reason.
Andrew Bartlett
2007-10-10 14:17:55 -05:00
Stefan Metzmacher
135d096776 r18213: don't list LIBREPLACE depdendecies explicit and
always at it as first private dependencies

metze
2007-10-10 14:17:50 -05:00
Andrew Tridgell
cefcccb519 r18135: almost there .... 2007-10-10 14:17:38 -05:00
Jelmer Vernooij
1adf65b4d7 r18121: Simplify m4 code, hopefully fix Samba4 build problems. 2007-10-10 14:17:35 -05:00
Andrew Tridgell
c079cedb08 r18117: first steps in making samba4 use libreplace 2007-10-10 14:17:34 -05:00
Andrew Bartlett
1a111817a3 r18072: Really delete things in the base partition, after we changed where the
default search scope points to.

Andrew Bartlett
2007-10-10 14:17:11 -05:00
Andrew Bartlett
befac43f59 r17982: One final hack...
When against a real, schema-checking LDAP backend, we need
extensibleObject on the baseDN entry (as entryUUID isn't run for
creating this basic ldif) output.
2007-10-10 14:17:01 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
7579503bb8 r17888: use talloc_*_ptrtype() macros as wrappers arround the talloc_*_size()
functions to get rid of c++ warnings

metze
2007-10-10 14:16:51 -05:00
Andrew Bartlett
32996ca9d6 r17876: Require one less patch for the LDAP backend to work.
This lets the modules or backend generate the host and domain GUID,
rather than the randguid() function.  These can still be specified
from the command line.

Andrew Bartlett
2007-10-10 14:16:50 -05:00
Stefan Metzmacher
ba866665f5 r17791: get rid of another compiler warning
metze
2007-10-10 14:16:43 -05:00