summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fixed samr_create_user(). we now correctly parse the query and the reply.Jean-François Micouleau2000-09-285-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.
* Removed annoying unecessary debug message.Tim Potter2000-09-281-1/+0
|
* Fixed stupid introduced bug found by "Jim McDonough/Boulder/IBM" ↵Jeremy Allison2000-09-271-2/+2
| | | | | | <jmcd@us.ibm.com>. Jeremy.
* Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector themJeremy Allison2000-09-2714-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.
* samr unknown 0x32 is in fact samr create user.Jean-François Micouleau2000-09-274-63/+42
| | | | | | so renamed and tidy up of the server function. J.F.
* ignore smbcontrol in bin directoryJean-François Micouleau2000-09-271-1/+2
| | | | J.F.
* fix for IRIX 6.2 compiler errorHerb Lewis2000-09-261-1/+1
|
* fix for IRIX compiler error messagesHerb Lewis2000-09-261-3/+3
|
* fixed IRIX compiller error messageHerb Lewis2000-09-261-1/+1
|
* broadcast printer notify message to all clients. We now have printerJean-François Micouleau2000-09-263-353/+364
| | | | | | | | notification as on NT. Andrew, your message passing code is cool :-) J.F.
* added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton2000-09-264-346/+436
|
* Changes from John Reilly to add a parameter "show add printer wizard" thatJeremy Allison2000-09-263-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.
* printer notify code.Jean-François Micouleau2000-09-256-14/+602
| | | | | | | It only sends notifies to one client. The broadcasting notify code will code soon. J.F.
* Optimization (noticed by bloody Andrew :-) to stop directory scan everJeremy Allison2000-09-211-4/+15
| | | | | being done if any of the directory timestamps were changed. Jeremy.
* Adding fix from Jim Vopni <jimv@metrics.com> to ensure jobs areJeremy Allison2000-09-211-33/+33
| | | | | closed before a printer is closed/deleted. Jeremy.
* Some code moved back from TNG - updates to LSA stuff. Not yet used butJeremy Allison2000-09-203-11/+105
| | | | | will be needed soon. Jeremy.
* Fix to allow a timestamp of zero to cause an instantaneous changenotifyJeremy Allison2000-09-204-6/+30
| | | | | | scan - then call this from renames. This allows instantaneous update for W2k renames. Jeremy.
* param/loadparm.c: Fix based on Damian's code to stop printer scripts getting ↵Jeremy Allison2000-09-192-121/+116
| | | | | | | | | overwritten. rpc_parse/parse_spoolss.c: Tidyup to call function for relstring arrays. Win2000 now does "Add Printer" successfully !!!!! Jeremy.
* Modified test.h generator to return error if structure passed to vlukeTim Potter2000-09-182-1/+5
| | | | doesn't match any known structure names.
* Removed emacs backup file from repository.Tim Potter2000-09-181-7/+0
|
* in a printer_info_6, driver version is 64 bits long and there is a 32 bitJean-François Micouleau2000-09-163-4/+21
| | | | | | padding before. J.F.
* Fixes from JF as I didn't understand the string array sizing code correctly.Jeremy Allison2000-09-151-17/+17
| | | | Jeremy.
* Move towards getting W2k p&p to upload NT4.x drivers. Still doesn't work -Jeremy Allison2000-09-154-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.
* Placeholder for some forthcoming documentationGerald Carter2000-09-141-0/+7
| | | | jerry
* fixed typoGerald Carter2000-09-141-1/+1
| | | | jerry
* Added a gew more mods by Patrick Powell (lprng guy)Gerald Carter2000-09-141-5/+22
| | | | jerry
* First draft of new printing doc describing the SPOOLSS support in theGerald Carter2000-09-141-0/+290
| | | | | | | | | | upcoming 2.2.0 release. Needs some other eyes to review it. :-) jerry
* Ensure old DACL and SACL are preserved if the new SD is a 'set' only.Jeremy Allison2000-09-131-2/+11
| | | | Jeremy.
* Added SIGHUP when printer deleted as well as added.Jeremy Allison2000-09-131-0/+3
| | | | Jeremy.
* don't show equivalent enum options in swatAndrew Tridgell2000-09-131-5/+8
|
* first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell2000-09-135-18/+209
| | | | | | | smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election
* When creating a print job entry for the printing backend, use the WindowsTim Potter2000-09-131-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.
* Added time check test before allowing print job.Jeremy Allison2000-09-132-1/+13
| | | | Jeremy.
* Added missing break statement for manage documents check inTim Potter2000-09-131-1/+3
| | | | print_access_check() function.
* Updated manual pages to point at http://lists.samba.org instead of oldTim Potter2000-09-126-81/+60
| | | | listproc address.
* Fix for enumjobs infor level 2 which caused smbd to coredump.Jeremy Allison2000-09-121-0/+1
| | | | | Uninitialized element in struct. Jeremy.
* Fixed error return when printer is PAUSED - should be returning "Pause".Jeremy Allison2000-09-121-1/+1
| | | | Jeremy.
* With John Reilly help tracking it down - fixed a *nasty* bug whenJeremy Allison2000-09-121-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.
* spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"Gerald Carter2000-09-123-3/+11
| | | | | | | | | | driver information. Will merge into TNG. jerry
* fixed a race in the pipe() setup in sys_select()Andrew Tridgell2000-09-121-1/+1
|
* - fixed some memory leaks in the messages codeAndrew Tridgell2000-09-123-4/+50
| | | | - added a MSG_PING message for performance testing.
* - changed the msg_type to be an int instead of an enum so that it isAndrew Tridgell2000-09-128-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
* we should not lowercase the username we receive inAndrew Tridgell2000-09-121-2/+0
| | | | | | | reply_sesssetup_and_X(). The getpwnam() wrapper handles the case munging operations later. this fixes a problem with mixed case usernames.
* much nicer message interface. We now register dispatch functions,Andrew Tridgell2000-09-123-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).
* Fixed memory leaks found in enumprinterdrivers code.Jeremy Allison2000-09-112-8/+11
| | | | Jeremy.
* Fix for malloc of zero bytes found by insure.Jeremy Allison2000-09-111-0/+5
| | | | Jeremy.
* debug messages now work for nmbdAndrew Tridgell2000-09-112-82/+79
|
* a simple test program I use to test the debug message systemAndrew Tridgell2000-09-111-0/+63
|
* the first cut of the internal messaging system.Andrew Tridgell2000-09-1112-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.
* Implemented DELETEPRINTERDATA (tested with Gerald's Win32 progs).Jeremy Allison2000-09-095-6/+137
| | | | Jeremy.