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

184 Commits

Author SHA1 Message Date
Andrew Bartlett
002ddc315f r26611: Tridge didn't write this...
Andrew Bartlett
2007-12-27 01:51:04 -06:00
Jelmer Vernooij
e1d177c8c1 r26426: Remove uses of global_loadparm. 2007-12-21 05:49:52 +01:00
Jelmer Vernooij
5d589a0d94 r26355: Eliminate global_loadparm in more places. 2007-12-21 05:49:01 +01:00
Jelmer Vernooij
38fa08310c r26277: Move loadparm context higher up the stack. 2007-12-21 05:48:03 +01:00
Jelmer Vernooij
7280c1e941 r26252: Specify loadparm_context explicitly when creating sessions. 2007-12-21 05:47:29 +01:00
Jelmer Vernooij
ba75f1613a r26228: Store loadparm context in auth context, move more loadparm_contexts up the call stack. 2007-12-21 05:47:05 +01:00
Jelmer Vernooij
6cbce47a3e r26226: Avoid more uses of global_loadparm. 2007-12-21 05:47:02 +01:00
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Jelmer Vernooij
d41ed7ca8d r25842: Start working on test for loading dso's in ldb. 2007-12-21 05:44:22 +01:00
Jelmer Vernooij
5e814287ba r25522: Convert to standard bool types. 2007-10-10 15:07:47 -05:00
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
bcf5c94474 r25100: Include LDAP libs in .pc file so linking statically against libldb works again. 2007-10-10 15:06:37 -05:00
Jelmer Vernooij
8aab673df5 r25093: Use system-provided ldb library if available. Note that this only means using the ldb library from the system - the custom command-line tools for Samba 4 will still be built even if they are already provided by the system. 2007-10-10 15:06:27 -05:00
Jelmer Vernooij
917bd737cb r25084: Move samba-specific code out of lib/ldb directory. 2007-10-10 15:06:26 -05:00
Jelmer Vernooij
df9cebcb97 r25035: Fix some more warnings, use service pointer rather than service number in more places. 2007-10-10 15:05:43 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Andrew Bartlett
9a38ddc86f r23809: Don't give users the fantasy that we can control choice of GENSEC
security mechanisms at the moment.  I'll put this back when I
implement the functionality.

Andrew Bartlett
2007-10-10 14:59:21 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Andrew Bartlett
01d54d13dc r23177: Add in a new provision-backend script. This helps set up the OpenLDAP or Fedora DS backend.
This required a new mkdir() call in ejs.

We can now provision just the schema for ad2oLschema to operate on
(with provision_schema(), without performing the whole provision, just
to wipe it again (adjustments to 'make test' to come soon).

Andrew Bartlett
2007-10-10 14:53:00 -05:00
Jelmer Vernooij
582e743e68 r22684: Fix native Samba build. 2007-10-10 14:52:01 -05:00
Jelmer Vernooij
532f28724d r22682: Fix standalone ldb build when parent directory name != ldb. 2007-10-10 14:52:01 -05:00
Jelmer Vernooij
1093875d59 r22681: Fix standalone ldb build when parent directory name != ldb. 2007-10-10 14:52:00 -05:00
Andrew Bartlett
ddcca38c65 r22559: Make the ad2OLschema tool case insensitive.
Andrew Bartlett
2007-10-10 14:51:44 -05:00
Andrew Bartlett
d7cd4b768a r22497: Support renaming objectclasses and attributes for the LDAP backend.
OpenLDAP is fussy about operational attributes in user-supplied
schema.

Andrew Bartlett
2007-10-10 14:51:33 -05:00
Andrew Bartlett
9908a05ef7 r22476: The OID match is used very oddly in AD, as it is often used for fields
that contain attribute names and objectClasses.  Make it a case
insensitive string for now.

Andrew Bartlett
2007-10-10 14:51:31 -05:00
Andrew Bartlett
e1536014a0 r22475: Rather than segfault, show the name of the malformed entry.
Andrew Bartlett
2007-10-10 14:51:30 -05:00
Andrew Bartlett
2b3df7f38d r21496: A number of ldb control and LDAP changes, surrounding the
'phantom_root' flag in the search_options control

- Add in support for LDB controls to the js layer
- Test the behaviour
- Implement support for the 'phantom_root' flag in the partitions module
- Make the LDAP server set the 'phantom_root' flag in the search_options control
  - This replaces the global_catalog flag passed down as an opaque pointer
- Rework the string-format control parsing function into
  ldb_parse_control_strings(), returning errors by ldb_errorstring()
  method, rather than with printf to stderr
- Rework some of the ldb_control handling logic

Andrew Bartlett
2007-10-10 14:48:44 -05:00
Andrew Bartlett
c0276c373c r20467: Don't segfault if we don't have an OID map 2007-10-10 14:35:53 -05:00
Simo Sorce
4f07542143 r20034: Start using ldb_search_exp_fmt() 2007-10-10 14:28:51 -05:00
Volker Lendecke
44e6d39e0e r19897: Fix klokwork ids 2278 and 2279 2007-10-10 14:28:33 -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
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
Simo Sorce
3e0e2787c1 r19332: ldb_parse_tree leaks 2007-10-10 14:21:11 -05:00
Andrew Bartlett
942d7ad0c3 r19310: Add another conflicting oid
Cope with there being no attributes to skip in the ad2oLscheam tool

Andrew Bartlett
2007-10-10 14:21:06 -05:00
Andrew Tridgell
330a722f13 r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
fails
2007-10-10 14:21:00 -05:00
Andrew Tridgell
dd82c474a1 r19273: - fixed error handling with the ldap backend
- propogate errors to the ldbadd command line tool

- use the rdn_name module when testing the tdb backend to allow the
  same test code to correctly test the ldap and non-ldap backends
2007-10-10 14:21:00 -05:00
Volker Lendecke
69f05f288c r18851: Some C++ warnings 2007-10-10 14:20:16 -05:00
Andrew Tridgell
bcfa93954f r18840: make these compatible with g++ warnings 2007-10-10 14:20:15 -05:00
Andrew Tridgell
4f3628dea6 r18596: removed superfluous semicolon 2007-10-10 14:18:54 -05:00
Andrew Tridgell
254cbf09de r18439: 2nd try at a talloc_move() api. This type with the ** ptr interface
exposed.

Unfortunately this generates a large number of type punning
warnings. We'll have to find some magic to hide those.
2007-10-10 14:18:29 -05:00
Andrew Tridgell
c0d9e7d473 r18436: converted ldb to use talloc_move() instead of talloc_steal() when
appropriate.

Note that I also removed the error checks that were being done on the
result of talloc_steal(). They are pointless as talloc_steal() doesn't
have any failure modes that wouldn't cause a segv anyway, and they
tend to clutter the code
2007-10-10 14:18:29 -05:00
Andrew Tridgell
b2bba4e726 r18327: 'struct token' is defined on some hosts 2007-10-10 14:18:09 -05:00
Jelmer Vernooij
8b622c5ded r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available. 2007-10-10 14:17:45 -05:00
Andrew Tridgell
efe60c8a4b r18133: ad2oLschema needs ctype.h on some systems 2007-10-10 14:17:37 -05:00
Andrew Bartlett
6c11501ec3 r18022: Increment number of records converted, and print number of records skipped.
Andrew Bartlett
2007-10-10 14:17:03 -05:00
Simo Sorce
fab0e66281 r17868: remove duplicated attributes from list 2007-10-10 14:16:49 -05:00
Volker Lendecke
4189736e09 r17844: The AIX compiler thinks { } is a syntax error 2007-10-10 14:16:48 -05:00
Simo Sorce
0caf6a44e0 r17830: Set the default_basedn (hey, it comes from the "default" naming contex :-)
once at connection time, after modules have been loaded.

Introduce a function to retrieve the value where needed.
2007-10-10 14:16:46 -05:00