summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* replaced inet_aton() with inet_addr() to keep Solaris from complaining.Gerald Carter2001-02-081-3/+9
| | | | jerry
* add pam_setcred() call to pam_auth(). Patch was submited last Oct.Gerald Carter2001-02-082-0/+16
| | | | jerry
* Add Makefile.in target for installing smbclientlib ...Richard Sharpe2001-02-071-0/+5
|
* Fix problems in libsmbclient with pring job struct plus add implementationRichard Sharpe2001-02-062-0/+108
| | | | of last two print routines ...
* Implement two printing related functions and start the remaining two.Richard Sharpe2001-02-052-2/+65
|
* Fix some further small bugs in libsmbclient to make it pass theRichard Sharpe2001-02-042-8/+79
| | | | Caldera test suite and start to add the printing routines.
* merge from APPLIANCE_HEAD (mapping access_required 0x0 toGerald Carter2001-02-031-2/+6
| | | | PRINTER_ACCESS_USE)
* Merge from 2.2 - with connection fix.Jeremy Allison2001-02-031-1/+15
| | | | Jeremy.
* Convert netbios name to dos codepage in make_nmb_name(). This allowsTim Potter2001-02-021-0/+1
| | | | nmblookup and smbclient to work with i18n netbios names.
* Added Baltic codepage support. From Toomas Soome <tsoome@ut.ee>Tim Potter2001-02-024-1/+733
|
* Changes from SAMBA_2_2:David O'Neill2001-01-313-53/+67
| | | | | | | | | | | | source/rpc_server/srv_spoolss_nt.c source/rpc_server/srv_spoolss.c source/include/proto.h - correct checking of access_required in openprinterex as talked with John R. and Jerry. You can only do server stuff (adding printers, changing forms, ..) if you're root or if user is in printer admin list. Printers options are grayed if you don't have the PRINTER_ADMINISTER flag in the secdesc.
* Fixed duplicate free_sec_acl() call in free_sec_desc() function.Tim Potter2001-01-311-1/+1
| | | | From "Richard Bollinger" <rabollinger@home.com>
* Missing sys_endpwent() call in get_passwd_entries()Tim Potter2001-01-311-1/+1
|
* Fix for KOI8-R codepage from Andrey Kiselev <dron@at1895.spb.edu>Tim Potter2001-01-311-1/+1
|
* lib/system.c: Fix for pw caching.Jeremy Allison2001-01-315-64/+141
| | | | | | srv_samr.c: Fix for pw caching. smbd/nttrans.c: Fix to allow trans create to set ACL on open. Jeremy.
* Turned down noisy debug statement.Tim Potter2001-01-301-1/+1
| | | | From "Richard Bollinger" <rabollinger@home.com>
* Fix inspited by Alan Romeril. 50% speedup in domain logins with thisJeremy Allison2001-01-302-1/+4
| | | | | change to default break response time of 10ms -> 0ms. Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-2910-508/+672
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source/include/proto.h - make proto source/printing/nt_printing.c source/rpc_server/srv_spoolss_nt.c - Fix for the overwriting of printerdata entries when WinNT and Win2k are modifying printer parameters on PCL printers. Turns out that Win2k creates a printer with a NULL devmode entry and then expects to set it on *OPEN* (yes this is insane). So we cannot return a "default" devmode for a printer - and we must allow an open to set it. source/tdb/tdb.c - Show freelist in an easier format. Show total free. - When storing a new record, allocate memory for the key + data before the tdb_allocate() as if the malloc fails a (sparse) hole is left in the tdb. source/tdb/tdbtool.c - Show freelist in an easier format. Show total free. source/tdb/Makefile - cleaned up Makefile dependancies source/smbd/lanman.c - Fix for Win9x corrupting it's own parameter string. source/printing/printfsp.c source/printing/printing.c source/rpc_server/srv_spoolss_nt.c source/smbd/close.c - Added normal close parameter into print_fsp_end() which treats an abnormal close as error condition and deletes the spool file.
* Changes from SAMBA_2_2:David O'Neill2001-01-291-1/+1
| | | | - fix typo in cast from talloc
* Fix some bugs and prepare for some other bug fixes ...Richard Sharpe2001-01-291-6/+67
|
* Add an extra error code translation to clierror.c so that libsmbclientRichard Sharpe2001-01-291-1/+2
| | | | gets some more error codes correct ...
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-261-1/+23
| | | | | | | | source/printing/nt_printing.c - fix for Win2k sending NULL devicemode in setprinter calls which was making NT4 grumpy. The solution is to never set a NULL devicemode if we previously had a valid one in the printer's TDB entry.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-251-20/+11
| | | | | | | | | | source/rpc_server/srv_spoolss_nt.c - Changed the se_access_check() call in _spoolss_open_printer_ex() to a print_access_check(). This allows the 'printer admins' smb.conf and other permission override parameters to affect the result of a printer open. - Don't perform access check when opening a handle on a print server as it breaks browsing the Printers folder.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-252-0/+11
| | | | | | | | | source/smbd/server.c source/nmbd/nmbd.c - Fixed a very subtle bug with signals. Seems that POSIX requires that the signal mask be inhereted. So, if you happen to kick off smbd/nmbd from code that has the mask set on SIGUSR1, you lose messages.
* Remove an inet_aton so that this code will compile on Solaris ...Richard Sharpe2001-01-251-5/+3
| | | | Ahhh, the sweet smell of portability.
* io_bufsize was set too large and so full length readsAnton Blanchard2001-01-251-1/+1
| | | | and writes got broken up into one ~64k and one ~1k packet.
* Fixes from appliance-head for pdc searches.Jeremy Allison2001-01-252-19/+17
| | | | Jeremy.
* Fixed "object picker can't determine if object in domain" bug seen from W2KJeremy Allison2001-01-255-503/+620
| | | | | | | clients. Did this by importing Samba-TNG code that correctly handles LSA lookups. *MANY* thanks to Luke, Sander, Elrond and the rest of the TNG gang ! Jeremy
* fixed pipe in smb.conf descriptionAndrew Tridgell2001-01-251-5/+1
|
* Fix insure problems with passwd caching code.Jeremy Allison2001-01-241-6/+10
| | | | Jeremy.
* Sync up with POSIX ACL code from 2.2.Jeremy Allison2001-01-242-11/+54
| | | | Jeremy.
* Added modification to Richard Bollinger getpw[nam|uid] cache patch. OnlyJeremy Allison2001-01-241-2/+14
| | | | | uses cache max 100 times. Jeremy.
* smbd/process.c: & type with 0xff for paranioa sake...Jeremy Allison2001-01-244-34/+46
| | | | | | smbd/reply.c smbd/service.c: cause all "add home service" calls to go through a winbindd aware function. Jeremy.
* smbd/lanman.c: Fix for calling qsort with 0 number.Jeremy Allison2001-01-243-200/+344
| | | | | | | smbd/nttrans.c: Realloc mem fixes based on those that went into trans2.c smbd/process.c: Move to a table based dispatch, based on a comment from Andrew about Antons work. Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-241-8/+17
| | | | | | | | | source/printing/printing.c - When deleting a job, remove the entry from the back-end database if the delete succeeded. This stops a spurious permission denied message appearing if the forced database update is within the lpq cache timeout and doesn't actually delete the job from the database.
* getpw[nam|uid] caching patch from "Richard Bollinger"Gerald Carter2001-01-241-7/+37
| | | | | | | | <rabollinger@home.com> jerry
* fixed typo in debug statementGerald Carter2001-01-241-2/+2
| | | | jerry
* Fix a problem with smbc_unlink on directories where it was returning EACCESRichard Sharpe2001-01-241-1/+39
| | | | | instead of EPERM and a problem with SMBC_OPEN where it ignored an error from the underlying cli_open routine and cheerfully returned a bogus FD.
* Fix from Kenichi Okuyama for memory leak on Realloc fail.Jeremy Allison2001-01-231-21/+51
| | | | Jeremy.
* increase MAX_POL_HNDS (merge from 2.2)Gerald Carter2001-01-231-1/+1
| | | | --jerry
* only add the service name and client machine name to list of users namesGerald Carter2001-01-232-3/+11
| | | | | | | for a session when in share mode security --jerry
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-236-441/+494
| | | | | | | | | | | | | | | | | | | | source/rpc_server/srv_spoolss_nt.c - add an access check to _spoolss_deleteprinter() to stop random users and passers by from deleting printers. source/lib/messages.c - converted global msg_all struct to a local in message_send_all() function. source/include/smb.h - added a success error code to the spoolss return codes. source/include/proto.h source/param/loadparm.c source/printing/printing.c - Added new parameter "total print jobs" to limit the total number of print jobs across all queues. Currently individual queues are limited by "max print jobs".
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-232-4/+3
| | | | | | | | | | | | source/rpc_server/srv_spoolss_nt.c - remove redundant srv_spoolss_sendnotify() calls from _spoolss_startdocprinter() and _spoolss_enddocprinter(), as its functionality is already covered in print_job_start() and print_job_end() source/printing/printing.c - force a print_queue_update() prior to print queue purge so that all jobs are purged.
* Some systems don't support SEC_RIGHTS_MAXIMUM_ALLOWED for lsa_open_policy()Tim Potter2001-01-231-1/+5
| | | | but NT sends 0x2000000 so we might as well do it too.
* Patch to get smbcacls and rpcclient to compile together.Tim Potter2001-01-231-4/+4
|
* include/vfs.h:Jeremy Allison2001-01-2311-449/+819
| | | | | | | | | | | | | smbd/vfs-wrap.c: smbd/vfs.c: Added fchmod_acl and chmod_acl. lib/substitute.c: smbd/lanman.c: smbd/open.c: smbd/process.c: smbd/reply.c: smbd/service.c: Removed sessetup_user variable. Added current_user_info struct which conatins domain info etc. Added '%D' for client domain parameter. Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-221-1/+1
| | | | | source/printing/printing.c - remove unused variable
* Changes from APPLIANCE_HEAD:David O'Neill2001-01-222-20/+37
| | | | | | | | | | source/smbd/lanman.c - cleanup and bug fix for win9x print queue purge. source/printing/printing.c - cleanup and bug fix for win9x print queue purge. - print_job_end() changed to cleanup spool file in the event of a failure returned from the print_run_command()
* Changes from SAMBA_2_2:David O'Neill2001-01-221-0/+3
| | | | | | docs/yodldocs/smb.conf.5.yo - add comment about ability to include environment variables in smb.conf. Added just to mention it, probably needs improvement.
* Small bugfix from Kenichi Okuyama <okuyamak@dd.iij4u.or.jp>:David O'Neill2001-01-221-1/+1
| | | | | -FN_GLOBAL_INTEGER(lp_min_wins_ttl, &Globals.max_wins_ttl) +FN_GLOBAL_INTEGER(lp_min_wins_ttl, &Globals.min_wins_ttl)