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

414 Commits

Author SHA1 Message Date
Günther Deschner
7d798ac485 s3-passdb: move util_unixsids.c out of passdb.
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
bcee6c1fe2 s3-passdb: move util_wellknown.c out of passdb.
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
03e6082e3c s3: create_builtin_users/administrators belongs to passdb not auth.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
64421129b6 lib/util/util_pw: share sys_get{pw,gr} group of calls.
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
6a27928ced s3-waf: fix spoolssd compile.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:54 +02:00
Andrew Tridgell
f705fc9002 s3-string: moved fstring functions into their own file
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25 04:37:06 +01:00
Andrew Bartlett
1923b78209 s3-lib Remove the clobber_region() code.
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other
fixed-length string manipulation functions.

The hope of this code was to find out at run time if we were mixing up
pstring and fstring etc, and to record where this came from.  It has a
runtime performance impact (particularly if compiled with
--enable-developer).

It is being removed because of the complexity it adds, and the
distinct lack of bugs that this complexity has been credited in
finding.

The macro-based compile-time checking of string sizes remains.

Andrew Bartlett
2011-03-23 12:49:39 +11:00
Andrew Tridgell
580997ede0 fault: get fault.c ready for use by s4
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c,
and uses a function pointer to setup which smb_panic call to use
2011-03-23 11:03:57 +11:00
Andrew Tridgell
058c3bb923 fault: moved s3 fault.c to top level 2011-03-23 11:03:57 +11:00
Günther Deschner
33b8d0a6ff s3-waf: use HAVE_ADS env to decide whether to build libads.so
Guenther
2011-03-19 00:11:18 +01:00
Simo Sorce
5d55ae0a29 lib-util: put data_blob back in the public library
data_blob is defined ina public header, so it needs to be exposed in the public
library.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Thu Mar 17 15:39:08 CET 2011 on sn-devel-104
2011-03-17 15:39:08 +01:00
David Disseldorp
d6cb4feae1 s3-printing: use printcap IDL for IPC
Use printcap IDL for marshalling and unmarshalling messages between cups
child and parent smbd processes. This simplifies the IPC and ensures
the parent is notified of cups errors encountered by the child.

https://bugzilla.samba.org/show_bug.cgi?id=7994
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-03-16 15:52:21 +01:00
Günther Deschner
c91b897caa s3-build: share smbtorture4 build rules with s3-waf build.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 15 16:10:17 CET 2011 on sn-devel-104
2011-03-15 16:10:16 +01:00
Andrew Tridgell
af28facc03 s3-waf: enable public_headers_allow_broken 2011-03-15 12:22:20 +11:00
Andrew Tridgell
7a57f72ef4 s3-waf: enable public header building in s3 2011-03-15 12:22:20 +11:00
Günther Deschner
12f10a9182 s3-waf: fix the build.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Günther Deschner
875d9b8098 lib/util: LIBCRYPTO is in common already, so add it to samba-util-common.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Mar  3 18:08:30 CET 2011 on sn-devel-104
2011-03-03 18:08:30 +01:00
Andrew Bartlett
5f5ca913b7 lib/util: new merged debug system
This is the s3 debug system, with a number of changes to tidy it up
for common use.  The debug class system is simplified by the removal of the
ISSET table, the system no longer attempts to cope with assignment of
DEBUGLEVEL, and the full class table is always available (rather than
just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup.  It is also no longer
confusingly described as a hack, but as the initial table.

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Mar  1 04:32:12 CET 2011 on sn-devel-104
2011-03-01 04:32:12 +01:00
Michael Adam
c36f93d8ce s3: fix the waf build after adding smbd/msg_idmap.c 2011-02-28 15:54:04 +01:00
Andrew Tridgell
11a97d60d9 build: moved util_reg.c into a common subsystem
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 05:53:52 CET 2011 on sn-devel-104
2011-02-24 05:53:52 +01:00
Andrew Tridgell
74947964d9 build: moved spnego_parse.c into a common subsystem 2011-02-24 15:08:50 +11:00
Andrew Tridgell
5ec284d152 build: moved librpc/rpc/*.c into a rpccommon library
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
2011-02-24 02:42:37 +01:00
Andrew Tridgell
52fe20c310 build: moved lmhosts.c into a common subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24 11:57:48 +11:00
Andrew Tridgell
94c04b10db build: moved libds/common/flag_mapping.c into a common subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24 11:57:48 +11:00
Andrew Tridgell
8dbe665a0c build: moved schannel_sign.c into a shared COMMON_SCHANNEL subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24 11:57:48 +11:00
Andrew Tridgell
d37a55548b build: moved libcli/auth/ntlmssp*.c into a common libcliauth.so library
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-24 11:57:48 +11:00
Günther Deschner
6c2c8d9f67 s3-waf: remove more unused variables.
Guenther
2011-02-23 22:33:52 +01:00
Günther Deschner
7f5535460a s3-waf: rename LIBSAMBA subsystem to LIBNTLMSSP (which it is in fact).
Guenther
2011-02-23 22:33:52 +01:00
Günther Deschner
bf7f896d55 s3-waf: move GROUPDB into libpassdb.so.
Guenther
2011-02-23 22:33:52 +01:00
Stefan Metzmacher
91099d896b s3-waf: make use of LIBCLI_CLDAP subsystem
metze

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 10:17:01 CET 2011 on sn-devel-104
2011-02-23 10:17:01 +01:00
Günther Deschner
67e72f5204 s3-waf: move some parts of auth to AUTH_COMMON to avoid duplicate symbols with winbindd.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 23 02:16:23 CET 2011 on sn-devel-104
2011-02-23 02:16:23 +01:00
Andrew Tridgell
3b684824c1 s3-waf: added SYMBOLCHECK support to source3 waf build 2011-02-23 00:45:21 +01:00
Andrew Tridgell
9174d73173 build: moved more files into samba-util-common
this removes UTIL_SRC from the s3 waf build, as it is now all in
common with samba-util-common
2011-02-23 00:45:21 +01:00
Andrew Tridgell
457025eee7 build: created samba-util-common library
this library will contain files that can be built in common between s3
and s4. Both samba-util and samba-util3 depend on it.

Currently this library needs to be marked as allow_undefined_symbols,
in order to allow s4 to build it. We can remove that flag once we have
all the needed symbols in common

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-23 00:45:21 +01:00
Günther Deschner
40dd6ce3ac Revert "s3-waf: make use of LIBCLI_CLDAP subsystem"
Metze, we need to cleanup deps to idtree and cli-ldap first.

Guenther

This reverts commit ac4497edae.

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 23:53:25 CET 2011 on sn-devel-104
2011-02-22 23:53:25 +01:00
Stefan Metzmacher
ac4497edae s3-waf: make use of LIBCLI_CLDAP subsystem
metze
2011-02-22 21:04:23 +01:00
Günther Deschner
c399c28fb9 s3-waf: add replacetort binary.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 22 15:42:58 CET 2011 on sn-devel-104
2011-02-22 15:42:58 +01:00
Andrew Tridgell
f0a4d3a9d5 s3-waf: build bin/smbclient3 for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Tridgell
a3aa71ea3a s3-waf: no need to add suffix3 to smbpasswd
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Tridgell
84b235fbb2 s3-waf: convert some subsystems into private libraries
put some commonly used subsystems into private libraries to reduce the
install size

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
e3e1cd86e9 s3-waf: cope with both toplevel and source3 build
this fixes the remaining subsystem differences for the two builds

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
cf3225d6c3 s3-waf: find swat files for both toplevel and source3 build
this finds the right swat files in both cases

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
666d019110 s3-waf: rename CHARSET to CHARSET3
and add an alias CHARSET when not using a toplevel build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
21f81703ca s3-waf: use bld.env.suffix3 for differentiating toplevel build
this uses bld.env.suffix3 to mean "3" for a toplevel build, and blank
otherwise. This allows us to change the overlapping binaries to have a
'3' suffix

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
5fc565feac s3-waf: LIBADS depends on krb5
needed for krb5.h when using an in-tree heimdal

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
c6c49d8ec4 s3-waf: make version and build directory conditional
we don't need these when doing a toplevel build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
effc76db10 s3-waf: cope with location of include.h for toplevel build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
fecbe61028 s3-waf: added some more krb5 dependencies
this is needed when not using a system krb5, for finding krb5.h

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
ba52f83a3f s3-waf: renamed samba-util to samba-util3
also added alias samba-util when not using a toplevel build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00
Andrew Tridgell
9aa85b6e30 s3-waf: use common libcli/nbt build rules
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:09 +01:00