1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

61829 Commits

Author SHA1 Message Date
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
Jelmer Vernooij
9db207da07 selftest: Cope with strict. 2010-04-12 16:35:18 +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
Andrew Tridgell
d12605c679 build: added cross-compilation configure options
this enables use of a cross-compilation emulator, so configure tests
run on an emulator of the target platform
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
Volker Lendecke
d73a7e7e90 s3: Little refactoring: Factor out skip_space 2010-04-12 13:18:18 +02:00
Volker Lendecke
8c3fa16686 s3: Remove a bogus 0-check, "isspace" can not return true for \0 2010-04-12 13:18:17 +02:00
Volker Lendecke
757766d5af s3: Cache the result of the username map script 2010-04-12 13:09:08 +02:00
Stefan Metzmacher
49d4dd530f Remove unused pcp/ directory.
metze
2010-04-12 12:49:58 +02:00
Stefan Metzmacher
143d3f1d90 Remove unused swat2 code
metze
2010-04-12 12:49:19 +02: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
8921834be8 lib/replace/wscript: avoid global deps for LIBREPLACE_HOSTCC
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
4f73658544 wafsamba: don't add global dependencies to hostcc targets
metze
2010-04-12 12:31:14 +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
783d2e9fe5 lib/nss_wrapper/wscript_build: 'replace' already includes 'dl'
metze
2010-04-12 12:31:14 +02:00
Stefan Metzmacher
dd38853b56 lib/replace/wscript: add dependency to 'dl'
metze
2010-04-12 12:31:13 +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
Stefan Metzmacher
8a00c56649 wafsamba: allow passing 'use_hostcc' to SAMBA_SUBSYSTEM()
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
Kai Blin
acc81f96a4 build: Add an always parameter to CHECK_DECLS 2010-04-12 17:47:30 +10:00
Kai Blin
c09fa85735 s3-waf: Correctly create symlink if SAMBA_BINARY targets are not in the current diectory
Many thanks to ita for pointing out the fix.
2010-04-12 17:47:30 +10:00
Andrew Tridgell
e683ac6f81 build: allow target upgrades from EMPTY to SYSLIB
A library may be initially set as empty if it wasn't needed for a list
of functions in CHECK_FUNCS_IN(). A later check may require the
library.

Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-12 17:47:29 +10:00
Andrew Tridgell
d70a7befb6 s4-waf: move the KRB5_DEPRECATED check into lib/replace
this needs to be with the krb5.h check for the source3 build
2010-04-12 17:47:29 +10:00
Stefan Metzmacher
33bb334e80 s4-waf: inline LIBREPLACE_NETWORK into 'replace'
metze
2010-04-12 09:13:43 +02:00
Stefan Metzmacher
b1393087ac lib/replace/wscript: rename REPLACE_H_SOURCE => REPLACE_HOSTCC_SOURCE
metze
2010-04-12 09:13:42 +02:00
Stefan Metzmacher
0d307f25a0 lib/replace/wscript: implement the same getpass detection logic as the autoconf version
metze
2010-04-12 08:52:03 +02:00
Stefan Metzmacher
e37b834a62 lib/replace/wscript: inline LIBREPLACE_GETPASS into 'replace'
metze
2010-04-12 08:39:44 +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
Andrew Tridgell
9ffd6c0ec3 build: cope with symlinks between build components in waf dist
This will allow us to have autogen-waf.sh be a symlink to
../buildtools/scripts/autogen-waf.sh in each library.

That will prevent people from updating only the script in source4/,
and forgetting to udpate the scripts in the other libs, as happened
with commit f3f82496
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
Andrew Tridgell
f8e527b088 build: added --minimum-library-version configure option
this allows the packager to override the default choice of system
library version
2010-04-12 09:50:49 +10: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
Volker Lendecke
8e95db9eea s3: Move serverinfo_to_SamInfoX to auth/server_info.c 2010-04-11 22:59:47 +02:00
Volker Lendecke
b8829e74fd s3: Move [make|free]_user_info to auth/user_info.c 2010-04-11 22:59:47 +02:00
Volker Lendecke
18909879cc s3: Move make_server_info_sam to auth/server_info_sam.c 2010-04-11 22:59:47 +02:00
Volker Lendecke
2b1a50c2e5 s3: Move sanitize_username to lib/util_str.c 2010-04-11 22:59:47 +02:00
Volker Lendecke
80708b75f8 s3: Move make_server_info to auth/server_info.c 2010-04-11 22:59:46 +02:00
Volker Lendecke
5792ccc7c8 s3: Move check_sam_security to auth/check_sam.c 2010-04-11 22:59:46 +02:00
Volker Lendecke
04f9e33de1 s3: Make check_sam_security public 2010-04-11 22:59:46 +02:00
Volker Lendecke
a0c175eca9 s3: Replace "auth_context" by "challenge" in need_to_increment_bad_pw_count args 2010-04-11 22:59:45 +02:00
Volker Lendecke
19c0086553 s3: Replace "auth_context" by "challenge" in sam_password_ok args 2010-04-11 22:59:45 +02:00