1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

15043 Commits

Author SHA1 Message Date
Jelmer Vernooij
127e874319 registry: Use manually written .pc file.
(This used to be commit 5c64d4adaf)
2008-01-22 18:28:51 +01:00
Jelmer Vernooij
cc984e4046 ldb/talloc/tdb: Use manually written pc file.
(This used to be commit c8947fda23)
2008-01-22 18:24:00 +01:00
Jelmer Vernooij
b49e2f1f35 build: Allow manually written pkg-config files.
(This used to be commit 8104907c52)
2008-01-22 18:21:48 +01:00
Jelmer Vernooij
a6a8720025 tdb: Add URL in pc file.
(This used to be commit 2fc26c0902)
2008-01-22 18:14:12 +01:00
Jelmer Vernooij
45eb6c5b8f ldb: Fix typo.
(This used to be commit da0952bdd6)
2008-01-22 17:34:44 +01:00
Jelmer Vernooij
1697f553f1 ldb: Increase version number to make it easier to create new Debian snapshots.
(This used to be commit 9a5cc88b09)
2008-01-22 17:13:39 +01:00
Jelmer Vernooij
4075a2ba98 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-python
(This used to be commit 2f57e25f8f)
2008-01-22 16:39:56 +01:00
Jelmer Vernooij
35c6831644 python: Avoid duplicate copies of some objects in different packages.
(This used to be commit bd293cde1b)
2008-01-22 16:21:54 +01:00
Stefan Metzmacher
adbbc8dcc6 libreplace: getpwent_r/getgrent_r on IRIX are similar to solaris but use size_t
metze
(cherry picked from commit 2f46091511)
(This used to be commit d2ac8be28d)
2008-01-22 12:24:05 +01:00
Andrew Bartlett
11061499e1 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-abartlet
(This used to be commit 74220ca244)
2008-01-22 10:53:14 +11:00
Andrew Bartlett
24efc9fc36 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit b99b604a5f)
2008-01-21 22:01:32 +11:00
Andrew Bartlett
8623c981b4 Be sure to pass iconv handle down to compression subcontexts (fixes
segfaults in NET-API-BECOME-DC)

Andrew Bartlett
(This used to be commit 70c1e918e6)
2008-01-21 20:56:27 +11:00
Jelmer Vernooij
440b1a1d04 build: Don't build heimdal as library.
(This used to be commit c04cf0c052)
2008-01-21 03:54:43 +01:00
Jelmer Vernooij
42a793107e python: Fix init functions.
(This used to be commit 4b057b9bff)
2008-01-21 03:54:43 +01:00
Jelmer Vernooij
03023c4f7d build: Demote a bunch of libraries to subsystems. This makes packaging easier and should also make it easier
to migrate to a new build system.
(This used to be commit 77b400764e)
2008-01-21 03:54:42 +01:00
Jelmer Vernooij
b126f1ca4d python: Reenable modules for libcli_nbt and libcli_smb.
(This used to be commit 4fa8a2789c)
2008-01-21 03:54:42 +01:00
Jelmer Vernooij
203d2b10bd ldb: Fix building python modules against system-provided ldb.
(This used to be commit 583ea85ae0)
2008-01-21 03:54:42 +01:00
Jelmer Vernooij
078acef047 build: Allow overriding CFLAGS for python packages.
(This used to be commit 2c2b16b5ae)
2008-01-21 03:54:41 +01:00
Volker Lendecke
66871f9950 Add an exception for S3
Doing this correctly would involve a create_file call for qpathinfo
(This used to be commit da9a5b571e)
2008-01-20 15:55:33 +01:00
Jelmer Vernooij
b487ecdfad build: Fix handling of external pkg-config dependencies when generating pkg-config files.
(This used to be commit 88f9e11286)
2008-01-20 01:19:59 +01:00
Jelmer Vernooij
ad5861a795 howto: Update instructions for git, and use ReST formatting.
(This used to be commit 8deaaa52d3)
2008-01-19 21:16:56 +01:00
Julien Kerihuel
2cf35f2068 pidl: Add --version argument.
(This used to be commit ed1e58e8b3)
2008-01-18 18:31:03 +01:00
Andrew Bartlett
b39676089e Remove default 'showInAdvancedViewOnly' values.
This means we only show and set the values when they are not the
values the schema and objectclass module would impose.

Andrew Bartlett
(This used to be commit c2f2e01357)
2008-01-18 18:10:18 +11:00
Andrew Bartlett
7e2ea67b21 Only set showOnlyInAdvancedView: TRUE when adding default values.
False is the default, so only set this when the schema requires the
hiding behaviour.

Andrew Bartlett
(This used to be commit 45f6ccefda)
2008-01-18 18:08:49 +11:00
Andrew Bartlett
53c1cdd11a Don't set 'name' in the LDIF, this is handled by the rdn_name module.
Andrew Bartlett
(This used to be commit e9003feb1b)
2008-01-18 17:08:34 +11:00
Andrew Bartlett
130db062bf Merge commit 'origin/v4-0-test' into 4-0-local
(This used to be commit 51422414be)
2008-01-18 17:05:17 +11:00
Andrew Bartlett
391f089d71 Add showInAdvancedViewOnly to every new object
Unless already set, the default value for this comes from the
defaultHidingValue in the schema.

Andrew Bartlett
(This used to be commit 673f180500)
2008-01-18 16:56:41 +11:00
Andrew Tridgell
61a015a786 merged changes from v3-2-test
(This used to be commit 7077df3e2e)
2008-01-18 15:45:22 +11:00
Andrew Tridgell
524d280ad0 merged tdb changes from ctdb
(This used to be commit c54c087a19)
2008-01-18 15:33:57 +11:00
Jelmer Vernooij
55ad09a01b registry: Use correct return values.
(This used to be commit 98ebdbe52f)
2008-01-18 03:42:00 +01:00
Jelmer Vernooij
b5ba491012 registry: Avoid mapping registry return codes: return the right value in the first place.
(This used to be commit 434e4857ce)
2008-01-18 03:42:00 +01:00
Andrew Kroeger
e490415e2e When Windows attempts to create a new key, it looks for an available key name
starting with "New Key #1" and iterating up to "New Key #99" before giving up.
ldb_open_key() calls reg_path_to_ldb() to build the appropriate dn from the key
name.  reg_path_to_ldb() was not catching the error returned by
ldb_dn_add_base_fmt() due to the unescaped '#' character, causing the returned
dn to be that of the parent key, not the potential new key.  Additionally,
Windows expects a return value of WERR_BADFILE when a key does not exist, but
WERR_NOT_FOUND was being returned instead.  Correcting the building of the dn
and the providing the expected return value allows new key creation to succeed.

When attempting to delete a key, Windows passes the complete path to the key,
not just the name of the child key to be deleted.  Using reg_path_to_ldb() to
build the correct dn allows key deletion to succeed.
(This used to be commit d57792d67b)
2008-01-18 03:41:59 +01:00
Jelmer Vernooij
85d60d2d09 registry: Improve error codes and update tests.
Rather than map the error returned by the registry to the correct error,
return the correct error in the first place.

Also deal with the fact that the right error code is now returned in a
couple of places.
(This used to be commit 1e31fcb8a0)
2008-01-18 03:41:59 +01:00
Andrew Kroeger
4d8a60f617 When Windows initially creates a new value, the value name is "New Value #1".
The '#' character was causing problems, as it was not being escaped for the dn,
but the failure returned by ldb_dn_add_child_fmt() was not being caught.  This
was causing the new value to be added on the parent key, not the current key.
When attempting to delete the new value (now on the parent key) the same
escaping error was returned by ldb_dn_add_child_fmt(), causing the delete to
delete the key and not the value.

When attempting to rename a value, Windows first tries to ensure the new name
does not already exist.  When a value does not exist, Windows expects a return
value of WERR_BADFILE, but WERR_NOT_FOUND was being returned instead.
Providing the WERR_BADFILE that Windows expects allows values to be renamed.
(This used to be commit 94fb39cfd9)
2008-01-18 03:41:59 +01:00
Andrew Kroeger
158a2eed33 registry: Properly check return values from ldb_*() functions.
There were a few cases left that attempted to detect errors from ldb_*()
function calls using "(ret < 0)".  As all LDB_* error codes are greater than
zero, there was no chance any errors would be detected.  Changed all such tests
to use "(ret != LDB_SUCCESS)".
(This used to be commit 0ed6f1b162)
2008-01-18 03:41:59 +01:00
Jelmer Vernooij
73626c266c registry: Check for more specific LDB return codes, handle changing existing values better.
(This used to be commit c8b22ef30c)
2008-01-18 03:41:59 +01:00
Andrew Bartlett
873c7457c6 Don't manually specify instanceID in the template files.
The instanceid module creates this automaticlly, so we don't need this
any more.

Andrew Bartlett
(This used to be commit f6dbdf34e8)
2008-01-18 13:30:20 +11:00
Andrew Bartlett
958b0e8ad1 Use syncrepl on all OpenLDAP databases (creates contextCSN attribute)
This module needs to be loaded on each database, not just the main
partition.  We use it to create the usn for the entries.

Andrew Bartlett
(This used to be commit ffb12aad8a)
2008-01-18 13:28:52 +11:00
Andrew Bartlett
f106e67599 Search for memberOf when clients ask for a wildcard against OpenLDAP
The memberOf module in OpenLDAP make this attribute operational, so we
need to add it here or clients won't get it when using *.

Andrew Bartlett
(This used to be commit 35148fd51f)
2008-01-18 13:27:05 +11:00
Andrew Bartlett
064eb82870 Remove --ldap-base from the python provision script
(This is a merge from the ejs script)

Andrew Bartlett
(This used to be commit d822dfa017)
2008-01-18 13:25:01 +11:00
Andrew Bartlett
564e021ed9 Correct authorship of instanceType module
Andrew Bartlett
(This used to be commit d427cf4fa6)
2008-01-18 12:16:27 +11:00
Andrew Bartlett
8d36d43e52 Add in a new module to handle instanceType
This code raided from the repl_meta_data module, which probably needs
to be downsized to just handling the replication data.

Andrew Bartlett
(This used to be commit 2a418f3370)
2008-01-18 10:13:43 +11:00
Michael Adam
3115481e32 Fix an output message in samba3rpc torture test.
Michael
(This used to be commit bf957bcb83)
2008-01-17 09:24:01 +01:00
Andrew Bartlett
f1e177a7b8 provision: simplfy by removing old code to manually create baseDNs.
Previously, we would create the first record in the DB as an LDIF
file, with the expectation that the administrator would use slapadd to
create the database.

We now do everything over LDAP, which is far simpler, and allows the
LDB module chain to do its work, without special cases.

Also fix naming of the output schema when suggesting the comamnd line
to run ad2oLschema in provision-backend.

Andrew Bartlett
(This used to be commit e77375758d)
2008-01-17 12:00:27 +11:00
Andrew Bartlett
b44f322f5d OpenLDAP backend: Place the refint overlay after the memberof overlay
This still doesn't work for me, but is the recommended order.

Andrew Bartlett
(This used to be commit 4c869c54c2)
2008-01-17 10:35:08 +11:00
Andrew Bartlett
c10992c065 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 11660b0737)
2008-01-17 10:32:41 +11:00
Andrew Bartlett
d5fd15005c ldb_map objectClass munging: Don't hard-code 'extensibleObject'.
This allows objectClass munging to be removed, or modified to not
include adding an objectClass, or for that objectClass to be something
different.

Andrew Bartlett
(This used to be commit ee93b4e2ee)
2008-01-17 08:53:18 +11:00
Jelmer Vernooij
797e8db3ba selftest: Use "require" rather than "use" keyword so .pm files don't have to be provided until used.
(This used to be commit 95872d7db8)
2008-01-16 21:30:58 +01:00
Jelmer Vernooij
6508824f39 python: Don't attempt to build shared and static versions of modules, because it's just not going to work with the current build system.
(This used to be commit d9b4a5bb17)
2008-01-16 17:58:50 +01:00
Jelmer Vernooij
a760146e73 selftest: Add some more documentation. Rename env => target to avoid confusion.
(This used to be commit 50b8a16d0c)
2008-01-16 17:58:50 +01:00