summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>Gerald Carter2000-10-2610-652/+1324
| | | | | | | | | | | Marked as an experimental compile time option (defaults to off) for now. jerry (This used to be commit 0435af4417b876c2ea1dd4591ae7647784c28e30)
* Even when looking up a users groups via winbindd even if the lookup forJeremy Allison2000-10-251-2/+2
| | | | | | | | | the list of groups a user is in succeeds via winbind, we must allow the lookup of the group name -> gid we are checking if the user is a member of to go via winbind or /etc/group - as it may be a group on the local box we are checking against. This is a subtle one..... Jeremy. (This used to be commit 4ffda462b97e4f35c6d050c579dfe3e3b64e2c9f)
* We already have a perfectly good next_token() function we should be usingJeremy Allison2000-10-251-6/+3
| | | | | | | | instead of strtok - this fixes a bug with NT users with spaces in their names when using winbindd. Needs to be added to the other parse_lpXX functions (currently only added to lprng parsing code). Jeremy. (This used to be commit c3e4ac9a2db32c40ce330de0eab4bc82ef4fd579)
* Fix for uidtoname not returning DOMAIN\name but just name. This causedJeremy Allison2000-10-251-2/+9
| | | | | | printer_access_check to break in a domain environment. Jeremy. (This used to be commit 0fc1a461504f87c145f5f91189bd767989c488f2)
* John Reilly @ HP (who is a wonderful human being and *definately* needsJeremy Allison2000-10-253-56/+189
| | | | | | | | | CVS commit access :-) has written a simple routine that peeks inside the MS PE printer driver file format and can tell if a driver is W2K or NT4.x. So we can now correctly return the driver version number. Hurrah ! JF - this is the code you always wanted ..... :-) :-). Jeremy. (This used to be commit fd17374e6d888813f4ed7142480cf93b8a16bfef)
* added some clarifications.Gerald Carter2000-10-251-5/+22
| | | | | jerry (This used to be commit 4f76f17a2c10e7b4a5d3cd6fa11930a97878763e)
* Removed erroneous +1's on length of unicode domain names for variousTim Potter2000-10-251-2/+2
| | | | | functions in the \\lsarpc pipe. (This used to be commit 30bb3f2df97662c6547c7994ce50efe9abf37968)
* Yeah - not setting getwd_cache to True as default, that'd do it for a 5xJeremy Allison2000-10-241-1/+1
| | | | | | | performance hit..... :-) :-). Jeremy. PS. Yes this was my fault for everyone who wants to throw rotten fruit... (This used to be commit 4f5bbc38ce492baa6e2b4d94758e9247756ae9ba)
* Small change to process of joining a domain with samedit.Tim Potter2000-10-223-3/+6
| | | | (This used to be commit 7c3518c55eeff0a962c367438cb5d67044698825)
* Fixes from David Lee for utmp handling.Jeremy Allison2000-10-214-495/+1137
| | | | | Jeremy. (This used to be commit 70cecfefc8e876871b29ff8d5fa9226db0e98153)
* Fix for vfs_fstat() crash with new stat code.Jeremy Allison2000-10-201-0/+3
| | | | | Jeremy. (This used to be commit 979aa01e011d433328af0ead7644f47d0cfadf13)
* Merge from appliance-headTim Potter2000-10-201-1/+5
| | | | (This used to be commit 6d39df7cf84d391bb4dd55d9a26f9f5a6368f46f)
* Fixed missing bracket on debug statement.Tim Potter2000-10-191-1/+1
| | | | (This used to be commit 9328bc7b8a7d43ef0da47413f314f9943ea98847)
* Ok - this is a big patch - and it may break smbd a bit (althoughJeremy Allison2000-10-199-234/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I hope not). If you encounter strange file-serving behavior after this patch then back it out. I analysed our stat() usage and realised we were doing approx. 3 stat calls per open, and 2 per getattr/setattr. This patch should fix all that. It causes the stat struct returned from unix_convert() (which now *must* be passed a valid SMB_STRUCT_STAT pointer) to be passed through into the open code. This should prevent the multiple stats that were being done so as not to violate layer encapsulation in the API's. Herb - if you could run a NetBench test with this code and do a padc/par syscall test and also run with the current 2.2.0 code and test the padc/par syscalls I'd appreciate it - you should find the number of stat calls reduced - not sure by how much. The patch depends on unix_convert() actually finding the file and returning a stat struct, or returning a zero'd out stat struct if the file didn't exist. I believe we can guarentee this to be the case - I just wasn't confident enough to make this an assertion before. Ok ok - I did write this whilst at the Miami conference..... sometimes you get a little free time at these things :-). Jeremy. (This used to be commit 66a5c05ec46b641224fbe01b30bd7e83571a2a1b)
* Removed null user checks to enable lanman print queue pausing and print jobTim Potter2000-10-181-4/+0
| | | | | deleting. (This used to be commit e40a0e2f52326199264d622c4f11877f20e4ebce)
* Renamed WPrintQueuePurge to WPrintQueueCtrl as this function can purge, pauseTim Potter2000-10-181-4/+4
| | | | | or resume a print queue. (This used to be commit 9998518a69c67c1540266549c69fca977a89acde)
* Bug report that on some systems extended characters are being returned asChristopher R. Hertel2000-10-181-1/+2
| | | | | | | | | | | | negative values from the mygetc() function. I've modified the return line so that it should return values in the 0..255 range for legitimate characters. This change should probably be copied into SAMBA_2_2 but I haven't checked that tree out yet. Chris -)----- (This used to be commit e2ce5ce0fdaca0e38d953baa2da4c3542b0503ee)
* Merge of rpc parse buffer underflow debug code.Tim Potter2000-10-181-0/+19
| | | | (This used to be commit c8d88713d9f7a646eb3b8e76bdd0250a3b89b722)
* Fixes for io_q_setprinter rpc parsing.Tim Potter2000-10-181-0/+10
| | | | (This used to be commit 1b86b9139e87cc4c4a6675ceeda307b91eaa1482)
* Added documentation for winbind enum users and winbind enum groupsTim Potter2000-10-173-0/+73
| | | | | configuration parameters. (This used to be commit c76dfab559003c9194f519cb89869d191cc0d6c0)
* get rid of $Revision string - sync with 2.2 branchHerb Lewis2000-10-162-3/+0
| | | | (This used to be commit 192b088a4649c2b6b27bd30ae47d1228f9c86092)
* Fixes to get ms-dfs code to compile with the new changes.Jeremy Allison2000-10-131-2/+3
| | | | | Jeremy (This used to be commit d712b5b071eff89eca547678cd1652263708abfb)
* Added David O'Neills fix to HEAD (hmmm. how did this compile... :-).Jeremy Allison2000-10-131-1/+1
| | | | | Jeremy. (This used to be commit e222057140edb3f14d76e54bd6e744919f50b4df)
* last part of W2K support.Jean-François Micouleau2000-10-139-51/+97
| | | | | | | | | | | | | the trust domain list reply on netlogon pipe was wrong, interim hack until we have full trust relationships. changed some unistr2 to parse the ending NULL char. added a prs_align_needed() function. much like a prs_align but with a condition. needed for the unistr2 parsing. J.F. (This used to be commit d8bf81553c17d9ee3419d8150b96119ebb0b8fa9)
* Fixed merging mess.Tim Potter2000-10-131-1/+22
| | | | (This used to be commit 7b8c03de1fd1461d4c65c0d7100f9519e08d1b24)
* Fix to allow smbd to call winbindd if it is running for all group enumeration,Jeremy Allison2000-10-138-253/+457
| | | | | | | | | falling back to the UNIX calls on error. This should fix all problems with smbd enumerating all users in all groups in all trusted domains via winbindd. Also changed GETDC to query 1C name rather than 1b name as only the PDC registers 1b. Jeremy. (This used to be commit 5b0038a2afd8abbd6fd4a58f5477a40d1926d498)
* Fix to allow smbd to call winbindd if it is running for all group enumeration,Jeremy Allison2000-10-131-2/+2
| | | | | | | falling back to the UNIX calls on error. This should fix all problems with smbd enumerating all users in all groups in all trusted domains via winbindd. Jeremy. (This used to be commit 54a1ae815b3ebcc7ab98bf0a2a39719ae3b2d5ea)