Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-14 | Remove one use of mangle_is_8_3(), not needed. | Jeremy Allison | 1 | -4/+2 | |
Jeremy. | |||||
2009-05-14 | Fix the core of the SAMR access functions. This passes make test, but | Jeremy Allison | 1 | -197/+156 | |
usrmgr fails against it. The core of this patch is to move all the access mask setup into the _samr_OpenXXX functions, and then have each specific function check the attached access_mask against the required bits. We can then go through the MS-SAMR doc and match things up. Signed off by Guenther, and writespace cleanup removal by Volker. Jeremy. | |||||
2009-05-14 | Maximum password length check too short in mount.cifs | Steve French | 1 | -2/+2 | |
Windows allows up to 127 byte passwords, and we using a 64 byte limit in most places and a 16 byte limit when using the "pass=" mount option Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com> | |||||
2009-05-15 | Add extensive tests for str_list function behaviour | Andrew Bartlett | 1 | -15/+343 | |
2009-05-14 | Remove two unused variables | Volker Lendecke | 1 | -2/+0 | |
2009-05-14 | s3-netapi: implement NetShutdownInit_r and NetShutdownAbort_r. | Günther Deschner | 1 | -2/+49 | |
Guenther | |||||
2009-05-14 | s3-netapi: add example code for NetShutdownInit and NetShutdownAbort. | Günther Deschner | 3 | -1/+183 | |
Guenther | |||||
2009-05-14 | s3-netapi: add NetShutdownInit and NetShutdownAbort to public API. | Günther Deschner | 1 | -0/+36 | |
Guenther | |||||
2009-05-14 | s3-netapi: add NetShutdownInit and NetShutdownAbort skeletons. | Günther Deschner | 4 | -1/+165 | |
Guenther | |||||
2009-05-14 | s3-build: re-run make samba3-idl. | Günther Deschner | 3 | -1/+91 | |
Guenther | |||||
2009-05-14 | s3-netapi: add NetShutdownInit and NetShutdownAbort. | Günther Deschner | 1 | -0/+21 | |
I know, they don't exist as such calls on windows but having them in libnetapi.so would be very handy. Guenther | |||||
2009-05-14 | Fix a type-punned warning | Volker Lendecke | 1 | -1/+1 | |
2009-05-14 | Add some const | Volker Lendecke | 1 | -1/+2 | |
2009-05-14 | Fix some nonempty blank lines | Volker Lendecke | 1 | -23/+23 | |
2009-05-14 | s4:nbtd Use str_list_make_single() to turn iname->wins_server into a list | Andrew Bartlett | 1 | -1/+1 | |
2009-05-14 | s4:libnet Use str_list_make_single() in resolv code | Andrew Bartlett | 1 | -1/+1 | |
2009-05-14 | dsdb:schema Use str_list_make_empty() to create an empty list | Andrew Bartlett | 1 | -5/+5 | |
2009-05-14 | s4:torture Use str_list_make_single where appropriate | Andrew Bartlett | 1 | -10/+10 | |
2009-05-14 | Add new functions and tests: str_list_make_empty(), str_list_make_single() | Andrew Bartlett | 3 | -0/+85 | |
2009-05-13 | What to do about debugging in a multi-threaded application? | Derrell Lipman | 1 | -7/+10 | |
- For now, punt. Any thread that requests debug to stderr will establish that for all threads. Derrell | |||||
2009-05-13 | Thread-safe protection: libsmbclient initialization | Derrell Lipman | 1 | -94/+133 | |
- Begin converting init functions to use SMB_THREAD_ONCE. libsmbclient module-wide initialization is now moved into a separate function and called via SMB_THREAD_ONCE. - libsmbclient counts users (contexts) so that it can release global resources when the last context is closed. That count of contexts is now protected by a mutex. Derrell | |||||
2009-05-13 | Take advantage of the easier-to-use thread macros | Derrell Lipman | 1 | -8/+0 | |
- Now that we initialize for the non-thread-safe case in the macro, there's no need to do it here too. Derrell | |||||
2009-05-13 | Make the thread functions a bit easier to use | Derrell Lipman | 3 | -8/+12 | |
- Create separate macros for lock and unlock so that it's easier to identify which request is being made. - Initialize *ponce in the SMB_THREAD_ONCE macro in the non-thread-safe case, rather than requiring each init function to determine if it's in the non-thread-safe case and manually initialize. Derrell | |||||
2009-05-13 | s3:libsmb: move read_smb_send/recv() static in async_smb.c | Stefan Metzmacher | 3 | -92/+87 | |
metze | |||||
2009-05-13 | s3:libsmb: let cli_smb_chain_send() also return NTSTATUS | Stefan Metzmacher | 3 | -12/+19 | |
metze | |||||
2009-05-13 | s3:libsmb: return NT_STATUS_CONNECTION_INVALID if the fd is -1 | Bo Yang | 1 | -5/+7 | |
This way we can destinguish between requests which failed because the connection broke after they were triggered and the requests which are started on an already broken connection. This also moves the check to cli_smb_req_iov_send() where it really belongs. metze | |||||
2009-05-13 | Revert "s3: checkin .po for pam_winbind" because of license issue. | Bo Yang | 18 | -2851/+0 | |
This reverts commit 8611f03dbb0c45d8755725232508cff258b426d5. | |||||
2009-05-13 | Allow a parameter to smb_thread_once's initialization function | Derrell Lipman | 4 | -15/+28 | |
- This should make life easier for ourselves. We're no longer constrained to the semantics of pthread_once, so let's allow passing a parameter to the initialization function. Some of Samba's init functions return a value. Although I haven't searched, I suspect that some of the init functions require in input parameters. The parameter added here can be used for input, output, or both, as necessary... or ignored, as is now done in talloc_stackframe_init(). Derrell | |||||
2009-05-13 | s3-printing: no need to define struct table_node 4 times. | Günther Deschner | 5 | -29/+10 | |
Guenther | |||||
2009-05-13 | s3-net: Fix bug 6340: don't segfault when cleartext trustdom pwd could not ↵ | Günther Deschner | 1 | -1/+1 | |
be retrieved. Guenther | |||||
2009-05-13 | s4-selftest: match new name of RPC-SAMR-ACCESSMASK. | Günther Deschner | 2 | -2/+2 | |
Guenther | |||||
2009-05-13 | s4-smbtorture: split RPC-SAMR-ACCESSMASK into several tests. | Günther Deschner | 1 | -34/+24 | |
Guenther | |||||
2009-05-13 | s4-smbtorture: cosmetic cleanup for RPC-SAMR-ACCESSMASK. | Günther Deschner | 1 | -50/+50 | |
Guenther | |||||
2009-05-13 | Remove an unused struct definition | Volker Lendecke | 1 | -6/+0 | |
2009-05-13 | s3: checkin .po for pam_winbind | Bo Yang | 18 | -0/+2851 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-13 | s3: return proper error code in cli_smb_req_send | Bo Yang | 6 | -39/+83 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-13 | s3/packaging: Fix build on RHEL when ccache is not available. | Karolin Seeger | 1 | -2/+1 | |
This fixes bug #5832. Patch was provided by D.L. Meyer <dlmeyer [at] uiuc.edu>. Thanks for reporting and providing the patch! Karolin | |||||
2009-05-12 | Fix broken smb_thread_once function (again) | Derrell Lipman | 1 | -0/+3 | |
- It would help if smb_thread_once did, eventually, set the variable that prevents the init function from being run again. Sigh. It must be getting late. Derrell | |||||
2009-05-12 | Fix broken smb_thread_once function | Derrell Lipman | 1 | -19/+3 | |
- We can't set *ponce=true before running the function because although other threads wouldn't re-run the initialization function, they could potentially proceed beyond the initialization point while the first thread was still running the initialization function. If a second thread gets to an SMB_THREAD_ONCE() call while one with the same ponce is running, we need to ensure that it enters smb_thread_once() to await the mutex and then recheck whether *ponce is set or not. My original comment about other "once" functions possibly being called from within this "once" function is irrelevant since those other ones would have their own unique ponce. Derrell | |||||
2009-05-12 | s3 onefs: Self-contend level2 oplocks on BRL | Zack Kirsch | 2 | -2/+14 | |
2009-05-12 | s3 onefs: Fix ignore sacl parameter | Tim Prouty | 4 | -24/+36 | |
2009-05-12 | s3: Fix strict locking with chained reads | Tim Prouty | 1 | -22/+24 | |
Move the strict lock/unlock code down a level for reads to avoid calling chain_reply before the unlock. | |||||
2009-05-12 | s3: Fallback to the legacy sid_to_(uid|gid) instead of returning NULL. | Aravind Srinivasan | 2 | -26/+4 | |
This is very similar to be1dfff02d562e42a7847bd02fed8538630d3f41 | |||||
2009-05-12 | s3 auth: Make debug message louder and more useful | Dan Sledz | 1 | -2/+3 | |
2009-05-13 | Use PYTHON_VER rather than PYTHON_VERSION, as the first is already | Timur I. Bakeyev | 1 | -5/+5 | |
commonly used (e.g. in the FreeBSD ports system). Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-05-13 | s3-spoolss: move SPL_ARCH_X defines to IDL. | Günther Deschner | 3 | -8/+16 | |
Guenther | |||||
2009-05-13 | spoolss: add SPOOLSS_ARCHITECTURE_ALL to IDL. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2009-05-13 | s3-build: re-run make samba3-idl. | Günther Deschner | 1 | -0/+92 | |
Guenther | |||||
2009-05-13 | initshutdown: add shutdown reason codes. | Günther Deschner | 1 | -0/+46 | |
Guenther | |||||
2009-05-13 | s3-netdomjoin-gui: prepare to call out for NetRenameMachineInDomain() to ↵ | Günther Deschner | 1 | -1/+48 | |
rename computers in domains. Guenther |