summaryrefslogtreecommitdiff
path: root/source3/nmbd
AgeCommit message (Collapse)AuthorFilesLines
2003-07-15Add support for MSG_SMB_CONF_UPDATED and MSG_SHUTDOWN to all daemons (smbd, ↵Alexander Bokovoy1-5/+26
nmbd, winbindd). Reviewed by jerry and tridge. (This used to be commit 02c5e2fc6f0721ebd82a9e6a2b34190607de55fe)
2003-07-03Removed strupper/strlower macros that automatically map to ↵Jeremy Allison8-83/+76
strupper_m/strlower_m. I really want people to think about when they're using multibyte strings. Jeremy. (This used to be commit ff222716a08af65d26ad842ce4c2841cc6540959)
2003-05-20Fix bug #98: DNS compression is required for proper building of theJim McDonough1-25/+42
netlogon for ads packet. repeated DNS components will not be properly encoded otherwise. (This used to be commit 1e85a9ed8da2e48b0ef586599742ed515bd91ecd)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-2/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-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. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-08fix bug #47; revert registration of workgroup<1b> to 2.2 behaviorGerald Carter1-1/+1
(This used to be commit 016f6b4e19c2b8e4f5e1d010cc428ca194650140)
2003-05-08This puts back wins.dat into nmbd for easy editing. It leaves most ofVolker Lendecke1-194/+222
the other infrastructure with name owners etc in place. If anybody is really going to tackle winsrepld, it will probably not be hard to put the additional info back. Volker (This used to be commit eb82daa84a5339f28ebf431ee1044b7e1e4a4300)
2003-05-07We used to use the name "*",0x0 here, but some WindowsJeremy Allison1-1/+9
servers don't answer that name. However we *know* they have the name workgroup#1b (as we just looked it up). So do the node status request on this name instead. Found at LBL labs. Jeremy. (This used to be commit 41e3abe8b80026812ea7dd7ad535e8e41e26daa4)
2003-04-28Fix a confusing error messageVolker Lendecke1-1/+1
Volker (This used to be commit 69df898afb45e2e577a10649f66f5352887044a2)
2003-04-25As nobody really objected to this patch, I opted to create facts :-)Volker Lendecke1-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 (This used to be commit fe637c690b671ddb5ccbf506825a9ede6abf6668)
2003-04-23Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett7-16/+27
a pstrcpy/fstrcpy or at most a safe_strcpy(). These have the advantage of being compiler-verifiable. Get these out of the way, along with a rewrite of 'get_short_archi' in the spoolss client and server. (This pushes around const string pointers, rather than copied strings). Andrew Bartlett (This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)
2003-04-16fixed the popt option handling in nmbd, so that -i now worksAndrew Tridgell1-34/+37
(This used to be commit 2bb93421e665cdc0c4a2d8a539f76856e4d32249)
2003-04-14Merge:Tim Potter1-20/+0
- debugging tdb messages now initialised and handled in lib/messages.c (This used to be commit da216706a420b31beaac91553a4eb90181de814a)
2003-04-14Merge Jelmer's popt updates from HEAD.Tim Potter1-12/+3
(This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
2003-03-30update copyright notice since it we are now almost 4 months into 2003Gerald Carter1-1/+1
(This used to be commit 0751d2f117b4274dd19388d856de75d9fc739865)
2003-03-20use pstrcpy_base()Jim McDonough1-1/+1
(This used to be commit 2e3710f67293b01084026549246d494103b2d536)
2003-03-19replace pstrcpyJim McDonough1-1/+1
(This used to be commit c5876f9f07bfff4e03f3a70136515c9daab20afd)
2003-03-18NMBD string parinoia and memcpy() parinoia fixes from HEAD.Andrew Bartlett3-10/+15
Andrew Bartlett (This used to be commit fb29caddd987f94989f852584b912eeee45b50da)
2003-03-18Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett1-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 (This used to be commit 4c7163e7c2cc09bd95faa05156ee480957a7a4d8)
2003-03-10check a pointer before dereferencing it; not sure why userdata == NULL thoughGerald Carter1-1/+1
(This used to be commit 944752024ba6ab762b12c29ee867e37401dac12b)
2003-01-28Merge from HEAD:Andrew Bartlett1-2/+2
- NTLMSSP over SPENGO (sesssion-setup-and-x) cleanup and code refactor. - also consequential changes to the NTLMSSP and SPNEGO parsing functions - and the client code that uses the same functions - Add ntlm_auth, a NTLMSSP authentication interface for use by applications like Squid and Apache. - also consquential changes to use common code for base64 encode/decode. - Winbind changes to support ntlm_auth (I don't want this program to need to read smb.conf, instead getting all it's details over the pipe). - nmbd changes for fstrcat() instead of fstrcpy(). Andrew Bartlett (This used to be commit fbb46da79cf322570a7e3318100c304bbf33409e)
2003-01-15*lots of small merges form HEADGerald Carter2-2/+2
*sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-14Merge from HEAD:Andrew Bartlett1-1/+2
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-03patch to include support for daemontools from Michael HandlerGerald Carter1-3/+21
(This used to be commit a8db1b611d83bfd8dcf60f1e6d8fcbf57c798528)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett6-9/+9
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-0/+20
named. Ensure we can query them. Jeremy. (This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-19Protect nmbd against malformed reply packets. Some reports on the lists showingJeremy Allison1-1/+10
these. Jeremy. (This used to be commit 4bc49cc943504d1a9a73894f6810bc755ee6e324)
2002-12-12Merge of #include <smb.h> removals.Tim Potter5-5/+0
(This used to be commit bdb6e76ab5031365c50f7bbcd5e52c4f7a039024)
2002-12-03Stop using hacks for dns host/domain names.Jim McDonough1-3/+5
(This used to be commit e707e2cc7c7483f6bcfbbaf8d3d99614a05a9ecf)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison1-3/+10
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
2002-11-15Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c groupJeremy Allison1-0/+16
release. Jeremy. (This used to be commit 7d9552e9c58e533f451a720c9c9c54b8abf3a454)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison18-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)
2002-11-09Last sync with HEADJelmer Vernooij1-5/+0
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
2002-11-09Sync with HEADJelmer Vernooij1-101/+29
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-10-08Ensure we register the 1c name on the unicast subnet.Jeremy Allison1-0/+10
Jeremy. (This used to be commit e1ea20d2d14b9671503eeeccddc7683cc94371c0)
2002-10-03Merging tridge's wins fixes. Tridge - we're supposed to be keeping 3.0 upJeremy Allison1-2/+2
to date :-). Jeremy. (This used to be commit 5959f35db6b4b23c591799dad7587e6616e5a998)
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)