summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-181-1/+1
| | | | | | source/rpc_server/srv_spoolss_nt.c - Fixed dereference of NULL pointer in security descriptor notification used by Win2K printers.
* Get the logic right thistime :-(.Jeremy Allison2001-01-171-2/+3
| | | | Jeremy.
* Typo in new file_chmod code caused file attribute changes to fail.Jeremy Allison2001-01-171-1/+1
| | | | | THIS NEEDS TO BE ADDED TO APPLIANCE-HEAD. Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-175-519/+874
| | | | | | | | | | | | | | | | source/include/proto.h source/include/rpc_spoolss.h source/rpc_parse/parse_spoolss.c source/rpc_server/srv_spoolss.c source/rpc_server/srv_spoolss_nt.c - speedups in printer queue enumeration - still room for improvement. The construct_dev_mode() still creates and destroys a printer info_2 structure every time it is called. - fixed job->devmode memory leak - converted printer job notification routines to use tallocated memory rather than a fixed 2K buffer. This reduces the memory requirements of a 4500 job queue enumeration from 90MB to about 16MB.
* Cleanup of Get_Pwnam(). Adds debugging, cleans up the allow_changeDavid O'Neill2001-01-171-48/+45
| | | | codepath.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-171-3/+4
| | | | | source/smbd/lanman.c - Change fill_printq_info() to fix corrupted 9X/ME printer comment
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-179-45/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source/rpc_server/srv_spoolss_nt.c - Unrolled construct_notify_jobs_info() loop to only fetch printer info_2 structure once rather than num_print_jobs times. - convert command to unix codepage. - remove lp_remove_service() call as it prevents lp_killservice() from working. - Modified some DEBUG and DEBUGADD statements. source/param/loadparm.c source/param/params.c - change printer, preload, auto services to FLAG_DOS_STRING, reverted earlier changes to szPrintername et al, add comments. source/printing/load.c - fix bug with lp_auto_services() and strtok() source/printing/nt_printing.c source/printing/printing.c - remove redundant test that used SERVICE(snum) source/printing/pcap.c - add unix_to_dos() calls, add notes wrt FIXMEs for xxx_printer_fn() functions. source/web/swat.c - added FIXME comment. source/smbd/service.c - added comment re: dos codepage
* Set the tdb->map_ptr to NULL if mmap() returns -1.Tim Potter2001-01-161-0/+3
|
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-161-0/+2
| | | | | | source/param/loadparm.c - changed lp_add_printer() to convert szPrintername and comment from unix to DOS codepage.
* Fix for no master browser present.Tim Potter2001-01-161-3/+4
|
* Some ugly mucking around to get the new rpcclient compiling and linkingTim Potter2001-01-151-2/+10
| | | | with the new samr code and have prototypes working and smbd linking.
* New proto and some small changes to rpc_samr.hTim Potter2001-01-152-17/+113
|
* rpcclient functions for remaining samr and lsa functions. All functionsTim Potter2001-01-153-25/+458
| | | | | now pass through insure except for some of the dodgy spoolss prs weirdness.
* Added remaining samr functions needed by winbindd.Tim Potter2001-01-151-0/+198
| | | | Added #define/#undef NEW_NTDOMAIN symbols.
* Fixes for POSIX ACLS. ACL merge code.Jeremy Allison2001-01-152-27/+120
| | | | Jeremy.
* Updated from 2.2.Jeremy Allison2001-01-151-3/+40
| | | | Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-155-10/+24
| | | | | | | | | | | | | | | | | | | | | source/rpc_parse/parse_lsa.c - off by one unistr length bug in init_lsa_trans_name() source/lib/util_sid.c - resolve more BUILTIN sid values to names. source/nsswitch/wb_client.c - fix typo in debug message - set errno on error so we don't get bogus value from last failure. source/rpc_server/srv_spoolss_nt.c - add debug to track number of open printer handles for ease of tracking handle leaks in the future. source/rpc_server/srv_lsa.c - fix off-by-one string bug. This was preventing NT from displaying names for well-know SIDs in printer permissions dialog.
* Compile fix for smbw_dir_add function.Tim Potter2001-01-151-4/+5
|
* removed unnecessary process_exists() call in message_send_pid()Andrew Tridgell2001-01-151-11/+0
| | | | it slows us down and doesn't gain anything
* Fixed bugs relating to Win2K and the need for a codepage so that unicodeRichard Sharpe2001-01-142-20/+37
| | | | strings can be handled correctly.
* merge from 2.0 branch for installing Using Samba book filesHerb Lewis2001-01-121-8/+68
|
* Pass correctly formatted args to cli_spoolss_open_printer_ex()Tim Potter2001-01-121-2/+7
|
* Printer name unistr is null terminated in make_spoolss_q_open_printer_ex()Tim Potter2001-01-121-1/+1
|
* Memory leak fixes and uninitialised variables spotted by insure.Tim Potter2001-01-121-16/+18
|
* Memory leak fixes spotted by insure.Tim Potter2001-01-122-1/+14
|
* Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,Richard Sharpe2001-01-122-0/+169
| | | | | | both tested ... More later.
* Many bug fixes to the libsmbclient.c code plusRichard Sharpe2001-01-124-69/+382
| | | | | | | - an implementation of smbc_readdir - extensions to tree.c to show files in a second window - changes to auth_fn to provide buffers for username, password, etc from caller rather than callee
* Use MAXIMUM_ALLOWED_ACCESS when doing a cli_spoolss_open_printer_ex()Tim Potter2001-01-121-1/+1
|
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-121-0/+74
| | | | | | | | source/tests/crypttest.c - another one missed from a while ago: Add back tests/crypttest.c so that we can check for truncated crypt on those systems that it is relevant for and we avoid setting if for those systems that it is not true for. (Originally from SAMBA_2_2, Nov 13th 2000)
* RPC server fixes for RPC client changes merged from TNG.Tim Potter2001-01-112-4/+46
|
* Removed link errors between rpcclient and smbd.Tim Potter2001-01-111-4/+4
|
* Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.Jeremy Allison2001-01-117-15/+22
| | | | | Ensure HAVE_NO_ACLS is set in configure if ACL support not selected. Jeremy
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-111-2/+9
| | | | | | | | source/lib/smbpasswd.c - Only call load_interfaces() when doing a network related operation. This means you can add, remove, enable or disable smbpasswd entries without a network. Changing passwords always requires a network.
* New makefile and proto for rpcclient.Tim Potter2001-01-112-132/+44
|
* make protoTim Potter2001-01-111-53/+51
|
* General clean up. Merge of access_mask fixes for some unknown fields fromTim Potter2001-01-111-27/+24
| | | | tng.
* General clean up. Merged routines for parsing enum_trust_dom rpc call.Tim Potter2001-01-111-136/+111
|
* Merge of various fixes from the tng headers.Tim Potter2001-01-114-143/+22
|
* Start of a rewrite of rpcclient based on the libsmb rpc client routines.Tim Potter2001-01-114-1598/+954
| | | | | Currently there are a small selection of lsa, samr and spoolss functions implemented. More to follow...
* First compiling version of code that sets NT ACLs as POSIX ACLs.Jeremy Allison2001-01-113-99/+599
| | | | | Now the debugging starts.... :-). Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-111-0/+1
| | | | | source/nsswitch/winbindd_idmap.c - convert tdb key to unix code-page when generating
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-1111-68/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testsuite/printing/psec.c - Use lock directory from smb.conf parameter when peeking at the ntdrivers.tdb file. source/rpc_parse/parse_sec.c - fix typo in debug message source/script/installbin.sh - create private directory as part of 'make install'. source/nsswitch/winbindd_cache.c source/nsswitch/winbindd_idmap.c source/passdb/secrets.c source/smbd/connection.c - always convert tdb key to unix code-page when generating. source/printing/nt_printing.c - always convert tdb key to unix code-page when generating. - don't prepend path to a filename that is NULL in add_a_printer_driver_3(). source/rpc_server/srv_spoolss_nt.c - always convert tdb key to unix code-page when generating. - don't prepend server name to a path/filename that is NULL in the fill_printer_driver_info functions. source/printing/printing.c - always convert tdb key to unix code-page when generating. - move access check for print_queue_purge() outside of job delete loop. source/smbd/unix_acls.c - fix for setting ACLs (this got missed earlier) source/lib/messages.c - trivial sync with appliance_head
* Fix from John for growing messages.tdb.Jeremy Allison2001-01-111-0/+1
| | | | Jeremy.
* rpc_server/srv_samr.c:Jeremy Allison2001-01-115-421/+463
| | | | | | | | | | | | smbd/reply.c: Added fix needed for appliances. When using winbindd - a new user may exist (from winbind) but have no home directory. Extend add user script so it is called with a %H substitution when a user exists but their home directory does not. Thanks to Alex Win at VA Linux for finding this one and testing the fix. libsmb/clidgram.c: Fixed missing return statements. smbd/uid.c: Fixed typo in debug. Jeremy.
* Added init functions, cli_spoolss_open_printer_ex(),Tim Potter2001-01-101-0/+538
| | | | | cli_spoolss_closeprinter(), cli_spoolss_enum_printers(), cli_spoolss_enum_ports() and cli_spoolss_getprinter()
* Added init functions, cli_samr_connect(), cli_samr_close(),Tim Potter2001-01-101-0/+325
| | | | cli_samr_open_{domain,user}() and cli_samr_query_userinfo()
* Fixed authenticated pipe access.Tim Potter2001-01-101-25/+102
| | | | | | Added cli_lsa_enum_trust_dom(). Misc other cosmetic changes.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-103-2317/+2341
| | | | | | | source/docs/yodldocs/smb.conf.5.yo source/docs/manpages/smb.conf.5 source/docs/htmldocs/smb.conf.5.html - add documentation for "hide local users" config option.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-104-11/+47
| | | | | | | | source/include/proto.h source/param/loadparm.c source/passdb/passdb.c source/rpc_server/srv_samr.c - add support for "hide local users" option to HEAD.
* Fix from "B.V.Dean" <B.V.Dean@ukc.ac.uk> to add "dos filemode" parameterJeremy Allison2001-01-093-36/+75
| | | | | | to allow a chmod to be done if the user has write access to a file, just like Windows allows. Off by default (compare with "dos filetimes" parameter). Jeremy.