summaryrefslogtreecommitdiffstats
path: root/source3/nmbd/nmbd_processlogon.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:nmbd: s/event_add_timed/tevent_add_timerStefan Metzmacher2013-02-191-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:nmbd: s/struct timed_event/struct tevent_timerStefan Metzmacher2013-02-191-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:nmbd: s/struct event_context/struct tevent_contextStefan Metzmacher2013-02-191-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3: Fix Coverity ID 2686 -- RESOURCE_LEAKVolker Lendecke2012-04-191-0/+1
|
* s3-nmbd Remove AD netlogon response from s3 nmbd serverAndrew Bartlett2011-11-171-92/+15
| | | | | | | | | | | | | | | I do not want users with misconfigurations to have nmbd respond with this partially correct packet. For example, it hardcodes the site as Default-First-Site-Name. If nmbd wishes to return this information, it would need to query the AD database using the same APIs that the source4/ nbt server does. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Nov 17 02:10:54 CET 2011 on sn-devel-104
* s3-param remove lp_domain_logons(), always use IS_DCAndrew Bartlett2011-11-171-1/+1
| | | | | | | | This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
* libcli/cldap: don't pass tevent_context to cldap_socket_init()Stefan Metzmacher2011-10-101-2/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 10 23:23:07 CEST 2011 on sn-devel-104
* libcli/cldap: pass tevent_context to cldap_netlogon_send()Stefan Metzmacher2011-10-101-1/+1
| | | | metze
* s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett2011-06-091-9/+9
| | | | | | | | There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* lib/util/time.c: timeval_current_ofs_msecRusty Russell2011-06-011-2/+1
| | | | | | | | | | Several places want "milliseconds from current time", and several were simply doing "msec * 1000" which can (and does in one place) result in a usec value over 1 a million. Using a helper to do this is safer and more readable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* More simple const fixes.Jeremy Allison2011-05-051-3/+3
|
* More const compiler warning fixes.Jeremy Allison2011-05-051-1/+1
|
* netlogon: move netlogon helpers to ../libcli/netlogon.Günther Deschner2011-01-071-1/+1
| | | | Guenther
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.Günther Deschner2010-09-091-1/+1
| | | | Guenther
* s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.Günther Deschner2010-09-091-301/+94
| | | | Guenther
* s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.Günther Deschner2010-09-091-109/+33
| | | | | | Couldn't find any reproducer for a short request, so removing it for now. Guenther
* s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.Günther Deschner2010-09-091-47/+29
| | | | Guenther
* s3-nmbd: handle source_name in one location in nmbd_process_logon().Günther Deschner2010-09-091-5/+4
| | | | Guenther
* s3-nmbd: use nbt_netlogon_packet in process_logon_packet().Günther Deschner2010-09-091-5/+24
| | | | Guenther
* s3-nmbd: fix indentation in process_logon_packet().Günther Deschner2010-09-081-523/+519
| | | | | | purely cosmetic, no code change. Guenther
* s3-nmbd: remove trailing whitespace in nmbd_processlogon.cGünther Deschner2010-09-081-9/+9
| | | | Guenther
* s3-nmbd: move nmbd proto out of main proto.hGünther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3: remove unused librpc/ndr/sid.c.Günther Deschner2010-06-031-0/+1
| | | | Guenther
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-3/+3
|
* s3:nmbd: fix typoBjörn Jacke2009-05-281-1/+1
|
* Fix Coverity bug #902, uninitialized variable.Jeremy Allison2009-04-231-1/+1
| | | | Jeremy.
* s3:nmbd: implement a MAILSLOT => CLDAP proxy for NETLOGON_SAMLOGON requestsStefan Metzmacher2009-03-211-0/+238
| | | | | | | | | | This will be used as part a the franky setup, where nmbd will forward the MAILSLOT requests to the local samba4 CLDAP server. "nmbd_proxy_logon:cldap_server = 127.0.0.1" would configure and activate this feature. metze
* Replace get_myname() with the talloc version from v3-3-testVolker Lendecke2009-02-131-1/+1
|
* s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher2009-01-051-2/+1
| | | | metze
* Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij2008-10-231-1/+1
| | | | | otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-1/+1
|
* s3-nbt: remove double nbt netlogon opcodes.Günther Deschner2008-09-251-15/+15
| | | | Guenther
* fix build warning.Günther Deschner2008-08-201-1/+1
| | | | | Guenther (This used to be commit a75055be5ff7ebe3476cfac86c6597a56a843c23)
* nmbd: add support for delayed initial samlogon packages.Michael Adam2008-08-091-6/+86
| | | | | | | | | | | | | | The hosts or networks configured with "init logon delayed hosts" have their initial samlogon packages (empty username) delayed by the value configured with "init logon delay" (defaulting to 100 milliseconds). This gives the administrator some control over what clients would consider the preferred logon server: they choose the server that repsonds most quickly. Michael (This used to be commit d52b9beede1fb14e1d7e3acd9765d6cd14dfcc3d)
* cldap: avoid duplicate definitions so remove ads_cldap.h.Günther Deschner2008-04-211-2/+2
| | | | | Guenther (This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
* strtok -> strtok_rVolker Lendecke2008-01-231-1/+2
| | | | (This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
* Remove pstring from nmbd.Jeremy Allison2007-11-191-12/+12
| | | | | Jeremy. (This used to be commit a317f70c229f7730279eaa323f7ebfd499257f76)
* Remove more pstring/fstrings.Jeremy Allison2007-11-081-2/+7
| | | | | Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
* Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison2007-11-081-2/+7
| | | | | Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2007-10-101-4/+17
| | | | | | | | | | | IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
* r25238: Make the error returns from the string functionsJeremy Allison2007-10-101-3/+27
| | | | | | | | | always consistent. Return -1 on error, and ensure we check for this. In cases where the dest is already specified and we've been asked to terminate with a null, ensure we always do so even on error. Jeremy. (This used to be commit abedd967869ade9a43c3a8e1b889c60d4aca81cf)
* r25170: Remove pstring limits from ms_fnmatch and module load.Jeremy Allison2007-10-101-4/+4
| | | | | Jeremy. (This used to be commit 764574ee05ea4f13cdd30c0a0668ffeb81756989)
* r25138: More pstring elimination. Add a TALLOC_CTX parameterJeremy Allison2007-10-101-17/+82
| | | | | | to unix_convert(). Jeremy. (This used to be commit 39c211a702e91c34c1a5a689e1b0c4530ea8a1ac)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23783: Processing the UAS change message was causing problems on ppc64 LinuxAndrew Tridgell2007-10-101-108/+2
| | | | | | | | | systems. Rather than trying to fix this, it's much better just to remove the code, as it serves no purpose at all (the message that is generated is ignored by smbd). This sort of parsing should really be done by PIDL generated code. (This used to be commit 22e8404cef4961f7468a9f24e23024c827233b84)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)