summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-04-28inet_pton isn't portable, so use interpret_addr2.Andrew Bartlett1-3/+3
(This used to be commit 04d27381325561038bee1c27f10c748b9aaf447d)
2003-04-24Fix length in findfirst2 responses, fix os/2 clientsJim McDonough1-4/+10
(This used to be commit c12feff680b183a22d933bab65b5c095c0548e7e)
2003-04-24When possible, store the IP address of the connecting client, not just theAndrew Bartlett2-4/+17
hostname. This makes 'last -i' show the IP. Thanks to Philip Anderson <pza@australia.op.org> for the idea. Andrew Bartlett (This used to be commit 107731c080da1e3e4e13e966f8b79bfd2692a952)
2003-04-24This is really trying to be a StrnCpy (most names will overflow the 10 charAndrew Bartlett1-1/+1
limit) (This used to be commit 0e04761abe375bfea48fa2c9ba9e1dc0d56d39f7)
2003-04-23Thanks to a reminder from vance - delete build_options.c from CVS, nowAndrew Bartlett1-532/+0
it's autogenerated. (This used to be commit 1cbc66e2e35342980f27151622658e2f2f498245)
2003-04-23Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate theAndrew Bartlett1-0/+1
build options, so we will always have the right values for how and when an smbd was built. In particular, this is indended to address bitrot caused by configure.in changes. Andrew Bartlett (This used to be commit 2be258071c71986ba9af01e9a09ec49909a620dd)
2003-04-23StrnCpy -> safe_strcpy() on a over-malloced struct.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit e4f1171d57a6186f85b87586a525b3bbaf601974)
2003-04-23Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett5-20/+9
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-23Merge HEAD's winbind into 3.0.Andrew Bartlett1-0/+1
This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code, the winbind_idmap abstraction (not idmap proper, but the stuff that held up the winbind LDAP backend in HEAD). Andrew Bartlett (This used to be commit d4d5e6c2ee6383c6cceb5d449aa2ba6c83eb0666)
2003-04-23Make the variable name match the comment.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 5a577f8cafa7375bd8485763f163de939ddc4a39)
2003-04-23Don't leak the session identifier string when we shut down a vuid.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)
2003-04-22Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison1-0/+27
error on Linux. Jeremy. (This used to be commit 546d1a941b63a538702f2fb668019d2b89f63bdc)
2003-04-22Merge comment with HEADAndrew Bartlett1-3/+3
(This used to be commit 8f8d819d5814c2a538b5b906014ff0c354625450)
2003-04-22Tidyups of some dubious logic discovered whilst trying to track down aJeremy Allison2-7/+6
strange oplock related issue on the PSA. Jeremy. (This used to be commit 1dd274bf61aaaad3c475de93f53aac176678bc7c)
2003-04-21* fix segfault when no vfs objects definedGerald Carter1-2/+2
* add "sid=..." to 'net groupmap add' (This used to be commit e5f6676639b5552f7dec90091c53cf14e78088ee)
2003-04-21Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett2-65/+36
This allows us to join as a BDC, without appearing on the network as one until we have the database replicated, and the admin changes the configuration. This also change the SID retreval order from secrets.tdb, so we no longer require a 'net rpc getsid' - the sid fetch during the domain join is sufficient. Also minor fixes to 'net'. Andrew Bartlett (This used to be commit 876e00fd112e4aaf7519eec27f382eb99ec7562a)
2003-04-19use gid_t for gids not uid_tSimo Sorce1-1/+1
(This used to be commit a369c2ff2637dc808035217eaada4cf923c5cf6d)
2003-04-16More merges from HEAD:Jelmer Vernooij2-79/+175
- Stephan Kulow's changes (fixing warnings in libsmbclient) - VFS modules - Seperating libs (This used to be commit 6e9b7802335428c88ecf4e44a0e2395ac58e96b5)
2003-04-16Add support for the new modules system to auth/ (merge from HEAD)Jelmer Vernooij2-1/+5
(This used to be commit c7a1de090db35835be1a1623bfc80c04065c5dd9)
2003-04-15Print out information about statically linked in modulesJelmer Vernooij1-9/+3
(This used to be commit 9ef6f917f964e6b514fb95e4da75a57cbad6a233)
2003-04-14Merge:Tim Potter1-23/+0
- debugging tdb messages now initialised and handled in lib/messages.c (This used to be commit 380875de779f2519d9ce8735362484021388b4eb)
2003-04-14Whitespace syncup.Tim Potter4-7/+7
(This used to be commit 8fe5bab565cdcf498e4d0f5cca31f799d249e3b3)
2003-04-14Merge Jelmer's popt updates from HEAD.Tim Potter1-6/+2
(This used to be commit 98e84b3e83d2a365c818ea64f9418edb29d690f2)
2003-04-14Merge of rpcecho pipe for testing large dcerpc requests and responses.Tim Potter1-0/+1
Only compiled in when --enable-developer argument passed to configure. (This used to be commit 017da9393bab276543d0d5c50df8c760780f2450)
2003-04-13Merge of Simo's strncat -> StrnCpy fix.Tim Potter1-4/+3
(This used to be commit a2b1a7533ed997848f9dc0fcd1ffc3d4b4e8117d)
2003-04-11* We must return 0x2 as the majorversion for nt4 to upload driversGerald Carter1-10/+15
* fix bug found by clobber_region() (This used to be commit b2e29c7bd45f8f33d9ed58fe75bbf5ffc78350f5)
2003-04-11cleanup lanman printing= for win98; device type is LPT1:; patch by Steve L.Gerald Carter2-4/+4
(This used to be commit 36d62e5667f3b9e39362fb3907bf69697fca3ea6)
2003-04-09Fix from Steve Langasek <vorlon@netexpress.net> for non-RPC printing.Jeremy Allison1-2/+2
Jeremy. (This used to be commit cfbd02b170ab7d9c5c9cc9dbab0a094faa15c518)
2003-04-09Ensure we have WinXP-like semantics for checking TIDs and FIDs.Jeremy Allison1-1/+3
Jeremy. (This used to be commit 52e44dde4ef9717eae7cf454f56d309fdd4b7d1f)
2003-04-04Re-fix regression noticed by Tom Schaefer <tom@umsl.edu> due toJeremy Allison2-0/+5
correct delete on close semantics change. Jeremy. (This used to be commit 7a45b45490e6001c17fc89aabfa802f76fa3fe5e)
2003-04-04Fix for very subtle POSIX lock interaction race condition found byJeremy Allison1-6/+6
Herb. We need to unlock POSIX locks before notifying pending lock processes. Jeremy. (This used to be commit 6999eef51c3e597b3b2cd9cc26138acdfbb6a23a)
2003-04-01Doing janitor work for tridge.Jeremy Allison1-3/+3
"changed the order of checking whether a SID is a UID or a GID in posix acls. This is needed because sid_to_uid always claims that the sid is a user, due ot a change I made some months back. This change was suggested by Chere Zhou, but is really an interim measure. Chere is looking at a longer term solution." REMEMBER - 3.0 is the one we will SHIP ! Jeremy. (This used to be commit a4d7496994b740e074398d98c999a803afff4404)
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-30This changes our handling of invalid service types that theVolker Lendecke1-7/+12
client requested on tconx. We now return the same error code like NT4SP6 and W2kSP3 return. TCONDEV is a little test for this. Volker (This used to be commit 6f94ab8ed50ad171f25e9538417c5074feba164d)
2003-03-28merged real time signal fixes from headAndrew Tridgell2-2/+8
(This used to be commit 03a5e62300f3cfb96d14570b73a758e6fa64c449)
2003-03-27cleanup the IPC/LPT:/A: mess I startedGerald Carter1-16/+19
(This used to be commit e6034a03d543d8672303f2b24982cfc03b124391)
2003-03-27pdb_ldap may require ROOT privilages to access the group mapping. (yes, it's ↵Andrew Bartlett1-0/+2
ugly :-) Andrew Bartlett (This used to be commit 12579a62945d0d475b53c4ab49761a01be9e8394)
2003-03-26Fix DOS del command with widelinks = False.Jeremy Allison1-1/+2
Jeremy. (This used to be commit ef1782121bc4ebcdd2731fd6863209352f815dbe)
2003-03-25win9x was suffered a case of the blues during a domain logon.Gerald Carter1-1/+10
For some reason, explicitly setting the service type during the tcon&X fixes this. (This used to be commit 4dd81caeff96d2b7f08b4846a524f917a85407a4)
2003-03-22(merge from HEAD)Andrew Bartlett3-5/+57
Small clenaup patches: - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. - connection.c - use safe_strcpy() Andrew Bartlett (This used to be commit c91e76bddbe1244ddc8d12b092eba875834029ac)
2003-03-20Merge from HEADVolker Lendecke1-1/+1
(This used to be commit d59a7bea6b22a4c3e6cacd1a4c5ee95f42b13a26)
2003-03-20Patch from Samuel Thibault to convert messages from dos to unix charsetJelmer Vernooij1-9/+18
when sending(and vice versa when receiving). (This used to be commit 5310447ec6e0df1c000e3ee14572f5b7fee31f28)
2003-03-19Doin't pstrcpy into fstring.Jeremy Allison1-4/+4
Jeremy. (This used to be commit e619c50834a06b3026dc6b8603d1f88268bbdbc1)
2003-03-18Ensure dev in make_connection is const.Jeremy Allison1-4/+10
Jeremy. (This used to be commit 1c6ea31b8f48b93606f4c5b6a0472571dc8a471e)
2003-03-18Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett3-45/+4
This patch catches up on the rest of the work - as much string checking as is possible is done at compile time, and the rest at runtime. Lots of code converted to pstrcpy() etc, and other code reworked to correctly call sizeof(). Andrew Bartlett (This used to be commit c5b604e2ee67d74241ae2fa07ae904647d35a2be)
2003-03-18Merge signed/unsigned fix from HEAD.Andrew Bartlett1-1/+1
(This used to be commit 196628432130f826505187a27207a7b947e034cf)
2003-03-18Merge whitespace to match HEAD.Andrew Bartlett1-17/+17
(This used to be commit 454fb434195b8d46cbcbaee6a200070e5bcd7364)
2003-03-18Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett2-4/+4
'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-17Merge from HEAD:Andrew Bartlett8-28/+35
- Make ReadDirName return a const char*. - Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit 10b53d7c6fd77f23433dd2ef12bb14b227147a48)
2003-03-17Merge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard'sAndrew Bartlett1-27/+55
session key and auth verifier patches. Andrew Bartlett (This used to be commit 3f9616a68a855acbae3f405c27ee2358fbe7ba2c)