summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2009-01-22Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-10/+0
2009-01-22Do not start a transaction this way.Simo Sorce1-10/+0
Because we still want to commit any changes that successfully apply we never want to do a global cancel, and because of how transaction nesting works that means we never cancel any "transaction" at the single modify operation level. Let each operation start its own transaction so that the transaction is properly canceled if any error is returned and half committed operations (though plugins failing) are properly reverted on a per operation basis.
2009-01-22Remove obsolete samr Python module - use samba.dcerpc.samr instead.Jelmer Vernooij1-759/+0
2009-01-22Implement as_sddl.Jelmer Vernooij2-1/+29
2009-01-22Support parsing sddl for security descriptors.Jelmer Vernooij2-2/+37
2009-01-22Move configure test files to the top-level and share them between s3 andJelmer Vernooij13-1293/+6
s4.
2009-01-21libsmbconf: Add build magic for Samba 4.Jelmer Vernooij1-0/+1
2009-01-21Move check_python.m4 to common m4 directory.Jelmer Vernooij2-101/+1
2009-01-21Only check for Perl once in Samba 3.Jelmer Vernooij2-33/+1
2009-01-21Move check_make.m4 to the top-level.Jelmer Vernooij2-34/+1
2009-01-21Use script path to find the setup directory.Jelmer Vernooij3-3/+3
2009-01-21Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij9-156/+153
2009-01-21Allow overriding the function that ships the request in the Samba 3Jelmer Vernooij1-1/+1
client code.
2009-01-21s4:auth: move make_server_info_netlogon_validation() function arroundStefan Metzmacher7-148/+143
metze
2009-01-21s4:selftest: reference binaries via variables in tests.shStefan Metzmacher1-7/+9
metze
2009-01-21s4:python glue: fix dependecy to pyldbStefan Metzmacher1-1/+1
metze
2009-01-21s4:ldb: remove dependency to samba4's events wrapperStefan Metzmacher7-29/+36
metze
2009-01-19Don't use TMPDIR as variable, it's already used for other purposes.Jelmer Vernooij1-5/+8
Don't include GIT revision in release version strings.
2009-01-19Make sure server_role gets initialized in backend provisioning code -Jelmer Vernooij3-3/+19
fixes test.
2009-01-19nbt_server/wins: winsdb_handle() can be staticStefan Metzmacher1-2/+3
metze (from samba4wins tree ba45b14b48f62eb1668509738f83fa17a4ce95fd)
2009-01-19nbt_server/wins: add some constStefan Metzmacher1-3/+4
metze (from samba4wins tree e54b2d3ddbf338fe5d9802724e76f320fd4423e5)
2009-01-19nbt_server/wins: use talloc_zero() to create struct winsdb_handleStefan Metzmacher2-2/+2
metze (from samba4wins tree 0f2995f77ab092d71e539c2473c94956f9c253fb)
2009-01-19wrepl_server: make 'use inform' the default and autofallback against old serversStefan Metzmacher3-3/+25
metze (from samba4wins tree f44c8c8e1986e2105e899bb1f8a3896575eef582)
2009-01-19libcli/wrepl: return the major version of the server in wrepl_associate()Stefan Metzmacher2-0/+2
metze (from samba4wins tree 1ea02d50d1607b94e15ff07568fa5056cb6e4f09)
2009-01-19wreplserver: add "wreplsrv:propagate name releases = yes" for replicated ↵Stefan Metzmacher1-0/+29
sgroup merges metze (from samba4wins tree 80cbe665e561182d28acc6ad474243b83f3e4d28)
2009-01-19winsserver: add "wreplsrv:propagate name releases" optionStefan Metzmacher2-6/+47
Add an option to propagate name releases directly. This make the results for #1C name queries more consistent among all servers. It's off by default to match windows. metze (from samba4wins tree 166e9fdffb9f4e26513c3b4ec1f6f168ecbe18f8)
2009-01-19winsserver_release: update the expire time if only one address is releasedStefan Metzmacher1-1/+12
We also take the ownership if the record isn't owned. This matches windows... metze (from samba4wins tree d7b19339c0444cbe0989fcfa91a22323215d2f6b)
2009-01-19wrepl_scavenging: add a comment to make the is_static case more clearStefan Metzmacher1-5/+13
metze (from samba4wins tree 67fa7dc4fe36b143d36df1309840328a14683e31)
2009-01-19wrepl_server: fix the record expire time of sgroup mergesStefan Metzmacher1-0/+18
if we're the owner, the expire time becomes the highest expire time of owned addresses metze (from samba4wins tree 024f439db45046c7c0bb4759c75877462405baec)
2009-01-19wrepl_server: use a local 'local_owner' variable to make the code more readableStefan Metzmacher1-1/+2
metze (from samba4wins tree eba9a8ce0641a2984112f4e1473801fa449ed96d)
2009-01-19winsdb: the we_are_owner in winsdb_lookup() needs to be per addressStefan Metzmacher1-22/+15
This fixes a bug where #1C addresses are registered with different WINS-Servers and a merged #1C record. metze (from samba4wins tree 72e055394a0fd1f543be9c196b4179356a1033f6)
2009-01-19nbt_server: fix crash bug, the wins client interface may not have a nbtsockStefan Metzmacher1-1/+1
metze (from samba4wins tree 8035601da7c7e8b65fe1d82c2654c412fa169338)
2009-01-19nbt_server: redirect incoming response packets to the correct interfaceStefan Metzmacher1-0/+53
We may send requests packets (WACK challenges or similar things) via a different udp socket than the socket we receive the matching response. We need to setup an unexpected handler on the nbt sockets and redirect responses to the correct nbt_socket. (By redirect I mean we use the correct nbt_socket structure, we're *not* resending the packet with sendto() via the kernel...) metze (from samba4wins tree 7ce8e705e5a9aabb787d17fbec7a078d9d6780dc)
2009-01-19nbt_server: add some debug messages which show the used interfaces addressesStefan Metzmacher1-2/+12
metze (from samba4wins tree 8eb30add7c95672a85b4084b4a3dbfa78db820c4)
2009-01-19wreplsrv: don't log scavenging events at level 0Stefan Metzmacher1-7/+7
metze (from samba4wins tree 7a1d4fac9d77440c2c463bfdb2a5671e4817cfdf)
2009-01-19wreplsrv: log a successful replication cycle at level 1Stefan Metzmacher1-1/+1
metze (from samba4wins tree b411e60e1536668e11bc5d8eaa389071b25077bf)
2009-01-19wreplsrv: log replication failures at log level 0Stefan Metzmacher2-8/+8
metze (from samba4wins tree 405cbb74b7191e744178894a5e0ac4abcac2a4fe)
2009-01-19NBT-WINS: test if the server ignores resent packetsStefan Metzmacher1-0/+54
metze (from samba4wins tree 24eb7577414c8584b97f43c850d738d3dbb30777)
2009-01-19NBT-WINS: we don't need the slow low port tests for every nameStefan Metzmacher1-18/+19
metze (from samba4wins tree 7862deca8555f960a5ef65e6315ce94af5023a2a)
2009-01-19NBT-WINS: if we're bound to port 137 trigger WACK reponses with timeoutsStefan Metzmacher1-2/+107
metze (from samba4wins tree de7225658493006c19d139ac77ac1b1ffab01d25)
2009-01-19NBT-WINS: try to bind to port 137 in the NBT-WINS testStefan Metzmacher1-3/+15
metze (from samba4wins tree 5e101475d5ed62060c991ea71c943e76b862aeef)
2009-01-19winsserver: we need to ignore duplicated name register requests.Stefan Metzmacher3-7/+59
This fixes the following bug: While we reply with a WACK response to a client. Instead of waiting for the final reply some windows client just resends the request using the same name_trn_id in the nbt_name_packet. We handled this as a new request and send a WACK response (and the challenges) again. Then the first request gets its final success response, but the when we try to send the success for the "second" request we notice that the record was changed in between and we return an error. Windows 2003 (and I assume all other versions as well) detect the packet is just a resent of a currently pending request and ignores it. So we now keep a list of all pending WINS name register requests which result in a WACK response. On each incoming name register request we search through the list to find duplicate requests and ignore them. In theory we should do that for all requests, but name register requests are the only requests we response async and only if we have to go via the WACK code path. metze (from samba4wins tree 382e7d384b70d03e9f81c7bb353afaed288d80f0)
2009-01-19util_str: setup the correct talloc name for stringsStefan Metzmacher1-0/+2
metze (partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
2009-01-19NBT-WINS: initialize .dest_port explicit (we should fill the whole struct ↵Stefan Metzmacher1-0/+1
each time) This makes the code more clear. metze
2009-01-19Print more useful suggestion for the main provision command lineAndrew Bartlett1-1/+1
2009-01-19Delete more Samba3-specific filesAndrew Bartlett1-1/+1
2009-01-19Don't give fatal python errors when guessing the realmAndrew Bartlett1-2/+12
2009-01-16loadparm: Make sure various state variables get initialized even when weJelmer Vernooij1-29/+40
couldn't load a default smb.conf file.
2009-01-16Add copyright headers.Jelmer Vernooij3-14/+53
2009-01-16s4/NEWS: Remove mention of no longer existing js parameter.Jelmer Vernooij1-5/+0