1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

1060 Commits

Author SHA1 Message Date
Andrew Bartlett
5fb459e4fa 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
(This used to be commit 01d54d13dc66ef2127ac52c64ede53d0790738ec)
2007-10-10 14:53:00 -05:00
Stefan Metzmacher
fe1d56dd3b r22989: allow '@foo' attributes searchable as we allow '@foo' attributes
in all other places too...

metze
(This used to be commit 4e32aafb9ebdcc70966aaa2e3891ec9a0959535d)
2007-10-10 14:52:36 -05:00
James Peach
66cc0b1e21 r22952: Make sure we look at extra_cflags when building custom targets.
(This used to be commit 2d990cd37410cec03fa96767b0cf84d7c17ca9c4)
2007-10-10 14:52:31 -05:00
Stefan Metzmacher
2dacfdf099 r22789: fix loading of internal samba4 modules
metze
(This used to be commit f6740c8b7abdaa65c8467220bf2d14e21fe71053)
2007-10-10 14:52:17 -05:00
Jelmer Vernooij
cc26fe9b74 r22762: Some ldb_map changes:
* Change license to LGPL, so it can be used by non-Samba users of
LDB (cleared with Martin as well).

* Include ldb_map in standalone build.

* Move ldb_map to its own directory
(This used to be commit a90202abca26c0da5425a2f3dd8494077c3290fd)
2007-10-10 14:52:15 -05:00
Jelmer Vernooij
31b47acf52 r22750: dlopen() is always available now (and returns a correct error if not supported by the system), thanks to libreplace.
(This used to be commit 1152a4f56d7402bf3aa00b5b108c5c6c668cec6b)
2007-10-10 14:52:09 -05:00
Stefan Metzmacher
56ab0cd77c r22746: fix the build of the sqlite module
metze
(This used to be commit cd958034df67a606492b69e55f1f4bc5fa95383b)
2007-10-10 14:52:08 -05:00
Stefan Metzmacher
84ea1aa3fc r22723: fix compiler warnings
metze
(This used to be commit d8440f0579a87e7edff466269bc1dfab8796af34)
2007-10-10 14:52:07 -05:00
Stefan Metzmacher
9dba7d7613 r22722: fix dependencies
metze
(This used to be commit 0397eca102e17d2da726d1669e3ff6d925e50e89)
2007-10-10 14:52:07 -05:00
Simo Sorce
31d28c5b8c r22696: Make sure this is an ascii char
spotted by Volker
(This used to be commit e24812016f60f506f0df2cb5ba8c2c6987f7da40)
2007-10-10 14:52:02 -05:00
Volker Lendecke
d6121458b0 r22694: It seems that AIX 5.3 with XLC has difficulties with <ctype.h>. This is
an attempt to work around this: Maybe it helps if we include other stuff
first.

This raises a question however: Do we want the DN handling to be locale
dependent? isalpha() can return different things depending on the
current locale.
(This used to be commit 75ba82dee052fa5f4141e66e1cb748101aa95d71)
2007-10-10 14:52:02 -05:00
Jelmer Vernooij
bb71fc3856 r22687: use DESTDIR.
(This used to be commit 0b34da929f2a482c6470a18a6b365634cb1f5b22)
2007-10-10 14:52:02 -05:00
Jelmer Vernooij
9b03417172 r22684: Fix native Samba build.
(This used to be commit 582e743e68a1dbfafe06e7e283ff998140149ae7)
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
e0e8fc3db4 r22682: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 532f28724dcc9e0fe7051e27d145469398041101)
2007-10-10 14:52:01 -05:00
Jelmer Vernooij
52fb06edc2 r22681: Fix standalone ldb build when parent directory name != ldb.
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10 14:52:00 -05:00
Jelmer Vernooij
9fc5647043 r22668: Fix ldb build
(This used to be commit 331a0f608f3ae2199a8e3290d79d3a0623fb8a35)
2007-10-10 14:51:59 -05:00
Jelmer Vernooij
1477b7a24f r22665: Change version back to 0.9.
(This used to be commit 5037373c4c788ed5a74fbc90a190dd8245fe2029)
2007-10-10 14:51:59 -05:00
Jelmer Vernooij
f239b809b4 r22642: Allow standalone build to work without tdb or talloc checked out, but
provided by the system.
(This used to be commit bdde74055121ac538f6006750c94b514e962619d)
2007-10-10 14:51:57 -05:00
Jelmer Vernooij
42cf31f3c6 r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc.
(This used to be commit 9b991ce9ca28b3d88c778305ec5f681506162637)
2007-10-10 14:51:50 -05:00
Jelmer Vernooij
2ea1896591 r22598: Simplify includes for replace.
(This used to be commit e72cec408e832e0f6ce05c38febdd56de501dbf7)
2007-10-10 14:51:49 -05:00
Jelmer Vernooij
c9cf06b146 r22596: Set _CFLAGS variables rather than putting knowledge in the ldb Makefile.
This should make it easier to allow use of system tdb or talloc libs using
pkg-config.
(This used to be commit a3ec90a2635d47e5c073e873c15daab4a8ef5400)
2007-10-10 14:51:48 -05:00
Jelmer Vernooij
b0411352a8 r22595: Add version numbers.
(This used to be commit 54cc097e0f8ca880c6c370e712ce427cefb16f08)
2007-10-10 14:51:48 -05:00
Andrew Bartlett
6736106581 r22559: Make the ad2OLschema tool case insensitive.
Andrew Bartlett
(This used to be commit ddcca38c65c12a4e6a49151296ab36a458c53cb6)
2007-10-10 14:51:44 -05:00
Andrew Bartlett
f34c57f4fc r22557: Simo has long bugged me that the paths in the sam.ldb partitions were
not relative to the location of the sam.ldb, but instead
lp_private_dir().

This fixes that issue.

Andrew Bartlett
(This used to be commit c0fd6f63399d55a1938e31ae7b10689cc02ff2fa)
2007-10-10 14:51:43 -05:00
Andrew Bartlett
17078a46b8 r22497: Support renaming objectclasses and attributes for the LDAP backend.
OpenLDAP is fussy about operational attributes in user-supplied
schema.

Andrew Bartlett
(This used to be commit d7cd4b768a7f56ced8ed94b9a63d01865ba7d10a)
2007-10-10 14:51:33 -05:00
Andrew Bartlett
47e0c78bac 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
(This used to be commit 9908a05ef70c748c699b5a18178e7948f7814d7a)
2007-10-10 14:51:31 -05:00
Andrew Bartlett
1222a1c456 r22475: Rather than segfault, show the name of the malformed entry.
Andrew Bartlett
(This used to be commit e1536014a05645fd2300de5152e966aa1e067436)
2007-10-10 14:51:30 -05:00
Andrew Bartlett
f72d4bfea1 r22474: If ldb does not return sucess, then the res variable may not be valid.
It *should* just be NULL from the initialisation above, but I've had
this not be the case...

Andrew Bartlett
(This used to be commit a2848dbf1fa9eafdef93bd914b12ff2f9f223a70)
2007-10-10 14:51:30 -05:00
Simo Sorce
9ec83ae25d r22471: Convert more code to use proper LDB error codes.
This is a 1 to 1 convertion, next step is to make this
code report an error if the basedn is not used, hopefully
avoiding an  explicit search on the base object in the most
common cases.
(This used to be commit 50534c84b4577b2d32565a74a4716088f706bfea)
2007-10-10 14:51:30 -05:00
Stefan Metzmacher
44760c3e6f r22404: more dependencies which should be private
metze
(This used to be commit e0e35965d1eaab182941d17da744b70c4234ca52)
2007-10-10 14:51:14 -05:00
Stefan Metzmacher
bb36705c8d r22226: move discard_const macros to librelace
metze
(This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10 14:50:40 -05:00
James Peach
dec40d3463 r22028: Fix include path for the srcidr != builddir case.
(This used to be commit a6141d40b15d52d40998c6206d632a27122a0060)
2007-10-10 14:49:42 -05:00
Andrew Bartlett
3370f2f2d7 r21761: - Give more detail on LDAP client library failures (make it clear
where the error is from)

- Make default error string more consistant

Andrew Bartlett
(This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
f80d21069b r21760: Try to pin down were some errors are coming from. Ensure we at least
name the module.

Andrew Bartlett
(This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)
2007-10-10 14:49:23 -05:00
Andrew Bartlett
847102c6ca r21736: Fix the smbclient test to do something more interesting with the last
few authentication tests.  Now that the tests correctly 'fail', I was
able to fix the credentials subsystem to honour USER and PASSWD.

To get --machine-pass working, I needed ldb to always load it's static
modules, so I put this in ldb_connect().

Andrew Bartlett
(This used to be commit 3430d8c072407a1c33c32229095fc9db2142b6fa)
2007-10-10 14:49:20 -05:00
Andrew Bartlett
e2aa39b024 r21553: Remove bogus comment.
(This used to be commit 7c5529729b95f170508b9fe4f04bd33d6f000b1e)
2007-10-10 14:48:55 -05:00
Andrew Bartlett
7dc7156bd7 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
(This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)
2007-10-10 14:48:44 -05:00
Stefan Metzmacher
b92c5d454e r21354: fix comment
metze
(This used to be commit 545f769c2fb29323f2fa06e076af894c0be678d0)
2007-10-10 14:48:18 -05:00
Stefan Metzmacher
f14c66ca30 r21311: fix very ugly "using free'ed memory" bug
This was there since 2005...

metze
(This used to be commit 393e4eeb82df8017eb0afb526f4d723cf8814311)
2007-10-10 14:48:08 -05:00
Andrew Bartlett
20df8d8305 r21305: Change the skel module a little, so make it names clearer.
Andrew Bartlett
(This used to be commit 26758fc24ca0b28e1ed07cc20801175e94362d57)
2007-10-10 14:48:07 -05:00
Stefan Metzmacher
97666f12a4 r20969: remove unused function, found my lcov
metze
(This used to be commit 0c5eb19ebc12bc954c23e9f561d5f96644a19aca)
2007-10-10 14:44:05 -05:00
Stefan Metzmacher
784f11bd85 r20952: when a component is changed we need to rebuild the linearized string
metze
(This used to be commit beb816fb78ec4a7816680611af6619740e159424)
2007-10-10 14:43:59 -05:00
Stefan Metzmacher
545f97f94e r20865: remove useless warning, we now always pass the current partition
control as non critical control

metze
(This used to be commit 21fddb643bf05ca2b7c60a4695e1fff0f29ec6d1)
2007-10-10 14:43:41 -05:00
Stefan Metzmacher
fb9dabe39e r20852: add a function to add a ldb control to a ldb_request
metze
(This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
2007-10-10 14:43:40 -05:00
Stefan Metzmacher
7057be5ec1 r20772: fix segfault caused by ldb_set_default_dns() from init_context hook of the root dse module
metze
(This used to be commit a201d3fc4ddfa336e2a98412d05eac4e51d01cea)
2007-10-10 14:40:51 -05:00
Stefan Metzmacher
0c29f6d56d r20761: let ldb modules call ldb_set_default_dns()
metze
(This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
2007-10-10 14:40:47 -05:00
Stefan Metzmacher
7dd80e872d r20731: we need the complex memmove() handling for removing an attribute only in one place
metze
(This used to be commit dfdfdd6cefeac2974a4b3425a49e3dd93ad7e952)
2007-10-10 14:40:33 -05:00
Stefan Metzmacher
930fca1c97 r20684: if we don't have any indexes, then we should not waste time
to traverse the whole tdb and unpack each record

metze
(This used to be commit 492c79de13eab8db6079f880a8f0857dc7a29fa8)
2007-10-10 14:40:22 -05:00
Simo Sorce
d38a7a39fa r20670: Make the logic more clear
(This used to be commit 906630f18e5fab4be6c40018aafe67df1e27c92e)
2007-10-10 14:40:19 -05:00
Simo Sorce
f400fc4d0d r20669: Simplifing more
(This used to be commit 03de577059cb71bb6d5df7a65b5f5ba30bdea746)
2007-10-10 14:40:19 -05:00