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

11397 Commits

Author SHA1 Message Date
Stefan Metzmacher
836202f600 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
(This used to be commit e50cf96fea)
2007-10-10 14:29:24 -05:00
Stefan Metzmacher
1fc9c6bf2c r20223: this function is in the torture test now
metze
(This used to be commit 66c4b42f5f)
2007-10-10 14:29:24 -05:00
Rafal Szczesniak
56d768842e r20222: return status unsuccessful when null pointers are returned
from lookup call.

rafal
(This used to be commit 0eb605cf42)
2007-10-10 14:29:24 -05:00
Stefan Metzmacher
c5571c7c39 r20221: - move the dsdb_schema, dsdb_attribute, dsdb_class structs into
a generic location
- this struct should be also used by the dsdb/samdb/ldb_modules/schema.c
  module later
- add functions to map from LDAP OID values to uint32_t values
- add torture test for the OID => uint32 mapping code

metze
(This used to be commit 58ba6ec195)
2007-10-10 14:29:23 -05:00
Derrell Lipman
ff8ef6c280 r20220: Apply patch from Brad Henry with some additional qooxdoo/json-rpc SWAT
functionality: basic admin console.
(This used to be commit 23f8dd44cb)
2007-10-10 14:29:23 -05:00
Stefan Metzmacher
5249de8519 r20219: add enough knowledge to display the content of attributeSchema objects
metze
(This used to be commit 38ae6ce7b9)
2007-10-10 14:29:23 -05:00
Stefan Metzmacher
f37b7b8582 r20213: add 2 error codes related to the msDs-IntId attribute
metze
(This used to be commit dd5df84ccc)
2007-10-10 14:29:23 -05:00
Stefan Metzmacher
ba1be45aa2 r20205: remove unused var
metze
(This used to be commit a77e1bd1b4)
2007-10-10 14:29:22 -05:00
Stefan Metzmacher
6e8a88fe2e r20204: use symbolic constant
metze
(This used to be commit a816c2973a)
2007-10-10 14:29:22 -05:00
Stefan Metzmacher
0e2ebecf18 r20198: let the IBM checker ignore the warning about a missing break
statement...

metze
(This used to be commit 6b20123c10)
2007-10-10 14:29:22 -05:00
Stefan Metzmacher
90d106de8a r20195: fix typo
metze
(This used to be commit 9d06a4b6e2)
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
0d2bedbdd7 r20194: inline all static talloc functions
metze
(This used to be commit ee47b40441)
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
bfbf6d546b r20193: - let talloc_parent_chunk() handle a NULL pointer
- use talloc_parent_chunk() in talloc_parent_name()
- add prototype of talloc_parent_name()

metze
(This used to be commit 85fc18f047)
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
f0eaae956f r20192: I assume a 'break' is the correct thing to do here,
simo,tridge: please check this.

found by the IBM checker

metze
(This used to be commit 5ac373c8b8)
2007-10-10 14:29:21 -05:00
Stefan Metzmacher
c8c023ea62 r20191: fix bug found by the IBM checker
metze
(This used to be commit 4c1e4bfeef)
2007-10-10 14:29:20 -05:00
Stefan Metzmacher
f4fa06ca00 r20190: fix the ldb_ldap backend
metze
(This used to be commit 6b7eb5d68e)
2007-10-10 14:29:20 -05:00
Stefan Metzmacher
a3c0f3035d r20189: remove unused struct element
metze
(This used to be commit d20d1872d5)
2007-10-10 14:29:20 -05:00
Stefan Metzmacher
8e7d87babc r20188: move back to an default attribute handler and not use the '*' attribute
to not conflict with the one that maybe added via the @ATTRIBUTES object

this is just to make the test-tdb-feature.sh torture test happy

There's still a bug when a attribute is registered multiple time
without removing old ldb_schema_attribute instances. But this bug
was there before my changes too and was just triggered by my changes

metze
(This used to be commit 70c4a36743)
2007-10-10 14:29:19 -05:00
Stefan Metzmacher
bc58f6fa36 r20187: fix the build on systems without sqlite3
metze
(This used to be commit 216713d9a0)
2007-10-10 14:29:19 -05:00
Stefan Metzmacher
538e3bf654 r20185: - SMB_ENABLE() needs upper case YES/NO
- fix compilation of the ldb_sqlite3 module

metze
(This used to be commit 39c41be0ac)
2007-10-10 14:29:19 -05:00
Stefan Metzmacher
c69717755a 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
(This used to be commit b97b8f5dcb)
2007-10-10 14:29:19 -05:00
Stefan Metzmacher
1a1027b824 r20182: make the composite api usage more consistant (only cosmetic change)
metze
(This used to be commit 1f67433914)
2007-10-10 14:29:18 -05:00
Rafal Szczesniak
9775696af1 r20177: return the actual function status code.
rafal
(This used to be commit 2d046cc0df)
2007-10-10 14:29:18 -05:00
Rafal Szczesniak
89bb9a47de r20176: Info method returns null object if the user is not found.
rafal
(This used to be commit a20b05183d)
2007-10-10 14:29:18 -05:00
Rafal Szczesniak
765256d435 r20175: use libnet context instead mem_ctx as the latter gets
freed just before the function returns.

rafal
(This used to be commit ca8259fd27)
2007-10-10 14:29:17 -05:00
Stefan Metzmacher
e55ff42229 r20168: start separating attributes and syntaxes
metze
(This used to be commit 8dda4342f6)
2007-10-10 14:29:17 -05:00
Stefan Metzmacher
66afa10037 r20167: reenable the ejsnet tests
metze
(This used to be commit 1e4289fae4)
2007-10-10 14:29:17 -05:00
Stefan Metzmacher
bdafdec2bb r20166: we have a dom_sid_add_rid() function that adds the rid after allocating
enough memory for the new sub_auth element.

the old version wrote behind the buffer.

also make the output sid a pointer.

metze
(This used to be commit b9901d5f8c)
2007-10-10 14:29:17 -05:00
Rafal Szczesniak
32a0486739 r20164: Disable the test till tomorrow when I find out what caused
the crash.

rafal
(This used to be commit 5d7908038b)
2007-10-10 14:29:16 -05:00
Rafal Szczesniak
ecd5e432b7 r20163: Return null object if no user is found.
rafal
(This used to be commit af539fec4a)
2007-10-10 14:29:16 -05:00
Rafal Szczesniak
5ff19e8ca4 r20162: Always return some error string.
rafal
(This used to be commit 0c37360577)
2007-10-10 14:29:16 -05:00
Rafal Szczesniak
1dd09da392 r20161: Prevent potential segfault in case account is unknown.
rafal
(This used to be commit 9f5f9ee9b4)
2007-10-10 14:29:16 -05:00
Andrew Bartlett
bddd8ed5c4 r20152: Commit missing files from last night's commit. We no longer maintain
a distinction between PDC and BDC in the configuration files, only as
an entry in the ldb.

Andrew Bartlett
(This used to be commit dc9eee7cb3)
2007-10-10 14:29:15 -05:00
Andrew Bartlett
d471e52d23 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
(This used to be commit 67d8365e83)
2007-10-10 14:29:15 -05:00
Stefan Metzmacher
5cc44027dc r20145: fix whitespaces
metze
(This used to be commit d2d9842914)
2007-10-10 14:29:15 -05:00
Stefan Metzmacher
25e468e83f r20144: add NET-API-BECOME-DC test that tests libnet_BecomeDC()/libnet_UnbecomeDC()
metze
(This used to be commit 0359d9a00b)
2007-10-10 14:29:14 -05:00
Rafal Szczesniak
a1af18217b r20143: a bit of experiments before doing serious changes in ejsnet.
rafal
(This used to be commit 3cdd43ebce)
2007-10-10 14:29:14 -05:00
Stefan Metzmacher
f1317dadc0 r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
but that's not needed untill we can support the DsGetNCChanges()
in the server...

metze
(This used to be commit 9c3267e17f)
2007-10-10 14:29:14 -05:00
Stefan Metzmacher
b236d54c42 r20141: use the gensec_features of the cli_credentials for ildap connections,
instead of hardcoded GENSEC_FEATURE_SEAL.

That means plain LDAP is now the default.

metze
(This used to be commit b69471866c)
2007-10-10 14:29:13 -05:00
Stefan Metzmacher
f2784a8bb0 r20139: only add GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG if the caller requested it!
this is needed to create plain, singed or sealed LDAP connections.

this should go into lorikeet and main heimdal...

metze
(This used to be commit 75c037cae2)
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
6de9ae9e43 r20138: return the proper status for the other functions as well.
rafal
(This used to be commit 0b82b9dba1)
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
3dde7ab2c0 r20137: return the proper status.
rafal
(This used to be commit e635f5aeaf)
2007-10-10 14:29:13 -05:00
Stefan Metzmacher
38a472c994 r20135: attach default gensec features to the cli_credentials structure,
so make it possible to force encryption or signing.

metze
(This used to be commit a91dc4a02a)
2007-10-10 14:29:12 -05:00
Andrew Bartlett
6f73359133 r20134: The IBM Checker correctly notes that *p cannot be \0 and still satisfy
the loop entry condition.

Andrew Bartlett
(This used to be commit c118275131)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
4e93962ea5 r20130: remove one more talloc_get_type()
metze
(This used to be commit 024dacb3b0)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
1a82770112 r20129: remove unused structure elements
metze
(This used to be commit 53805a8562)
2007-10-10 14:29:12 -05:00
Stefan Metzmacher
8cdacd9f82 r20128: get rid of more talloc_get_type() calls
metze
(This used to be commit cb89f0b8d5)
2007-10-10 14:29:11 -05:00
Stefan Metzmacher
ecc8ef51cb r20127: - allocate ldb_handle under ldb_request! fix a mem leak
- pass ldb_request to init_lldb_handle()
- remove some useless talloc_get_type() calls

metze
(This used to be commit a7397c4d2b)
2007-10-10 14:29:11 -05:00
Stefan Metzmacher
43637dfb9d r20126: fix talloc hierachy and make lldb a child of module
metze
(This used to be commit 1e3bb18026)
2007-10-10 14:29:11 -05:00
Stefan Metzmacher
2986313a68 r20125: fix some ugly mem leaks in the ldb_ildb backend
metze
(This used to be commit db85b7840c)
2007-10-10 14:29:10 -05:00