summaryrefslogtreecommitdiffstats
path: root/source4/cldap_server
Commit message (Collapse)AuthorAgeFilesLines
* libcli/util Rename common map_nt_error_from_unix to avoid duplicate symbolAndrew Bartlett2011-06-201-1/+1
| | | | | | | | | | | | The two error tables need to be combined, but for now seperate the names. (As the common parts of the tree now use the _common function, errmap_unix.c must be included in the s3 autoconf build). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 20 08:12:03 CEST 2011 on sn-devel-104
* s4-cldap: fixed the CLDAP response for IPv6 clientsAndrew Tridgell2011-06-071-6/+8
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jun 7 08:57:48 CEST 2011 on sn-devel-104
* s4-netlogon: force an IPv4 addressAndrew Tridgell2011-06-071-1/+1
| | | | | this interface is currently V4 only, don't try and return a V6 address in a V4 structure
* s4-ipv6: update callers to load_interface_list()Andrew Tridgell2011-06-062-2/+2
|
* s4-ipv6: use iface_list_wildcard() to listen on IPv6Andrew Tridgell2011-06-061-2/+7
| | | | | when we need to listen on a wildcard address, we now listen on a list of sockets, usually 0.0.0.0 and ::
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-082-7/+7
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij2011-03-191-0/+2
|
* Fix some typesJelmer Vernooij2011-02-281-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
* build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell2011-02-241-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-103-6/+6
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* cldap: Build as shared module.Jelmer Vernooij2010-11-151-0/+1
|
* ldbsamba: Lowercase library name.Jelmer Vernooij2010-11-071-1/+1
|
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-24/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBNETIF to libnetif.Jelmer Vernooij2010-10-231-1/+1
|
* cldapd: Add missing dependency on ldbsamba.Jelmer Vernooij2010-10-101-1/+1
|
* samdb: Add flags argument to samdb_connect().Jelmer Vernooij2010-10-101-1/+1
|
* s4-netlogon: fixed logic for setting DS_SERVER_WRITABLEAndrew Tridgell2010-09-151-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-cldap: don't set the writable bit when we are a RODCAndrew Tridgell2010-09-151-2/+6
| | | | | | | when we are a RODC, don't respond with the writable bit in the server type response of netlogon requests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:cosmetic - the SID attribute is called objectSid - not objectSIDMatthias Dieter Wallnöfer2010-09-131-1/+1
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-162-15/+15
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:cldap_server/rootdse.c - simplify the code a bitMatthias Dieter Wallnöfer2010-06-181-13/+9
| | | | | Remove "NULL"-content variables and use "NULL"s directly as arguments. Add some linewraps where needed.
* s4:cldap_server.c - here the counter variable should be "signed"Matthias Dieter Wallnöfer2010-06-181-2/+1
|
* s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett2010-05-213-2/+1
| | | | | | | It is a problem if a samba header is called ldap.h if we also want to use OpenLDAP's ldap.h Andrew Bartlett
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-7/+3
|
* s4:cldap_server/netlogon.c - handle the domain SID correctlyMatthias Dieter Wallnöfer2010-04-271-7/+21
|
* nbt: samlogon/netlogon structures - unify denominationsMatthias Dieter Wallnöfer2010-04-271-3/+3
|
* s4:fill_netlogon_samlogon_response - reorder assign operations (to be ↵Matthias Dieter Wallnöfer2010-04-271-5/+4
| | | | consistent)
* s4:fill_netlogon_samlogon_response - use "lp_workgroup" for the short ↵Matthias Dieter Wallnöfer2010-04-271-1/+1
| | | | | | netbios domainname This call is only for the DC mode.
* s4-netlogon: fixed getDcNameEx2 for blank inputsAndrew Tridgell2010-04-282-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 Metzmacher2010-04-271-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" callMatthias Dieter Wallnöfer2010-04-271-2/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-cldap: we should set the w2k8 flags even if not the PDC emulatorAndrew Tridgell2010-04-221-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 memoryMatthias Dieter Wallnöfer2010-04-131-1/+3
|
* s4:fill_netlogon_samlogon_reponse - fix a typoMatthias Dieter Wallnöfer2010-04-131-1/+1
|
* s4:dcesrv_netr_DsRGetDCNameEx2 - provide a much better implementationMatthias Dieter Wallnöfer2010-04-131-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 codeMatthias Dieter Wallnöfer2010-04-131-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 memoryMatthias Dieter Wallnöfer2010-04-131-1/+4
|
* s4:use "samdb_forest_name" for the forest DNS domainname lookupMatthias Dieter Wallnöfer2010-04-131-2/+4
|
* Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"Matthias Dieter Wallnöfer2010-04-131-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" functionsMatthias Dieter Wallnöfer2010-04-121-1/+1
| | | | Purely cosmetic change.
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-061-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 Tridgell2010-04-061-0/+2
| | | | them
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+18
|
* s4:cldap_server - make it "signed-safe"Matthias Dieter Wallnöfer2010-02-252-2/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-server: use GUID_to_ndr_blob() in cldap and smb serversAndrew Tridgell2009-12-101-5/+3
|
* s4-dsdb: added dsdb_functional_level() helper functionAndrew Tridgell2009-12-091-3/+1
|
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-231-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 DSDBMatthias Dieter Wallnöfer2009-10-181-2/+2
|
* s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where neededMatthias Dieter Wallnöfer2009-10-141-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.