1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

4471 Commits

Author SHA1 Message Date
Jeremy Allison
c1900772ce printing/nt_printing.c: use getpwuid not smbgetpwuid. Canonicalize printernames.
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 b17e23a8ff)
2000-11-10 19:36:34 +00:00
Jeremy Allison
3c330068ad Fix from John E. Malmberg <wb8tyw@qsl.net> for -1 return in interfaces scan.
Jeremy.
(This used to be commit 4d25a53c36)
2000-11-10 19:02:32 +00:00
Gerald Carter
acc31ccbc5 added more explanation about the required permissions (and authorization)
in order to add printer drivers to a samba server.




jerry
(This used to be commit b4e2fc0bd2)
2000-11-10 15:33:15 +00:00
Herb Lewis
9de4f58781 minor update to help file
(This used to be commit 99b764e1c7)
2000-11-09 21:23:51 +00:00
Herb Lewis
be6a317345 restructure PCP metrics (merge from 2.2 branch)
(This used to be commit dc725c2256)
2000-11-09 20:45:09 +00:00
Andrew Tridgell
3adc0e7a4e an attempt to get the handling of fields in printer info structures
consistent. Still working with Jeremy on this, there is probably more
to be done
(This used to be commit c4bb9c598c)
2000-11-08 03:12:16 +00:00
Tim Potter
1d3747e7f2 Merge fest!!!
(This used to be commit 87775074b2)
2000-11-08 00:20:26 +00:00
Tim Potter
29cb8c12ca make proto
(This used to be commit 88a2d224f1)
2000-11-08 00:19:30 +00:00
Tim Potter
e1cc6c85d7 More merging of printing stuff from appliance.
(This used to be commit 18fa724a79)
2000-11-08 00:16:38 +00:00
Tim Potter
dd2f6f448d Merge of latest round of printing fixes from appliance branch.
(This used to be commit 8fe17fd594)
2000-11-07 23:05:53 +00:00
Herb Lewis
de8def5607 sync with 2.2 changes
(This used to be commit 0edc78937f)
2000-11-07 19:46:43 +00:00
Tim Potter
e5225bfc6b make proto
(This used to be commit 6ced1bb8b9)
2000-11-07 17:48:54 +00:00
Tim Potter
8a190a9e46 Merge of printer security descriptor, info level and printerdata
comparison changes from appliance branch.
(This used to be commit ae087bdf31)
2000-11-07 02:54:50 +00:00
Jeremy Allison
7185f5fbe6 64 bit fix from Uros Prestor <uros@turbolinux.com>.
Jeremy.
(This used to be commit 9a5471b3e8)
2000-11-06 23:14:59 +00:00
Jeremy Allison
0042bf32cc Fix to the "known/unknown user" difference patch from "Ron Alexander" <rcalex@home.com>.
Jeremy.
(This used to be commit 7a698c1f23)
2000-11-06 23:08:00 +00:00
Jeremy Allison
6d36edaf43 Added a VFS version return to init call. Allows smbd to fail an init if
versions don't match.
Jeremy.
(This used to be commit d0fbb4f5d9)
2000-11-06 21:44:33 +00:00
Jeremy Allison
aae30b6799 Added a VFS version return to init call. Allows smbd to fail an init if
versions don't match.
Jeremy.
(This used to be commit b29ff81673)
2000-11-06 21:33:49 +00:00
Jeremy Allison
5ba7235f0f Fixes for sample VFS audit code from "Brad Sahr" <bsahr@macromedia.com>.
Jeremy.
(This used to be commit 5d6dec3a94)
2000-11-06 20:01:03 +00:00
Tim Potter
f68bbb4b66 Added documentation for printer-notify smbcontrol command.
(This used to be commit fdf6a5c76a)
2000-11-05 23:06:13 +00:00
Jeremy Allison
a6ff0d29d6 Merge from Tim - don't reinsert UNIX job if already exists.
Jeremy.
(This used to be commit a33c395c98)
2000-11-04 19:48:53 +00:00
Tim Potter
61b659faaf Fix some compiler warnings.
(This used to be commit 852de9226d)
2000-11-04 18:44:34 +00:00
Tim Potter
34b397f8ac Merge of printing improvements/fixes from appliance branch.
(This used to be commit 8e163eac33)
2000-11-04 18:24:15 +00:00
Jeremy Allison
5073d11643 Fix for admin user being ignored.
Jeremy.
(This used to be commit f0dcc39d34)
2000-11-04 06:45:26 +00:00
Jeremy Allison
cbe839f35c Sync up with Tim's changes in applience-head for SACLs.
Jeremy.
(This used to be commit 6b94273fc6)
2000-11-04 06:36:18 +00:00
John Terpstra
ab9d1e787f Added Using Samba book reference back into welcome page.
(This used to be commit bb552f7eae)
2000-11-02 19:42:02 +00:00
Jeremy Allison
9e70ba71af Remove CGI logging code. Make username/password lookups take
the same time.
Jeremy.
(This used to be commit 9698f74685)
2000-11-01 19:43:53 +00:00
Gerald Carter
698f034617 documentation update and general description
jerry
(This used to be commit f2cc345195)
2000-11-01 18:28:22 +00:00
Tim Potter
ae7911e4d8 Added a authentication hook to smbwrapper which allows a (username,
workgroup, password) tuple to be provided by another function.
(This used to be commit 644c78d64a)
2000-11-01 04:31:19 +00:00
Tim Potter
71daef8167 Added smbsh to list of ignored files.
(This used to be commit 3ff75e92ad)
2000-11-01 03:22:38 +00:00
Tim Potter
cd8525a767 Merge of comment repair.
(This used to be commit 7712421910)
2000-10-30 21:55:30 +00:00
Jeremy Allison
d4959bdbdc Only use prs_uint8s on marshalling as we know we're little endian. On
unmarshalling use prs_uint16s. Yes this sucks :-).
Jeremy.
(This used to be commit 3d68257850)
2000-10-30 21:47:20 +00:00
Jeremy Allison
dc0b638489 Fixed double btyte-swap problems with bigendian architectures.
Jeremy.
(This used to be commit c96a77957b)
2000-10-30 19:45:22 +00:00
Jeremy Allison
ff6f0c1a3b Call standard_sub_advanced() after lp_logon_XX() calls.
Jeremy.
(This used to be commit d5be2334d4)
2000-10-30 19:35:43 +00:00
Tim Potter
80dcdd1cf4 proto.h was out of date.
(This used to be commit 63e4f62916)
2000-10-29 23:52:21 +00:00
Jeremy Allison
c33d0e466d Patches from John Reilly @ HP for print job time bugs.
Jeremy.
(This used to be commit 0eb7f2d514)
2000-10-29 17:27:41 +00:00
Jeremy Allison
e2d1dd47d8 Another patch to fix cli_reestablish_connection from Kenichi Okuyama@Tokyo Research Lab. IBM-Japan. Co. Jp.
Jeremy.
(This used to be commit 06f5da5d4b)
2000-10-28 20:54:45 +00:00
Jeremy Allison
1cb444057a David Lee's utmp patch (finally). Thanks David !
Jeremy.
(This used to be commit b809a2d0c8)
2000-10-28 19:38:39 +00:00
Jeremy Allison
234792321c Fixed silly bug in dup2 code found by Kenichi Okuyama@Tokyo Research Lab. IBM-Japan. Co. Jp.
Jeremy.
(This used to be commit 9c2272e056)
2000-10-28 19:30:21 +00:00
Jeremy Allison
2e62e34fe4 Rolled back find NetBIOS name of PDC/BDC code as a temp fix. This
code works :-).
Jeremy.
(This used to be commit 4f66eda11e)
2000-10-27 03:02:22 +00:00
Jeremy Allison
9a8749d33a Added John Reillys patch for error code returns from clean_up_printer_driver_strunct()
calls.
Jeremy.
(This used to be commit f81a2a03bf)
2000-10-26 22:09:22 +00:00
Jeremy Allison
b5ac72cc64 Sorry JF - no billable hours :-). I fixed the "stream of events" problem
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 521f09829f)
2000-10-26 21:43:13 +00:00
Gerald Carter
01e0d3879e TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>
Marked as an experimental compile time option (defaults to off) for now.





jerry
(This used to be commit 0435af4417)
2000-10-26 03:31:41 +00:00
Jeremy Allison
f3a20ba1f3 Even when looking up a users groups via winbindd even if the lookup for
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 4ffda462b9)
2000-10-25 23:32:12 +00:00
Jeremy Allison
0b0681388d We already have a perfectly good next_token() function we should be using
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 c3e4ac9a2d)
2000-10-25 21:28:15 +00:00
Jeremy Allison
7b1cf88670 Fix for uidtoname not returning DOMAIN\name but just name. This caused
printer_access_check to break in a domain environment.
Jeremy.
(This used to be commit 0fc1a46150)
2000-10-25 20:02:25 +00:00
Jeremy Allison
2094856942 John Reilly @ HP (who is a wonderful human being and *definately* needs
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 fd17374e6d)
2000-10-25 17:56:38 +00:00
Gerald Carter
72626a7954 added some clarifications.
jerry
(This used to be commit 4f76f17a2c)
2000-10-25 17:39:42 +00:00
Tim Potter
888643b981 Removed erroneous +1's on length of unicode domain names for various
functions in the \\lsarpc pipe.
(This used to be commit 30bb3f2df9)
2000-10-25 04:29:35 +00:00
Jeremy Allison
af33ececd9 Yeah - not setting getwd_cache to True as default, that'd do it for a 5x
performance hit..... :-) :-).
Jeremy.
PS. Yes this was my fault for everyone who wants to throw rotten fruit...
(This used to be commit 4f5bbc38ce)
2000-10-24 19:44:02 +00:00
Tim Potter
e833a83d56 Small change to process of joining a domain with samedit.
(This used to be commit 7c3518c55e)
2000-10-22 22:38:33 +00:00