summaryrefslogtreecommitdiffstats
path: root/source/nmbd
Commit message (Collapse)AuthorAgeFilesLines
* Removed version number from file header.Tim Potter2002-01-3027-52/+27
| | | | 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-253-267/+627
| | | | | | | | | | | | 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.
* remove unused variableJean-François Micouleau2002-01-251-1/+0
| | | | J.F.
* Ensure (C) message is output on startup.Jeremy Allison2002-01-181-2/+2
| | | | Jeremy.
* Tidyup & code refactoring from Martin.Sheppard@csiro.au.Jeremy Allison2002-01-181-26/+23
| | | | Jeremy.
* Fix name register bug with non-existent wins server.Jeremy Allison2002-01-161-32/+29
| | | | Jeremy.
* Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-114-15/+15
| | | | 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.
* Add an output parameter to message_send_all that says how manyMartin Pool2001-12-211-1/+1
| | | | | | messages were sent, so you know how many replies to expect. Const and doc religion.
* 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-269-22/+13
| | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip);
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-231-2/+0
| | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean.
* LMHOSTSFILE is now dynamically configured too.Martin Pool2001-11-191-12/+3
|
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-7/+5
| | | | default, rather than in preprocessor macros.
* Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-).Jeremy Allison2001-10-082-2/+3
| | | | Jeremy.
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-0227-50/+0
|
* How often did I read the CVS commit messageVolker Lendecke2001-09-271-1/+1
| | | | | | "Always compile before commit" :-(( Volker
* From 2.2.Volker Lendecke2001-09-261-0/+6
| | | | Volker
* move to SAFE_FREE()Simo Sorce2001-09-1714-39/+37
|
* convert more code to use XFILEAndrew Tridgell2001-09-104-46/+45
|
* convert more code to use XFILEAndrew Tridgell2001-09-103-10/+10
|
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+0
|
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-101-2/+2
| | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default.
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-062-2/+2
|
* merge profile data changes from 2.2Herb Lewis2001-09-053-26/+65
|
* Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message isTim Potter2001-08-281-8/+34
| | | | received.
* Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_serverChristopher R. Hertel2001-08-262-2/+2
| | | | to determine whether the 'wins server' parameter is set.
* Instead of checking lp_wins_server() to see if a WINS server was specified,Christopher R. Hertel2001-08-261-5/+8
| | | | | | | | nmbd now calls wins_srv_count(). This returns the number of WINS servers specified in the 'wins server' parameter. The return value will be zero if 'wins server' is not specified. Quick change to make room for WINS failover.
* Process the SAM/UAS change notification message.Tim Potter2001-08-241-0/+73
|
* Only register the #1b name if we are ROLE_DOMAIN_PDC rather thanTim Potter2001-08-241-1/+1
| | | | lp_domain_master()
* Fixes for varargs problems with std c.Jeremy Allison2001-07-304-13/+13
| | | | | Fix from Rick Lake <rwlake@anp.nl> for QNX. Jeremy.
* Fixes from Jens-Uwe.Walther@force.de to make the -l option behaveJeremy Allison2001-07-171-1/+1
| | | | | consistently. Jeremy.
* Andrew B and I were commiting the same fix at the same time in differentChristopher R. Hertel2001-07-101-4/+1
| | | | | | | trees. This change simply brings HEAD and 2.2 in line with one another. Otherwise the code would be differnt but the meaning would be the same, which is awkward. Chris 'fifty-seven commits per line changed' Hertel -)-----
* Fix tree breakage, the last change was entirly non-portable, and we alreadyAndrew Bartlett2001-07-101-1/+3
| | | | have this nice variable to do exactly this...
* Fix from John Malmberg. When I added the additional information to theChristopher R. Hertel2001-07-101-0/+3
| | | | | | | debug block that reports multiple query responses I did not notice that the local answer_ip variable was only selectively set. Chris -)-----
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-043-8/+8
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-044-23/+11
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* - sorry, forgot to test a pointerSimo Sorce2001-07-031-21/+26
|
* "netbios aliases" and "interfaces" options change from P_STRING to P_LISTSimo Sorce2001-07-011-13/+15
|
* Added info to some of the debug messages to get a better handle on a problemChristopher R. Hertel2001-06-281-24/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | people are reporting regarding multiple responses to queries on <1D> names. There should only ever be one LMB but some users are seeing multiple replies to queries for the LMB name. This is probably due to nodes on the LAN that have NetBIOS over NetBEUI and/or IPX enabled. Previously, the debug message did not include the IP address associated with the name. It *did* include the source address of the packet, but in the examples I've seen all of these were the same, eg: [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (2) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (3) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (4) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (5) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 Note that all of the above are reported as having come from 129.130.10.24. This should never happen. If 129.130.10.24 is a WINS server it should send a Negative Name Query Response for a <1D> name query (wierd but true). So, are all of the above coming from different systems, all of which think are the LMB? Are they all coming from one system that is, for some strange reason, replying five times to the same query? Anyway, I needed more info so I've changed the debug messages. Chris -)-----
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-251-1/+1
| | | | instead of a define
* Mismatched format and args.Jeremy Allison2001-04-271-1/+1
| | | | Jeremy.
* More paranioa fixes against nmbd lengths.Jeremy Allison2001-04-251-7/+7
| | | | Jeremy.
* Fix bad length in dgram.Jeremy Allison2001-04-241-0/+7
| | | | Jeremy.
* Patch for nmbd core dump in printing debug packets. No length check.Jeremy Allison2001-04-241-3/+5
| | | | Jeremy.
* Merge of Andrew's changes in 2.2.Jeremy Allison2001-04-131-1/+1
| | | | Jeremy.
* As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison2001-04-131-1/+1
| | | | | be read. Jeremy.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-082-5/+5
| | | | Jeremy.