1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

22530 Commits

Author SHA1 Message Date
Andrew Tridgell
c10d267a76 s4-waf: don't try to use the system lib for the library build
when building library FOO, don't try to find the system library FOO
    
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 23:03:27 +10:00
Stefan Metzmacher
4cff89a585 s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
metze
2010-04-13 09:55:56 +02:00
Matthias Dieter Wallnöfer
6661ecbe94 s4:CLDAP - "fill_netlogon_samlogon_reponse" - check for out of memory 2010-04-13 09:32:35 +02:00
Matthias Dieter Wallnöfer
a894d6cc37 s4:acl/descriptor LDB module - distinguish between root and default basedn
The first is the forest base DN, the second the domain base DN. At the moment
we assume that they are both the same but it hasn't to be so.

Nadia, I would invite you to fix the outstanding parts regarding this (I added
comments).
2010-04-13 09:32:34 +02:00
Matthias Dieter Wallnöfer
0dffa9caec s4:use "samdb_forest_name" for the forest DNS domainname lookup 2010-04-13 09:32:33 +02:00
Matthias Dieter Wallnöfer
719a46913b s4:dsdb/common/util.c - add a call which determines centrally the forest DNS domainname 2010-04-13 09:32:33 +02:00
Matthias Dieter Wallnöfer
c116d80053 s4:remove "samdb_root_dn", "samdb_base_dn", "samdb_config_dn" and "samdb_schema_dn"
They aren't needed anymore.
2010-04-13 08:57:07 +02:00
Matthias Dieter Wallnöfer
ad9e407357 Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
2010-04-13 08:55:15 +02:00
Matthias Dieter Wallnöfer
8e4c34880a s4:objectclass LDB module - remove a unneeded newline 2010-04-13 08:24:09 +02:00
Andrew Tridgell
ab73692bd3 s4-tevent: up tevent version number
tevent now has tevent_re_initialise() which is needed for the s4 build
2010-04-13 11:45:38 +10:00
Matthias Dieter Wallnöfer
1a27343366 s3/s4:netlogon IDL - fix up "struct netr_SamInfo6" regarding the "forest" attribute
According to MS-NRPC 2.2.1.4.13 this should be the DNS domainname, not the
forest one.
2010-04-12 18:49:01 +02:00
Matthias Dieter Wallnöfer
1bd4735d87 s4:auth/auth_sam_reply.c - fix counter types 2010-04-12 18:49:01 +02:00
Matthias Dieter Wallnöfer
98ce053efd s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions
Purely cosmetic change.
2010-04-12 18:49:01 +02:00
Matthias Dieter Wallnöfer
978a2d26b4 s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the "root_dn" for the sort test
The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
2010-04-12 18:49:00 +02:00
Stefan Metzmacher
9ef235ed0a s4:tortore/rpc/spoolss.c: fix declaration after code warning
metze
2010-04-12 16:18:11 +02:00
Andrew Tridgell
c168e5ce50 s4-ldb: enable waf build of ldb without ldap backend
this is useful for cross-compilation testing, where getting all the
ldap deps installed can be hard
2010-04-12 23:13:30 +10:00
Nadezhda Ivanova
83312a9e50 Fixed a problem with provision missing the default_dir/etc directory. 2010-04-12 16:06:06 +03:00
Stefan Metzmacher
6ccf2321ce s4:heimdal_build/wscript_build: avoid global deps for hostcc stuff
metze
2010-04-12 12:31:15 +02:00
Stefan Metzmacher
2a727ef6e7 lib/replace/wscript: inline LIBREPLACE_EXT into 'replace' as the autoconf system does
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
e6c31a4bcb s4:param/wscript_build: 'dl' is provides via 'replace'
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
2e26298331 s4:heimdal_build/wscript: rename HEIMDAL_ROKEN_H => HEIMDAL_ROKEN_HOSTCC
metze
2010-04-12 12:31:13 +02:00
Stefan Metzmacher
14c05405cb lib/replace/wscript: rename LIBREPLACE_H => LIBREPLACE_HOSTCC
metze
2010-04-12 12:31:13 +02:00
Andrew Tridgell
928fb86150 s4-ldb: fixed a crash bug for non-UTF8 strings
when one of the strings was not valid UTF8, we would try to
dereference NULL
2010-04-12 19:12:37 +10:00
Stefan Metzmacher
33bb334e80 s4-waf: inline LIBREPLACE_NETWORK into 'replace'
metze
2010-04-12 09:13:43 +02:00
Kamen Mazdrashki
a9e4abaa6e s4/libnet: Allocate mem in supplied mem_ctx
In this case, 'libnet_Vampire *r' may not be a pointer to
a talloced memory.
2010-04-12 04:20:36 +03:00
Kamen Mazdrashki
82b8bbdfac s4/py_net: Source code formatting fix 2010-04-12 04:20:35 +03:00
Andrew Tridgell
98942c8d84 build: use a common autogen-waf.sh for all builds
the symlink will get updated with the right target when waf dist is
used in each directory
2010-04-12 11:17:35 +10:00
Jelmer Vernooij
47c4e883d6 s4-net: Add definition of outf. 2010-04-12 02:55:27 +02:00
Kamen Mazdrashki
2179c6a8f8 s4: fix a typo 2010-04-12 01:50:40 +03:00
Kamen Mazdrashki
a62d0419de s4/libnet: handle errors returned for DsAddEntry_v3 properly
It turns out ms-docs are little bit misleading - in case of
no error, r->out.ctr->ctr3.err_data is not NULL, but
error information (r->out.ctr->ctr3.err_data->v1.info) is NULL!
2010-04-12 01:50:39 +03:00
Kamen Mazdrashki
cb0ad42a3d s4/libnet: Add few new lines in the debug log so it is readable again 2010-04-12 01:50:39 +03:00
Kamen Mazdrashki
9f92d586ca s4/libnet: Dump DRSUAPI_DIRERR_OK as unexpected
Actually DRSUAPI_DIRERR_OK is not valid error to be returned.
I introduce it in the IDL so that I can use it in enum.
So it should be dumped as Unexpected error code
2010-04-12 01:50:39 +03:00
Matthias Dieter Wallnöfer
1d3b00bfd7 s4:dbspeed torture - improve also the TDB code part
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
2010-04-11 21:49:02 +02:00
Matthias Dieter Wallnöfer
1fd6d9cd66 s4:dbspeed torture - remove unneeded newlines on "torture_result"
According to Jelmer's post on the technical list.
2010-04-11 21:49:02 +02:00
Jelmer Vernooij
b65c8d0505 s4: Fix more test results to not conflict with subunit commands. 2010-04-11 20:57:33 +02:00
Jelmer Vernooij
3a34b5f35e subunit: Remove more test output that could be interpreted by subunit. 2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6 subunit: Support formatting compatible with upstream subunit, for consistency.
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Matthias Dieter Wallnöfer
568ca2433d s4:samdb_server_site_dn - free unused DNs in the right way 2010-04-11 13:20:44 +02:00
Matthias Dieter Wallnöfer
c7dfe736a8 s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages 2010-04-11 11:33:45 +02:00
Matthias Dieter Wallnöfer
52ab3ca5e6 s4:torture - "dbspeed" test
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11 11:31:48 +02:00
Matthias Dieter Wallnöfer
753698e070 s4:torture - "dbspeed" test
Unify error handling.
2010-04-11 11:31:47 +02:00
Matthias Dieter Wallnöfer
cc32e7aff2 s4:torture - "dbspeed" test
Add more "talloc_free"s where needed or useful.
2010-04-11 11:31:47 +02:00
Andrew Bartlett
2c193fe91a s4:auth Remove event context from anonymous_session()
This should always return a simple structure with no need to consult a
DB, so remove the event context, and simplfy to call helper functions
that don't look at privilages.

Andrew Bartlett
2010-04-11 13:36:04 +10:00
Jelmer Vernooij
64bf8c400c selftest: Support passing --load-list to test runners. 2010-04-10 22:38:32 +02:00
Jelmer Vernooij
4fb98b6856 torture: Simplify torture suite running, call restricted test suite runner. 2010-04-10 22:38:32 +02:00
Jelmer Vernooij
6b442f43bc smbtorture: Remove unused shell feature. 2010-04-10 22:38:32 +02:00
Jelmer Vernooij
24f364517b smbtorture: Support --load-list argument. 2010-04-10 22:38:32 +02:00
Matthias Dieter Wallnöfer
0b7bb7f85a s4:registry - "patchfile_preg.c" - use more "sizeof"s on length specification
This makes the code more clear to read.
2010-04-10 19:58:09 +02:00
Matthias Dieter Wallnöfer
458a441f7f s4:registry - "patchfile_preg.c" - fix indentation 2010-04-10 19:58:08 +02:00
Matthias Dieter Wallnöfer
c7c8f0ccf3 s4:registry - "patchfile_preg.c" - fix a datatype
This should be an "uint16_t" (only two bytes are written).
2010-04-10 19:58:08 +02:00