summaryrefslogtreecommitdiff
path: root/source3/nmbd
AgeCommit message (Collapse)AuthorFilesLines
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter2-2/+7
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3.0 branch with headJelmer Vernooij7-30/+146
(This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell11-975/+1036
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-03-29nmbd handle shutdown message.Jean-François Micouleau1-0/+10
J.F. (This used to be commit c33459f7018a2522158b20261ab8c100fdde9034)
2002-03-29Fix to stop PERMANENT_NAMES being added when nmbd starts up and WINSJeremy Allison1-5/+34
server is down. Keep adding refreshible names instead. Jeremy. (This used to be commit f25fcd99fa0d0ec2095d9db42145d236c14748e0)
2002-03-21Make winbindd_idmap tdb endian independent. This is very important forJeremy Allison1-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)
2002-03-20Add assertions that kill() is never accidentally passed a non-positiveMartin Pool1-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)
2002-03-05Removed unused static function.Tim Potter1-18/+0
(This used to be commit 472acd89b2bf5ec2a471957aaff42e560053f60e)
2002-03-01Cause nmbd to take signal processing in-band, rather than inJeremy Allison1-339/+368
signal handlers. THIS NEEDS TESTING ! Jeremy. (This used to be commit 166d2a6144f929baecd83bdd855f6ada06cb51a6)
2002-01-31Fix from Michael Steffens <michael_steffens@hp.com> to make signalJeremy Allison1-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)
2002-01-30Removed version number from file header.Tim Potter27-52/+27
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-25rewrote nmbd's wins backend to use a tdb instead of a flat text file.Jean-François Micouleau3-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)
2002-01-25remove unused variableJean-François Micouleau1-1/+0
J.F. (This used to be commit ca7665c6b3618d3160bbd8e55ab56a8783cf8934)
2002-01-18Ensure (C) message is output on startup.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 7d05175494227bf30d098e04ec91c4f0a7b7184c)
2002-01-18Tidyup & code refactoring from Martin.Sheppard@csiro.au.Jeremy Allison1-26/+23
Jeremy. (This used to be commit 85da18e46e607aa593b7c55f2c7eddd1c3769673)
2002-01-16Fix name register bug with non-existent wins server.Jeremy Allison1-32/+29
Jeremy. (This used to be commit 4e41780c21d9a6c056104f952e720a79c830c65e)
2002-01-11Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison4-15/+15
Jeremy. (This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
2001-12-30When running interactive we want to set our own process group forJeremy Allison1-0/+9
signal management. Jeremy. (This used to be commit fffae94dd5699f44c0b1c8081587deafd89b3fc0)
2001-12-29Fixup -i interactive modes.Jeremy Allison1-5/+6
Jeremy. (This used to be commit 9343b613d3778b0330bc4d610d3befd363797360)
2001-12-21Add an output parameter to message_send_all that says how manyMartin Pool1-1/+1
messages were sent, so you know how many replies to expect. Const and doc religion. (This used to be commit 22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)
2001-12-20Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison1-5/+6
Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
2001-11-27added -i option to nmbd, giving interactive mode (like winbindd)Andrew Tridgell1-3/+8
(This used to be commit 1a30efdc2c7e5b385197bbfbcebac6a7305929b8)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter9-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)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter1-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)
2001-11-19LMHOSTSFILE is now dynamically configured too.Martin Pool1-12/+3
(This used to be commit a779710fff5fddcbf65a8ddc8e9169b586b85481)
2001-11-19Store some path names in global variables initialized to configureMartin Pool1-7/+5
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-08Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-).Jeremy Allison2-2/+3
Jeremy. (This used to be commit 129c640810bdf9ce2942e682d3d6fcca01a13488)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter27-50/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-27How often did I read the CVS commit messageVolker Lendecke1-1/+1
"Always compile before commit" :-(( Volker (This used to be commit 69a3277fc5be35536168ba195968b8b76f0b5954)
2001-09-26From 2.2.Volker Lendecke1-0/+6
Volker (This used to be commit 50ea73426f58070859bbbe769c8353a11ff33dc9)
2001-09-17move to SAFE_FREE()Simo Sorce14-39/+37
(This used to be commit 1446a1562b1c618c023b056f476e26da7ee3d532)
2001-09-10convert more code to use XFILEAndrew Tridgell4-46/+45
(This used to be commit fd24265c06f6d2b636c1863941a33029dd9f3828)
2001-09-10convert more code to use XFILEAndrew Tridgell3-10/+10
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
2001-09-10declare dbf in one spotAndrew Tridgell1-1/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell1-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)
2001-09-06got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2-2/+2
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-05merge profile data changes from 2.2Herb Lewis3-26/+65
(This used to be commit c105859304e93297fa29f346e9cbd1af0c95048b)
2001-08-28Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message isTim Potter1-8/+34
received. (This used to be commit b7cf14bf84a19da8a5b8fe9895ce78f138b5379c)
2001-08-26Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_serverChristopher R. Hertel2-2/+2
to determine whether the 'wins server' parameter is set. (This used to be commit 5b975d3a9cea39e9992a9b556b8a6d9d3ec14807)
2001-08-26Instead of checking lp_wins_server() to see if a WINS server was specified,Christopher R. Hertel1-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)
2001-08-24Process the SAM/UAS change notification message.Tim Potter1-0/+73
(This used to be commit efcbcfaa48d36063c974c20692ee2c38d09d2216)
2001-08-24Only register the #1b name if we are ROLE_DOMAIN_PDC rather thanTim Potter1-1/+1
lp_domain_master() (This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)
2001-07-30Fixes for varargs problems with std c.Jeremy Allison4-13/+13
Fix from Rick Lake <rwlake@anp.nl> for QNX. Jeremy. (This used to be commit c13b77eb35fe51403a51e1a146cedc643e550de7)
2001-07-17Fixes from Jens-Uwe.Walther@force.de to make the -l option behaveJeremy Allison1-1/+1
consistently. Jeremy. (This used to be commit f591ca9f25c54d3cdd0b76df472411e44c95ea47)
2001-07-10Andrew B and I were commiting the same fix at the same time in differentChristopher R. Hertel1-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 -)----- (This used to be commit bbf14e2d4e054e2af4f9cbbb05b86f6ac41084c6)
2001-07-10Fix tree breakage, the last change was entirly non-portable, and we alreadyAndrew Bartlett1-1/+3
have this nice variable to do exactly this... (This used to be commit cad6f53433a9345c06ae94c5ef63434e72a2daea)
2001-07-10Fix from John Malmberg. When I added the additional information to theChristopher R. Hertel1-0/+3
debug block that reports multiple query responses I did not notice that the local answer_ip variable was only selectively set. Chris -)----- (This used to be commit 22ea0770d87b2faece2e5dfc098ccf27f4da155f)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell3-8/+8
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell4-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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03- sorry, forgot to test a pointerSimo Sorce1-21/+26
(This used to be commit 1aef52245229741bc24c3e8147fa86eaa20fe9b2)