summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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. (This used to be commit 06e71c9f8be20b84e33e143c3d0b7904225efb45)
* Fixed the cut-n-paste bugs in the new passdb backend code that leaked memory.Jeremy Allison2000-11-141-2/+2
| | | | | Jeremy. (This used to be commit 55c6acce26a26af68149865dafb42e5a03b497e0)
* Tims fixes for non-local lookup.Jeremy Allison2000-11-131-23/+22
| | | | | Jeremy. (This used to be commit 38e04c43cc2ce8479b8cc3ff0f87d3d150d9af83)
* 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 (This used to be commit 0b92d0838ebdbe24f34f17e313ecbf61a0301389)
* Fetch authentication info before actually using it.Tim Potter2000-11-111-2/+2
| | | | (This used to be commit 600eb0eb0036631b7e6d8aa7cddbc378368c002c)
* Merge of Herb's profiling code.Jeremy Allison2000-11-114-0/+69
| | | | | Jeremy. (This used to be commit 3be056c71aa8e0a4ba70d397107199004bdb7d3f)
* Merge in Herb's changes from 2.2.Jeremy Allison2000-11-103-4/+19
| | | | | Jeremy. (This used to be commit 24d76c5fbda29d89c96d7c22193ec2eb93ad3887)
* Added Tim's changes to lock DB during update.Jeremy Allison2000-11-101-3/+18
| | | | | Jeremy. (This used to be commit f25b5798b8610de9748ae90ea1bf813b125f517d)
* 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. (This used to be commit 98764c5df9f363780427a423ead0913f7b2a0905)
* 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. (This used to be commit b17e23a8ff2b44540726968355a4b7e26f244f3b)
* Fix from John E. Malmberg <wb8tyw@qsl.net> for -1 return in interfaces scan.Jeremy Allison2000-11-101-2/+2
| | | | | Jeremy. (This used to be commit 4d25a53c36ad2c33cc2ecaf1486e18f1536eff95)
* 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 (This used to be commit b4e2fc0bd223993e61f215c89167e8549254c214)
* minor update to help fileHerb Lewis2000-11-091-0/+15
| | | | (This used to be commit 99b764e1c7d508e0caf2ffa82f279dff4fbb5aac)
* restructure PCP metrics (merge from 2.2 branch)Herb Lewis2000-11-096-2092/+234
| | | | (This used to be commit dc725c2256ff5f3d8ac37fe33cfa1685194f7f46)
* 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 (This used to be commit c4bb9c598cf9781d48bc123a8cbbed9c2049bf89)
* Merge fest!!!Tim Potter2000-11-081-24/+20
| | | | (This used to be commit 87775074b22bb969c3585556e2a86ac4c7d4b0d4)
* make protoTim Potter2000-11-081-3/+3
| | | | (This used to be commit 88a2d224f1c3ca09abbad7f33b0e93bdf503da4e)
* More merging of printing stuff from appliance.Tim Potter2000-11-081-3/+3
| | | | (This used to be commit 18fa724a7969666dd5aa176af187054abc94bfd3)
* Merge of latest round of printing fixes from appliance branch.Tim Potter2000-11-071-30/+69
| | | | (This used to be commit 8fe17fd59488814cdbe9abcfe53ab2627901e421)
* sync with 2.2 changesHerb Lewis2000-11-071-0/+1
| | | | (This used to be commit 0edc78937f4c92a0d18bba9a433a1bc2b00ce9b8)
* make protoTim Potter2000-11-071-353/+360
| | | | (This used to be commit 6ced1bb8b92101e11c53467d0380a97b840de7c7)
* Merge of printer security descriptor, info level and printerdataTim Potter2000-11-073-95/+426
| | | | | comparison changes from appliance branch. (This used to be commit ae087bdf312806e08848695cad70a943bb3d71b9)
* 64 bit fix from Uros Prestor <uros@turbolinux.com>.Jeremy Allison2000-11-061-3/+3
| | | | | Jeremy. (This used to be commit 9a5471b3e861aa864ffff5fc87ac2681de7b0068)
* Fix to the "known/unknown user" difference patch from "Ron Alexander" ↵Jeremy Allison2000-11-061-0/+1
| | | | | | | <rcalex@home.com>. Jeremy. (This used to be commit 7a698c1f23ea8740755c544f631789848a360e42)
* 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. (This used to be commit d0fbb4f5d999abade8930cc6fff231a2af6cccfb)
* 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. (This used to be commit b29ff816734c0424f69124feb316da13f2e094f7)
* Fixes for sample VFS audit code from "Brad Sahr" <bsahr@macromedia.com>.Jeremy Allison2000-11-063-106/+196
| | | | | Jeremy. (This used to be commit 5d6dec3a94f496651a5f0643ab228c975911e6cd)
* Added documentation for printer-notify smbcontrol command.Tim Potter2000-11-053-40/+54
| | | | (This used to be commit fdf6a5c76abc38e16cb7ee3f31512bfc1f639651)
* Merge from Tim - don't reinsert UNIX job if already exists.Jeremy Allison2000-11-041-0/+8
| | | | | Jeremy. (This used to be commit a33c395c98d80f620257fed480d5824fc609d9c9)
* Fix some compiler warnings.Tim Potter2000-11-041-6/+6
| | | | (This used to be commit 852de9226d50ccac71ec1691052a6e395283ca56)
* Merge of printing improvements/fixes from appliance branch.Tim Potter2000-11-041-1/+60
| | | | (This used to be commit 8e163eac33e8f407de00c318d3de29fcfbf2b8a7)
* Fix for admin user being ignored.Jeremy Allison2000-11-041-0/+1
| | | | | Jeremy. (This used to be commit f0dcc39d34202ed67d778ff40166856d4c2ad87b)
* Sync up with Tim's changes in applience-head for SACLs.Jeremy Allison2000-11-041-49/+44
| | | | | Jeremy. (This used to be commit 6b94273fc61b26e83c8d791bc626fd52055ef293)
* Added Using Samba book reference back into welcome page.John Terpstra2000-11-021-6/+11
| | | | (This used to be commit bb552f7eaeb87d1d09704122da756d3d3e21697a)
* Remove CGI logging code. Make username/password lookups takeJeremy Allison2000-11-011-29/+28
| | | | | | the same time. Jeremy. (This used to be commit 9698f746858f0f2b37ec6494fca990e958d97cb7)
* documentation update and general descriptionGerald Carter2000-11-011-1/+46
| | | | | jerry (This used to be commit f2cc34519504efb12526a5ddad9341edb02ac762)
* 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. (This used to be commit 644c78d64a6d7b7e44414c579de660321a0a6b34)
* Added smbsh to list of ignored files.Tim Potter2000-11-011-0/+1
| | | | (This used to be commit 3ff75e92ad2f663d1306048d132daa486ae02d96)
* Merge of comment repair.Tim Potter2000-10-301-8/+8
| | | | (This used to be commit 7712421910b12fd64cf90100e4495669bec67c2f)
* 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. (This used to be commit 3d68257850be66c26074a43d92eb9c3c8ffaf04e)
* Fixed double btyte-swap problems with bigendian architectures.Jeremy Allison2000-10-301-1/+2
| | | | | Jeremy. (This used to be commit c96a77957be49418b62e401db49235a11d711217)
* Call standard_sub_advanced() after lp_logon_XX() calls.Jeremy Allison2000-10-301-0/+2
| | | | | Jeremy. (This used to be commit d5be2334d4fb007e39565b771cbe68e338a7fe68)
* proto.h was out of date.Tim Potter2000-10-291-353/+353
| | | | (This used to be commit 63e4f629163babc1dcba8a419ae432057e46f6f8)
* Patches from John Reilly @ HP for print job time bugs.Jeremy Allison2000-10-291-6/+16
| | | | | Jeremy. (This used to be commit 0eb7f2d514317882684e9c0c51d46b1ac1eb2568)
* Another patch to fix cli_reestablish_connection from Kenichi Okuyama@Tokyo ↵Jeremy Allison2000-10-281-4/+2
| | | | | | | Research Lab. IBM-Japan. Co. Jp. Jeremy. (This used to be commit 06f5da5d4bf044969364afe0298347811fb4ae91)
* David Lee's utmp patch (finally). Thanks David !Jeremy Allison2000-10-285-90/+625
| | | | | Jeremy. (This used to be commit b809a2d0c81c54e917ccc0c99b3e70ea8d7ceab1)
* Fixed silly bug in dup2 code found by Kenichi Okuyama@Tokyo Research Lab. ↵Jeremy Allison2000-10-281-1/+1
| | | | | | | IBM-Japan. Co. Jp. Jeremy. (This used to be commit 9c2272e056aef741c4b86f9a247c3534944d9eff)
* Rolled back find NetBIOS name of PDC/BDC code as a temp fix. ThisJeremy Allison2000-10-271-1/+60
| | | | | | code works :-). Jeremy. (This used to be commit 4f66eda11e0dc15ff04893da7b7d6e578a30c4dc)
* Added John Reillys patch for error code returns from ↵Jeremy Allison2000-10-263-7/+10
| | | | | | | | clean_up_printer_driver_strunct() calls. Jeremy. (This used to be commit f81a2a03bf435e65e7484ab021f86a8a4f62b656)
* Sorry JF - no billable hours :-). I fixed the "stream of events" problemJeremy Allison2000-10-264-22/+49
| | | | | | | | | | with PCL drivers. The problem was we were updating the changeid on every SETPRINTERDATA/DELETEPRINTERDATA call. We should not do this, we should just update the 'setprinter' called count. We update the changeid on calls to SETPRINTER/ADDPRINTER/ADDPRINTEREX etc. Also fixed the correct returning of the create time on printers. Jeremy. (This used to be commit 521f09829fd329f87b3d19e8871e2b989c98a58e)