Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-03 | lib/util Use lib/util/util_str.c in common, including strequal() | Andrew Bartlett | 4 | -89/+4 | |
strequal() is now implemented in terms of strcasecmp_m() which is tested in smbtorture and which does not talloc() for ASCII or non-ASCII comparions, and has an ASCII fast-path. Andrew Bartlett | |||||
2011-05-03 | lib/util Use compiler-checked safe string macros in top level code. | Andrew Bartlett | 2 | -35/+27 | |
This brings the 'safe' macros to the top level code, and removes duplication of the safe_strcpy() and safe_strcat() functions. Andrew Bartlett | |||||
2011-05-03 | s4: fix arguments to safe_strcpy() | Andrew Bartlett | 2 | -7/+7 | |
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 | lib/util/charset Use push_string and talloc_strupper/strlower from common code | Andrew Bartlett | 6 | -145/+12 | |
The only caller of push_string() (not to be confused with push_string_check()) in the common code was encode_pw_buffer(), and it didn't use the alignment or STR_UPPER flags. The talloc_strupper() and talloc_strlower() functions are tested in smbtorture, and are next_codepoint() based. Andrew Bartlett | |||||
2011-05-03 | s3-lib make push_ucs2() static | Andrew Bartlett | 2 | -2/+1 | |
2011-05-03 | Remove strlower_m() and strupper_m() from source4 and common code. | Andrew Bartlett | 12 | -150/+135 | |
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 | s3-include: use new roles.h | Andrew Tridgell | 2 | -9/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-05-03 | libds: added roles.h for server roles | Andrew Tridgell | 2 | -0/+43 | |
this will allow us to move the server roles in common, which will make it much easier to mix s3/s4 calls in the one C file 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 | 9 | -25/+27 | |
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 | 4 | -320/+163 | |
2011-05-03 | s4-lib/socket Merge updated set_socket_options from Samba3 -> Samba4 | Andrew Bartlett | 1 | -34/+90 | |
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 7 | -238/+275 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-05-03 | s3-ctdb Rename packet file and files to ctdb_packet | Andrew Bartlett | 5 | -73/+72 | |
This avoids a conflicts with the Samba4 packet.c, as these is only used in CTDB Andrew Bartlett | |||||
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 | selftest: Update README | Andrew Bartlett | 1 | -5/+6 | |
2011-05-03 | Remove reference to Samba4 LDAP backends | Andrew Bartlett | 1 | -7/+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-03 | s3: Tune broadcast namequeries for unique names | Volker Lendecke | 1 | -3/+9 | |
If we get a unique name via a broadcast query, there's no point in waiting the full timeout. A unique name is just what its name says: unique. No point in waiting longer. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 3 00:57:24 CEST 2011 on sn-devel-104 | |||||
2011-05-02 | s3-rpc_server: (re)move last globally included rpc_server prototypes. | Günther Deschner | 5 | -9/+36 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104 | |||||
2011-05-02 | s3-spoolss: remove another unused header. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-05-02 | s3: include ntdomain.h before including generated srv_ headers. | Günther Deschner | 23 | -18/+23 | |
Guenther | |||||
2011-05-02 | s3-rpc_server: add pipes_struct forward declaration. | Günther Deschner | 2 | -0/+3 | |
Guenther | |||||
2011-05-02 | s3-winbindd: remove unused headers. | Günther Deschner | 2 | -6/+0 | |
Guenther | |||||
2011-05-02 | s3: remove various references to server side dcerpc structs (which are not ↵ | Günther Deschner | 8 | -8/+0 | |
needed). Guenther | |||||
2011-05-02 | s3: move pipe_auth_data to dcerpc.h | Günther Deschner | 2 | -15/+14 | |
Guenther | |||||
2011-05-02 | s3-printing: include ../librpc/ndr/libndr.h in ads printing. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-02 | s3-smbd: avoid using pipes_struct when only session_info is needed. | Günther Deschner | 3 | -7/+6 | |
Guenther | |||||
2011-05-02 | s3-printing: avoid using pipes_struct when only session_info is needed. | Günther Deschner | 3 | -17/+16 | |
Guenther | |||||
2011-05-02 | libcli/named_pipe_auth: add forward declaration in npa_tstream.h. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-02 | s3-proto: move remaining srvsvc protos to own header file. | Günther Deschner | 4 | -5/+35 | |
Guenther | |||||
2011-05-02 | s3-proto: move remaining spoolss protos to own header file. | Günther Deschner | 7 | -10/+45 | |
Guenther | |||||
2011-05-02 | s3-proto: move more rpc_server prototypes out of proto.h | Günther Deschner | 11 | -25/+60 | |
Guenther | |||||
2011-05-02 | s3-rpc_server: remove proto of nonexisting function | Günther Deschner | 2 | -5/+1 | |
(rpc_pipe_register_commands). Guenther | |||||
2011-05-02 | s3-util: move valid_share_pathname() to lib/util.c | Günther Deschner | 3 | -38/+35 | |
Guenther | |||||
2011-05-02 | s3-proto: move rpc_srv_register protos and structs to town headerfile. | Günther Deschner | 9 | -19/+49 | |
Guenther | |||||
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-05-02 | s3:libsmb/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-05-02 | libcli/util/ntstatus: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-05-02 | talloc: use TC_UNDEFINE_SHRINK_CHUNK() instead of ↵ | Stefan Metzmacher | 1 | -1/+36 | |
TC_INVALIDATE_SHRINK_CHUNK() for realloc path If we optimize on top of raw realloc() we need TC_INVALIDATE_SHRINK_CHUNK together with TC_UNDEFINE_GROW_CHUNK (with was missing and caused false positive valgrind warnings). But that is really slow, as we do a lot of talloc_realloc calls in samba. That's why we only to TC_UNDEFINE_SHRINK_CHUNK() for now. metze | |||||
2011-04-30 | s3: Make name_resolve_bcast return sockaddr_storage | Volker Lendecke | 4 | -27/+37 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 20:40:46 CEST 2011 on sn-devel-104 | |||||
2011-04-30 | s3: Remove ip_sevice from get_ipc_connect_master_ip | Volker Lendecke | 3 | -7/+7 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 30 18:16:28 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 | script/autobuild.py: don't force usage of ccache and gcc | Stefan Metzmacher | 1 | -2/+0 | |
If someone wants to use it, CC="ccache gcc" script/autobuild.py will work. It also makes it possible to use other compilers than gcc. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Apr 30 13:47:47 CEST 2011 on sn-devel-104 |