summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-08s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2Stefan Metzmacher1-3/+3
metze
2010-02-08s3:docs-xml: document "nmbd bind explicit broadcast"Stefan Metzmacher1-0/+16
metze
2010-02-08s3:nmbd: change "nmbd:bind explicit broadcast" into "nmbd bind explicit ↵Stefan Metzmacher3-1/+13
broadcast" metze
2010-02-08s3:nmbd: also listen explicit on the subnet broadcast addressesStefan Metzmacher6-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-08release-scripts: parametrize scriptsSimo Sorce3-62/+84
This should make it easier to keep all release scripts alined as it will reduce the difference between them to ideally a few variables Also moves the tdb script in the scripts directory.
2010-02-08talloc: Fix abi checks in release scriptSimo Sorce1-17/+24
We must perform abi checks against the version we are going to release. Not against the current tree we are in.
2010-02-08talloc: Fix abi checks and ifdefsSimo Sorce3-4/+32
teach the abi check scripts to skip the DOXYGEN sections fix the header to use #ifdef DOXYGEN and not #if DOXYGEN
2010-02-08s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.Günther Deschner1-0/+4
Guenther
2010-02-08s4:subtree_delete - "NULL" as format string isn't allowed on FreeBSDMatthias Dieter Wallnöfer1-2/+3
I changed the format string into "(objectClass=*)" which should be an equivalent expression for choosing all available objects. Consider bug 7115 for the issue.
2010-02-08s3-net: fix net ads dns usage calls.Günther Deschner1-3/+8
Bjoern, please check. Guenther
2010-02-08s3:pdb_ldap: don't search for the users primary group, if we already know itStefan Metzmacher1-31/+35
metze
2010-02-08s3:pdb_ldap: optimize ldapsam_alias_memberships() and cache ldap searches.Stefan Metzmacher2-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-08s3:pdb_ldap: try to build the full unix_pw structure with ldapsam:trusted ↵Stefan Metzmacher1-5/+85
support And also store the gid_to_sid mappings in the idmap_cache. metze
2010-02-08s3:passdb: speed up pdb_get_group_sid()Stefan Metzmacher1-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-08s3: Make pdb_copy_sam_account also copy the group sidVolker Lendecke1-0/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-08s3: shortcut gid_to_sid when "ldapsam:trusted = yes"Stefan Metzmacher1-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-08s4:heimdal: regerenate filesStefan Metzmacher9-173/+218
Andrew using cp like in commit ca12e7bc8ff4a91f2044c0a60550fec902e97a78 is wrong as that removes #include "config.h" and breaks the build on AIX. metze
2010-02-08s4:heimdal_build: allow flex-2.5.35:bison-2.4.1 to regenerate filesStefan Metzmacher1-1/+9
metze
2010-02-08libreplace: add check for NSS_WRAPPER_DISABLE similar to SOCKET_WRAPPER_DISABLEStefan Metzmacher1-2/+4
metze
2010-02-08libreplace: Attempt to fix bug 5910, detect a broken getaddrinfoVolker Lendecke1-0/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-09s3: Don't invalidate cache for uninitialized domains.Bo Yang3-1/+52
Signed-off-by: Bo Yang <boyang@samba.org>
2010-02-09s3: signals are processed twice in child.Bo Yang3-5/+36
Signed-off-by: Bo Yang <boyang@samba.org>
2010-02-08s3: quiet the unresolved symbol warnings of the Compaq compiler when linking ↵Björn Jacke1-0/+11
our vfs modules
2010-02-08s4-torture: more useful error message in SMB2-DIRAndrew Tridgell1-2/+2
2010-02-08nbt: don't reference the event_ctx in nbtsockAndrew Tridgell1-1/+1
This causes talloc_free with references errors
2010-02-08talloc: fixed doc typoAndrew Tridgell1-1/+1
2010-02-08Move the talloc details to the mainpage.Andreas Schneider2-64/+69
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-08talloc: Added doxygen config file.Andreas Schneider1-0/+1538
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-08talloc: Documented talloc with doxygen.Andreas Schneider2-67/+1559
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-07s3: fix build issue on Tru64Björn Jacke1-7/+7
Thanks, Volker for the hint - acl_type is a macro on Tru64. Renamed it to acltype. This fixes #7103.
2010-02-07s3: Fix some DEBUG statementsVolker Lendecke1-2/+2
2010-02-07s3: Make cli_get_fs_volume_info() use cli_trans()Volker Lendecke3-41/+28
2010-02-07s3: Remove some unused codeVolker Lendecke2-58/+0
2010-02-07s3: Fix some commentsVolker Lendecke1-2/+2
2010-02-07s3: Fix some nonempty blank linesVolker Lendecke3-53/+53
2010-02-07libwbclient: wbc_create_logon_info is always called with mem_ctx==NULLVolker Lendecke1-5/+3
2010-02-07libwbclient: wbc_create_password_policy_info is always called with mem_ctx==NULLVolker Lendecke1-7/+4
2010-02-07libwbclient: wbc_create_error_info is always called with mem_ctx==NULLVolker Lendecke1-18/+10
2010-02-07s4-registry: fixed byte order assumptionsAndrew Tridgell4-7/+9
the registry tests were broken on big-endian systems
2010-02-06tdb: raise version to 1.2.1Simo Sorce3-3/+3
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-06pam_winbind: Remove a nested if-statement. Bo, please check!Volker Lendecke1-4/+2
2010-02-06pam_winbind: Use strchr instead of strstr for a single characterVolker Lendecke1-1/+1
2010-02-05Fix trailing whitespace errors I added (sorry).Jeremy Allison2-5/+5
Jeremy.
2010-02-07s3: Fix malformed require_membership_of_sid.Bo Yang1-0/+12
Signed-off-by: Bo Yang <boyang@samba.org>
2010-02-05s3-events: make the old timed events compatible with teventAndrew Tridgell1-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-05s3-smbd: add a rate limited cleanup of brl, connections and locking dbAndrew Tridgell1-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-05s3-brlock: we don't need these MSG_SMB_UNLOCK calls nowAndrew Tridgell2-10/+0
These have been replaced with the min timeout in blocking.c
2010-02-05s3-brlock: add a minimim retry time for pending blocking locksAndrew Tridgell1-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-06s4-ldb: fixed api.py selftestAndrew Tridgell1-1/+1
subunitrun seemed to be calling a test from its own source, instead of the samba test. Fix this by calling the test directly.
2010-02-05Remove now unused variable.Jeremy Allison1-1/+0
Jeremy.