1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

146 Commits

Author SHA1 Message Date
Jelmer Vernooij
cd9057a0bb r18639: Get rid of the keepref support
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10 14:18:59 -05:00
Andrew Tridgell
655b710204 r18584: found one of the fd leaks. The registry backend was using a
talloc(NULL, xxx) to allocate the registry context. That had two
consequences

1) it was a massive memory leak, as all winreg operations leaked their
   entire context (including an open ldb database) every time

2) event_context_find() never found the exsting event context, so we
   used a new event context each time, which called epoll_create()
   each time, which caused a fd to be allocated
(This used to be commit 1c0a3de39828b43149d8981fc7f10e7c8b59a392)
2007-10-10 14:18:52 -05:00
Jelmer Vernooij
f16c1be6e9 r15907: Add simple manpage for gwsvcctl
(This used to be commit e9314ceb2026041b7b01cb2b73e125ba64590932)
2007-10-10 14:08:39 -05:00
Andrew Tridgell
cdc64c448d r15853: started the process of removing the warnings now that
talloc_set_destructor() is type safe. The end result will be lots less
use of void*, and less calls to talloc_get_type()
(This used to be commit 6b4c085b862c0932b80b93e316396a53b993544c)
2007-10-10 14:08:32 -05:00
Jelmer Vernooij
ad9003b448 r15779: Remove keepref from atsvc and efs.
(This used to be commit b44a8c32d35bcd0dc7339793c34cb84dd6981366)
2007-10-10 14:08:19 -05:00
Stefan Metzmacher
db903b0bed r15618: fix compiler warning
metze
(This used to be commit 43067e3691ef248c9552e9d2544701696dd1f4a9)
2007-10-10 14:07:00 -05:00
Jelmer Vernooij
086c9cc5f4 r15422: Fix issues with functions being called recursively in the credentials
callback code.
(This used to be commit edf0701e877592695bd69124e528338c27f24efd)
2007-10-10 14:05:35 -05:00
Jelmer Vernooij
bec9dad294 r15413: Disable gwsvcctl on hosts without gtk
(This used to be commit 95cca6a881ea8ead80646eced9c0a917bffebf7b)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
0bcfa67f0e r15410: Fix segfaults
(This used to be commit e8de80afb9d13c5c84bf70c9de3083d8caba9eb8)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
38efc3e0d5 r15409: Start working on GTK+ tool for services management
(This used to be commit 5be3627cc6e666e6dbbf146c47bb093f66124f87)
2007-10-10 14:05:34 -05:00
Jelmer Vernooij
86a2f18b96 r15408: Fix some small bugs in the GTK+ tools
Add utility function for connection to an interface
(This used to be commit 266f7472209e6ae4f70688cf06b8efa63d036d04)
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
be948e60e7 r15312: Fix dependency on gtksamba when GTK+ is not present
(This used to be commit 8f5e507ce3517bbbf06d3f9ec28d40b7158be1bc)
2007-10-10 14:05:09 -05:00
Jelmer Vernooij
0d5587b5d1 r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
(empty) libpopt.a overriding global one
(This used to be commit 2f06305e53478e5030c24550954f221a9a97c83f)
2007-10-10 14:05:00 -05:00
Stefan Metzmacher
d8f85bac2f r15235: fix all gtk tools...
metze
(This used to be commit c14fbc9aadbb8e4fbc1f07a65b604979638383b9)
2007-10-10 14:04:22 -05:00
Jelmer Vernooij
8d78725b2a r15233: Fix loading shared modules
(This used to be commit b459e0e1013e039e67a0387c954fde8c83259019)
2007-10-10 14:04:21 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
42da534d66 r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
(This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
2007-10-10 13:59:17 -05:00
Jelmer Vernooij
d64ccc0176 r14599: Pass ACLs down the registry layer.
(This used to be commit 6cdefd8945eee5513a6993350ea71f12d4dbd6fa)
2007-10-10 13:58:59 -05:00
Jelmer Vernooij
184955ffd7 r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
(This used to be commit ed382873fd01457a53e0a1e1f5ba6753dfbc0646)
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
35349a58df r14542: Remove librpc, libndr and libnbt from includes.h
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10 13:58:42 -05:00
Jelmer Vernooij
b785a7c40c r14492: Fix shared libs - set SO_VERSION to 0 everywhere for now.
(This used to be commit 4682bc5ce047d81586447b9df82c91ed1fe677cf)
2007-10-10 13:57:32 -05:00
Jelmer Vernooij
71b4fd9792 r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
(This used to be commit 9c37f847d32d2f327a88c53a90af0c73126b76be)
2007-10-10 13:57:30 -05:00
Jelmer Vernooij
4f1c8daa36 r14470: Remove some unnecessary headers.
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10 13:57:29 -05:00
Andrew Tridgell
819110dfb3 r14410: init a var
(This used to be commit 59bc3e8ab0f9722b0292465b20f3876b25095418)
2007-10-10 13:57:20 -05:00
Jelmer Vernooij
1060f6b3f6 r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
3f16241a1d r14363: Remove credentials.h from the global includes.
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10 13:57:14 -05:00
Jelmer Vernooij
e47f76e96d r14332: Built in different paths when running locally (from ./bin/) in developer
mode (./configure.developer). This will change the hardcoded value of a few
paths (BINDIR, SWATDIR, EJSDIR, SETUPDIR, DATADIR, MODULESDIR). The regular
locations will be used when running 'make install'.

This enables developers to work on (shared built) modules, swat, ejs and
setup files without having to run 'make install' each time.
(This used to be commit f12c1ee19349e17dc5d109ccc71b5374796a6e23)
2007-10-10 13:57:12 -05:00
Jelmer Vernooij
e153a8099e r14327: Replace MAJOR_VERSION/MINOR_VERSION/RELEASE_VERSION with two parameters:
- VERSION: should contain the current version. Will be made part of the filename.
 - SO_VERSION: should contain the latest version that this on is compatible to. Will be used for setting the soname of the shared library.

Fix sonames and use them on platforms that support them
Remove symlinking code. ldconfig will take care of creating the symlinks now
that we set the soname.
(This used to be commit 7871b07e21c85c63d0ecac4c31b98dc112d18af5)
2007-10-10 13:57:12 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c746980328431ab04852dc668899e3eb042da99)
2007-10-10 13:52:32 -05:00
Jelmer Vernooij
f8fdbc967c r13944: Yet another round of splitups.
(This used to be commit f87debeb12cebd734b47314554ab671c9e06237e)
2007-10-10 13:52:31 -05:00
Jelmer Vernooij
ba564a901e r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.
(This used to be commit c80a8f1102caf744b66c13bebde38fba74983dc4)
2007-10-10 13:52:21 -05:00
Jelmer Vernooij
b223f8fdc2 r13790: Add Samba as category
(This used to be commit 71f64baa87ea49fe3d52262117c05aa51d5e138e)
2007-10-10 13:52:11 -05:00
Jelmer Vernooij
290de53456 r13789: Add metadata files for the GTK+ apps
(This used to be commit 3e980a75c5adc2a870de07771c7ce1d737a6fb3e)
2007-10-10 13:52:11 -05:00
Jelmer Vernooij
918e8feac3 r13066: Add (very simple) manpages for gepdump and gwcrontab, remove gwsam from
installed binaries (as it's not ready for use yet)
(This used to be commit 219aebe7e4283d2075ca3910ae700a16919120e4)
2007-10-10 13:51:21 -05:00
Jelmer Vernooij
63d718e243 r12696: Reduce the size of include/structs.h
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10 13:49:40 -05:00
Jelmer Vernooij
aa9f67163c r12620: Get rid of automatically generated lists of init functions of subsystems.
This allows Samba libraries to be used by other projects (and parts of
Samba to be built as shared libraries).
(This used to be commit 44f0aba715bfedc7e1ee3d07e9a101a91dbd84b3)
2007-10-10 13:49:06 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
46aa296cc9 r12592: Remove some useless dependencies
(This used to be commit ca8db1a0cd77682ac2c6dc4718f5d753a4fcc4db)
2007-10-10 13:49:00 -05:00
Jelmer Vernooij
2cd5ca7d25 r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10 13:47:55 -05:00
Andrew Tridgell
e4dbcc0d5d r12531: 'make quicktest' was taking 15 minutes on my system due to failing DNS
lookups in load_interfaces(). The reason was my eth0 interface was
down, and it was being interpreted as a DNS name.

This patch changes load_interfaces() to happening automatically when
interfaces are first needed instead of on the startup of every samba
binary. This means that (for example) ldbadd doesn't call
load_interfaces(), which means no slow DNS lookups.

I also reduced the number of static globals in interface.c to 1, and
changed from malloc to talloc

When you want to force a reload of the interfaces list, you now call
unload_interfaces(), which means the next call that needs the
interfaces list will reload it
(This used to be commit f79d90bd1364b970adb2981b2572e77066431f1e)
2007-10-10 13:47:52 -05:00
Jelmer Vernooij
acd6a086b3 r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10 13:47:48 -05:00
Jelmer Vernooij
09c44f6cae r12500: Use init functions explicitly in a few more places. 'gensec' and 'librpc'
are the only two subsystems left to convert.
(This used to be commit f6bbc72996aeee8607fc583140fd60be0e06e969)
2007-10-10 13:47:46 -05:00
Jelmer Vernooij
6aafed9600 r12499: Move smb_build.h out of includes.h
(This used to be commit c92ace494f92084ddf178626cdf392d151043bc7)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
d8e35f8828 r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
the difference between these at all, and in the future the
fact that INIT_OBJ_FILES include smb_build.h will be sufficient to
have recompiles at the right time.
(This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10 13:47:45 -05:00
Jelmer Vernooij
ab31a44216 r12254: Add some (hopefully correct) descriptions for libraries that are installed.
Install pkg-config files.
(This used to be commit a86abe84e2cae7c6188c094a92c6b62aace02fdf)
2007-10-10 13:47:24 -05:00
Jelmer Vernooij
d0f4663771 r12209: Fix some issues with XML entities.
(This used to be commit 754e51b19d2d1fd6be8e01d62b6ec892688f934c)
2007-10-10 13:47:18 -05:00
Stefan Metzmacher
f600f1c68e r12151: match the select mode of the standard events system and the liboop system,
and report errors as read events

metze
(This used to be commit 5bbd54e96c75af765f827238d6c80101613ae64f)
2007-10-10 13:47:15 -05:00
Stefan Metzmacher
96180f2cac r12140: - add an additional_flags field to the fd_event struct, so that
the events backend can store private flags
- add function to access the gtk event loop ops struct

metze
(This used to be commit a5cc0758a393f36a770cdd57e317214d03934c13)
2007-10-10 13:47:13 -05:00
Stefan Metzmacher
91abd131e6 r12123: handle fde == NULL at the correct level
metze
(This used to be commit 1dd5bb60a5047b94034eb084473bb8f4a9926e7c)
2007-10-10 13:47:11 -05:00
Jelmer Vernooij
a4e7bf3a89 r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10 13:45:29 -05:00