1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-15 16:59:09 +03:00
Commit Graph

13974 Commits

Author SHA1 Message Date
ef22b1a477 r25966: Don't force an 8 byte width to generated SIDs, as this can actually
end up with a SID with a space in it.

Andrew Bartlett
(This used to be commit 7771f59ead)
2007-12-21 05:45:22 +01:00
fab68fd4d9 r25965: Remove duplicate block - thanks metze!
Andrew Bartlett
(This used to be commit d7e65da564)
2007-12-21 05:45:21 +01:00
fe61b63393 r25964: Fix comment and use talloc hirachy in ldb_tdb initialisation.
Andrew Bartlett
(This used to be commit 05cc2a7d96)
2007-12-21 05:45:21 +01:00
04cf937b8d r25963: libreplace: samba3 doesn't use SONAMEFLAG on Mac OS 10, so also try this
metze
(This used to be commit e145accfc2)
2007-12-21 05:45:20 +01:00
f6312d1b5a r25962: Move to more modern ldb functions loading module list.
Andrew Bartlett
(This used to be commit c3bfcf44a4)
2007-12-21 05:45:20 +01:00
3b6ff04631 r25961: Add new tests to verify basedn validation in LDAP searches.
Andrew Bartlett
(This used to be commit e178df4a18)
2007-12-21 05:45:19 +01:00
bd6a651b38 r25960: Enable checks on the validity of the search base on sam.ldb in Samba4.
Remove bogus check to return NO_SUCH_ENTRY in ldap_backend.c, as this
error is now correctly emited from ldb.

Andrew Bartlett
(This used to be commit ed57862b90)
2007-12-21 05:45:19 +01:00
d544879e43 r25959: Add a new special DN to LDB: @OPTIONS
Use the checkBaseOnSearch attribute to control if we should check the
base DN on search requests.

Also ensure we honour any errors in searching, not just errors in the
supplied 'done' callback.

Andrew Bartlett
(This used to be commit deaac92f43)
2007-12-21 05:45:18 +01:00
f8bf16960e r25958: Callers of gendb_search_dn() don't expect to get
LDB_ERR_NO_SUCH_OBJECT for base searches.  Return 0 in this case.

Andrew Bartlett
(This used to be commit eb180f6a6a)
2007-12-21 05:45:18 +01:00
3f7dcaceba r25957: Rework the cracknames code to use less gendb_search() and instead call
ldb_search_exp_fmt().  While it is a bit more verbose to code with, it
returns better error codes, and allows us to handle the case where the
base DN doesn't exist better.

Andrew Bartlett
(This used to be commit be6ef043a3)
2007-12-21 05:45:17 +01:00
36a1640b27 r25956: Try metze's suggestion for Mac OS X shld flags.
(This used to be commit 5fea6e0d9a)
2007-12-21 05:45:17 +01:00
85dd023f99 r25955: libreplace: add a useful link about linking shared libraries
http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html

metze
(This used to be commit 403c5521d1)
2007-12-21 05:45:17 +01:00
656d9f4304 r25954: we don't need this twice
metze
(This used to be commit 5cc89f1b8e)
2007-12-21 05:45:16 +01:00
35efbc84c7 r25953: AIX make doesn't support $^.
(This used to be commit 91133d2711)
2007-12-21 05:45:16 +01:00
777ea0d434 r25952: Add in new data file required by samba3sam test.
Andrew Bartlett
(This used to be commit f36a35dd69)
2007-12-21 05:45:15 +01:00
b79e33826f r25951: Add missing DS_SERVER_NDNC bit to netr_DsR_DcFlags.
Guenther
(This used to be commit 1b49119c73)
2007-12-21 05:45:15 +01:00
8959af0a6f r25950: Enable seperate module to prevent subtree deletes.
Andrew Bartlett
(This used to be commit a71414ec3e)
2007-12-21 05:45:15 +01:00
b34f286d3a r25949: Make error messages clearer and more correct.
Andrew Bartlett
(This used to be commit f0a0d73f76)
2007-12-21 05:45:13 +01:00
58f9b5702a r25948: Fix up the samba3sam test (which is very fragile) to work with the new
restrictions imposed by the samldb module.

This module is worth keeping, because when we go back to do more
extensive backend mapping, the testing of this module shows it is
still possible.

Andrew Bartlett
(This used to be commit a10d2554dc)
2007-12-21 05:45:13 +01:00
3e0efe2383 r25945: Fix flags for MacOS X.
(This used to be commit b01303b567)
2007-12-21 05:45:12 +01:00
0969ac9e61 r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
(This used to be commit 228dd6830e)
2007-12-21 05:45:12 +01:00
5adade2f2f r25943: Fix soname on hpux.
(This used to be commit fd762b01ed)
2007-12-21 05:45:11 +01:00
5d4f507a65 r25942: Make various ldb modules handle an LDB backend that enforces validity
of Base DNs in searches (returning an error of LDB_ERR_NO_SUCH_ENTRY).

We need to handle this if ldb_tdb is to behave correctly compared with
LDAP, as well as if we are using an LDAP backend.

In doing so, I realised that subtree_rename and subtree_delete
(prevention) need rather different wait loops, so it seemed easier to
split it out into it's own module.

I've fixed the licence on both of these modules to be GPLv3.

Andrew Bartlett
(This used to be commit d3894c90f3)
2007-12-21 05:45:11 +01:00
7f18e15e3f r25941: Use samdb_relative_path() (new function in samdb.c) in the partitions
module.

Andrew Bartlett
(This used to be commit c8d1ab3084)
2007-12-21 05:45:11 +01:00
3f2ca10d2d r25940: Rework the samldb and templates handling.
Templates just don't belong in the sam.ldb, as they don't obey any of
the other rules.  This moves them to a seperate templates.ldb.

In samldb, this patch reworks the duplicate SID and Name detection
code, to use ldb_search_exp_fmt() rather than gendb_search.  This
returns far more useful errors, which we now handle and report better.

The call to samdb_search_for_parent_domain() has been moved in samldb,
to allow both the account and SID uniqueness checks to be in the same
domain.  This function also returns better errors.

dcesrv_drsuapi.c is updated for the new prototype of
samdb_search_for_parent_domain()

Andrew Bartlett
(This used to be commit f1ab90c88c)
2007-12-21 05:45:10 +01:00
cadf696f8b r25939: Rework the CLDAP server not to use gendb_search but to call ldb_search
directly.

Handle the errors from ldb_search (now that we get more than just -1),
including NO_SUCH_ENTRY when the base DN doesn't exist.

Andrew Bartlett
(This used to be commit e47df4a0fe)
2007-12-21 05:45:10 +01:00
5294e82e21 r25938: We don't need the CLDAP server unless we are a DC.
Andrew Bartlett
(This used to be commit e8606bbcc6)
2007-12-21 05:45:10 +01:00
6c41194961 r25936: provision/newuser: don't try to set the 'memberOf' attribute
metze
(This used to be commit c6d959e52c)
2007-12-21 05:45:09 +01:00
81ad27b309 r25935: Fix registry tests.
(This used to be commit b311094714)
2007-12-21 05:45:09 +01:00
08dd389ddf r25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the
modules.

This will be useful when we start enforcing validity in base DNs.

Andrew Bartlett
(This used to be commit aa8348a27a)
2007-12-21 05:45:08 +01:00
f1ec8da56d r25933: LDB: Don't free errstring until after the printf, in case it is one of
the arguments.

Andrew Bartlett
(This used to be commit af40b1cd88)
2007-12-21 05:45:07 +01:00
d0d0a69d0b r25932: Remove unnecessary include - should fix the build on hosts without popt.
(This used to be commit f250ae0c36)
2007-12-21 05:45:07 +01:00
73f88ad250 r25931: Add config .mk file for crypto lib.
(This used to be commit 21ab43158f)
2007-12-21 05:45:07 +01:00
0b2780a6a4 r25930: fix test name
(This used to be commit 41dcd8c261)
2007-12-21 05:45:06 +01:00
7ab6f359f4 r25929: Add some help strings.
(This used to be commit ef364df37f)
2007-12-21 05:45:06 +01:00
dbc78e2016 r25928: Split up torture-local a bit.
(This used to be commit c6b1090408)
2007-12-21 05:45:06 +01:00
6ee570c327 r25927: Move share tests to param directory.
(This used to be commit f12f623da5)
2007-12-21 05:45:05 +01:00
a86920600a r25926: Move iconv test to iconv code directory.
(This used to be commit e20c4b90e4)
2007-12-21 05:45:05 +01:00
a67d2e0a83 r25925: torture/raw: fix sending unitialized bytes in RAW-SAMBA3ROOTDIRFID
(found by make valgrindtest)

metze
(This used to be commit e95c2ffe00)
2007-12-21 05:45:05 +01:00
089acd77b6 r25924: fix bug in UNIX_INFO2 push code found make make valgrindtest
metze
(This used to be commit 9b151e6cea)
2007-12-21 05:45:04 +01:00
0819903703 r25923: Make sure to install phpldapadmin-config.php
Andrew Bartlett
(This used to be commit 472dd7b318)
2007-12-21 05:45:04 +01:00
b45b8fa9c3 r25922: Make it easier to bind to a unix domain socket, without messing with
ports...

Andrew Bartlett
(This used to be commit 70de473980)
2007-12-21 05:45:03 +01:00
716391f106 r25921: Now also listen on ldapi by default in the LDAP server
Create a phpLDAPadmin configuration file example to use ldapi to talk
to Samba4

Andrew Bartlett
(This used to be commit 54f4c8ba61)
2007-12-21 05:45:03 +01:00
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
b2ddeeb79d r25919: ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
librpc/tools/ndrdump.c

metze
(This used to be commit c788fe3eec)
2007-12-21 05:44:57 +01:00
910ab408af r25918: ndr: change NTSTAUS into enum ndr_err_code (samba4 handwritten stuff)
ndr_sec_helper.c
ndr_spoolss_buf.c
ndr_compression.c
ndr_drsuapi.[ch]
ndr_krb5pac.c
ndr_orpc.c

metze
(This used to be commit 356e027bf8)
2007-12-21 05:44:56 +01:00
0ce646d49a r25917: ndr: move ndr_map_error2ntstatus to errormap.c
metze
(This used to be commit 8fc2e7737f)
2007-12-21 05:44:55 +01:00
afa5f256e9 r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/

metze
(This used to be commit 7e157bbcfd)
2007-12-21 05:44:55 +01:00
3e1fb13024 r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/

metze
(This used to be commit 7106f21de8)
2007-12-21 05:44:54 +01:00
3953335420 r25914: selftest: fix the module pathes when using --with-selftest-prefix
metze
(This used to be commit 092b93b135)
2007-12-21 05:44:53 +01:00