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
Jeremy Allison
14dc32a4f5
Oops. Don't break the build..
...
Jeremy.
2009-10-07 15:43:43 -07:00
Jeremy Allison
94ce06f01d
Make the logic a lot clearer and fix the comment to match.
...
Jeremy
2009-10-07 15:39:38 -07:00
Matthias Dieter Wallnöfer
91456b8dc5
s4:ldb - SQLite: port some constraints from the TDB backend also to the SQLITE one
2009-10-08 00:18:07 +02:00
Matthias Dieter Wallnöfer
75eff6eaf3
s4:subtree_delete - Make the initialisation of the child counter more clear
2009-10-08 00:18:07 +02:00
Matthias Dieter Wallnöfer
30faff7567
s4:ldap.py - Further enhancements
...
- Enhance test for "distinguishedName"
- Add a test for single-valued attributes
- Add a test for multi-valued attributes
- Add a test for empty messages
- Add a test for empty attributes
2009-10-08 00:18:07 +02:00
Matthias Dieter Wallnöfer
f9990e9b39
s4:ldb - add a check which has to be done on beginning of a "modify" operation
2009-10-08 00:18:06 +02:00
Matthias Dieter Wallnöfer
ee0204cfcc
s4:ldap server - remove unused error handlings
...
Those error cases should be handled by LDB itself to be available on all
connection methods and not only over LDAP.
2009-10-08 00:18:06 +02:00
Matthias Dieter Wallnöfer
32a7b82e87
s4:ldb_tdb - Rework/Various
...
- Unify the error handling method with "done" mark in all longer functions
- Fix up result codes to match more the real MS AD
- Some cosmetic fixups
2009-10-08 00:18:06 +02:00
Jeremy Allison
746fb5aa4f
Correct fix for bug 6781 - Cannot rename subfolders in Explorer view with recent versions of Samba.
...
Without this fix, renaming a directory ./a to ./b, whilst a directory ./aa was already open
would fail.
Jeremy.
2009-10-07 15:14:50 -07:00
Aravind Srinivasan
2f379d70ff
s4/torture: Ported SMBv1 RAW-OPEN tests to SMB2-CREATE
...
Four tests were ported from raw/open.c
One new tests added LEADING-SLASH, which tests that a server provides
the proper error when a relative path is given to a CREATE PDU
with a leading "/".
2009-10-07 14:20:25 -07:00
Aravind Srinivasan
0bff2ced79
s4/torture: convert all printf to torture_comments
2009-10-07 12:18:44 -07:00
Aravind Srinivasan
0ec8fe420f
s4/torture: Ported SMBv1 RAW-STREAMS tests to SMB2-STREAMS
2009-10-07 12:16:27 -07:00
Kai Blin
3703890596
AD-Bench: A first go at an Active Directory benchmark.
2009-10-07 15:45:46 +02:00
Günther Deschner
3c3725a340
s3-winbindd: libwbclient: implement secure channel verification for specific domains in wbcCheckTrustCredentials().
...
Guenther
2009-10-07 11:18:18 +02:00
Günther Deschner
7b3501200c
wbinfo: allow to check trusts via "wbinfo -t --domain DOMAINNAME".
...
Guenther
2009-10-07 11:18:11 +02:00
Günther Deschner
2df47b0a54
libwbclient: implement secure channel verification for specific domains in wbcCheckTrustCredentials().
...
Guenther
2009-10-07 11:18:03 +02:00
Günther Deschner
3d3134a7d6
s3-netlogon: pure cosmetic indent fixes in _netr_LogonControl2Ex().
...
Guenther
2009-10-07 10:36:22 +02:00
Günther Deschner
fea2a78beb
s3: re-run make samba3-idl.
...
Guenther
2009-10-07 10:34:15 +02:00