Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-04 | sasl_secret_t ends in a char [1] size. This means the extra character is ↵ | Jeremy Allison | 1 | -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-04 | Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1. | Jeremy Allison | 3 | -5/+5 | |
2011-05-03 | s4-param Rename secrets_init() -> randseed_init() | Andrew Bartlett | 3 | -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-03 | s4: fix arguments to safe_strcpy() | Andrew Bartlett | 1 | -2/+2 | |
Found by the s3-derivied safe_strcpy() macro. Andrew Bartlett | |||||
2011-05-03 | s4-socket: rename allow_access() to socket_allow_access() | Andrew Tridgell | 3 | -8/+8 | |
this prevents a symbol collision with s3 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-05-03 | Remove strlower_m() and strupper_m() from source4 and common code. | Andrew Bartlett | 8 | -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-03 | s4-param: use new roles.h | Andrew Tridgell | 1 | -5/+1 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-05-03 | libcli/raw: use a different ifdef than s3 smb.h | Andrew Tridgell | 1 | -3/+3 | |
this allows both headers to be included in 1 C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-05-03 | s4-messaging Rename messaging -> imessaging | Andrew Bartlett | 46 | -266/+266 | |
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett | |||||
2011-05-03 | s4-libcli Remove resolve_name() as it conflicts with Samba3. | Andrew Bartlett | 8 | -23/+23 | |
This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett | |||||
2011-05-03 | s4-torture Remove unused and uncompleated test | Andrew Bartlett | 1 | -54/+0 | |
2011-05-03 | lib/util Move set_socket_options() into common code. | Andrew Bartlett | 1 | -160/+0 | |
2011-05-03 | s4-lib/socket Merge updated set_socket_options from Samba3 -> Samba4 | Andrew Bartlett | 1 | -34/+90 | |
2011-05-03 | s4-cluster Rename server_id.node -> vnn to match Samba3 | Andrew Bartlett | 4 | -8/+8 | |
2011-05-03 | s4:Remove outdated doc on Samba4 upgrade | Andrew Bartlett | 1 | -21/+0 | |
2011-05-03 | s4-cluster: Remove const from cluster_id_string() | Andrew Bartlett | 4 | -5/+5 | |
This allows the caller to talloc_free() this result. Andrew Bartlett | |||||
2011-05-03 | s4:cluster Rename .id to .pid in server_id | Andrew Bartlett | 7 | -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-02 | s4:libcli/util/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE | Stefan Metzmacher | 1 | -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-30 | provision: reorganize attributes so that we don't attribute with DN syntax ↵ | Matthieu Patou | 3 | -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-30 | s4:torture/nbt/winsreplication: ignore incoming broadcast messages | Stefan Metzmacher | 1 | -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-30 | s4:torture/nbt/winsreplication: assert the nbt name before the type | Stefan Metzmacher | 1 | -2/+2 | |
I hope that will make it easier to find problems with the flakey samba4.nbt.winsreplication.owned test. metze | |||||
2011-04-30 | lib/util Rename conv_str_size() -> conv_str_size_error() | Andrew Bartlett | 2 | -3/+3 | |
2011-04-30 | s4:torture/nbt/winsreplication: use torture macros in order report failures | Stefan Metzmacher | 1 | -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-30 | kerberos: Only include gssapi/gssapi_krb5.h when available | Andrew Bartlett | 1 | -0/+1 | |
2011-04-29 | ldb:tdb backend - cache - remove unused "last_attribute" structure member | Matthias Dieter Wallnöfer | 2 | -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-29 | s4:"ldb_connect" calls - proof for "!= LDB_SUCCESS" | Matthias Dieter Wallnöfer | 3 | -3/+3 | |
Reviewed-by: abartlet | |||||
2011-04-29 | s4:torture/rpc/testjoin.c - use a LDB result constant | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Reviewed-by: abartlet | |||||
2011-04-29 | ldb:tools/cmdline.c + tools/ldbtest.c - make use of LDB result constants | Matthias Dieter Wallnöfer | 2 | -2/+2 | |
Reviewed-by: abartlet | |||||
2011-04-29 | s4:repl_meta_data LDB module - quiet a discard const ptr warning | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2011-04-29 | ldb:ldb_controls.c - fix comment indentation | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
Reviewed-by: abartlet | |||||
2011-04-29 | s4:token_group.py python test - fix typos | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2011-04-29 | build: put doserr.c into it's own subsystem, so it's no longer a duplicate | Andrew Bartlett | 1 | -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-29 | s4-param Rename lp_destructor() -> lpcfg_destructor() for consistency | Andrew Bartlett | 1 | -2/+2 | |
2011-04-29 | s4-param Rename unused lp_ functions to match param.h | Andrew Bartlett | 1 | -5/+5 | |
2011-04-29 | s4-param Rename volume_label() -> lpcfg_volume_label() | Andrew Bartlett | 3 | -3/+3 | |
2011-04-29 | s4-param Rename private_path() -> lpcfg_private_path() | Andrew Bartlett | 11 | -18/+18 | |
This is consistent with lock_path() Andrew Bartlett | |||||
2011-04-29 | s4-param Remove config_path() -> lpcfg_config_path() | Andrew Bartlett | 3 | -3/+3 | |
This is consistent with lock_path() Andrew Bartlett | |||||
2011-04-29 | s4-param Rename lock_path() -> lpcfg_lock_path() | Andrew Bartlett | 4 | -5/+5 | |
This avoids a conflict with the source3/ lock_path() | |||||
2011-04-29 | libcli/smb Move attrib_string in common | Andrew Bartlett | 1 | -46/+0 | |
2011-04-29 | libcli/smb Move FILE_ATTRIBUTE defines to the top level | Andrew Bartlett | 1 | -18/+0 | |
2011-04-29 | Revert "s4:selftest: skip s3member tests for now" | Stefan Metzmacher | 1 | -1/+0 | |
This reverts commit c5034ac3155958c0d3e2a1cfbfc669bc2e869f29. This doesn't seem to help and isn't needed if the filesystem has posix acl support. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Apr 29 08:23:01 CEST 2011 on sn-devel-104 | |||||
2011-04-28 | s4:libcli/smb_composite: move smb2_composite_setpathinfo_setinfo_done() | Stefan Metzmacher | 1 | -25/+27 | |
It should be after smb2_composite_setpathinfo_create_done(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Apr 28 21:38:53 CEST 2011 on sn-devel-104 | |||||
2011-04-28 | s4:libcli/smb_composite: move smb2_composite_setpathinfo_create_done() | Stefan Metzmacher | 1 | -22/+23 | |
It should be after smb2_composite_setpathinfo_send(). metze | |||||
2011-04-28 | s4:libcli/smb_composite: add smb2_composite_setpathinfo_close_done() | Stefan Metzmacher | 1 | -1/+12 | |
metze | |||||
2011-04-28 | s4:libcli/smb_composite: better names for smb2_composite_setpathinfo_* funcs ↵ | Stefan Metzmacher | 1 | -22/+15 | |
and vars metze | |||||
2011-04-28 | s4:libcli/smb2: let smb2_session_setup_spnego_* use tevent_req | Stefan Metzmacher | 2 | -72/+118 | |
metze | |||||
2011-04-28 | s4:libcli/smb2: move smb2_session_setup_spnego_send() to the top | Stefan Metzmacher | 1 | -62/+64 | |
smb2_session_setup_spnego_send() should be on the top of the smb2_session_setup_spnego_* block. metze | |||||
2011-04-28 | s4:libcli/smb2: move smb2_connect_tcon_done() | Stefan Metzmacher | 1 | -20/+22 | |
It should be after smb2_connect_session_done(). metze | |||||
2011-04-28 | s4:libcli/smb2: move smb2_connect_session_done() | Stefan Metzmacher | 1 | -36/+38 | |
It should be after smb2_connect_negprot_done(). metze | |||||
2011-04-28 | s4:libcli/smb2: move smb2_connect_negprot_done() | Stefan Metzmacher | 1 | -69/+71 | |
It should be after smb2_connect_socket_done(). metze |