Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-09 | s3:smbd: use StrCaseCmp() instead of strcasecmp | Stefan Metzmacher | 1 | -4/+3 | |
metze | |||||
2010-02-09 | s3:smbd: Fix really ugly bool vs. int bug!!! | Stefan Metzmacher | 1 | -2/+2 | |
A comparison function for qsort needs to return an 'int'! Otherwise you'll get random results depending on the compiler and the architecture... metze | |||||
2010-02-09 | s3:selftest: make selftest requires bash for now | Stefan Metzmacher | 1 | -1/+1 | |
So force bash until we removed the dependency to bash. metze | |||||
2010-02-09 | s3:passdb: only use gid_to_sid() result if the result is a group of our ↵ | Stefan Metzmacher | 1 | -4/+16 | |
local sam Otherwise retry with pdb_gid_to_sid(). metze | |||||
2010-02-09 | s3: fix some wrong newlines in de translation strings | Björn Jacke | 1 | -8/+8 | |
2010-02-09 | vfs_catia: fix return type warnings | Björn Jacke | 1 | -2/+2 | |
2010-02-08 | Make "nmbd bind explicit broadcast" on by default. | Jeremy Allison | 2 | -1/+6 | |
Fix a comment typo. Jeremy. | |||||
2010-02-08 | Fix bug #6876 for acl_tdb module. | Jeremy Allison | 1 | -2/+1 | |
As pointed out by bj@sernet.de, the rmdir module initializer was duplicated. Fix this properly. Jeremy. | |||||
2010-02-08 | s3:libsmb: fix NetServerEnum3 rap calls. | Stefan Metzmacher | 1 | -5/+19 | |
metze | |||||
2010-02-08 | s3:smbd: implement api_RNetServerEnum3 | Stefan Metzmacher | 1 | -1/+212 | |
This is needed to support large browse lists. metze | |||||
2010-02-08 | s3:smbd: add/improve some DEBUG messages in api_RNetServerEnum2() | Stefan Metzmacher | 1 | -4/+6 | |
metze | |||||
2010-02-08 | s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2 | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2010-02-08 | s3:nmbd: change "nmbd:bind explicit broadcast" into "nmbd bind explicit ↵ | Stefan Metzmacher | 3 | -1/+13 | |
broadcast" metze | |||||
2010-02-08 | s3:nmbd: also listen explicit on the subnet broadcast addresses | Stefan Metzmacher | 6 | -115/+222 | |
And send replies always via the unicast address of the subnet. This behavior is off by default (as before) and can be enabled with "nmbd:bind explicit broadcast = yes". metze | |||||
2010-02-08 | s3-net: fix net ads dns usage calls. | Günther Deschner | 1 | -3/+8 | |
Bjoern, please check. Guenther | |||||
2010-02-08 | s3:pdb_ldap: don't search for the users primary group, if we already know it | Stefan Metzmacher | 1 | -31/+35 | |
metze | |||||
2010-02-08 | s3:pdb_ldap: optimize ldapsam_alias_memberships() and cache ldap searches. | Stefan Metzmacher | 2 | -7/+34 | |
ldapsam_alias_memberships() does the same LDAP search twice, triggered via add_aliases() from create_local_nt_token(). This happens when no domain aliases are used. metze | |||||
2010-02-08 | s3:pdb_ldap: try to build the full unix_pw structure with ldapsam:trusted ↵ | Stefan Metzmacher | 1 | -5/+85 | |
support And also store the gid_to_sid mappings in the idmap_cache. metze | |||||
2010-02-08 | s3:passdb: speed up pdb_get_group_sid() | Stefan Metzmacher | 1 | -5/+28 | |
Use the cached version gid_to_sid() instead of pdb_gid_to_sid(). And also avoid the expensive lookup_sid() call for wellkown domain groups. metze | |||||
2010-02-08 | s3: Make pdb_copy_sam_account also copy the group sid | Volker Lendecke | 1 | -0/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-02-08 | s3: shortcut gid_to_sid when "ldapsam:trusted = yes" | Stefan Metzmacher | 1 | -0/+71 | |
The normal gid_to_sid behaviour is to call sys_getgrgid() to get the name for the given gid and then call the getsamgrnam passdb method for the resulting name. In the ldapsam:trusted case we can reduce the gid_to_sid operation to one simple search for the gidNumber attribute and only get the sambaSID attribute from the correspoinding LDAP object. This reduces the number of ldap roundtrips for this operation. metze | |||||
2010-02-09 | s3: Don't invalidate cache for uninitialized domains. | Bo Yang | 3 | -1/+52 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2010-02-08 | s3: quiet the unresolved symbol warnings of the Compaq compiler when linking ↵ | Björn Jacke | 1 | -0/+11 | |
our vfs modules | |||||
2010-02-07 | s3: fix build issue on Tru64 | Björn Jacke | 1 | -7/+7 | |
Thanks, Volker for the hint - acl_type is a macro on Tru64. Renamed it to acltype. This fixes #7103. | |||||
2010-02-07 | s3: Fix some DEBUG statements | Volker Lendecke | 1 | -2/+2 | |
2010-02-07 | s3: Make cli_get_fs_volume_info() use cli_trans() | Volker Lendecke | 3 | -41/+28 | |
2010-02-07 | s3: Remove some unused code | Volker Lendecke | 2 | -58/+0 | |
2010-02-07 | s3: Fix some comments | Volker Lendecke | 1 | -2/+2 | |
2010-02-07 | s3: Fix some nonempty blank lines | Volker Lendecke | 3 | -53/+53 | |
2010-02-06 | tdb: raise version to 1.2.1 | Simo Sorce | 1 | -1/+1 | |
after recent fixes we need to raise the version to 1.2.1 so that we can require also the right patched version. | |||||
2010-02-05 | Fix trailing whitespace errors I added (sorry). | Jeremy Allison | 2 | -5/+5 | |
Jeremy. | |||||
2010-02-05 | s3-events: make the old timed events compatible with tevent | Andrew Tridgell | 1 | -2/+19 | |
tevent ensures that a timed event is only called once. The old events code relied on the called handler removing the event itself. If the handler removed the event after calling a function which invoked the event loop then the timed event could loop forever. This change makes the two timed event systems more compatible, by allowing the handler to free the te if it wants to, but ensuring it is off the linked list of events before the handler is called, and ensuring it is freed even if the handler doesn't free it. | |||||
2010-02-05 | s3-smbd: add a rate limited cleanup of brl, connections and locking db | Andrew Tridgell | 1 | -6/+42 | |
On unclean shutdown we can end up with stale entries in the brlock, connections and locking db. Previously we would do the cleanup on every unclean exit, but that can cause smbd to be completely unavailable for several minutes when a large number of child smbd processes exit. This adds a rate limited cleanup of the databases, with the default that cleanup happens at most every 20s | |||||
2010-02-05 | s3-brlock: we don't need these MSG_SMB_UNLOCK calls now | Andrew Tridgell | 2 | -10/+0 | |
These have been replaced with the min timeout in blocking.c | |||||
2010-02-05 | s3-brlock: add a minimim retry time for pending blocking locks | Andrew Tridgell | 1 | -0/+20 | |
When we are waiting on a pending byte range lock, another smbd might exit uncleanly, and therefore not notify us of the removal of the lock, and thus not trigger the lock to be retried. We coped with this up to now by adding a message_send_all() in the SIGCHLD and cluster reconfigure handlers to send a MSG_SMB_UNLOCK to all smbd processes. That would generate O(N^2) work when a large number of clients disconnected at once (such as on a network outage), which could leave the whole system unusable for a very long time (many minutes, or even longer). By adding a minimum re-check time for pending byte range locks we avoid this problem by ensuring that pending locks are retried at a more regular interval. | |||||
2010-02-05 | Remove now unused variable. | Jeremy Allison | 1 | -1/+0 | |
Jeremy. | |||||
2010-02-05 | Fix bug 7104 - "wide links" and "unix extensions" are incompatible. | Jeremy Allison | 4 | -38/+10 | |
Change parameter "wide links" to default to "no". Ensure "wide links = no" if "unix extensions = yes" on a share. Fix man pages to refect this. Remove "within share" checks for a UNIX symlink set - even if widelinks = no. The server will not follow that link anyway. Correct DEBUG message in check_reduced_name() to add missing "\n" so it's really clear when a path is being denied as it's outside the enclosing share path. Jeremy. | |||||
2010-02-05 | s3: Make use of ZERO_STRUCTP | Volker Lendecke | 1 | -1/+2 | |
2010-02-05 | s3: Remove a pointless if-statement | Volker Lendecke | 1 | -1/+1 | |
2010-02-05 | s3: Make guest_user_info() static | Volker Lendecke | 2 | -2/+1 | |
2010-02-05 | s3: Hide some uses of pdb_get_init_flags (which I would love to remove...) | Volker Lendecke | 2 | -2/+2 | |
2010-02-05 | s3: Fix some nonempty blank lines | Volker Lendecke | 2 | -35/+34 | |
2010-02-05 | s3: normalize "Changing password for" msg IDs and STRs | Lars Müller | 18 | -30/+30 | |
An additional space at the end of the "Changing password for" msgid lead to untranslated pam_winnind messages. | |||||
2010-02-04 | Fix bug 7075 - bug in vfs_scannedonly rmdir implementation. | Jeremy Allison | 1 | -1/+5 | |
Check for NULL on opendir, correctly call next rmdir. Jeremy. | |||||
2010-02-04 | s3:passdb: fix a type Domain Users has RID -513 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-02-04 | s3:libsmb: don't reuse the callers stype variable in cli_NetServerEnum() | Stefan Metzmacher | 1 | -2/+3 | |
When we need to do more than one network operation to get the browse list we need to use the same 'stype' value each time. metze | |||||
2010-02-04 | s3:nsswitch: also use pthread CFLAGS for the nsswitch modules that might ↵ | Björn Jacke | 1 | -1/+1 | |
require it | |||||
2010-02-04 | s3: fix build on Tru64 after it broke with deactivating pthread pool support | Björn Jacke | 1 | -3/+6 | |
2010-02-04 | s3:vfs_scannedonly: fix build on HP-UX | Björn Jacke | 1 | -0/+6 | |
2010-02-03 | s3: Simplify the code a bit: Catch (len==0) early | Volker Lendecke | 1 | -7/+4 | |