summaryrefslogtreecommitdiffstats
path: root/source3/nmbd/nmbd_processlogon.c
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke2007-10-101-1/+1
| | | | | | | | | | | | doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
* r22911: Pass a messaging_context to message_send_allVolker Lendecke2007-10-101-2/+2
| | | | (This used to be commit cc92ce665dcfe9054d09429219883b18a4cab090)
* r22761: This introduces lib/conn_tdb.c with two main functions: ↵Volker Lendecke2007-10-101-15/+1
| | | | | | | | | | connections_traverse and connections_forall. This centralizes all the routines that did individual tdb_open("connections.tdb") and direct tdb_traverse. Volker (This used to be commit e43e94cda1ad8876b3cb5d1129080b57fa6ec214)
* r22045: As Volker noticed, skip_string's last argument isJeremy Allison2007-10-101-10/+10
| | | | | | redundent. Remove it. Jeremy. (This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5)
* r22042: Try and clean up my own mess using the API VolkerJeremy Allison2007-10-101-1/+1
| | | | | | | | | | | | | | | suggested. I now use : BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) Volker, please criticize and comment. Thanks, Jeremy. (This used to be commit d47af7c9263f519e7307859b6a696d854c5dfca3)
* r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,Jeremy Allison2007-10-101-19/+19
| | | | | | but I've no option. Jeremy. (This used to be commit c3a565081d70b209a4f9e6e8f1859bf7194a5f74)
* r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher2007-10-101-3/+3
| | | | | | | | | which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
* r18660: Fix build, one uuid->GUID was missed.Jim McDonough2007-10-101-1/+1
| | | | (This used to be commit f8ea2069d444a6630b61828999605a3ed011db02)