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

56759 Commits

Author SHA1 Message Date
Günther Deschner
0a468fbe36 nsswitch: add wbinfo -c (change trust account passwords).
Guenther
2009-10-13 12:42:44 +02:00
Günther Deschner
74948c979a libwbclient: add wbcChangeTrustCredentials.
Guenther
2009-10-13 12:42:44 +02:00
Günther Deschner
f394b5bc68 docs: document wbinfo -t --domain DOMAIN behavior.
Guenther
2009-10-13 12:42:24 +02:00
Günther Deschner
c2be185793 netlogon: add NL_PASSWORD_VERSION to IDL.
Guenther
2009-10-13 12:13:59 +02:00
Günther Deschner
ebe0e64ba9 s3: use enum netr_SchannelType all over the place.
Guenther
2009-10-13 10:21:46 +02:00
Günther Deschner
aa8c142b5e s3-netlogon: allow to change any type of trust account password in trust_pw_find_change_and_store_it().
Guenther
2009-10-13 10:21:42 +02:00
Andrew Tridgell
4423173b08 s4-repl: check that a DsGetNCChanges is a continuation, and fix sorting
When we indicate that a getncchanges request is not complete, we set
the more_data flag to true in the response. The client usually then
asks for the next block of data. If the client decides it wants to
skip that replication and do a different replication then we need to
make sure that the next call is in fact a continuation of the existing
call, and not a new call.

This relies on returning the results sorted by uSNChanged, as the
client uses the tmp_highest_usn in each result to see if progress is
being made.
2009-10-13 13:09:07 +11:00
Andrew Tridgell
ae507f620a Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-10-13 10:03:57 +11:00
Andrew Tridgell
dfbaf79a1b pidl: don't warn for compatible scalar types in unions
When we have an enum that is used as a union discriminator, what
matters is that the scalar mappings are the same, not if the types are
the same (otherwise we get warnings about uint1632).

Thanks to gd for noticing this.
2009-10-13 10:03:27 +11:00
Günther Deschner
4a1b50afd5 s3-netlogon: pass down account name to remote password set functions.
Guenther
2009-10-13 00:07:45 +02:00
Björn Jacke
faad888e1a ѕ3: fix domain trust documentation confusion
fix some trusted/trusting mixups, make documentation more precise
and man page more verbose.
2009-10-12 22:42:27 +02:00
Matthias Dieter Wallnöfer
9000b7bb94 s4:provision.py - simplify the "realm" variable handling a bit
(Remove unneeded "upper"s)
2009-10-12 19:21:55 +02:00
Matthias Dieter Wallnöfer
8b67e1ab70 s4:objectclass ldb module - Check for empty messages
I think the check for empty messages fits best here.
2009-10-12 17:35:52 +02:00
Matthias Dieter Wallnöfer
926a935a61 s4:wbclient.h - add compatibility constants
This is the result of a discussion on samba-technical on how to deal best with
existing programs which don't support my changes in the interface yet. Metze
pointed out this "defines" as a possibility and simo and I agreed.
2009-10-12 16:28:34 +02:00
Matthias Dieter Wallnöfer
78ebc02146 Revert "s4:ldb - add a check which has to be done on beginning of a "modify" operation"
This reverts commit f9990e9b391f330a8e6c5c158ee4e4eaa50f6176.

abartlet claims that this behaviour is too AD specific to put here. Btw I had
also some doubts if this is clean enough. I put it only here to make "ldap.py"
pass.

I'll try to find a new solution soon.
2009-10-12 16:19:04 +02:00
Günther Deschner
5eb14b2994 s3-docs: remove xml artefact from net.8.xml.
Guenther
2009-10-12 14:37:54 +02:00
Andrew Bartlett
a37efaf922 s4:ldb Allow a NULL module list 2009-10-12 23:33:22 +11:00
Karolin Seeger
8def289c8e s3/proto.h: Add lp_ldap_ref_follow prototype.
Fix build of smbldap.

Karolin
2009-10-12 12:52:29 +02:00
Jan Engelhardt
c5d5969e24 s3/smbldap: add option to disable following LDAP refs
Fix bug #6717.
2009-10-12 11:34:58 +02:00
Andrew Bartlett
fa05abc8ff Allow (and ignore) distinguishedName on special records
They are not stored, so we can ignore them (makes copying records much
easier)

Andrew Bartlett
2009-10-12 16:51:27 +11:00
Andrew Bartlett
d511d889a0 s4:schema Add some error checking to the schema load 2009-10-12 16:51:03 +11:00
Andrew Bartlett
aee3c19015 s4:dsdb Make dsdb_read_prefixes_from_ldb static 2009-10-12 16:51:03 +11:00
Andrew Bartlett
554791c49f s4:ldb Reload the 'ltdb_cache' when @OPTIONS changes
(Otherwise setting the check base on search option is not applied
until after a reload).

Andrew Bartlett
2009-10-12 16:51:03 +11:00
Andrew Bartlett
93ac2cdb54 s4:ldb Allow a module string of ""
(We may have no modules set)

Andrew Bartlett
2009-10-12 16:51:02 +11:00
Andrew Bartlett
c9f70fc3c7 s4:dsdb Search for the schema with dsdb_module_search(), in schema_fsmo
This avoids using an ldb_search(), which would run from the top of the
module stack.  This will help us load the schema before the partitions
are initialised.

Andrew Bartlett
2009-10-12 16:51:02 +11:00
Andrew Bartlett
1e5562ff04 s4:dsdb Add new functions to help modules do an ldb_search()
These take an ldb_module argument, and avoid doing the search from the
top of the stack again.

(This will help when modules are initialised before being added to the
partition set)

Andrew Bartlett
2009-10-12 16:50:50 +11:00
Andrew Bartlett
1dfa2ed423 s4:provision Remove all references to samba4LocalDomain
This was a bad idea all along, as Simo said at the time.  With the
full MS schema and enforcement of it, it is an even worse idea.

This fixes the provision of the member server in 'make test'

Andrew Bartlett
2009-10-12 16:50:49 +11:00
Andrew Bartlett
0bfc3023a1 s4:provision Clarify that we set, rather than modify, objectGUID values 2009-10-12 16:50:49 +11:00
Andrew Tridgell
3ecfd06d64 s4-selftest: don't run benchmarks on the build farm hosts 2009-10-12 16:14:02 +11:00
Andrew Tridgell
893564bc64 torture: fixed socket leak in BENCH-TCON test
The BENCH-TCON test was leaving the socket open. A smbclie_tdis()
closes the tree connection, but does not close the socket.

This caused the build farm to run out of file descriptors
2009-10-12 16:11:53 +11:00
Andrew Tridgell
2b9818ce0f scripts: handle non-C files in minimal_includes.pl 2009-10-12 13:31:34 +11:00
Andrew Tridgell
0c0eb14767 s4-drs: make DsBind a bit less verbose 2009-10-12 13:30:52 +11:00
Simo Sorce
7bce1ab5e8 Fix builds with external tdb
Make sure we do not reference our internal tdb directly.
Let configure define what tdb.h file to use so that builds that use an
extrenal tdb do not include 2 different versions of the tdb header.
2009-10-11 09:48:53 -04:00
Matt Kraai
815b790c96 Use the method used by build_env.sh to discover the user name.
so try USERNAME, then LOGNAME, then whoami, then id -un to find out who we
are.
2009-10-11 12:44:42 +02:00
Steven Danneman
622bffce47 s4/torture: fix build break "implicit declaration of function 'isprint'" 2009-10-09 15:13:40 -07:00
Volker Lendecke
5aeb954ba9 s3: Fix a memleak reported by dmarkey 2009-10-09 23:00:08 +02:00
Simo Sorce
99cdbe3571 Fix builds with external talloc
Make sure we do not reference our internal talloc directly.
Let configure define what talloc.h file to use so that builds that use an
extrenal talloc do not include 2 different versions of the talloc header.
2009-10-09 13:14:08 -04:00
John H Terpstra
8283affee6 Change recommended bu PC Oota. 2009-10-09 07:00:11 -05:00
Karolin Seeger
fc2604ed26 asn1_tests: Fix typo in comment.
Karolin
2009-10-09 11:27:06 +02:00
Jeremy Allison
333fcba1de Cope with old CIFSFS clients that use SMBunlink to remove
symlinks instead of trans2:posix_unlink.
Jeremy.
2009-10-08 15:36:36 -07:00
Jeremy Allison
5c4fea6d72 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-10-08 15:36:24 -07:00
Björn Jacke
76f73c73ea s3: make linking of libwbclient --as-needed safe
Partly fixes #6791. Thanks to Buchan Milne!
2009-10-09 00:24:18 +02:00
Jeremy Allison
77abc2dabd Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-10-08 10:01:51 -07:00
John H Terpstra
fb7096a55b Fix typos. Thank-you PC Oota. 2009-10-08 08:27:21 -05:00
Volker Lendecke
f0fd5df7fd s3: Fix shadow copy display on Windows 7
Windows 7 is a bit more picky on our NT_STATUS_BUFFER_TOO_SMALL. Announce the
right buffer size, the same amount we later check for.
2009-10-08 14:07:07 +02:00
Matthias Dieter Wallnöfer
1e2f455b4a winbind: adapt the new reject constants also there
Please note: in the past the value "0" was misinterpreted as other error. This
isn't true. "0" means no error.
Therefore a solution for this one has to found.
2009-10-08 11:01:22 +02:00
Günther Deschner
efaa98e824 s3-winbindd: NDR_WBINT_CHECKMACHINEACCOUNT should not be cacheable.
Guenther
2009-10-08 10:40:42 +02:00
Matthias Dieter Wallnöfer
607ceff234 s3/s4 - Adapt the IDL changes on various locations 2009-10-08 09:50:19 +02:00
Matthias Dieter Wallnöfer
c2685cdedb s3/s4:samr.idl - Corrects the "userPwdChangeFailureInformation" structure
This I've done according to WSPP doc MS-SAMR 2.2.7.23.
2009-10-08 09:49:56 +02:00
Jeremy Allison
46d1933240 Exteded RAW-RENAME test to catch regressions in bug 6781.
Jeremy.
2009-10-07 16:52:29 -07:00