summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix from Jim McDonough @ IBM for OS/2 clients.Jeremy Allison2000-11-162-0/+11
| | | | Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2000-11-164-2/+10
| | | | - stuff that got missed for virtual lp
* Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison2000-11-1614-165/+360
| | | | | | | | | a byte range lock (write lock only, but Win2k breaks on read lock also so I do the same) - if you think about why, this is obvious. Also fixed our client code to do level II oplocks, if requested, and fixed the code where we would assume the client wanted level II if it advertised itself as being level II capable - it may not want that. Jeremy.
* Uninitialized memory read fixes.Jeremy Allison2000-11-151-3/+7
| | | | | open_file_shared takes a DOS pathname, not a UNIX one. Jeremy.
* Merge of the printing fixes from HEAD to 2.2.Jeremy Allison2000-11-1514-301/+989
| | | | Jeremy.
* Adding Tim's vlp for testing.Jeremy Allison2000-11-140-0/+0
| | | | Jeremy.
* This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.cvs2svn Import User2000-11-142-0/+440
|\
| * Changes from APPLIANCE_HEAD:David O'Neill2000-11-147-2/+515
| | | | | | | | | | | | | | | | | | - merged Tim's vlp (virtual lp) test program. Enable it with -DDEVELOPER or by using ./configure.developer (source/include/smb.h source/configure.developer source/printing/lpq_parse.c source/param/loadparm.c testsuite/printing/.cvsignore testsuite/printing/Makefile.vlp testsuite/printing/vlp.c)
| * printing/nt_printing.c: After long soul searching and making both Andrew and myJeremy Allison2000-11-142-15/+14
| | | | | | | | | | | | | | | | life a misery, here is the only possible null driver fix we have found. This *SUCKS*. rpc_server/srv_spoolss_nt.c: Correct printername search. Correct portname reply Correct attributes reply. Removal of unused temp variable. Jeremy.
| * Fixed the cut-n-paste bugs in the new passdb backend code that leaked memory.Jeremy Allison2000-11-141-2/+2
| | | | | | | | Jeremy.
| * Tims fixes for non-local lookup.Jeremy Allison2000-11-131-23/+22
| | | | | | | | Jeremy.
| * Large commit which restructures the local password storage API.Gerald Carter2000-11-1329-2186/+2554
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the only backend which works is smbpasswd (tdb, LDAP, and NIS+) are broken, but they were somewhat broken before. :) The following functions implement the storage manipulation interface /*The following definitions come from passdb/pdb_smbpasswd.c */ BOOL pdb_setsampwent (BOOL update); void pdb_endsampwent (void); SAM_ACCOUNT* pdb_getsampwent (void); SAM_ACCOUNT* pdb_getsampwnam (char *username); SAM_ACCOUNT* pdb_getsampwuid (uid_t uid); SAM_ACCOUNT* pdb_getsampwrid (uint32 rid); BOOL pdb_add_sam_account (SAM_ACCOUNT *sampass); BOOL pdb_update_sam_account (SAM_ACCOUNT *sampass, BOOL override); BOOL pdb_delete_sam_account (char* username); There is also a host of pdb_set..() and pdb_get..() functions for manipulating SAM_ACCOUNT struct members. Note that the struct passdb_ops {} has gone away. Also notice that struct smb_passwd (formally in smb.h) has been moved to passdb/pdb_smbpasswd.c and is not accessed outisde of static internal functions in this file. All local password searches should make use of the the SAM_ACCOUNT struct and the previously mentioned functions. I'll write some documentation for this later. The next step is to fix the TDB passdb backend, then work on spliting the backends out into share libraries, and finally get the LDAP backend going. What works and may not: o domain logons from Win9x works o domain logons from WinNT 4 works o user and group enumeration as implemented by Tim works o file and print access works o changing password from Win9x & NT ummm...i'll fix this tonight :) If I broke anything else, just yell and I'll fix it. I think it should be fairly quite. -- jerry
| * Fetch authentication info before actually using it.Tim Potter2000-11-111-2/+2
| |
| * Merge of Herb's profiling code.Jeremy Allison2000-11-114-0/+69
| | | | | | | | Jeremy.
| * Merge in Herb's changes from 2.2.Jeremy Allison2000-11-103-4/+19
| | | | | | | | Jeremy.
| * Added Tim's changes to lock DB during update.Jeremy Allison2000-11-101-3/+18
| | | | | | | | Jeremy.
| * rpc_parse/parse_spoolss.c: Updated comment for old version of W2K.Jeremy Allison2000-11-102-1/+4
| | | | | | | | | | tdb/tdbutil.c: With varargs uint16 is cast to (int). Jeremy.
| * printing/nt_printing.c: use getpwuid not smbgetpwuid. Canonicalize printernames.Jeremy Allison2000-11-105-92/+97
| | | | | | | | | | | | | | | | printing/printing.c: Insure fix for malloc of zero. rpc_parse/parse_misc.c: Enusre UNISTR's are zero filled. rpc_parse/parse_spoolss.c: Correct INFO_6 - differs between pre-releases of W2K and shipping build. rpc_server/srv_spoolss_nt.c: Canonicalize printernames. Jeremy.
| * Fix from John E. Malmberg <wb8tyw@qsl.net> for -1 return in interfaces scan.Jeremy Allison2000-11-101-2/+2
| | | | | | | | Jeremy.
| * added more explanation about the required permissions (and authorization)Gerald Carter2000-11-101-3/+26
| | | | | | | | | | | | | | | | | | in order to add printer drivers to a samba server. jerry
| * minor update to help fileHerb Lewis2000-11-091-0/+15
| |
| * restructure PCP metrics (merge from 2.2 branch)Herb Lewis2000-11-096-2092/+234
| |
| * an attempt to get the handling of fields in printer info structuresAndrew Tridgell2000-11-082-48/+30
| | | | | | | | | | consistent. Still working with Jeremy on this, there is probably more to be done
| * Merge fest!!!Tim Potter2000-11-081-24/+20
| |
| * make protoTim Potter2000-11-081-3/+3
| |
| * More merging of printing stuff from appliance.Tim Potter2000-11-081-3/+3
| |
| * Merge of latest round of printing fixes from appliance branch.Tim Potter2000-11-071-30/+69
| |
| * sync with 2.2 changesHerb Lewis2000-11-071-0/+1
| |
| * make protoTim Potter2000-11-071-353/+360
| |
| * Merge of printer security descriptor, info level and printerdataTim Potter2000-11-073-95/+426
| | | | | | | | comparison changes from appliance branch.
| * 64 bit fix from Uros Prestor <uros@turbolinux.com>.Jeremy Allison2000-11-061-3/+3
| | | | | | | | Jeremy.
| * Fix to the "known/unknown user" difference patch from "Ron Alexander" ↵Jeremy Allison2000-11-061-0/+1
| | | | | | | | | | | | <rcalex@home.com>. Jeremy.
| * Added a VFS version return to init call. Allows smbd to fail an init ifJeremy Allison2000-11-063-8/+24
| | | | | | | | | | versions don't match. Jeremy.
| * Added a VFS version return to init call. Allows smbd to fail an init ifJeremy Allison2000-11-061-1/+2
| | | | | | | | | | versions don't match. Jeremy.
| * Fixes for sample VFS audit code from "Brad Sahr" <bsahr@macromedia.com>.Jeremy Allison2000-11-063-106/+196
| | | | | | | | Jeremy.
| * Added documentation for printer-notify smbcontrol command.Tim Potter2000-11-053-40/+54
| |
| * Merge from Tim - don't reinsert UNIX job if already exists.Jeremy Allison2000-11-041-0/+8
| | | | | | | | Jeremy.
| * Fix some compiler warnings.Tim Potter2000-11-041-6/+6
| |
| * Merge of printing improvements/fixes from appliance branch.Tim Potter2000-11-041-1/+60
| |
| * Fix for admin user being ignored.Jeremy Allison2000-11-041-0/+1
| | | | | | | | Jeremy.
| * Sync up with Tim's changes in applience-head for SACLs.Jeremy Allison2000-11-041-49/+44
| | | | | | | | Jeremy.
| * Added Using Samba book reference back into welcome page.John Terpstra2000-11-021-6/+11
| |
| * Remove CGI logging code. Make username/password lookups takeJeremy Allison2000-11-011-29/+28
| | | | | | | | | | the same time. Jeremy.
| * documentation update and general descriptionGerald Carter2000-11-011-1/+46
| | | | | | | | jerry
| * Added a authentication hook to smbwrapper which allows a (username,Tim Potter2000-11-012-11/+56
| | | | | | | | workgroup, password) tuple to be provided by another function.
| * Added smbsh to list of ignored files.Tim Potter2000-11-011-0/+1
| |
| * Merge of comment repair.Tim Potter2000-10-301-8/+8
| |
| * Only use prs_uint8s on marshalling as we know we're little endian. OnJeremy Allison2000-10-301-6/+18
| | | | | | | | | | unmarshalling use prs_uint16s. Yes this sucks :-). Jeremy.
| * Fixed double btyte-swap problems with bigendian architectures.Jeremy Allison2000-10-301-1/+2
| | | | | | | | Jeremy.
| * Call standard_sub_advanced() after lp_logon_XX() calls.Jeremy Allison2000-10-301-0/+2
| | | | | | | | Jeremy.