summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-05-31s3:locking/proto.h: add _LOCKING_PROTO_H_ guardMichael Adam1-0/+5
2011-05-31s3:locking/proto.h: add GPL/Copyright headerMichael Adam1-0/+21
2011-05-31s3:auth/proto.h: add _AUTH_PROTO_H_ guardMichael Adam1-0/+5
2011-05-31s3:auth/proto.h: add GPL/Copyright headerMichael Adam1-0/+31
2011-05-31s3:passdb/proto.h: add _PASSDB_PROTO_H_ guardMichael Adam1-0/+4
2011-05-31s3:passdb/proto.h: add GPL/copyright comment headerMichael Adam1-0/+36
2011-05-31s3-build Specify more of the smbconf dependenciesAndrew Bartlett3-166/+165
This brings more functions into util_names.c, and util_names.c into PARAM_WITHOUT_REG_SRC. This is not yet a full list, that would formalise the implicit dependency loop. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 01:43:37 CEST 2011 on sn-devel-104
2011-05-31s3-build Make smbregistry depend on more of the subsystems it needsAndrew Bartlett1-1/+1
This is not the full list (that can be seen by setting allow_undefined_symbols=True). Andrew Bartlett
2011-05-31s3-build Add util_sec subsystemAndrew Bartlett1-2/+8
2011-05-31s3-build Move dbwrap_rbt into dbwrap_util subsystemAndrew Bartlett1-3/+2
2011-05-31s3-build Create dbwrap_util subsystemAndrew Bartlett3-63/+72
This contains the functions from dbwrap that don't require lp_ functions, and can therefore be put into a library (without dependency loops). Andrew Bartlett
2011-05-31s3-build: Rearrange build system to seperate out simple librariesAndrew Bartlett1-27/+54
This will slowly allow us to develop a proper dependency tree without interlibrary loops and unresolved symbols. Andrew Bartlett
2011-05-31s3-build Add dependency on 'ldap' and 'ber'Andrew Bartlett1-1/+1
These external libraries are required for the hooks in lib/ldap_debug_handler.c
2011-05-31s3-lib Move free_namearray() into it's own fileAndrew Bartlett4-17/+41
This makes it easier to have conn_smbd strictly depend on all it's dependencies. Andrew Bartlett
2011-05-31s3-lib Move realloc based string substitution functions out of util_str.cAndrew Bartlett5-125/+150
This makes the dependency set for source3/lib/util_str.c simpiler, which in turn makes it easier to build a dependency tree. Andrew Bartlett
2011-05-31s3-lib Move sstring_sub() to it's only user and make staticAndrew Bartlett3-28/+27
This should not be used more generally, as it is specifically not for multibyte strings, and uses malloc rather than talloc. Andrew Bartlett
2011-05-31s3-param Move init_iconv() to loadparm.cAndrew Bartlett3-15/+14
This assists with some dependency loops Andrew Bartlett
2011-05-31libcli/security: move secdesc.c to the top level libcli/securityAndrew Bartlett11-87/+159
This code does not rely on lp_ or other source3 only functions, so can be part of the common library. Andrew Bartlett
2011-05-31s3-globals Remove smbd_event_context() (use server_event_context())Andrew Bartlett25-82/+61
This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett
2011-05-31heimdal: Remove getprogname and setprogname from the heimdal importAndrew Bartlett2-139/+0
2011-05-31heimdal_build: Don't use heimdal's getprogname() and setprogname()Andrew Bartlett2-6/+17
Writing into an __progname variable spooks me, and if we use the local variable, then we duplciate the system one, which fails SYMBOLCHECK Andrew Bartlett
2011-05-31s3-param split service.c into param and smbd componentsAndrew Bartlett7-262/+319
The dependency chain of find_service can't be satisfied sensibly outside smbd, so don't include this in the main 'param' subsystem. Also remove the duplicate find_service() and conn_snum_used() from dummysmbd.c: The WAF build does not need these dummies any more, but file. Andrew Bartlett
2011-05-31s3-smbd Split conn.c into 3 filesAndrew Bartlett7-236/+303
The idea with this split is to make it easier to handle dependencies, avoiding having the loadparm code depend on the global server variables, without resorting to dummy functions and linker tricks. conn_clear_vuid_cache() is brought in from uid.c to make it static Andrew Bartlett
2011-05-31s3-build: Move user_util.c into it's own subsystemAndrew Bartlett1-4/+6
2011-05-31s3-lib Move string_init functions into their own fileAndrew Bartlett4-54/+82
These have not been moved in common, as they are not talloc-based, but it helps with dependencies if these are seperated from the rest of util_str.c Andrew Bartlett
2011-05-31s3-smbd provide struct smbd_server_connection * to conn_snum_usedAndrew Bartlett12-21/+33
This provides the 'sconn' parameter to this key functions, that is currently duplicated in dummysmbd.c, which causes duplicate symbol issues in the waf build. This has natrually caused a number of consequential changes across the codebase, includning not passing a messaging context into initial reload_services(): This causes problems because the global smbd_server_connection isn't yet set up, as there isn't a connection here, just the initial process. Andrew Bartlett
2011-05-30s3: Safely mark our sconn as smb2 if we have that protocolVolker Lendecke1-0/+2
Otherwise smbd will crash at an unclean exit. Without this conn_close_all will do a close_cnum() on all connection_struct's. In smb2, those are talloc children of the smbd_smb2_tcon's. sconn is talloc_free'ed after the conn_close_all, but the smbd_smb2_tcon destructor will still reference tcon->compat_conn, referencing then free'ed (and null'ed out) memory. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 30 22:49:53 CEST 2011 on sn-devel-104
2011-05-30Improve documentation for net rpc trustSumit Bose2-13/+136
Add man pages entries and fix usage output. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 20:05:34 CEST 2011 on sn-devel-104
2011-05-30s3:net: registry export: close key after recursion returnsGregor Beck1-1/+3
Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 30 18:53:28 CEST 2011 on sn-devel-104
2011-05-30s3:net registry: polish output of net registry enumerate[_recursive]Michael Adam1-11/+15
so that net registry enumerate output is as before, and net registry enumerate_recursive is formatted more nicely
2011-05-30s3:net: registry: use recursive implementation for enumerateGregor Beck1-63/+41
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3:net: registry: add new command enumerate_recursiveGregor Beck1-0/+107
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s4:torture: fix SEGFAULT in raw.acl.dynamicGregor Beck1-7/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30nfs4_acls: pass ACE_FLAG_INHERITED_ACE down from the clientGregor Beck1-0/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30nfs4_acls: pass ACE_FLAG_INHERITED_ACE up to the clientGregor Beck2-1/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3:smbcacls: fix parsing of multiple flagsGregor Beck1-1/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-30s3: fix some -Wunused-but-set-variable build warnings.Günther Deschner4-12/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 30 17:41:18 CEST 2011 on sn-devel-104
2011-05-30s3: Add ioctl code to smbd_smb2_ioctl_send debugVolker Lendecke1-2/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 30 12:47:27 CEST 2011 on sn-devel-104
2011-05-30replace: fix build issues on GNU Hurd (#7998)Björn Jacke1-1/+1
Patch from Samuel Thibault <sthibault@debian.org> to fix Debian Bug 610678 resp. BSO #7998. IOV_MAX and UIO_MAXIOV are not defined on GNU Hurd. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon May 30 00:53:59 CEST 2011 on sn-devel-104
2011-05-29s3: Remove unused cli_session_requestVolker Lendecke2-131/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 22:25:55 CEST 2011 on sn-devel-104
2011-05-29s3: Remove unused cli_connectVolker Lendecke2-180/+0
2011-05-29s3: Use cli_connect_nb in SMBC_server_internalVolker Lendecke1-81/+20
2011-05-29s3: Run BAD-NBT-SESSION in make testVolker Lendecke1-0/+1
2011-05-29s3: Reply correctly to a bad nbt session requestVolker Lendecke1-1/+15
2011-05-29s3: Fix cli_bad_session_requestVolker Lendecke1-2/+19
We expect a negative session response with a 0x82 error (called name not present), not a 0x82 message
2011-05-29s3: Simplify run_bad_nbt_sessionVolker Lendecke1-40/+26
2011-05-29s3: Simplify cli_bad_session_requestVolker Lendecke1-12/+4
For this purpose we don't need the full cli_state
2011-05-29s3: Add set_socket_options to cli_connect_sock()Volker Lendecke1-0/+1
A leftover of stuff that cli_connect() does Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 29 15:47:17 CEST 2011 on sn-devel-104
2011-05-29s3: Use cli_connect_nb in nmbd sync_childVolker Lendecke1-18/+4
2011-05-29s3: Remove unused attempt_netbios_session_requestVolker Lendecke2-67/+0