summaryrefslogtreecommitdiffstats
path: root/source4/cldap_server
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* s4-cldap: match w2k8-r2 for cldap netlogon bitsAndrew Tridgell2009-10-021-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 SAMAndrew Tridgell2009-09-231-0/+5
|
* s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2009-09-181-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 Deschner2009-07-131-1/+1
| | | | Guenther
* Fix more unresolved symbols.Jelmer Vernooij2009-06-021-6/+12
|
* Don't use crossRef records to find our own domainAndrew Bartlett2009-05-261-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 tsocketStefan Metzmacher2009-03-193-56/+76
| | | | metze
* s4:cldap: s/private/private_dataStefan Metzmacher2009-02-022-2/+2
| | | | metze
* Fix missing symbols issues when building with shared libraries.Jelmer Vernooij2008-12-221-1/+1
|
* idl: finally fully share nbt.idl in s3 and s4.Günther Deschner2008-10-151-3/+3
| | | | Guenther
* Sync with Samba 3.Jelmer Vernooij2008-10-141-1/+1
|
* Merge commit 'master/master'Andrew Tridgell2008-10-031-40/+40
|\
| * The IRIX compiler does not like embedded unnamed unionsVolker Lendecke2008-10-021-40/+40
| |
* | fixed the sense of ldb base dn comparisons in two places, and use aAndrew Tridgell2008-10-021-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 windowsAndrew Tridgell2008-10-021-8/+9
|/ | | | CDLAP client ignores replies from the wrong IP
* LDB ASYNC: misc changesSimo Sorce2008-09-291-12/+9
|
* Rename smbd -> samba.Jelmer Vernooij2008-09-241-1/+1
| | | | | | | | This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
* Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2008-09-231-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 codeAndrew Tridgell2008-08-221-2/+2
| | | | (This used to be commit 7dce38f9897df02073132f18b1021e0d0636590c)
* Validate input in the CLDAP and DGRAM 'netlogon' responder.Andrew Bartlett2008-08-211-7/+37
| | | | (This used to be commit 682ca3cae1d5e796bc58142f79c99d43742ac85c)
* Add extra bits to our 'netlogon' response in CLDAP and NBT.Matthias Dieter Wallnöfer2008-08-201-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 Bartlett2008-06-301-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 Bartlett2008-05-211-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 Bartlett2008-05-211-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-localAndrew Bartlett2008-05-201-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)
| * Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-181-1/+1
| | | | | | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
| * Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-181-1/+1
| | | | | | | | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
| * Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-181-1/+1
| | | | | | | | (This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
* | Handle netbios domains in the CLDAP server too.Andrew Bartlett2008-05-171-8/+64
| | | | | | | | | | | | | | | | This commit also fixes a number of issues found by the NBT-DGRAM and LDAP-CLDAP tests. Andrew Bartlett (This used to be commit 8f99a4b94e95f8bde0f80f92d4e57020c62cfaab)
* | Convert the CLDAP server to use the new netlogon structures.Andrew Bartlett2008-05-171-95/+98
|/ | | | | | | | | This also makes the CLDAP server the place where we create the NETLOGON SAMLOGON replies, regardless of protocol (NBT mailslots or CLDAP). Andrew Bartlett (This used to be commit 8b00a9429470c9ad3646255c340e6a963bd226bd)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-252-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
| * Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-1/+1
| | | | | | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
| * Move object files lists to makefile rather than smb_build.Jelmer Vernooij2008-04-141-4/+6
| | | | | | | | (This used to be commit 5628d58990144463fd87f8c847c9384ac2193681)
| * Remove prototypes from build.h in preparation of removing build.hJelmer Vernooij2008-04-141-1/+1
| | | | | | | | | | altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-081-0/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
| * cldap_server: fix compiler warningStefan Metzmacher2008-03-281-0/+2
| | | | | | | | | | metze (This used to be commit a6cd4e7509dbd1aef4873c7c0eef2a13bc907880)
* | Fix the build.Jelmer Vernooij2008-03-081-1/+1
| | | | | | | | (This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
* | Fix the build.Jelmer Vernooij2008-03-041-1/+1
| | | | | | | | (This used to be commit 49ef8d0c197fa61dc5c524e4a0f569af72d3c0e9)
* | Move object file lists to the Makefile.Jelmer Vernooij2008-03-031-4/+6
|/ | | | (This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
* Remove yet more uses of global_loadparm.Jelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
* Remove useless layer of indirection, where every service calledAndrew Bartlett2008-02-041-10/+1
| | | | | | | | task_service_init() manually. Now this is called from service.c for all services. Andrew Bartlett (This used to be commit 9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
* Rework service init functions to pass down service name. This isAndrew Bartlett2008-02-041-1/+1
| | | | | | | | needed to change prefork behaviour based on what service is being started. Andrew Bartlett and David Disseldorp (This used to be commit 0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
* r26681: Use fewer magic numbers.Andrew Bartlett2008-01-061-2/+2
| | | | | Andrew Bartlett (This used to be commit 16edbe1d607390227652ee97a000da98c696c735)
* r26680: Don't always advertise GC functionality.Andrew Bartlett2008-01-061-1/+4
| | | | | Andrew Bartlett (This used to be commit 2f228bcbf63af98ff2d0f498f48d49d0f2926343)
* r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij2008-01-051-1/+1
| | | | (This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
* r26649: Only claim to be a PDC if we are a PDC.Andrew Bartlett2008-01-031-1/+5
| | | | | Andrew Bartlett (This used to be commit fc5746ae95e5a0b751ec19cae1f204c505f4ca27)
* r26402: Require a talloc context in libnetif.Jelmer Vernooij2007-12-212-2/+2
| | | | (This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)