1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
Simo Sorce
0245b9b973 Explicitly include ldb_handlers.h where necessary 2009-01-30 20:12:50 -05:00
Simo Sorce
380874ef86 Fix the mess with ldb includes.
Separate again the public from the private headers.

Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.
2009-01-30 01:02:03 -05:00
Andrew Bartlett
408a752a63 s4:ldb-samba: register samba specific extended dn handlers
This provides the two extended DN handlers for the GUID and SID types,
and makes the parsing more strict (where possible, it uses
ndr_pull_struct_blob_all(), to cause an error if trailing data is
found).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17 12:29:26 +11:00
Stefan Metzmacher
1290b1d3d3 s4:librpc/ndr: integrate NDR_MISC into LIBNDR
metze
2008-11-16 16:24:34 +01:00
Andrew Tridgell
0521ed1ddf fixed the GUID and objectSID canonicalisation functions
(This used to be commit 115053ea7e)
2008-08-22 18:37:34 +10:00
Andrew Bartlett
4ad97a1d05 Don't walk past the end of ldb values.
This is a partial fix towards bugs due to us walking past the end of
what we think are strings in ldb.  There is much more work to do in
this area.

Andrew Bartlett
(This used to be commit 5805a9a8f3)
2008-08-21 19:24:58 +10:00
Andrew Bartlett
c36c42af29 Handle error cases in attribute handlers better.
We don't need to just bail, for all these error cases there is still
real result that can be made - just fall back to binary copy/compare.

Andrew Bartlett
(This used to be commit 6aa5dde2aa)
2008-08-21 15:10:40 +10:00
Andrew Bartlett
473540d4a5 Don't hardcode attributes to be treated as a DN
This is now handled by reading the schema into the attributes.

Also, when we do set something here, mark it as FIXED, so the schema
and any reload from @ATTRIBUTES won't touch it.

Andrew Bartlett
(This used to be commit 7b24701335)
2008-08-21 12:56:04 +10:00
Andrew Bartlett
bb80a19714 Note the ldb syntax for attribute syntaxes in the table.
This includes additional Samba-specific syntaxes made available from
the ldif_handlers code.

This commit also changes some table to use #defines, to ensure
consistancy in other parts of the code.

Andrew Bartlett
(This used to be commit e26a5efd9a)
2008-08-18 20:30:27 +10:00
Andrew Bartlett
08656f831c Depend on NDR_DRSBLOBS explicity.
Something else ensures this links correctly (for the moment) but for
the long-term let's declare our depenency (for the prefixMap stuff)
here.

Andrew Bartlett
(This used to be commit 5fcb39594b)
2008-06-20 18:22:15 +10:00
Andrew Bartlett
617ef56aa3 Remove extra spaces on prefixMap input and output.
Metze requested that the format not include spaces, and the input parser
already expects this.

Andrew Bartlett
(This used to be commit 3b1f5d1036)
2008-05-29 20:16:18 +10:00
Andrew Bartlett
5bc1d81a1d Finish the LDIF parsers for the prefixMap attribute.
Andrew Bartlett
(This used to be commit a6f59b1c7a)
2008-05-29 20:01:32 +10:00
Andrew Bartlett
b7c8e020a6 Print prefixMap in a human-readable format.
This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.

Andrew Bartlett
(This used to be commit 24ae9a55ec)
2008-05-29 18:38:17 +10:00
Jelmer Vernooij
60ae8f0657 Fix a bunch of dependencies.
(This used to be commit a63f458462)
2008-05-18 23:40:23 +02:00
Jelmer Vernooij
4c70cda986 Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b5211994)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147 Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
333c169529 Use variables for source directory in remaining subsystems.
(This used to be commit 6b6b2196a8)
2008-05-18 20:30:46 +02:00
Jelmer Vernooij
b29d47edcf Move object file lists to the Makefile.
(This used to be commit a7e6d2a183)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
7d5f0e0893 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
(This used to be commit 2f29f80e07)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
86dc05e99f r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob().
(This used to be commit 61ad78ac98)
2008-01-01 16:12:11 -06:00
Jelmer Vernooij
71e2cafe96 r26483: Merge ldb module dependency fixes, fix auth python module.
(This used to be commit 85eeecf997)
2007-12-21 05:50:41 +01:00
Jelmer Vernooij
be8a2ad342 r26462: Tighten dependencies.
(This used to be commit 020f2f7426)
2007-12-21 05:50:28 +01:00
Jelmer Vernooij
47554fd72e r26338: Fix parameter, typo.
(This used to be commit 2a005096dd)
2007-12-21 05:48:48 +01:00
Jelmer Vernooij
339ad9ea22 r26129: Specify path explicitly in case an external ldb installation is used.
(This used to be commit b86a6105ed)
2007-12-21 05:46:14 +01:00
Stefan Metzmacher
529763a9aa r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
(This used to be commit 6223c7fddc)
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
2f1c0eca13 r25548: Convert to standard bool type.
(This used to be commit 190d73b44b)
2007-10-10 15:07:53 -05:00
Jelmer Vernooij
42bdfc3f6c r25518: Convert to standard bool types.
(This used to be commit e5cabe14c7)
2007-10-10 15:07:46 -05:00
Jelmer Vernooij
4a4cdc990c r25084: Move samba-specific code out of lib/ldb directory.
(This used to be commit 917bd737cb)
2007-10-10 15:06:26 -05:00