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

17156 Commits

Author SHA1 Message Date
Andrew Bartlett
64293ca4af All these syntaxes are now handled by the schema.
(This used to be commit 94d5e69190f34d66d4defd4a7de7ce24bee77bc3)
2008-08-21 12:56:34 +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 7b24701335398ece3d1b3a20cf5f1174500b16ce)
2008-08-21 12:56:04 +10:00
Andrew Bartlett
0d89adcd4b Correct anr search commants and error messages in ldap.js
(This used to be commit 233dd885c2a2b4ee7cc2287efe7d6e03625d4981)
2008-08-21 12:51:55 +10:00
Andrew Bartlett
4016cfcab7 Don't allow a NULL syntax
(This used to be commit 505a0c2b702b696b91dab683626bb25b14a49c38)
2008-08-21 12:51:06 +10:00
Andrew Bartlett
c06e928580 Don't maniplate control entries in samldb
(This used to be commit 8003ee9abf474de534677283fc499f9a3d992b20)
2008-08-21 12:50:22 +10:00
Andrew Bartlett
b4ba27d7db Use the new SEARCH_FLAG_ANR define
(This used to be commit 07d122ce2c255124dfb3acf71a3afdf52f06e1b1)
2008-08-20 16:18:44 +10:00
Andrew Bartlett
e7db2325e9 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit ae502f9e3991209d70a745bef3a3e6e7484cdb5f)
2008-08-20 16:02:13 +10:00
Andrew Tridgell
9dffeab5a8 don't overwrite fixed attributes with @ATTRIBUTES
(This used to be commit e860fc171fd127d73df23336089c1479911953da)
2008-08-20 16:00:54 +10:00
Andrew Bartlett
4bfab3bedb Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)
2008-08-20 15:52:08 +10:00
Andrew Tridgell
f96f623854 Merge commit 'origin/v4-0-test' into v4-0-test
(This used to be commit 3bdc906eb63a494f0d8478c13f8330828aa2f725)
2008-08-20 15:50:58 +10:00
Andrew Tridgell
7e1c62f8b6 added a LDB_ATTR_FLAG_FIXED so the schema module can mark attributes
as never to be removed.
(This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
2008-08-20 15:46:58 +10:00
Andrew Bartlett
6e5f2454ac Apply attributes (and their syntax) from the schema into ldb
This changes the @ATTRIBUTES record to be for bootstrapping only,
before we find the schema.

Andrew Bartlett
(This used to be commit 358477fcc041d5fb2e6ac5641c2f899cc49cfb69)
2008-08-20 15:46:46 +10:00
Andrew Bartlett
add717dd0e Add schema search flags from MS-ADTS
(This used to be commit 731d9e569a474da27014737e0805ae712366357d)
2008-08-20 15:45:16 +10:00
Andrew Bartlett
18e86ccf86 Split schema_init.c into smaller bits.
This should make schema manipulation a little easier to follow.

Andrew Bartlett
(This used to be commit 300ed83526e75d834bd23ddd1c1c26ebe2555e0f)
2008-08-20 13:22:16 +10:00
Andrew Bartlett
5d37529771 Remove last traces of the old 'subclass' feature
(This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)
2008-08-20 13:09:40 +10:00
Matthias Dieter Wallnöfer
5e89476730 Add a torture test for the new 'netlogon' flags.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit a484334fb4dafd1df514d1bf88f7e0c4f07dff86)
2008-08-20 12:46:37 +10:00
Matthias Dieter Wallnöfer
bec7a95207 Add extra bits to our 'netlogon' response in CLDAP and NBT.
I've studied now the netlogon attribute from the CLDAP request and
have compared them with the table presented in the WSPP docs
(http://msdn.microsoft.com/en-us/library/cc201036.aspx). The first two
bytes seem to be correct, but that the third and fourth one is
completely clear with SAMBA 4.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit 3024a43c25e3ec9821d94a27d5cf738890b1b8f3)
2008-08-20 12:45:41 +10:00
Andrew Bartlett
41493cbe68 Update OpenLDAP MMR configuration per comments by Oliver Liebel
<oliver@itc.li>

This changes the RIDs to be <serverID><DBID>, to ease later debugging.

The need to specify the port on the MMR URLs is now included in the
help.

Andrew Bartlett
(This used to be commit a5cbe8c09c6f14f95ff9ba9b8782e2100fc55695)
2008-08-20 12:21:36 +10:00
Andrew Tridgell
e1188406fb added some comments at the request of a frustrated abartlet
(This used to be commit cad2e6c4c13ccd02587e47d13e897e0a327b58eb)
2008-08-19 17:49:34 +10:00
Andrew Bartlett
b33f4541f6 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit fc6b4f03ebba015a13a6ab93221b0bc3ef8ef2ed)
2008-08-19 14:11:51 +10:00
Andrew Bartlett
aef684da31 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 27d07df301d60e49d36efd003f2fd2305c83c3fe)
2008-08-19 14:10:53 +10:00
Andrew Bartlett
7ef21658fb Fix up new OpenLDAP MMR code.
This changes the MMR password from hard-coded value of 'linux',
adds tests and fixes the Fedora DS backend.

Currently the MMR password matches the admin password, but we can
change this to be another random value if required.

Also require the port to be specified on the command line, so we don't
hard-code a port of 9000.

Andrew Bartlett
(This used to be commit 08257c6d6ce809fcd53f9b2b4d558fef616b74ce)
2008-08-19 14:10:14 +10:00
Oliver Liebel
805dd85291 Generate Multi-Master Replication configuration for OpenLDAP
This patches provision-backend and the related scripts to generate the
correct configuration blobs for N-way multi-master replication using
OpenLDAP.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(This used to be commit 6ed0b3f2475022288f636605492ca27fde97cd52)
2008-08-19 12:03:04 +10:00
Andrew Bartlett
47d80366be Fix templates.ldb reprovision handling.
This sets the attributes in a seperate transaction, and allows a
forced delete of the whole file.

Andrew Bartlett
(This used to be commit 423db2468ba3dac89cebc59c8498c0b08c5f3d7b)
2008-08-19 11:43:41 +10:00
Stefan Metzmacher
4422617f7a librpc: don't build the old mszip decompression code
metze
(This used to be commit f48dfd87badcddc64a1c0bf52939188a4a8f4add)
2008-08-18 15:34:54 +02:00
Stefan Metzmacher
6cd8e2bccf ndr_compression: use zlib's inflate() for decompression
metze
(This used to be commit 25876fc4ab8ba11f00d24bb8ceb517c0e4a4d72d)
2008-08-18 15:29:02 +02:00
Stefan Metzmacher
7474196d83 zlib: mark as modified for samba
metze
(This used to be commit 0fb265e567d700b3c16eb8f28bc5f26653a819fa)
2008-08-18 15:25:41 +02:00
Stefan Metzmacher
5e4f668468 zlib: fix compiler warnings
metze
(This used to be commit ce44a608f66bf27070fd43d576551fde6f545d7c)
2008-08-18 15:25:40 +02:00
Stefan Metzmacher
41fdbffa72 zlib: we don't need the inflateReset2 prototype twice
metze
(This used to be commit 0dbbc287f65a51330c5309df5a96b3acd4d044d5)
2008-08-18 15:25:40 +02:00
Matthieu Suiche
ffa18ca49a librpc/ndr: add support for XPRESS decompression
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 6a9720c99d36a575ea8ed92e94ff6d2fe6f3e27d)
2008-08-18 14:52:36 +02:00
Matthieu Suiche
c222124010 lib/compression: Import of lzxpress decompression algorithm
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 531882dadd57eb6fa048c5d6e5fe3accc20df751)
2008-08-18 14:52:35 +02: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 e26a5efd9a580ed3728e1f449e367b1cd4a73b5f)
2008-08-18 20:30:27 +10:00
Andrew Bartlett
1dc5e75218 Allow attributes to be overwritten, not just added to
(This used to be commit 0aebae91be0fba7ffa94d73946a94aea930a252a)
2008-08-18 20:21:31 +10:00
Andrew Bartlett
dbde9cbea0 Fix segfaults when loading the schema fails.
(This used to be commit 9643db1a011edc95aa903908cec708b3a3566e71)
2008-08-18 20:20:24 +10:00
Andrew Bartlett
4c18073b13 Ensure we fail to proceed if the schema won't load.
(This used to be commit 07107c45c35a11979bf68a14b2c4df9415880fcb)
2008-08-18 15:12:08 +10:00
Andrew Bartlett
5c6364ba06 Remove references to the unused @SUBCLASS feature.
This was removed from ldb_tdb a while ago

Andrew Bartlett
(This used to be commit fcb87e77860b449ac3483ccec5e6b5ed087540f2)
2008-08-18 12:01:27 +10:00
Andrew Bartlett
46c94dd8b2 Merge the two attribute syntax tables.
This merges the table once found in the oLschema2ldif tool (and moved
many times) with the table used for DRSUAPI.

The OpenLDAP schema map has been updated, to ensure that despite a
number of attributes being declared as OIDs, they are actually used as
strings (as they are actually LDAP class/attribute names).

Andrew Bartlett
(This used to be commit 61f2958c84beeedcf369ccdc02afed0c8055b108)
2008-08-18 10:16:45 +10:00
Michael Adam
613b8d398e configure: use AS_HELP_STRING for --with-disable-ext-lib
Michael
(This used to be commit 88cf5d8b708d6247772b33128f0e212a4c2e9ba8)
2008-08-16 00:49:20 +02:00
Michael Adam
a903c39d2b configure: use AS_HELP_STRING for --enable-developer
Michael
(This used to be commit b10d4723891c39693100bfaaf1ac29adce9f7a86)
2008-08-16 00:49:20 +02:00
Michael Adam
982aa673e2 configure: use AS_HELP_STRING for --enable-debug.
Michael
(This used to be commit 1f4bf8fbd5bfc9c58bb5668fe25586766605b268)
2008-08-16 00:49:20 +02:00
Michael Adam
37b6e7886b configure: use AS_HELP_STRING for --with-selftest-prefix.
Michael
(This used to be commit eea4f597acf743fa783be3e5809e24aebc79f238)
2008-08-16 00:49:20 +02:00
Michael Adam
56bf6489a6 configure: use AS_HELP_STRING for --with-logfilebase.
Michael
(This used to be commit f9c15b817a24bed26a339479c53fc2f5cc5b36df)
2008-08-16 00:49:19 +02:00
Michael Adam
42104c3d11 configure: use AS_HELP_STRING for --with-piddir
Michael
(This used to be commit f05a9fe46ff428e48be9a5af4a6769cd78712c11)
2008-08-16 00:49:19 +02:00
Michael Adam
3ebf7f0427 configure: use AS_HELP_STRING for --with-lockdir.
Michael
(This used to be commit ed4a6e780a3f57854338520e4608cfc8dce4ef3e)
2008-08-16 00:49:19 +02:00
Michael Adam
76c96ad6d7 configure: use AS_HELP_STRING for --ntp-signd-socket-dir.
Michael
(This used to be commit dd07dcbc916236d80d9a7087860a6f504bbb09e8)
2008-08-16 00:49:19 +02:00
Michael Adam
d143e5fcab configure: use AS_HELP_STRING for --with-winbindd-privileged-socket-dir.
Michael
(This used to be commit 3bf8116531d4eb0cc25bc7bac70ae3c77642a5a3)
2008-08-16 00:49:18 +02:00
Michael Adam
cc7d7ba95b configure: use AS_HELP_STRING for --with-winbindd-socket-dir .
Michael
(This used to be commit 1304eda283b29fff8960633b1329c0a1611e1ca3)
2008-08-16 00:49:18 +02:00
Michael Adam
7b3bb57051 configure: use AS_HELP_STRING for --with-privatedir
Michael
(This used to be commit eafde5bee0a68fd4cf61ae64dfb24e4deb16b95a)
2008-08-16 00:49:18 +02:00
Michael Adam
df4e1ad130 configure: format help string for --with-fhs with AS_HELP_STRING().
Michael
(This used to be commit 837d0b3eb213ce6d0ce5345308d1b42ae2b08d67)
2008-08-16 00:49:18 +02:00
Michael Adam
44b6ffae0b configure: remove duplicate definition of --with-winbindd-socket-dir.
I think this should have gone with fa361354433fb9a5c09c84997a7c51f3052c294e.

Michael
(This used to be commit 91fcaac68b215461a13c1b517f6cede29af5e55c)
2008-08-16 00:49:18 +02:00