summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2000-09-28Added comment on JF's new code. Removed ifdef in passdb/smbpass.c as thisJeremy Allison2-8/+11
was not correct. Jeremy. (This used to be commit 1a3f7ecde2ca031b2f93a079f75822354fe241a0)
2000-09-28fixed samr_create_user(). we now correctly parse the query and the reply.Jean-François Micouleau5-28/+74
And we create the disabled account. That means we can create user and trust accounts remotely ! ifdef out a return in passdb/smbpass.c. I think I didn't break any security. Jeremy could you check if I didn't make any mistakes ??? J.F. (This used to be commit 416be1b64f366c8b859f25856fce2467ec0446d9)
2000-09-28Removed annoying unecessary debug message.Tim Potter1-1/+0
(This used to be commit b1a893b74114ee4ab6a295ac0cb0e8fdccda3f53)
2000-09-27Fixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" ↵Jeremy Allison1-2/+2
<jmcd@us.ibm.com>. Jeremy. (This used to be commit 563f8b09a810446c658bf58303b5fe998d27bec9)
2000-09-27Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector themJeremy Allison14-346/+485
through the VFS. All file access/directory access code in smbd should now go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl() vfs_set_nt_acl() call API design. Jeremy. (This used to be commit f96625ec124adb6e110dc54632e006b3620a962b)
2000-09-27samr unknown 0x32 is in fact samr create user.Jean-François Micouleau4-63/+42
so renamed and tidy up of the server function. J.F. (This used to be commit 0f707ac1fb5685b800d6599b9074ec1d4e65b1c1)
2000-09-27ignore smbcontrol in bin directoryJean-François Micouleau1-1/+2
J.F. (This used to be commit d56cc6ebe7fe546c1fe28f6f75d1cc0702694972)
2000-09-26fix for IRIX 6.2 compiler errorHerb Lewis1-1/+1
(This used to be commit eecee22bf1ab6e22e5e989b51d522fcf587aa48c)
2000-09-26fix for IRIX compiler error messagesHerb Lewis1-3/+3
(This used to be commit f2549db1ce6527c3e378e9f9210c70be5de93762)
2000-09-26fixed IRIX compiller error messageHerb Lewis1-1/+1
(This used to be commit 908da12d5f24ea076db6627ef0d4407e1cdcd014)
2000-09-26broadcast printer notify message to all clients. We now have printerJean-François Micouleau3-353/+364
notification as on NT. Andrew, your message passing code is cool :-) J.F. (This used to be commit 0374bc4b5f56d0fab3f7310e13cb71b5a71f9112)
2000-09-26added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton4-346/+436
(This used to be commit b21179331802aace566671dcff6db22cdf4b3e81)
2000-09-26Changes from John Reilly to add a parameter "show add printer wizard" thatJeremy Allison3-14/+30
allows Samba to turn off the display of APW (hmmm. This should probably be a share specific parameter, I'll fix that in another commit). Also a few small changes to JF's code to fix compiler warnings about missing return statements and also change '//' comments (C++) to /* .. */ comments (C). Jeremy. (This used to be commit 0a9ccc99b335650d235eb747d803d059f7828fd7)
2000-09-25printer notify code.Jean-François Micouleau6-14/+602
It only sends notifies to one client. The broadcasting notify code will code soon. J.F. (This used to be commit 4c63c9185887c64e57d901e82a4a16a83522c898)
2000-09-21Optimization (noticed by bloody Andrew :-) to stop directory scan everJeremy Allison1-4/+15
being done if any of the directory timestamps were changed. Jeremy. (This used to be commit 915152ed981e8e537d15fd4b80b3c3d10ee86bff)
2000-09-21Adding fix from Jim Vopni <jimv@metrics.com> to ensure jobs areJeremy Allison1-33/+33
closed before a printer is closed/deleted. Jeremy. (This used to be commit f0c16f7228d6923b11ac521aef986960a1d0c0b4)
2000-09-20Some code moved back from TNG - updates to LSA stuff. Not yet used butJeremy Allison3-11/+105
will be needed soon. Jeremy. (This used to be commit f0aa8f9314c837fe39b6d1b0c41d5cfae2e4098f)
2000-09-20Fix to allow a timestamp of zero to cause an instantaneous changenotifyJeremy Allison4-6/+30
scan - then call this from renames. This allows instantaneous update for W2k renames. Jeremy. (This used to be commit 07dffc4ee931cbc61197e2da277df9c404a77469)
2000-09-19param/loadparm.c: Fix based on Damian's code to stop printer scripts getting ↵Jeremy Allison2-121/+116
overwritten. rpc_parse/parse_spoolss.c: Tidyup to call function for relstring arrays. Win2000 now does "Add Printer" successfully !!!!! Jeremy. (This used to be commit d666b958bc335c7fceebeb7a6333d78bc421c30f)
2000-09-18Modified test.h generator to return error if structure passed to vlukeTim Potter2-1/+5
doesn't match any known structure names. (This used to be commit ce70fb5800a875ea755c96bc214033c5e9d81081)
2000-09-18Removed emacs backup file from repository.Tim Potter1-7/+0
(This used to be commit 807f22412e2738bb6323e43a2da6c942017621ac)
2000-09-16in a printer_info_6, driver version is 64 bits long and there is a 32 bitJean-François Micouleau3-4/+21
padding before. J.F. (This used to be commit cd41d7a35477accec1a82b86f9fa3477e5a49d6e)
2000-09-15Fixes from JF as I didn't understand the string array sizing code correctly.Jeremy Allison1-17/+17
Jeremy. (This used to be commit 63a7d0fc359ab7cb2ece74dff0ee25f6bb9fbe36)
2000-09-15Move towards getting W2k p&p to upload NT4.x drivers. Still doesn't work -Jeremy Allison4-31/+364
not sure why (JF - a glance at this would be appreciated). Removed code that JF objected to with enumprinterdata. Added translations to/from level 6 - but Win2k still not happy... hmmm... Jeremy. (This used to be commit e5d98ba9e97eb16337ff6c49f799e130844ae72e)
2000-09-14fixed typoGerald Carter1-1/+1
jerry (This used to be commit d2949468dccd79eb281769cd0da74e4b37d936b8)
2000-09-13Ensure old DACL and SACL are preserved if the new SD is a 'set' only.Jeremy Allison1-2/+11
Jeremy. (This used to be commit 29f41d0d95661fbc31ae1d9669fd7fb439169f90)
2000-09-13Added SIGHUP when printer deleted as well as added.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 79c94f37d0434150d84858e67c8677650106d76c)
2000-09-13don't show equivalent enum options in swatAndrew Tridgell1-5/+8
(This used to be commit 52074960971995580a03647ac5c638043eb8f5e1)
2000-09-13first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell5-18/+209
smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election (This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)
2000-09-13When creating a print job entry for the printing backend, use the WindowsTim Potter1-11/+21
username rather than the Unix username. The Windows username will then be shown in the port monitor regardless of the Unix username used to spool the job. (This used to be commit a15e610bb34636448cb30e590277c53e7f9efe1a)
2000-09-13Added time check test before allowing print job.Jeremy Allison2-1/+13
Jeremy. (This used to be commit 0249de4cd91d72efb344e9fb05e2be2cb3f03945)
2000-09-13Added missing break statement for manage documents check inTim Potter1-1/+3
print_access_check() function. (This used to be commit 318ead783c842f2a557207690afd522b3d28e077)
2000-09-12Fix for enumjobs infor level 2 which caused smbd to coredump.Jeremy Allison1-0/+1
Uninitialized element in struct. Jeremy. (This used to be commit 9e1fbb0c2f1d2ad0c907f1e902e44ea7af214b57)
2000-09-12Fixed error return when printer is PAUSED - should be returning "Pause".Jeremy Allison1-1/+1
Jeremy. (This used to be commit 41d03a118c9981fc2159f37cd5ed4684e1d36037)
2000-09-12With John Reilly help tracking it down - fixed a *nasty* bug whenJeremy Allison1-1/+0
authorising logins. If a user connected to a share as guest, then the snum was getting flagged as "force guest", meaning that all subsequent connections to it, even under a different vuid, would be bounced to guest. This explains several very hard to reproduce access denied bugs, and as the NT client also has bugs in that it will sometimes erroneously use guest instead of the correct vuid on an IPC$ connection lead to a *very* hard problem to find. This fix should be propagated into all branches (TNG/Applience take note) and I'll also make a separate patch availalble on the samba-technical list. Jeremy. (This used to be commit 0264fdafe909cf9e995df3ae7b64bedbe0b4e8a1)
2000-09-12spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"Gerald Carter3-3/+11
driver information. Will merge into TNG. jerry (This used to be commit ae7dd77c2495d5e17f6e8da94afbe8cab3e773bb)
2000-09-12fixed a race in the pipe() setup in sys_select()Andrew Tridgell1-1/+1
(This used to be commit bb0f769272d8a8bd527053746b468bca797e1663)
2000-09-12- fixed some memory leaks in the messages codeAndrew Tridgell3-4/+50
- added a MSG_PING message for performance testing. (This used to be commit e779f834dbb875669c3aa0a35b324aa13f0c8c36)
2000-09-12- changed the msg_type to be an int instead of an enum so that it isAndrew Tridgell8-34/+56
easier to add new message types to messages.h without breaking old binaries - added a MSG_FORCE_ELECTION message to force nmbd to hold an election (This used to be commit f1c49ca7ce56bc39259041a71479e84ebf53eeca)
2000-09-12we should not lowercase the username we receive inAndrew Tridgell1-2/+0
reply_sesssetup_and_X(). The getpwnam() wrapper handles the case munging operations later. this fixes a problem with mixed case usernames. (This used to be commit 2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653)
2000-09-12much nicer message interface. We now register dispatch functions,Andrew Tridgell3-28/+66
allowing new bits of code or vfs modules to register functions without impacting on the messaging code itself. Also note that multiple registrations for the same message type are possible allowing the same message to be delivered to multiple parts of the code (possibly useful for reload messages). (This used to be commit c3350c77f52cade48d2945574e09cb630af85b92)
2000-09-11Fixed memory leaks found in enumprinterdrivers code.Jeremy Allison2-8/+11
Jeremy. (This used to be commit e08b521559a824da09b0b73a04e462c573c42b06)
2000-09-11Fix for malloc of zero bytes found by insure.Jeremy Allison1-0/+5
Jeremy. (This used to be commit 2916790859acc56e582056774b02d4a33cedeaa4)
2000-09-11debug messages now work for nmbdAndrew Tridgell2-82/+79
(This used to be commit 6a503f95b10f6661b089f30f2b5ffebead32685c)
2000-09-11a simple test program I use to test the debug message systemAndrew Tridgell1-0/+63
(This used to be commit db1ec05f89071cd1ae4b190dda843b38e2d97cef)
2000-09-11the first cut of the internal messaging system.Andrew Tridgell12-101/+306
The motivation for this system is to replace the UDP message for oplocks, but this commit only does the "set debug level" message. (This used to be commit 2a34ee95f3929cff131db6c5a2b4820194c05b2d)
2000-09-09Implemented DELETEPRINTERDATA (tested with Gerald's Win32 progs).Jeremy Allison5-6/+137
Jeremy. (This used to be commit fb48efaf830626f6ef05b88f5f8a74b932ceb257)
2000-09-08Fixed up get_a_printer_driver_3 so it looks in the tdb using the correctJeremy Allison1-0/+11
key name for a driver info. Version needs to be adjusted in the same way that it is adjusted when the driver info is stored in the tdb. AddPrinterConnection() Win32 call caught this one. Jeremy. (This used to be commit 54cab7dd3b7c1ad3a01692447f80134518772486)
2000-09-08Fixed typo where docname was being checked for datatype - was causingJeremy Allison1-1/+1
STARTDOCPRINTER call to fail. I *love* Gerald's test code :-). Jeremy. (This used to be commit 43192370f31c7cc71d1f72449a067573adad3ebc)
2000-09-08Win32 API is explicit that EnumPrinterData returns ERROR_MORE_DATA notJeremy Allison2-1/+2
ERROR_INSUFICIENT_BUFFER when working out what space is needed. This fix gives us the same return that WinNT does. Jeremy. (This used to be commit a87f6277b1faa1ea492f31add4ce33556bdf3695)