summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
AgeCommit message (Collapse)AuthorFilesLines
2008-03-27Remove unused marshalling for Netlogon Lockout String.Günther Deschner1-1/+0
Guenther (This used to be commit d87133d0516294e7d5f123e3bb2e93c179c72677)
2008-03-21Remove remaining old srvsvc client and server rpc code entirely.Günther Deschner1-1/+0
Guenther (This used to be commit a5f0186f70abe8dba650265219e69ce5ca2fb642)
2008-03-17Move libnet_conf to a library lib/smbconf/ of its own, fixing the api.Michael Adam1-0/+2
The libnet_conf code to access the registry based configuration has become more of a library used in several places in samba (e.g. loadparm) than an abstraction of "net conf". So I move it to a location lib/smbconf/. In the same breath, the api is fixed (not generated by make proto anymore). Michael (This used to be commit 5315ef41f403b96715dd68b512e9e74662e2910a)
2008-03-06Add infrastructure to support async SMB requestsVolker Lendecke1-0/+1
(This used to be commit e2153301351559f30f2714345f4c1ca6c5f1a45f)
2008-03-06Add basic infrastructure for general async requestsVolker Lendecke1-0/+1
(This used to be commit 9f8b2a87ee8bba930b776dcfda608a5639f6d55a)
2008-03-01Revert "Add basic infrastructure for general async requests"Volker Lendecke1-1/+0
This reverts commit ae254cb61f4b9331755848c47ebc34e90dd80390. (This used to be commit 030bef7f22f7a73466204b7860f397dbca9f2ab0)
2008-03-01Revert "Add infrastructure to support async SMB requests"Volker Lendecke1-1/+0
This reverts commit f5356825698a02df2d400b51dd95d1f857c83e81. (This used to be commit 5f53a62be8a21b8d92ac44b18d202882500356e8)
2008-02-29Eliminate tons of build warnings on non-IPV6 system.Michael Adam1-0/+5
Michael (This used to be commit ee4810099c2d26a0ebab3c41a95bc6b57921683d)
2008-02-28Add infrastructure to support async SMB requestsVolker Lendecke1-0/+1
(This used to be commit f5356825698a02df2d400b51dd95d1f857c83e81)
2008-02-28Add basic infrastructure for general async requestsVolker Lendecke1-0/+1
(This used to be commit ae254cb61f4b9331755848c47ebc34e90dd80390)
2008-02-27Remove unneeded rpc_samr.h.Günther Deschner1-1/+0
Guenther (This used to be commit e6701352dc2cd4ff9cc7d04db6f1975594477cdb)
2008-02-17Use new IDL based PAC structures in clikrb5.cGünther Deschner1-5/+4
Guenther (This used to be commit 3b0135d57e1e70175a5eec49b603a2e5f700c770)
2008-02-01NetBSD defines innetgr() in <netgroup.h>Volker Lendecke1-0/+4
(This used to be commit 7ad8e22073b577cd454675bacf92549e81f55e1c)
2008-01-29Remove include/rpc_ds.h and all references to it completly.Günther Deschner1-1/+0
Jerry, please have a look if you're fine with that. Guenther (This used to be commit beae25c808a3a03d645f247e9befcd05e3ecca2c)
2008-01-20Some systems do not have XATTR_ definedVolker Lendecke1-0/+8
(This used to be commit 2cac1d3919a96c480f34c93d8b9b07782d46ed23)
2008-01-19Fix the buildVolker Lendecke1-0/+1
... forgot to "git add" it (This used to be commit 6d0a727f26dd0945634486f18a55aa8dd5813983)
2008-01-10Move transfer_file and transfer_file_internal to a module of their own.Michael Adam1-0/+3
Also, don't auto-generate prototypes of the (two) exported functions but make a start in having handwritten prototypes in dedicated header files (not in includes.h ... :-) Michael (This used to be commit 395f29d8b768a56af20b37f185eccdc5f37b68d5)
2007-12-21De-couple smbd from staticly linking against winbindd client files.Gerald (Jerry) Carter1-0/+1
Implements a wrapper layer in winbind_util.c which are just stubs if compiled --without-winbind. When building with winbindd, it is now required to build the libwbclient DSO first (in the Makefile) and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the library PATH. (This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)
2007-12-19Rename cache.[ch] to memcache.[ch]Volker Lendecke1-1/+1
cache.h conflicts with an XFS DMAPI include on "opi" :-( (This used to be commit b8db804e07cc19d406ba3892d6eecbe16132a89a)
2007-12-18Add a in-memory cacheVolker Lendecke1-0/+1
This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
2007-12-13Register the smb service with mDNS if mSDN is supported.Rishi Srivatsavai1-0/+14
If mDNS is supported, attempt to register the first port we are listening on for the _smb._tcp service. This provides more reliable service discovery than NetBIOS browsing. (This used to be commit 1e7241517d1f55d60af22570e0c9feb280e3fdb5)
2007-12-07Add define guards around FSTRING_LEN.Jeremy Allison1-0/+2
Jeremy. (This used to be commit ea8633689d43cc2fe15aedb430b4cac38fa73d14)
2007-12-07A requiem for pstring.Jeremy Allison1-0/+18
-------------- / \ / REST \ / IN \ / PEACE \ / \ | The infamous pstring | | | | | | 7 December | | | | 2007 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______ Jeremy (This used to be commit bca371bff8e1dd5099eda1774e5bb0fdbd6a1a77)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison1-4/+3
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-05Remove some globalsVolker Lendecke1-0/+3
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-12-03Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.cJeremy Allison1-23/+0
Jeremy. (This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)
2007-11-23printing: fix default printing subsystem detectionStefan Metzmacher1-1/+0
"system/printing.h" includes an outdated copy of the stuff in samba3's includes.h, so we should not use it. metze (This used to be commit 0a7338abfabaf31c2cbd81fb4ac8f1ce45735bed)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison1-1/+1
Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
2007-10-29Fix the setup_kaddr() call to cope with IPv6.Jeremy Allison1-1/+1
This is the last obvious change I can see. At this point we can start claiming IPv6 support (Hurrah !:-). Jeremy. (This used to be commit bda8c0bf571c994b524a9d67eebc422033d17094)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-1/+1
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-10/+5
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-0/+3
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25474: Try and fix the build on Mac OS X 10.4.9.Jeremy Allison1-4/+0
Shuffle sa_family_t around. Jeremy. (This used to be commit f1b8c5de0ae96e04e340029f5cd544de9ac57b32)
2007-10-10r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison1-0/+4
new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
2007-10-10r25128: _XOPEN_SOURCE_EXTENDED and socklen_t are always provided by libreplaceStefan Metzmacher1-6/+0
metze (This used to be commit b3ee9adf28ee8136528d0236a3a2c894c2223053)
2007-10-10r24809: Consolidate the use of temporary talloc contexts.Volker Lendecke1-0/+1
This adds the two functions talloc_stackframe() and talloc_tos(). * When a new talloc stackframe is allocated with talloc_stackframe(), then * the TALLOC_CTX returned with talloc_tos() is reset to that new * frame. Whenever that stack frame is TALLOC_FREE()'ed, then the reverse * happens: The previous talloc_tos() is restored. * * This API is designed to be robust in the sense that if someone forgets to * TALLOC_FREE() a stackframe, then the next outer one correctly cleans up and * resets the talloc_tos(). The original motivation for this patch was to get rid of the sid_string_static & friends buffers. Explicitly passing talloc context everywhere clutters code too much for my taste, so an implicit talloc_tos() is introduced here. Many of these static buffers are replaced by a single static pointer. The intended use would thus be that low-level functions can rather freely push stuff to talloc_tos, the upper layers clean up by freeing the stackframe. The more of these stackframes are used and correctly freed the more exact the memory cleanup happens. This patch removes the main_loop_talloc_ctx, tmp_talloc_ctx and lp_talloc_ctx (did I forget any?) So, never do a tmp_ctx = talloc_init("foo"); anymore, instead, use tmp_ctx = talloc_stackframe() :-) Volker (This used to be commit 6585ea2cb7f417e14540495b9c7380fe9c8c717b)
2007-10-10r24419: Hm, I think this protoype is not required here.Günther Deschner1-5/+0
Guenther (This used to be commit 42abe8450b0fc3c9f8d768fadbd5e6b0a6c1bfc3)
2007-10-10r24304: patch from Bjoern JAcke <bj@SerNet.DE>:Stefan Metzmacher1-0/+4
attached patches add EA support for Solaris. If no one disagrees, can someone check this in please? metze (This used to be commit 81e5afc363e1f0bdc4768c0f5c696f4152fe5b44)
2007-10-10r23971: Prevent build failures.Günther Deschner1-1/+5
Guenther (This used to be commit f959a0f152956429d8b525a55f99cbe2963504d6)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23732: removed reference to non-existent structureHerb Lewis1-2/+0
(This used to be commit 4c04059f7dfa0096c9f3249b55269f7335137f48)
2007-10-10r23646: Generalize our internal keytab handling to support a broader range ↵Günther Deschner1-0/+4
of default keytabnames (like "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab"). This also fixes keytab support with Heimdal (which supports the WRFILE pragma as well now). Guenther (This used to be commit 7ca002f4cc9ec4139c0c48952ebf05f89b5795ef)
2007-10-10r23582: Fix event based krb5 ticket refreshing in winbindd.Günther Deschner1-1/+1
We were incorrectly using the renew_till timestamp instead of the renewed ticket's endtime to calculate the next refreshing date. Guenther (This used to be commit aa3511a5b5e6a96a02110a7ad0ab1d43e6d25766)
2007-10-10r23509: This activates the global options from the registry in loadparm.Michael Adam1-0/+1
The global options are stored as values in the subkey "global" of the SMBCONF registry key. The activation is accomplished in smb.conf though a new special semantic of the "include" parameter: "include = registry" triggers the processing of the registry global options exactly at the position of the include statement. Options read from the registry take the same precedence as parameters loaded from a file via include. Need to reload the registry globals is detected by watching the tdb sequence number. Registry shares are automatically activated when the registry globals are processed. So a "registry only" configuration can be realized by an smb.conf that looks as follows: ================================ [global] include = registry ================================ The global options and registry shares can be conveniently edited with the "net conf" utility. Caveat: A possible pitfall consists in using "include = registry" together with the "lock directory" directive in the registry. This problem will be addressed in the next time. Note on the code: Processing of the registry options is accomplished by a function process_registry_globals() in loadparm.c The current version is only an interim solution: It is handcoded instead of using the infrastructure of reg_api.c. The reason for this is that using reg_api still has too large linker dependencies, bloating virtually all targets by PASSDB_OBJ, SMBLDAP_OBJ, GROUPDB_OBJ and LDB stuff. A version of process_registry_globals that uses reg_api is included but commented out. The goal is to eventually refactor and restructure the registry code so that one can use the reg_api to access only the registry tdb and not link all the dynamic backends with all their linking implications. (This used to be commit 24b0cbcb3741dd14b04728448a85cc04a057e7d0)
2007-10-10r23410: Merge the core of the cluster code.Volker Lendecke1-0/+2
I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker (This used to be commit 15553d6327a3aecdd2b0b94a3656d04bf4106323)
2007-10-10r23328: don't typedef ber_tag_t when it's already done by openldapStefan Metzmacher1-2/+2
headers on HP-UX (lber_types.h defines _LBER_TYPES_H). metze (This used to be commit bd1b28dd3e47c2f244baba4a239b0d6dca57f2d2)
2007-10-10r23307: move readahead stuff out of libreplace and make it samba3 specificStefan Metzmacher1-0/+3
as we can't replace this function in libreplace and we do the some stuff for other function in the same way. metze (This used to be commit 5e9b84326b4c65799e6fa6550de870d9a7ebba85)
2007-10-10r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init ↵Gerald Carter1-0/+1
call renames for svcctl in the previous commit (This used to be commit ebcae48ec10fefa74efcc3563cff50e3b9c2388c)
2007-10-10r23271: merge service control pidl change for CloseServiceHandle() from ↵Gerald Carter1-2/+2
SAMBA_3_0_26 (This used to be commit 0b1bc3521fac52f3164b6cc9e053abc3ceabf5e7)