Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-29 | tsocket/bsd: also ask for TEVENT_FD_READ when we want to write into a stream ↵ | Stefan Metzmacher | 1 | -2/+9 | |
socket Otherwise we would not notice a broken connection. metze | |||||
2009-06-29 | tsocket/bsd: more correctly check if the cached tevent_fd is still valid | Stefan Metzmacher | 1 | -4/+12 | |
I some cases the pointer value of tevent_context is the same again, if we do something like: ev1 = tevent_context_init(); ... fde = tevent_add_fd(ev1, fd, TEVENT_FD_READ...); ... talloc_free(ev1); ... ev2 = tevent_context_init(); if (ev1 == ev2) { /* this can happen! */ } if (tevent_fd_get_flags(fde) == 0) { /* this is always true */ } But the "talloc_free(ev1)" will set fde->event_ctx to NULL and tevent_fd_get_flags() will always return 0. metze | |||||
2009-06-29 | s3-selftest: add RPC-SAMR-MACHINE-AUTH to list of test to run against s3. | Günther Deschner | 1 | -2/+3 | |
Guenther | |||||
2009-06-29 | s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test. | Günther Deschner | 2 | -1/+486 | |
This test talks to a DC as a joined workstation member - in the same way winbindd does, in particular the calls used in this test's query pattern will all request for SEC_FLAG_MAXIMUM_ALLOWED access_mask (which pretty much all of samba's client code does as well). In fact this test verifies that winbind can correctly talk to a samba dc using samr dcerpc calls. Guenther | |||||
2009-06-29 | s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase. | Günther Deschner | 5 | -10/+65 | |
Unlike torture_suite_add_machine_bdc_rpc_iface_tcase() which joins as a BDC (ACB_SRVTRUST) this joins as a member workstation (ACB_WSTRUST). Guenther | |||||
2009-06-29 | mount.cifs: don't pass text ro/rw options to kernel | Jeff Layton | 1 | -0/+2 | |
/bin/mount strips off the ro/rw options after setting the MS_RDONLY flag appropriately. Make mount.cifs do the same thing. Signed-off-by: Jeff Layton <jlayton@samba.org> | |||||
2009-06-29 | Fix ndrdump to use a common setup_logging() API | Andrew Bartlett | 5 | -2/+29 | |
By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett | |||||
2009-06-29 | Revert "s4:debug: make setup_logging() a bit more compatible with samba3" | Andrew Bartlett | 1 | -1/+1 | |
The problem is that the enum was previously a 'rachet', that is, it would only reset to a level higher than it was previouly set to. Changing the order broke file-based logging for our production sites. This reverts commit 49a6d757b4d944cd22c91b2838beb83f04fbe1e9. | |||||
2009-06-29 | Adds the impersonation level in ntcreatex requests to SAMBA 3 misc torture test | Matthias Dieter Wallnöfer | 1 | -0/+4 | |
Specifies the impersonation level according to the reporter commit in bug #6283 | |||||
2009-06-29 | Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.conf | David Markey | 1 | -1/+1 | |
2009-06-29 | Correct some typos in the LDB partition module | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
2009-06-29 | SAMDB: Don't check for "sAMAccountName" twice | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
2009-06-29 | Enhancement of "simple ldap map" with "systemFlags" attribute | Matthias Dieter Wallnöfer | 1 | -0/+22 | |
Enhance the simple ldap map to support also the "systemFlags" attribute in the correct way. | |||||
2009-06-29 | ldb: Properly handle NULL when copying attr lists. | Andrew Kroeger | 1 | -4/+4 | |
When copying an attribute list, ensure the list itself is not NULL before attempting to access elements of the list. | |||||
2009-06-29 | Correct the headers of some SAMBA 4 setup python scripts | Matthias Dieter Wallnöfer | 3 | -3/+3 | |
2009-06-29 | Two patches which fix issues on cross compiling/building | Nathaniel McCallum | 2 | -2/+4 | |
2009-06-29 | Fixes for SAMBA3RPC torture test | Matthias Dieter Wallnöfer | 1 | -4/+11 | |
On calls where both NT_STATUS and WERROR results are returned and consulted we have to make sure to form function results considering both. This errors have been found through a run against SAMBA 4. | |||||
2009-06-29 | Small patch for SPOOLSS pipe | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
Prevents a crash of the SAMBA 4 daemon on the torture SPOOLSS test due to not initialised structures. | |||||
2009-06-28 | _lsa_QueryInfoPolicy: Use symbolic info level names | Volker Lendecke | 1 | -4/+4 | |
2009-06-28 | Turn the pdb_rid_algorithm into a capabilities call that returns flags | Volker Lendecke | 10 | -30/+33 | |
2009-06-28 | Make pdb_ads survive a restart of Samba4 | Volker Lendecke | 1 | -106/+225 | |
The search function retries once, the modifying call that hits a dead smbd returns an error. The next try will reconnect. This was simple to implement and provides a good compromise against Samba4 idling our connection. Most of the modifying calls are quickly after a search (like OpenUser) anyway. | |||||
2009-06-28 | If the connection is down, don't try another write. | Volker Lendecke | 2 | -0/+18 | |
2009-06-28 | Add tldap_search_va | Volker Lendecke | 2 | -8/+24 | |
2009-06-28 | tldap_msg_received: Properly free the asn1_struct in case of an error | Volker Lendecke | 1 | -0/+1 | |
2009-06-27 | Move read_ldap_done after read_ldap_send | Volker Lendecke | 2 | -26/+27 | |
2009-06-27 | Convert tldap to tstream | Volker Lendecke | 2 | -12/+18 | |
2009-06-27 | Add tstream_read_packet | Volker Lendecke | 3 | -0/+150 | |
2009-06-27 | Properly free a downlevel readv request. Metze, please check | Volker Lendecke | 1 | -0/+1 | |
2009-06-27 | tldap: Don't fire off more than one read_ldap request during searches | Volker Lendecke | 1 | -10/+22 | |
2009-06-27 | Stop listening for inotify data when there's none | Volker Lendecke | 1 | -0/+1 | |
There have been some reports that we're flooding syslog with "No data on inotify fd?!". I haven't been able to reproduce this yet. Until then, it is better to just list this message once. | |||||
2009-06-27 | Fix some nonempty blank lines | Volker Lendecke | 1 | -9/+9 | |
2009-06-27 | s3/lanman: Workaround for KB932762. | Volker Lendecke | 1 | -0/+1 | |
This addresses bug #6498. | |||||
2009-06-26 | The solaris linker seems to require an extra mention of dependent libs | Volker Lendecke | 1 | -3/+8 | |
2009-06-26 | Don't use ads realm name for non-ads case. #6481 | Jim McDonough | 1 | -7/+9 | |
Also check that the connection to ads worked. | |||||
2009-06-26 | Fix some dead code warnings from SUN Studio | Volker Lendecke | 2 | -4/+4 | |
2009-06-26 | Fix a typo in a comment | Volker Lendecke | 1 | -1/+1 | |
2009-06-26 | Upgrade ntvfs_map_*info to ntvfs_map_async_setup/ntvfs_map_async_finish | Sam Liddicott | 1 | -33/+80 | |
ntvfs_map_fsinfo, ntvfs_map_qpathinfo, ntvfs_map_qfileinfo used an old synchronous mapping technique, acceptable on the grounds that they were only used by the simple vfs which was synchronous. Other vfs may/do use these functions, and by upgrading them to use the ntvfs_map_async_setup/ntvfs_map_async_finish framework, they can now be used asynchronously. Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-06-26 | s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache(). | Michael Adam | 1 | -1/+1 | |
With the previous code, the cache can never have been hit at all. Michael | |||||
2009-06-26 | s3-vlp: drastically shrink size and dependencies of the virtual line printer. | Günther Deschner | 2 | -22/+14 | |
This gets vlp from 13M down to 214K on my box. Guenther | |||||
2009-06-25 | s3: pass a valid stat into file_ntimes() | Tim Prouty | 3 | -4/+4 | |
file_ntimes() calls can_write_to_file() which expects a valid stat struct | |||||
2009-06-25 | s3 file_access: Convert some more functions over to use smb_filneame | Tim Prouty | 6 | -43/+64 | |
2009-06-25 | s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname() | Tim Prouty | 1 | -5/+1 | |
2009-06-25 | s3: Remove get_full_smb_filename() from open_directory() | Tim Prouty | 1 | -19/+9 | |
This is possible because open_directory() returns an error if the fname is a stream, so the base_name can be used. | |||||
2009-06-25 | s3 onefs: Plumb smb_filename through onefs createfile path | Tim Prouty | 4 | -221/+322 | |
2009-06-25 | s3: Change set_ea() and its callers to use smb_filename | Tim Prouty | 3 | -15/+19 | |
2009-06-25 | Fix bug #6506 - SMBD server doesn't set EAs when a file is overwritten in ↵ | Jeremy Allison | 1 | -1/+2 | |
NT_TRANSACT_CREATE. Reported and verified by Long Li <longli@microsoft.com> Jeremy. | |||||
2009-06-25 | s4 auth_winbind: Internally, info3 has utf8 buffers, not utf16 buffers. | Kai Blin | 1 | -63/+16 | |
Thanks to gd for the catch. | |||||
2009-06-25 | s4 auth_winbind: Don't allocate the rids for the info3 structure within the loop | Kai Blin | 1 | -4/+4 | |
2009-06-25 | s4: Add libwbclient backend to auth_winbind | Kai Blin | 2 | -1/+216 | |
2009-06-25 | s3-netlogon: remove remaining netlogon init functions. | Günther Deschner | 3 | -148/+39 | |
Guenther |