1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

68573 Commits

Author SHA1 Message Date
Kamen Mazdrashki
9221c38e16 s4-druspia.idl: rename DRSUAPI_ATTID_NONE to DRSUAPI_ATTID_INVALID
0xFFFFFFFF is actually an invalid value for an ATTID
and *_INVALID will make it more easy to notice in logs
2010-10-31 23:54:04 +00:00
Kamen Mazdrashki
717b1158a6 idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID values
Those values are actually ATTID values and such, they are used
for ATTIDs for Attributes, Classes and Syntaxes.
2010-10-31 23:54:04 +00:00
Andrew Tridgell
fb6f12be5c s4-server: avoid using environ as it is not portable
we can just use execv() instead, which passes through the environment,
which is all we need

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Oct 31 23:53:49 UTC 2010 on sn-devel-104
2010-10-31 23:53:49 +00:00
Matthieu Patou
3cef97ad0e unit tests: remove trailling white spaces
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Oct 31 23:10:55 UTC 2010 on sn-devel-104
2010-10-31 23:10:55 +00:00
Matthieu Patou
fda0f614d5 unit tests: allow make test to correctly and quickly exit in case of problem while provisionning a test environment 2010-10-31 22:28:15 +00:00
Jelmer Vernooij
d5883c8d00 replace/talloc: Avoid automatically pulling in new configure/Makefile,
as these files are checked in, and the source might not be available.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
2010-10-31 22:27:56 +00:00
Matthias Dieter Wallnöfer
dac6f1662e s4:sam.py - test the "sAMAccountName" attribute
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 31 21:02:48 UTC 2010 on sn-devel-104
2010-10-31 21:02:48 +00:00
Matthias Dieter Wallnöfer
51f4de8fc8 s4:samldb LDB module - validate "sAMAccountName" modifications
Also the "sAMAccountName" attribute is protected against corruption (e.g. two
accounts with the same name).
2010-10-31 21:04:26 +01:00
Matthias Dieter Wallnöfer
229f3cc9e8 s4:netlogon RPC server - "LogonGetDomainInfo" - always check the LDB return codes
Plus some cosmetic indentation fixes

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Oct 31 19:26:45 UTC 2010 on sn-devel-104
2010-10-31 19:26:45 +00:00
Matthias Dieter Wallnöfer
a5fc9378df s4:libnet_join.c - only write the really essential SPNs
If we are a DC then the others are added by the "samba_spnupdate" script.

This fixes bug #7614.
2010-10-31 18:44:07 +00:00
Matthias Dieter Wallnöfer
572774a7a0 s4:provision - remove the "servicePrincipalName" creation on the DC object
This is now done by the "samba_spnupdate" script.
2010-10-31 18:44:07 +00:00
Matthias Dieter Wallnöfer
01e7cc607c s4:setup/spn_update_list - reorder and update with other SPNs 2010-10-31 18:44:06 +00:00
Matthias Dieter Wallnöfer
971ce6c5ed s4:scripting/bin/samba_spnupdate - also support adding all possible "servicePrincipalName"s 2010-10-31 18:44:06 +00:00
Matthias Dieter Wallnöfer
5f8adf0efd s4:dsdb/dns/dns_update.c - increase the timeout for the SPN and DNS update scripts
Sometimes it can take longer than 10 sec.
2010-10-31 18:44:06 +00:00
Matthias Dieter Wallnöfer
39d40892c6 s4:netlogon RPC server - point out that the "LogonGetDomainInfo" "servicePrincipalName" generation is still needed 2010-10-31 18:44:06 +00:00
Matthias Dieter Wallnöfer
11687316b4 s4:sam.py - add a test for the "dNSHostName" - "servicePrincipalName" update mechanism 2010-10-31 18:44:06 +00:00
Matthias Dieter Wallnöfer
3f66608da4 s4:samldb LDB module - implement the "dNSHostName" - "servicePrincipalName" change trigger
When the "dNSHostName" changes then also the "servicePrincipalName"s are
changed as well.
2010-10-31 18:44:06 +00:00
Matthias Dieter Wallnöfer
771b10a421 s4:samldb LDB module - check for the number of results after a search operation
Should always be done.
2010-10-31 18:44:06 +00:00
Matthias Dieter Wallnöfer
8de1d727f1 s4:drsuapi RPC server - fix counter variables 2010-10-31 18:44:06 +00:00
Jelmer Vernooij
f6cfa86607 talloc: Look harder for waf.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 18:06:16 UTC 2010 on sn-devel-104
2010-10-31 18:06:16 +00:00
Jelmer Vernooij
c402e75be9 replace: Look harder for waf. 2010-10-31 17:24:04 +00:00
Matthieu Patou
c3fa203435 build: In some case the flags for the sun studio linker are wrong
In this case we test if the -Wl,-h,%s works and if so use this form

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Oct 31 16:35:17 UTC 2010 on sn-devel-104
2010-10-31 16:35:17 +00:00
Matthieu Patou
9f0fb0261e build: check that if we provide -liconv we can build shared libs
On Solaris with sun studio compiling an executable with -liconv even if
there is no libiconv.so or libiconv.a will work but not for a shared
lib.

This problem leads to build problem as the linker won't be able to find
libiconv when building shared lib as liconv is wrongly specified
2010-10-31 18:51:54 +03:00
Andrew Tridgell
97c0def79d s4-auth: added a dependency on com_err
this helps with the gentoo build. The problem is that without the
depenency, we don't add the cflags from the pkgconfig for com_err to
the build of auth/gensec. That really reflects a more general problem
with propogation of include dependencies, but this simple fix should
be enough for now.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Oct 31 13:13:33 UTC 2010 on sn-devel-104
2010-10-31 13:13:33 +00:00
Jelmer Vernooij
f99c009b61 replace: Build using waf by default.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
2010-10-31 02:45:21 +00:00
Jelmer Vernooij
4f22cc7a28 talloc: Switch over to using waf as the default build system for the standalone build. 2010-10-31 02:04:05 +00:00
Jelmer Vernooij
3deece5591 s4: Remove the old perl/m4/make/mk-based build system.
The new waf-based build system now has all the same functionality, and
the old build system has been broken for quite some time.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-31 02:01:44 +00:00
Matthias Dieter Wallnöfer
9401189d54 s4:samldb LDB module - make the "userAccountControl" and "groupType" modify handlers separate functions
It's easier to maintain afterwards

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Oct 30 19:07:20 UTC 2010 on sn-devel-104
2010-10-30 19:07:20 +00:00
Matthias Dieter Wallnöfer
098ea71728 s4:samldb LDB module - add a new function which handles special cases for single-valued attribute on SAM modifications
This saves quiet some work.
2010-10-30 20:23:31 +02:00
Matthias Dieter Wallnöfer
095c8b2078 s4:samldb LDB module - primary group change - free temporary messages to save memory 2010-10-30 20:23:31 +02:00
Matthias Dieter Wallnöfer
c0ebf5d743 s4:sam.py - add a short double swap "primaryGroupID" test
It's not really meaningful but can happen.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Oct 30 18:15:31 UTC 2010 on sn-devel-104
2010-10-30 18:15:31 +00:00
Matthias Dieter Wallnöfer
98fefa8a01 s4:samldb LDB module - adapt the "samldb_prim_group_change" trigger to support multiple "primaryGroupID" modification entries 2010-10-30 17:32:17 +00:00
Matthias Dieter Wallnöfer
02355fc6fd s4:samr RPC server - the LDB error codes for adding or deleting a group member have changed 2010-10-30 17:32:17 +00:00
Matthias Dieter Wallnöfer
c664f010d3 s4:sam.py - enhance "member" tests 2010-10-30 17:32:17 +00:00
Matthias Dieter Wallnöfer
4987467b78 s4:samldb LDB module - "member" trigger
- adapt the "samldb_member_check" trigger to support multiple "member"
  modification entries. There can exist special modification messages which
  delete and add members in one operation
- support the right error codes when modifications do fail
  (ERR_ENTRY_ALREADY_EXISTS, ERR_UNWILLING_TO_PERFORM)
2010-10-30 17:32:17 +00:00
Matthias Dieter Wallnöfer
5a2c3ad2fa s4:rpc_server/common.h - quiet compilation warnings 2010-10-30 17:32:17 +00:00
Matthieu Patou
b548674c29 provision: fix wrong tests
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat Oct 30 17:31:23 UTC 2010 on sn-devel-104
2010-10-30 17:31:23 +00:00
Matthieu Patou
a509b93518 build: Remove zlib from the cache if we failed to pass all the tests
This will avoid problems with redefinition of libs tests
2010-10-30 16:50:03 +00:00
Matthieu Patou
4e30a5dd0b build: make this test darwin only as it mess a bit more the freebsd build 2010-10-30 16:50:03 +00:00
Jelmer Vernooij
4dee76f1cd replace: Fix formatting.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
2010-10-30 16:32:15 +00:00
Jelmer Vernooij
7fc0aaba4b ldb: Drop autoconf-based build system. 2010-10-30 17:50:35 +02:00
Jelmer Vernooij
fe6d404ea5 tevent: Drop autoconf-based build system for standalone build. 2010-10-30 17:50:09 +02:00
Jelmer Vernooij
d1eba07e54 replace: Avoid autoproto as it breaks standalone builds.
Automatic prototype generation uses ../../source4/script/mkproto.pl.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-30 17:49:41 +02:00
Jelmer Vernooij
58e99ae916 replace: Only build replace-test in standalone build.
This allows turning libreplace-test back into a subsystem.
2010-10-30 17:49:38 +02:00
Matthias Dieter Wallnöfer
16206974e6 s4:local_password LDB module - fix typos
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Oct 30 15:41:46 UTC 2010 on sn-devel-104
2010-10-30 15:41:45 +00:00
Matthias Dieter Wallnöfer
2c0a9e9f21 s4:resolve_oids LDB module - fix counter types 2010-10-30 15:00:04 +00:00
Matthias Dieter Wallnöfer
45ee4e9a6b s4:partition_init LDB module - fix counter type 2010-10-30 15:00:04 +00:00
Matthias Dieter Wallnöfer
5ab8e4f7e1 s4:extended_dn_store LDB module - fix counter types 2010-10-30 15:00:04 +00:00
Matthieu Patou
dc0000e1a8 provision: when deriving netbiosname from hostname force the netbiosname to be compliant
It means no space/_/-/@.... and less than 16 chars.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sat Oct 30 14:26:22 UTC 2010 on sn-devel-104
2010-10-30 14:26:22 +00:00
Matthieu Patou
edebb76a61 build: strip -single_module when doing bundle on mac OS X 2010-10-30 13:45:18 +00:00