summaryrefslogtreecommitdiffstats
path: root/source3/nmbd
Commit message (Collapse)AuthorAgeFilesLines
* Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-231-3/+10
| | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
* Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c groupJeremy Allison2002-11-151-0/+16
| | | | | | release. Jeremy. (This used to be commit 7d9552e9c58e533f451a720c9c9c54b8abf3a454)
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-1218-295/+158
| | | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
* Last sync with HEADJelmer Vernooij2002-11-091-5/+0
| | | | (This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
* Sync with HEADJelmer Vernooij2002-11-091-101/+29
| | | | (This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
* Ensure we register the 1c name on the unicast subnet.Jeremy Allison2002-10-081-0/+10
| | | | | Jeremy. (This used to be commit e1ea20d2d14b9671503eeeccddc7683cc94371c0)
* Merging tridge's wins fixes. Tridge - we're supposed to be keeping 3.0 upJeremy Allison2002-10-031-2/+2
| | | | | | to date :-). Jeremy. (This used to be commit 5959f35db6b4b23c591799dad7587e6616e5a998)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-252-2/+7
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* sync 3.0 branch with headJelmer Vernooij2002-08-177-30/+146
| | | | (This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-1511-975/+1036
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* nmbd handle shutdown message.Jean-François Micouleau2002-03-291-0/+10
| | | | | J.F. (This used to be commit c33459f7018a2522158b20261ab8c100fdde9034)
* Fix to stop PERMANENT_NAMES being added when nmbd starts up and WINSJeremy Allison2002-03-291-5/+34
| | | | | | server is down. Keep adding refreshible names instead. Jeremy. (This used to be commit f25fcd99fa0d0ec2095d9db42145d236c14748e0)
* Make winbindd_idmap tdb endian independent. This is very important forJeremy Allison2002-03-211-5/+5
| | | | | | | | | sharing between machines with rsync. Finally removed tdb_store_int/tdb_fetch_int. Now only tdb_store_int32/tdb_fetch_int32 which are endian independent are allowed. Jeremy. (This used to be commit 1c4a00dcc13f4a7c5876a5cf63ca730190d1132e)
* Add assertions that kill() is never accidentally passed a non-positiveMartin Pool2002-03-201-2/+3
| | | | | | | | | | pid. This follows a bug in rsync where it would accidentally kill(-1), removing all the user's processes. I can't see any way this would directly happen in Samba, but having the assertions seems beneficial. http://cvs.samba.org/cgi-bin/cvsweb/rsync/util.c.diff?r1=1.108&r2=1.109&f=h (This used to be commit 098905bea29c7d5b886809d431294ddf2fc1e152)
* Removed unused static function.Tim Potter2002-03-051-18/+0
| | | | (This used to be commit 472acd89b2bf5ec2a471957aaff42e560053f60e)
* Cause nmbd to take signal processing in-band, rather than inJeremy Allison2002-03-011-339/+368
| | | | | | signal handlers. THIS NEEDS TESTING ! Jeremy. (This used to be commit 166d2a6144f929baecd83bdd855f6ada06cb51a6)
* Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison2002-01-311-1/+1
| | | | | | | processing work correctly in winbindd. This is a really good patch that gives full select semantics to the Samba modified select. Jeremy. (This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
* Removed version number from file header.Tim Potter2002-01-3027-52/+27
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* 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. (This used to be commit b902e087d06c32797af19021a7f56895d86d7364)
* remove unused variableJean-François Micouleau2002-01-251-1/+0
| | | | | J.F. (This used to be commit ca7665c6b3618d3160bbd8e55ab56a8783cf8934)
* Ensure (C) message is output on startup.Jeremy Allison2002-01-181-2/+2
| | | | | Jeremy. (This used to be commit 7d05175494227bf30d098e04ec91c4f0a7b7184c)
* Tidyup & code refactoring from Martin.Sheppard@csiro.au.Jeremy Allison2002-01-181-26/+23
| | | | | Jeremy. (This used to be commit 85da18e46e607aa593b7c55f2c7eddd1c3769673)
* Fix name register bug with non-existent wins server.Jeremy Allison2002-01-161-32/+29
| | | | | Jeremy. (This used to be commit 4e41780c21d9a6c056104f952e720a79c830c65e)
* Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison2002-01-114-15/+15
| | | | | Jeremy. (This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
* When running interactive we want to set our own process group forJeremy Allison2001-12-301-0/+9
| | | | | | signal management. Jeremy. (This used to be commit fffae94dd5699f44c0b1c8081587deafd89b3fc0)
* Fixup -i interactive modes.Jeremy Allison2001-12-291-5/+6
| | | | | Jeremy. (This used to be commit 9343b613d3778b0330bc4d610d3befd363797360)
* 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. (This used to be commit 22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)
* 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. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
* added -i option to nmbd, giving interactive mode (like winbindd)Andrew Tridgell2001-11-271-3/+8
| | | | (This used to be commit 1a30efdc2c7e5b385197bbfbcebac6a7305929b8)
* 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); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
* 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. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
* LMHOSTSFILE is now dynamically configured too.Martin Pool2001-11-191-12/+3
| | | | (This used to be commit a779710fff5fddcbf65a8ddc8e9169b586b85481)
* Store some path names in global variables initialized to configureMartin Pool2001-11-191-7/+5
| | | | | default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
* Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-).Jeremy Allison2001-10-082-2/+3
| | | | | Jeremy. (This used to be commit 129c640810bdf9ce2942e682d3d6fcca01a13488)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-0227-50/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* How often did I read the CVS commit messageVolker Lendecke2001-09-271-1/+1
| | | | | | | "Always compile before commit" :-(( Volker (This used to be commit 69a3277fc5be35536168ba195968b8b76f0b5954)
* From 2.2.Volker Lendecke2001-09-261-0/+6
| | | | | Volker (This used to be commit 50ea73426f58070859bbbe769c8353a11ff33dc9)
* move to SAFE_FREE()Simo Sorce2001-09-1714-39/+37
| | | | (This used to be commit 1446a1562b1c618c023b056f476e26da7ee3d532)
* convert more code to use XFILEAndrew Tridgell2001-09-104-46/+45
| | | | (This used to be commit fd24265c06f6d2b636c1863941a33029dd9f3828)
* convert more code to use XFILEAndrew Tridgell2001-09-103-10/+10
| | | | (This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
* declare dbf in one spotAndrew Tridgell2001-09-101-1/+0
| | | | (This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
* 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. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-062-2/+2
| | | | (This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
* merge profile data changes from 2.2Herb Lewis2001-09-053-26/+65
| | | | (This used to be commit c105859304e93297fa29f346e9cbd1af0c95048b)
* Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message isTim Potter2001-08-281-8/+34
| | | | | received. (This used to be commit b7cf14bf84a19da8a5b8fe9895ce78f138b5379c)
* 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. (This used to be commit 5b975d3a9cea39e9992a9b556b8a6d9d3ec14807)
* 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. (This used to be commit 0777ebc04b838b6b9036a5d0a6e0565bb0a65d9f)
* Process the SAM/UAS change notification message.Tim Potter2001-08-241-0/+73
| | | | (This used to be commit efcbcfaa48d36063c974c20692ee2c38d09d2216)
* Only register the #1b name if we are ROLE_DOMAIN_PDC rather thanTim Potter2001-08-241-1/+1
| | | | | lp_domain_master() (This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)
* Fixes for varargs problems with std c.Jeremy Allison2001-07-304-13/+13
| | | | | | Fix from Rick Lake <rwlake@anp.nl> for QNX. Jeremy. (This used to be commit c13b77eb35fe51403a51e1a146cedc643e550de7)