summaryrefslogtreecommitdiffstats
path: root/source/nmbd/nmbd.c
Commit message (Collapse)AuthorAgeFilesLines
* r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error messageJames Peach2007-10-101-2/+0
| | | | in core dump path.
* r16576: Fix Klocwork #2015. Possible null deref.Jeremy Allison2007-10-101-0/+5
| | | | Jeremy.
* r15700: Make nmbd udp sockets non-blocking to prevent problemJeremy Allison2007-10-101-0/+4
| | | | | | with select returning true but no data being available. Fix for bug #3779. Jeremy.
* r14898: This change is an attempt to improve the quality of the information thatJames Peach2007-10-101-40/+1
| | | | | | | | | | | | | | | | | is produced when a process exits abnormally. First, we coalesce the core dumping code so that we greatly improve our odds of being able to produce a core file, even in the case of a memory fault. I've removed duplicates of dump_core() and split it in two to reduce the amount of work needed to actually do the dump. Second, we refactor the exit_server code path to always log an explanation and a stack trace. My goal is to always produce enough log information for us to be able to explain any server exit, though there is a risk that this could produce too much log information on a flaky network. Finally, smbcontrol has gained a smbd fault injection operation to test the changes above. This is only enabled for developer builds.
* r14618: add --no-process-group to all server programmsStefan Metzmacher2007-10-101-2/+4
| | | | | | | | | | | to make the following possible: timelimit 20000 bin/nmbd -F -S --no-process-group timelimit 20000 bin/smbd -F -S --no-process-group this is needed to 'make test' working without losing child processes metze
* r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()Gerald Carter2007-10-101-1/+1
| | | | macro which sets the freed pointer to NULL.
* r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman2007-10-101-1/+1
| | | | | | | | | | | | lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.)
* r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file ↵Gerald Carter2007-10-101-3/+4
| | | | (-H) in nmbd. Patch from Andrew Esh <Andrew_Esh@adaptec.com>
* r12564: Ensure load_case_tables is always done first.Jeremy Allison2007-10-101-0/+2
| | | | Jeremy.
* r12107: Move to a tdb-based wins database. At the moment we stillJeremy Allison2007-10-101-1/+4
| | | | | | use it as though it were an in-memory db and dump out to a flat file every 2 mins, but that can now change. Jeremy.
* r11566: From metze. Use "interpret_addr(lp_socket_address())" for port 138.Jeremy Allison2007-10-101-1/+3
| | | | Jeremy.
* r11511: A classic "friday night check-in" :-). This moves muchJeremy Allison2007-10-101-0/+2
| | | | | | | | | | | | | | | | of the Samba4 timezone handling code back into Samba3. Gets rid of "kludge-gmt" and removes the effectiveness of the parameter "time offset" (I can add this back in very easily if needed) - it's no longer being looked at. I'm hoping this will fix the problems people have been having with DST transitions. I'll start comprehensive testing tomorrow, but for now all modifications are done. Splits time get/set functions into srv_XXX and cli_XXX as they need to look at different timezone offsets. Get rid of much of the "efficiency" cruft that was added to Samba back in the day when the C library timezone handling functions were slow. Jeremy.
* r10822: updating copyright infoGerald Carter2007-10-101-1/+1
|
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-8/+13
| | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck)
* r9790: remove 'set but not used' variables (reported by Jason Mader)Gerald Carter2007-10-101-2/+1
|
* r7440: * merge registry server changes from trunk (so far) for moreGerald Carter2007-10-101-2/+2
| | | | | | printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync
* r7415: * big change -- volker's new async winbindd from trunkGerald Carter2007-10-101-0/+51
|
* r6225: get rid of warnings from my compiler about nested externsHerb Lewis2007-10-101-2/+2
|
* r2470: Fix bug 1797: winbind and nmbd ignored "-l" option.Volker Lendecke2007-10-101-2/+6
| | | | | | Thanks to Igor Zhbanov bsg@uniyar.ac.ru. Volker
* update copyright to -2004Stefan Metzmacher2004-01-111-1/+1
| | | | metze
* This binds the nmbd sending socket to the 'socket address'.Volker Lendecke2003-11-011-2/+2
| | | | | | | Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that time. Now it hit me at a customer's site... Volker
* Fix the character set handling properly in nmbd. Also fix bug whereJeremy Allison2003-08-271-1/+2
| | | | | | | iconv wasn't re-initialised on reading of "charset" parameters. This caused workgroup name to be set incorrectly if it contained an extended character. Jeremy.
* Half-way though the big conversion of all nmbd access to wire elements beingJeremy Allison2003-08-231-105/+100
| | | | | | | converted to pull/push_ascii. This will not work right at the moment for non English codepages, but compiles - I will finish the work over the weekend. Then nmbd should be completely codepage correct. Jeremy.
* metze's autogenerate patch for version.hGerald Carter2003-08-201-1/+1
|
* Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, ↵Alexander Bokovoy2003-07-151-5/+26
| | | | nmbd, winbindd). Reviewed by jerry and tridge.
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-2/+0
|
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-0/+2
| | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in.
* As nobody really objected to this patch, I opted to create facts :-)Volker Lendecke2003-04-251-1/+3
| | | | | | | | | | This uses 'socket address' as the source address for nmbd. This way we can again synchronize with the DMB if we have 'bind interfaces only' to a virtual interface. I'd love to see this in 2.2.9, but that is up to jerry or jra. Volker
* fixed the popt option handling in nmbd, so that -i now worksAndrew Tridgell2003-04-161-34/+37
|
* Merge:Tim Potter2003-04-141-20/+0
| | | | - debugging tdb messages now initialised and handled in lib/messages.c
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-12/+3
|
* update copyright notice since it we are now almost 4 months into 2003Gerald Carter2003-03-301-1/+1
|
* Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett2003-03-181-1/+1
| | | | | | | | | 'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett
* patch to include support for daemontools from Michael HandlerGerald Carter2003-01-031-3/+21
|
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-0/+20
| | | | | named. Ensure we can query them. Jeremy.
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-100/+2
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* Last sync with HEADJelmer Vernooij2002-11-091-5/+0
|
* Sync with HEADJelmer Vernooij2002-11-091-101/+29
|
* sync 3.0 branch with headJelmer Vernooij2002-08-171-3/+8
|
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-14/+5
|
* nmbd handle shutdown message.Jean-François Micouleau2002-03-291-0/+10
| | | | J.F.
* Cause nmbd to take signal processing in-band, rather than inJeremy Allison2002-03-011-339/+368
| | | | | signal handlers. THIS NEEDS TESTING ! Jeremy.
* Removed version number from file header.Tim Potter2002-01-301-1/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* rewrote nmbd's wins backend to use a tdb instead of a flat text file.Jean-François Micouleau2002-01-251-0/+1
| | | | | | | | | | | | Changed the way the wins record are handled in memory. Now they are living much longer with the different states: active, released and tombstone. Also added a version ID, some wins flags and the wins owner ip address to the namrec->data struct, and a function to process messages sent by the wins replication daemon. the initiate_wins_processing() function is not correct, I'll fix it later. J.F.
* Ensure (C) message is output on startup.Jeremy Allison2002-01-181-2/+2
| | | | Jeremy.
* When running interactive we want to set our own process group forJeremy Allison2001-12-301-0/+9
| | | | | signal management. Jeremy.
* Fixup -i interactive modes.Jeremy Allison2001-12-291-5/+6
| | | | Jeremy.
* Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison2001-12-201-5/+6
| | | | | Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy.
* added -i option to nmbd, giving interactive mode (like winbindd)Andrew Tridgell2001-11-271-3/+8
|
* Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter2001-11-261-2/+0
| | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip);