Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s4:cldap_server/netlogon.c - handle the domain SID correctly | Matthias Dieter Wallnöfer | 2010-04-27 | 1 | -7/+21 |
| | |||||
* | nbt: samlogon/netlogon structures - unify denominations | Matthias Dieter Wallnöfer | 2010-04-27 | 1 | -3/+3 |
| | |||||
* | s4:fill_netlogon_samlogon_response - reorder assign operations (to be ↵ | Matthias Dieter Wallnöfer | 2010-04-27 | 1 | -5/+4 |
| | | | | consistent) | ||||
* | s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short ↵ | Matthias Dieter Wallnöfer | 2010-04-27 | 1 | -1/+1 |
| | | | | | | netbios domainname This call is only for the DC mode. | ||||
* | s4-netlogon: fixed getDcNameEx2 for blank inputs | Andrew Tridgell | 2010-04-28 | 2 | -5/+23 |
| | | | | | | | | | w2k8r2 returns the local DC information on no inputs for getDcNameEx2. This is needed for starting dsa.msc (ADUC) on Win7. CDLAP on the same call returns an error. This uses a parameter fill_on_blank_request to distinguish the two cases. | ||||
* | s4:cldap_server: allow src_address = NULL in fill_netlogon_samlogon_response() | Stefan Metzmacher | 2010-04-27 | 1 | -2/+10 |
| | | | | | | | If we don't have the client address, we assume it's a local call, maybe ncalrpc. metze | ||||
* | s4:CLDAP server - make use of the new "samdb_client_site_name" call | Matthias Dieter Wallnöfer | 2010-04-27 | 1 | -2/+3 |
| | | | | Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | s4-cldap: we should set the w2k8 flags even if not the PDC emulator | Andrew Tridgell | 2010-04-22 | 1 | -3/+4 |
| | | | | | | these two tests are independent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4:"samdb_server_site_name" uses - proof for out of memory | Matthias Dieter Wallnöfer | 2010-04-13 | 1 | -1/+3 |
| | |||||
* | s4:fill_netlogon_samlogon_reponse - fix a typo | Matthias Dieter Wallnöfer | 2010-04-13 | 1 | -1/+1 |
| | |||||
* | s4:dcesrv_netr_DsRGetDCNameEx2 - provide a much better implementation | Matthias Dieter Wallnöfer | 2010-04-13 | 1 | -0/+14 |
| | | | | | | On the base of the "fill_netlogon_samlogon_response" call. This removes duplicated code. | ||||
* | s4:fill_netlogon_samlogon_response - some rework of the detection code | Matthias Dieter Wallnöfer | 2010-04-13 | 1 | -16/+26 |
| | | | | | | To make it compatible by the use of the "dcesrv_netr_DsRGetDCName*" calls. Some result checks were redundant so I removed them. In other cases I added debug outputs. Sometimes the debug messages were misleading. | ||||
* | s4:CLDAP - "fill_netlogon_samlogon_reponse" - check for out of memory | Matthias Dieter Wallnöfer | 2010-04-13 | 1 | -1/+4 |
| | |||||
* | s4:use "samdb_forest_name" for the forest DNS domainname lookup | Matthias Dieter Wallnöfer | 2010-04-13 | 1 | -2/+4 |
| | |||||
* | Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions" | Matthias Dieter Wallnöfer | 2010-04-13 | 1 | -1/+1 |
| | | | | | We should use the "ldb_get_*_basedn" calls since they are available in the LDB library. | ||||
* | s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions | Matthias Dieter Wallnöfer | 2010-04-12 | 1 | -1/+1 |
| | | | | Purely cosmetic change. | ||||
* | s4-waf: removed the AUTOGENERATED markers | Andrew Tridgell | 2010-04-06 | 1 | -4/+0 |
| | | | | we won't be using the mk -> wscript generator again | ||||
* | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 2010-04-06 | 1 | -0/+2 |
| | | | | them | ||||
* | build: commit all the waf build files in the tree | Andrew Tridgell | 2010-04-06 | 1 | -0/+18 |
| | |||||
* | s4:cldap_server - make it "signed-safe" | Matthias Dieter Wallnöfer | 2010-02-25 | 2 | -2/+2 |
| | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-server: use GUID_to_ndr_blob() in cldap and smb servers | Andrew Tridgell | 2009-12-10 | 1 | -5/+3 |
| | |||||
* | s4-dsdb: added dsdb_functional_level() helper function | Andrew Tridgell | 2009-12-09 | 1 | -3/+1 |
| | |||||
* | s4-dsdb: create a static system_session context | Andrew Tridgell | 2009-10-23 | 1 | -1/+1 |
| | | | | | | This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap | ||||
* | s4:sites - get the server site (name) from DSDB | Matthias Dieter Wallnöfer | 2009-10-18 | 1 | -2/+2 |
| | |||||
* | s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed | Matthias Dieter Wallnöfer | 2009-10-14 | 1 | -7/+5 |
| | | | | | | For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way. | ||||
* | s4-cldap: match w2k8-r2 for cldap netlogon bits | Andrew Tridgell | 2009-10-02 | 1 | -10/+17 |
| | | | | | Windows does not set the 3 high bits, which is strange given their meaning. I've submitted a CAR on this. | ||||
* | s4-cldap: return domainFunctionality from SAM | Andrew Tridgell | 2009-09-23 | 1 | -0/+5 |
| | |||||
* | s4-server: kill main daemon if a task fails to initialise | Andrew Tridgell | 2009-09-18 | 1 | -6/+8 |
| | | | | | | When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state. | ||||
* | libds: merge the UF<->ACB flag mapping functions. | Günther Deschner | 2009-07-13 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | Fix more unresolved symbols. | Jelmer Vernooij | 2009-06-02 | 1 | -6/+12 |
| | |||||
* | Don't use crossRef records to find our own domain | Andrew Bartlett | 2009-05-26 | 1 | -96/+20 |
| | | | | | | | | A single AD server can only host a single domain, so don't stuff about with looking up our crossRef record in the cn=Partitions container. We instead trust that lp_realm() and lp_workgroup() works correctly. Andrew Bartlett | ||||
* | s4:cldap: rewrite the cldap library based on tsocket | Stefan Metzmacher | 2009-03-19 | 3 | -56/+76 |
| | | | | metze | ||||
* | s4:cldap: s/private/private_data | Stefan Metzmacher | 2009-02-02 | 2 | -2/+2 |
| | | | | metze | ||||
* | Fix missing symbols issues when building with shared libraries. | Jelmer Vernooij | 2008-12-22 | 1 | -1/+1 |
| | |||||
* | idl: finally fully share nbt.idl in s3 and s4. | Günther Deschner | 2008-10-15 | 1 | -3/+3 |
| | | | | Guenther | ||||
* | Sync with Samba 3. | Jelmer Vernooij | 2008-10-14 | 1 | -1/+1 |
| | |||||
* | Merge commit 'master/master' | Andrew Tridgell | 2008-10-03 | 1 | -40/+40 |
|\ | |||||
| * | The IRIX compiler does not like embedded unnamed unions | Volker Lendecke | 2008-10-02 | 1 | -40/+40 |
| | | |||||
* | | fixed the sense of ldb base dn comparisons in two places, and use a | Andrew Tridgell | 2008-10-02 | 1 | -1/+1 |
| | | | | | | | | | | | | direct comparison instead of a sub-tree comparison in another this fixes basedn searches on the global catalog port | ||||
* | | we need to listen on all interfaces in the CLDAP server as the windows | Andrew Tridgell | 2008-10-02 | 1 | -8/+9 |
|/ | | | | CDLAP client ignores replies from the wrong IP | ||||
* | LDB ASYNC: misc changes | Simo Sorce | 2008-09-29 | 1 | -12/+9 |
| | |||||
* | Rename smbd -> samba. | Jelmer Vernooij | 2008-09-24 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c | ||||
* | Merge ldb_search() and ldb_search_exp_fmt() into a simgle function. | Simo Sorce | 2008-09-23 | 1 | -24/+20 |
| | | | | | The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful. | ||||
* | fixed the DomainDNS searches in the netlogon code | Andrew Tridgell | 2008-08-22 | 1 | -2/+2 |
| | | | | (This used to be commit 7dce38f9897df02073132f18b1021e0d0636590c) | ||||
* | Validate input in the CLDAP and DGRAM 'netlogon' responder. | Andrew Bartlett | 2008-08-21 | 1 | -7/+37 |
| | | | | (This used to be commit 682ca3cae1d5e796bc58142f79c99d43742ac85c) | ||||
* | Add extra bits to our 'netlogon' response in CLDAP and NBT. | Matthias Dieter Wallnöfer | 2008-08-20 | 1 | -1/+7 |
| | | | | | | | | | | | I've studied now the netlogon attribute from the CLDAP request and have compared them with the table presented in the WSPP docs (http://msdn.microsoft.com/en-us/library/cc201036.aspx). The first two bytes seem to be correct, but that the third and fourth one is completely clear with SAMBA 4. Signed-off-by: Andrew Bartlett <abartlet@samba.org> (This used to be commit 3024a43c25e3ec9821d94a27d5cf738890b1b8f3) | ||||
* | Rework samdb handling for 'netlogon' packets. | Andrew Bartlett | 2008-06-30 | 1 | -1/+1 |
| | | | | | | | | | | Don't reopen the samdb for every netlogon packet, and use the system_session(), as we must access data not available to anonymous. Perhaps we should consider a 'authenticated but not system' token, if we want more control on this. Andrew Bartlett (This used to be commit d10c9b71ea7f2670c4ea5ec569bcb7f49ec41362) | ||||
* | Fix creation of sockaddr in netlogon datagram generator. | Andrew Bartlett | 2008-05-21 | 1 | -1/+1 |
| | | | | | | | The previous code sent uninitialised data, and was the wrong length. Andrew Bartlett (This used to be commit 8e070293cfd522b7464be5bc4d8045572d6d996c) | ||||
* | Extend the 'netlogon' CLDAP and NBT implementation. | Andrew Bartlett | 2008-05-21 | 1 | -10/+50 |
| | | | | | | | | | | | This now handles checking if the user exists, including validating the ACB mask on the user. This would be a nasty security hole, if Kerberos did not already expose this information anonymously... Andrew Bartlett (This used to be commit 441b286c00f9a7743cdefeb243545bdbd2c94c5e) | ||||
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local | Andrew Bartlett | 2008-05-20 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | Fix config.mk due to changing syntax. Conflicts: source/libcli/config.mk source/nbt_server/config.mk (This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf) |