1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-09 20:23:51 +03:00
Commit Graph

52 Commits

Author SHA1 Message Date
Andrew Bartlett
a0cf47c335 r26697: Leak less memory into the ldb context.
(Trying to chase down memory leaks in provision)

Andrew Bartlett
2008-01-08 23:42:02 -06:00
Jelmer Vernooij
2f29f80e07 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
Jelmer Vernooij
61ad78ac98 r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob(). 2008-01-01 16:12:11 -06:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Kai Blin
41a1f59850 r26528: dsdb: Fix a warning. 2007-12-21 05:51:51 +01:00
Jelmer Vernooij
d37136b7ab r26429: Avoid use of global_smb_iconv_convenience. 2007-12-21 05:49:56 +01:00
Andrew Bartlett
a8b0f5af9a r26412: Add comments and refactor to reuse common code.
Andrew Bartlett
2007-12-21 05:49:43 +01:00
Jelmer Vernooij
f6420d933b r26316: Use contexts for conversion functions. 2007-12-21 05:48:30 +01:00
Stefan Metzmacher
6223c7fddc 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
2007-12-21 05:45:02 +01:00
Andrew Bartlett
9cc706e060 r25786: Add function required by linked_attributes module (We need a list of
all linked attributes in the schema, so we can try and find them).

Andrew Bartlett
2007-12-21 05:43:58 +01:00
Andrew Bartlett
cd64094787 r25749: Add function required by linked_attributes module.
Andrew Bartlett
2007-12-21 05:43:42 +01:00
Jelmer Vernooij
b7371f1a19 r25553: Convert to standard bool type. 2007-10-10 15:07:54 -05:00
Andrew Bartlett
3d74d178bf r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.
Andrew Bartlett
2007-10-10 15:02:27 -05:00
Andrew Bartlett
d053b8e218 r24060: Fix bug #4806 by Matthias Wallnöfer <mwallnoefer@yahoo.de>: We need to
include the attribute allowedChildClassesEffective for MMC to allow
the creation of containers.

This may need further refinement, but it seems to work for now.

Andrew Bartlett
2007-10-10 15:01:21 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
968e70b2aa r23699: when we create the global schema, remember to set the ldb opaque so we
can find it again
2007-10-10 14:59:04 -05:00
Andrew Bartlett
e3eb6c2cf6 r23695: By not using the NULL context for these large structures, we don't
falsely report them as leaked.

Andrew Bartlett
2007-10-10 14:59:02 -05:00
Andrew Bartlett
dcff83ebe4 r23560: - Activate metze's schema modules (from metze's schema-loading-13 patch).
- samba3sam.js: rework the samba3sam test to not use objectCategory,
  as it's has special rules (dnsName a simple match)
- ldap.js: Test the ordering of the objectClass attributes for the baseDN
- schema_init.c: Load the mayContain and mustContain (and system...) attributes when
  reading the schema from ldb
- To make the schema load not suck in terms of performance, write the
  schema into a static global variable
- ldif_handlers.c: Match objectCategory for equality and canonicolisation
  based on the loaded schema, not simple tring manipuation
- ldb_msg.c: don't duplicate attributes when adding attributes to a list
- kludge_acl.c: return allowedAttributesEffective based on schema results
  and privilages

Andrew Bartlett
2007-10-10 14:53:27 -05:00
Stefan Metzmacher
d19293982b r23419: initialize variable...
metze
2007-10-10 14:53:17 -05:00
Stefan Metzmacher
587f70e153 r22992: add a function to attach the dsdb_schema to a ldb_context
loaded from ldif files. The first file should contain
the info's about the 'prefixMap' attribute in the first ldif chunk.
The 2nd file should contain all attributes and classes.

metze
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
e3be33c1d9 r21839: add my email address
metze
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
6ecd1342de r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the oid mapping
if the dsdb_schema has mappings attached

metze
2007-10-10 14:40:49 -05:00
Stefan Metzmacher
1c3d1723e9 r20764: fix some little bugs
metze
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
cab3acb9bb r20763: add function to get the oid mappings in drsuapi or ldb form
metze
2007-10-10 14:40:48 -05:00
Stefan Metzmacher
b7f681a8a1 r20733: add a function to load the oid mappings from ldb_val's
metze
2007-10-10 14:40:34 -05:00
Stefan Metzmacher
2e054be8e0 r20576: add functions to get and set dsdb_schema on the ldb context
metze
2007-10-10 14:37:05 -05:00
Stefan Metzmacher
c32ec0a100 r20523: match the lDAPDisplayName case insensitive
metze
2007-10-10 14:36:48 -05:00
Stefan Metzmacher
d47c81923d r20504: we handle the attribute values always as DATA_BLOB's and
don't need the union with the attribute id as switch anymore

metze
2007-10-10 14:36:01 -05:00
Stefan Metzmacher
4c2addf2dd r20484: get rid of the special case for DN strings
metze
2007-10-10 14:35:59 -05:00
Stefan Metzmacher
ececda44c7 r20477: get rid of the spcial case for unicode strings
metze
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
13ccd405b5 r20476: get rid of extra case for uint32 values
metze
2007-10-10 14:35:57 -05:00
Stefan Metzmacher
b7ab1c0039 r20475: remove special case for GUID values
metze
2007-10-10 14:35:56 -05:00
Stefan Metzmacher
8d80629c5d r20473: remove special case for boolean values
metze
2007-10-10 14:35:55 -05:00
Stefan Metzmacher
1313b47745 r20439: this should be const pointers
metze
2007-10-10 14:30:37 -05:00
Stefan Metzmacher
bfb0c04dff r20416: fix compiler warnings
metze
2007-10-10 14:30:32 -05:00
Stefan Metzmacher
437db39079 r20415: add a function to get the lDAPDisplayName for an objectClass
or attribute

metze
2007-10-10 14:30:30 -05:00
Stefan Metzmacher
e6a24c2172 r20410: add functions to access dsdb_attributes and dsdb_classes by oid, uint32_id or ldap name
they will be optimized uing binary searches later...

metze
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
d042aac3f7 r20409: load the attribute syntax for the attribute
metze
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
af78a86d2c r20408: fix cut'n'paste error
metze
2007-10-10 14:30:25 -05:00
Stefan Metzmacher
5440c0a99f r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributes
metze
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
5f0da4a3ae r20379: - make sure the schema info blob is 21 bytes long
- add a function to verify the incoming mapping and schema info

metze
2007-10-10 14:30:20 -05:00
Stefan Metzmacher
bfb7756bb0 r20331: the last entry in the oid mapping array which starts with 0xFF
is the content of the schemaInfo attribute of the schema head object

metze
2007-10-10 14:29:42 -05:00
Stefan Metzmacher
0352b7bbc6 r20307: remove unused vars
metze
2007-10-10 14:29:36 -05:00
Stefan Metzmacher
df63995ec5 r20306: remove the static oid mapping table
and attach the table to the dsdb_schema

metze
2007-10-10 14:29:36 -05:00
Stefan Metzmacher
9168236ddd r20233: add functions to create a dsdb_attribute and dsdb_class from
a drsuapi_DsReplicaObject

metze
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
5d7827f45e r20232: specify attribute name and structure element name always together
there're a view elements where both values doesn't match

LDAP-SCHEMA now successful loads the schema

metze
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
3af0a9b2c4 r20231: - add more oid => uint32 id mappings
- handle the case where mappings for 1.2.3.4. and 1.2.3.4.5. prefixes
  exist
- extend test suite for the mappings

metze
2007-10-10 14:29:26 -05:00
Stefan Metzmacher
e5b67046c2 r20226: rename macros with a _LDB at the end, because I'll add macros with _DS
soon

metze
2007-10-10 14:29:25 -05:00
Stefan Metzmacher
e50cf96fea r20224: the struct element msDs_Schema_Extensions and the attribute name "msDs-Schema-Extensions"
doesn't match so we need to pass 2 parameters to the GET_BLOB() macro

metze
2007-10-10 14:29:24 -05:00