summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett4-191/+2
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-05-06lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbolAndrew Bartlett5-9/+9
This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett
2011-05-06errors: Remove unused unix_to_werror()Andrew Bartlett1-5/+0
2011-05-06libcli/util Move NTSTATUS table to the top levelAndrew Bartlett1-889/+2
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett2-26/+26
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
2011-05-06libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett1-668/+0
This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
2011-05-06errors: Merge source3/ werror_to_ntstatus() code to source4/Andrew Bartlett1-6/+16
2011-05-06errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett1-7/+11
They are now identical Andrew Bartlett
2011-05-06s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett1-5/+3
This also makes unix_nt_errmap private to errmap_unix.c and errormap.c so the tables themselves cannot be duplicate symbols until merged. Andrew Bartlett
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett13-181/+10
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-05-05Fix many const compiler warnings.Jeremy Allison1-1/+1
2011-05-05s4-auth: removed the password combinations code in auth_unixAndrew Tridgell1-39/+4
this code never did anything due to a typo, and was untested. We should not be inluding a password cracker in Samba anyway. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu May 5 07:00:14 CEST 2011 on sn-devel-104
2011-05-05s4-samba-tool: allow specification of targetdir when joining as (RO)DCMatthieu Patou1-4/+5
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu May 5 02:04:13 CEST 2011 on sn-devel-104
2011-05-05Clean up some const and other compiler warnings.Jeremy Allison6-10/+25
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
2011-05-04sasl_secret_t ends in a char [1] size. This means the extra character is ↵Jeremy Allison1-2/+2
implicit in the safe_strcpy. When changing to strlcpy ensure we allocate an extra char for it. This fixes a bug where secret->len+1 used with safe_strcpy could actually write into secret->len+2.
2011-05-04Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison3-5/+5
2011-05-03s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett3-10/+10
This only sets up the random number generator callback these days, so use a different database for that. (All secrets data in Samba4 is in secrets.ldb) Andrew Bartlett
2011-05-03s4: fix arguments to safe_strcpy()Andrew Bartlett1-2/+2
Found by the s3-derivied safe_strcpy() macro. Andrew Bartlett
2011-05-03s4-socket: rename allow_access() to socket_allow_access()Andrew Tridgell3-8/+8
this prevents a symbol collision with s3 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett8-63/+74
This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
2011-05-03s4-param: use new roles.hAndrew Tridgell1-5/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03libcli/raw: use a different ifdef than s3 smb.hAndrew Tridgell1-3/+3
this allows both headers to be included in 1 C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett46-266/+266
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-05-03s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett8-23/+23
This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
2011-05-03s4-torture Remove unused and uncompleated testAndrew Bartlett1-54/+0
2011-05-03lib/util Move set_socket_options() into common code.Andrew Bartlett1-160/+0
2011-05-03s4-lib/socket Merge updated set_socket_options from Samba3 -> Samba4Andrew Bartlett1-34/+90
2011-05-03s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett4-8/+8
2011-05-03s4:Remove outdated doc on Samba4 upgradeAndrew Bartlett1-21/+0
2011-05-03s4-cluster: Remove const from cluster_id_string()Andrew Bartlett4-5/+5
This allows the caller to talloc_free() this result. Andrew Bartlett
2011-05-03s4:cluster Rename .id to .pid in server_idAndrew Bartlett7-21/+28
This also changes some DEBUG messages to use cluster_id_string() rather than .id, to isolate them from this and other changes. Andrew Bartlett
2011-05-02s4:libcli/util/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILUREStefan Metzmacher1-0/+2
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 2 15:02:56 CEST 2011 on sn-devel-104
2011-04-30provision: reorganize attributes so that we don't attribute with DN syntax ↵Matthieu Patou3-6/+7
that depends on non present object Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Apr 30 14:51:16 CEST 2011 on sn-devel-104
2011-04-30s4:torture/nbt/winsreplication: ignore incoming broadcast messagesStefan Metzmacher1-2/+19
This will hopefully fix the flakey behavior of the samba4.nbt.winsreplication.owned test. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 12:45:01 CEST 2011 on sn-devel-104
2011-04-30s4:torture/nbt/winsreplication: assert the nbt name before the typeStefan Metzmacher1-2/+2
I hope that will make it easier to find problems with the flakey samba4.nbt.winsreplication.owned test. metze
2011-04-30lib/util Rename conv_str_size() -> conv_str_size_error()Andrew Bartlett2-3/+3
2011-04-30s4:torture/nbt/winsreplication: use torture macros in order report failuresStefan Metzmacher1-8/+104
This makes sure we can ignore this failures with the "knownfail" file. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 10:37:16 CEST 2011 on sn-devel-104
2011-04-30kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett1-0/+1
2011-04-29ldb:tdb backend - cache - remove unused "last_attribute" structure memberMatthias Dieter Wallnöfer2-8/+0
Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Apr 29 20:07:27 CEST 2011 on sn-devel-104
2011-04-29s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS"Matthias Dieter Wallnöfer3-3/+3
Reviewed-by: abartlet
2011-04-29s4:torture/rpc/testjoin.c - use a LDB result constantMatthias Dieter Wallnöfer1-1/+1
Reviewed-by: abartlet
2011-04-29ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constantsMatthias Dieter Wallnöfer2-2/+2
Reviewed-by: abartlet
2011-04-29s4:repl_meta_data LDB module - quiet a discard const ptr warningMatthias Dieter Wallnöfer1-1/+1
2011-04-29ldb:ldb_controls.c - fix comment indentationMatthias Dieter Wallnöfer1-4/+4
Reviewed-by: abartlet
2011-04-29s4:token_group.py python test - fix typosMatthias Dieter Wallnöfer1-2/+2
2011-04-29build: put doserr.c into it's own subsystem, so it's no longer a duplicateAndrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104
2011-04-29s4-param Rename lp_destructor() -> lpcfg_destructor() for consistencyAndrew Bartlett1-2/+2
2011-04-29s4-param Rename unused lp_ functions to match param.hAndrew Bartlett1-5/+5
2011-04-29s4-param Rename volume_label() -> lpcfg_volume_label()Andrew Bartlett3-3/+3
2011-04-29s4-param Rename private_path() -> lpcfg_private_path()Andrew Bartlett11-18/+18
This is consistent with lock_path() Andrew Bartlett