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

25111 Commits

Author SHA1 Message Date
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
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
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
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
7fc0aaba4b ldb: Drop autoconf-based build system. 2010-10-30 17:50:35 +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
33b276c2f1 build: set shared libraries flags correctly on mac os X 2010-10-30 13:45:18 +00:00
Andrew Tridgell
b4ba669e48 s4-smbd: initialise process models in smbtorture before use
the spoolss notify test needs to setup the process models before use

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sat Oct 30 13:32:09 UTC 2010 on sn-devel-104
2010-10-30 13:32:09 +00:00
Andrew Tridgell
35d466e66b s4-smbd: leave the single process model as internal
This helps with the static smbtorture for samba3, and the spoolss
tests which start a server
2010-10-30 23:49:02 +11:00
Andrew Tridgell
b2a565488e s4-heimdal: lex_err_message() should not be static 2010-10-30 23:49:02 +11:00
Andrew Tridgell
a139628423 s4-waf: added a lexyacc.sh script that manually rebuilds the heimdal parsers
we so rarely need to rebuild these that it is simplest to just run
lexyacc.sh when we import a new heimdal release
2010-10-30 23:49:02 +11:00
Andrew Tridgell
679eba61ea s4-build: removed some unnecessary dependencies
based on running waf --symbol-check
2010-10-30 23:49:01 +11:00
Andrew Tridgell
f5251c064e s4-ndr: make ndr-table a subsystem
its already part of the ndr-samba4 library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
2ea41fdbe2 s4-cmdline: make cmdline-credentials a private library 2010-10-30 23:49:01 +11:00
Andrew Tridgell
88fd7e0920 s4-dns: make the dns update task an external module
this simplifies some dependencies
2010-10-30 23:49:01 +11:00
Andrew Tridgell
87b3d384c6 s4-cluster: make cluster a private shared lib 2010-10-30 23:49:01 +11:00
Andrew Tridgell
3f3783cad3 s4-replace: make libreplace a private shared lib in s4 2010-10-30 23:49:01 +11:00
Andrew Tridgell
eb0005dfca s4-tdb: make tdb-wrap into a private library
this prevents double linking of the tdb wrap code
2010-10-30 23:49:01 +11:00
Andrew Tridgell
045e3445a0 s4-auth: make KERBEROS subsystem into authkrb5 private library
this fixes some double linking. The name 'KERBEROS' was also a bit
confusing, as it sounded like a base kerberos library, when it is in
fact part of auth
2010-10-30 23:49:01 +11:00
Andrew Tridgell
7a26bb9f77 s4-credentials: make a private library from CREDENTIALS subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
306754f294 s4-ldb: add explicit depenencies on ldb library in ldb modules
ldb modules call module functions from the main ldb library

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
04574d5738 s4-ldbwrap: split ldb-wrap out from the LDBSAMBA subsystem
ldb-wrap and the ldif-handlers are not really related, and this allows
us to remove another dependency loop

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
0563c5bacf s4-rpc: split the dcesrv reply code out of dcerpc_server
this allows us to remove a dependency on the dcerpc_server from code
that uses rpc forwarding

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
ac8e910686 s4-modules: remove LD_SAMBA_MODULE_PATH
this isn't needed now that we automatically get the module path right
in our build and install trees

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
256349d827 s4-torture: simplify the depenencies for TORTURE_DRS
it doesn't need to depend on the kitchen sink

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:01 +11:00
Andrew Tridgell
a57e0ae703 s4-smbd: make our process models into real modules
this simplifies some of the dependencies between bin/samba and the
various services, making it easier to get a clean depenency tree

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:00 +11:00
Andrew Tridgell
046d38faa5 s4-smbd: don't initialise process models more than once
this also removes the event_context parameter from process model
initialisation. It isn't needed, and is confusing when a process model
init can be called from more than one place, possibly with different
event contexts.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30 23:49:00 +11:00