Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-05-03 | lib/util/charset Use push_string and talloc_strupper/strlower from common code | Andrew Bartlett | 4 | -128/+2 | |
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 | 1 | -0/+61 | |
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 | s3-include: use new roles.h | Andrew Tridgell | 2 | -9/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-05-03 | lib/util Move set_socket_options() into common code. | Andrew Bartlett | 1 | -160/+0 | |
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 3 | -237/+0 | |
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 | 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 | 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 | s3:libsmb/nterr: NO_S4U_PROT_SUPPORT and CROSSREALM_DELEGATION_FAILURE | Stefan Metzmacher | 1 | -0/+2 | |
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 | s3-build Add popt dep to fix build on FreeBSD | Andrew Bartlett | 1 | -1/+1 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 11:42:20 CEST 2011 on sn-devel-104 | |||||
2011-04-30 | s3-lib: Rely on uint64_t in conv_str_size() | Andrew Bartlett | 2 | -31/+14 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 30 05:58:35 CEST 2011 on sn-devel-104 | |||||
2011-04-30 | kerberos: Only include gssapi/gssapi_krb5.h when available | Andrew Bartlett | 2 | -2/+2 | |
2011-04-30 | s3-waf: Add dependency on popt to fix build on FreeBSD | Andrew Bartlett | 1 | -1/+1 | |
2011-04-30 | Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵ | Jeremy Allison | 2 | -4/+10 | |
of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | Fix bug #8112 - POSIX extension opens of a directory are denied with EISDIR. | Jeremy Allison | 1 | -2/+10 | |
Ensure create_options are passed down to SMB_VFS_CREATE_FILE(). Correctly set create_options is SMB_O_DIRECTORY is set or pathname is known to be a directory. Jeremy. | |||||
2011-04-30 | torture test for bug #8111 - CIFS VFS: unexpected error on SMB posix open. | Jeremy Allison | 1 | -0/+55 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 00:33:40 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | Fix bug 8111 - CIFS VFS: unexpected error on SMB posix open | Jeremy Allison | 1 | -12/+49 | |
We are conflating the O_CREAT|O_EXCL with the O_TRUNC processing, they need to be separate. We need to chose using (O_CREAT|O_EXCL) first, then modify if O_TRUNC is set. This needs two separate switch statements. Jeremy | |||||
2011-04-29 | s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from. | Günther Deschner | 5 | -5/+9 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-proto: remove duplicate prototypes. | Günther Deschner | 6 | -29/+9 | |
Guenther | |||||
2011-04-29 | s3-rpc_server: remove some unneeded headers. | Günther Deschner | 1 | -4/+0 | |
Guenther | |||||
2011-04-29 | s3-proto: move rpc_server/rpc_handles.c protos to ntdomain.h | Günther Deschner | 2 | -28/+28 | |
Guenther | |||||
2011-04-29 | s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.h | Günther Deschner | 3 | -8/+10 | |
Guenther | |||||
2011-04-29 | s3-proto: remove remaining nss_info prototypes to nss_info.h | Günther Deschner | 2 | -7/+7 | |
Guenther | |||||
2011-04-29 | s3: Avoid a potential 100% CPU loop in winbindd | Volker Lendecke | 1 | -0/+27 | |
In the clustering case if ctdb is unhappy, winbindd_reinit_after_fork fails. This can lead to an endless loop depending on the scheduling of the parent vs child. Parent forks, child is immediately scheduled and exits. Parent gets SIGCHLD, parent is then scheduled before it sends the request out to the child. Parent tries to fork again immediately. The code before this patch did not really take into account that reinit_after_fork can fail. The code now sends the result of winbindd_reinit_after_fork to the parent and the parent only considers the child alive when it got NT_STATUS_OK. This was seen in 3.4 winbind. winbind has changed significantly since then, so it might be possible that this does not happen anymore in exactly this way. But passing up the status of reinit_after_fork and only consider the child alive when that's ok is the correct thing to do anyway. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 29 17:58:19 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3: Make winbindd_reinit_after_fork return NTSTATUS | Volker Lendecke | 4 | -12/+23 | |
2011-04-29 | s3: In winbind, close parent/child sockets | Volker Lendecke | 4 | -5/+15 | |
This should further reduce fd load in winbind children | |||||
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 44 | -2/+46 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | s3-tsocket: only include ../lib/tsocket/tsocket.h where needed. | Günther Deschner | 10 | -1/+9 | |
Guenther | |||||
2011-04-29 | s3-build: remove some unused headers. | Günther Deschner | 4 | -7/+0 | |
Guenther | |||||
2011-04-29 | s3-ldap Only prototype ldap_init_fd() when we have found it in the libraries | Andrew Bartlett | 1 | -0/+3 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 11:47:07 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | build: put doserr.c into it's own subsystem, so it's no longer a duplicate | Andrew Bartlett | 1 | -1/+3 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 29 10:00:32 CEST 2011 on sn-devel-104 | |||||
2011-04-29 | lib/util Re-merge the string_sub() and all_string_sub() from source3 | Andrew Bartlett | 3 | -135/+1 | |
Andrew Bartlett |