1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

61950 Commits

Author SHA1 Message Date
Stefan Metzmacher
4cff89a585 s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
metze
2010-04-13 09:55:56 +02:00
Andrew Tridgell
ab9e5047d7 talloc-waf: added the manpage generation and talloc1-compat generation
this allows the RPM spec file to be used with only a tiny mod (using
autogen-waf.sh instead of autogen.sh and using ln -sf for the library
links instead of ln -s)

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 17:34:44 +10:00
Andrew Tridgell
64f860e96a build: added autoconf compatible configure options
This adds --build, --host, --program-prefix and
--disable-dependency-tracking. All we do with them is check them for sanity
and throw an error if (for example) the user tries a cross-compile using
these options

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-13 17:34:44 +10: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
Volker Lendecke
5fc2801c09 s3: Cache the username map in gencache
This is for uses with a heavy-weight username map script
2010-04-13 09:30:06 +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
Jeremy Allison
7984243768 Move to using 64-bit mid values in our internal open file database.
This will allow us to share logic much easier between SMB1 and SMB2
servers.

Jeremy
2010-04-12 21:40:28 -07:00
Andrew Tridgell
8a2169d674 build: cope with spaces in options passed to ./configure 2010-04-13 13:45:01 +10:00
Andrew Tridgell
a7d762bd29 build: allow cross-builds to use shared libraries 2010-04-13 12:41:34 +10: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
Andrew Tridgell
0ca484f457 build: check the type of implied dependencies
an implied dependency needs to be a library or module
2010-04-13 11:41:20 +10:00
Andrew Tridgell
b7ffc6e5b2 build: fixed a typo that prevented --bundled-libraries from working correctly
Jelmer noticed that --minimum-library-version=talloc:2.0.1 --bundled-libraries=!tevent
didn't do the right thing.
2010-04-13 11:27:34 +10:00
Andrew Tridgell
9c6781277a build: cope with existing binaries in bin/ left over from the old build 2010-04-13 09:36:03 +10:00
Volker Lendecke
b1a27e81d7 s3: Apply some const 2010-04-12 21:42:54 +02: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
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