1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

4003 Commits

Author SHA1 Message Date
Tim Potter
600eb0eb00 Fetch authentication info before actually using it. -
Jeremy Allison
3be056c71a Merge of Herb's profiling code.
Jeremy.
-
Jeremy Allison
24d76c5fbd Merge in Herb's changes from 2.2.
Jeremy.
-
Jeremy Allison
f25b5798b8 Added Tim's changes to lock DB during update.
Jeremy.
-
Jeremy Allison
98764c5df9 rpc_parse/parse_spoolss.c: Updated comment for old version of W2K.
tdb/tdbutil.c: With varargs uint16 is cast to (int).
Jeremy.
-
Jeremy Allison
b17e23a8ff 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.
-
Jeremy Allison
4d25a53c36 Fix from John E. Malmberg <wb8tyw@qsl.net> for -1 return in interfaces scan.
Jeremy.
-
Andrew Tridgell
c4bb9c598c 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
-
Tim Potter
87775074b2 Merge fest!!! -
Tim Potter
88a2d224f1 make proto -
Tim Potter
18fa724a79 More merging of printing stuff from appliance. -
Tim Potter
8fe17fd594 Merge of latest round of printing fixes from appliance branch. -
Tim Potter
6ced1bb8b9 make proto -
Tim Potter
ae087bdf31 Merge of printer security descriptor, info level and printerdata
comparison changes from appliance branch.
-
Jeremy Allison
9a5471b3e8 64 bit fix from Uros Prestor <uros@turbolinux.com>.
Jeremy.
-
Jeremy Allison
7a698c1f23 Fix to the "known/unknown user" difference patch from "Ron Alexander" <rcalex@home.com>.
Jeremy.
-
Jeremy Allison
d0fbb4f5d9 Added a VFS version return to init call. Allows smbd to fail an init if
versions don't match.
Jeremy.
-
Jeremy Allison
a33c395c98 Merge from Tim - don't reinsert UNIX job if already exists.
Jeremy.
-
Tim Potter
852de9226d Fix some compiler warnings. -
Tim Potter
8e163eac33 Merge of printing improvements/fixes from appliance branch. -
Jeremy Allison
f0dcc39d34 Fix for admin user being ignored.
Jeremy.
-
Jeremy Allison
6b94273fc6 Sync up with Tim's changes in applience-head for SACLs.
Jeremy.
-
Jeremy Allison
9698f74685 Remove CGI logging code. Make username/password lookups take
the same time.
Jeremy.
-
Tim Potter
644c78d64a Added a authentication hook to smbwrapper which allows a (username,
workgroup, password) tuple to be provided by another function.
-
Tim Potter
3ff75e92ad Added smbsh to list of ignored files. -
Tim Potter
7712421910 Merge of comment repair. -
Jeremy Allison
3d68257850 Only use prs_uint8s on marshalling as we know we're little endian. On
unmarshalling use prs_uint16s. Yes this sucks :-).
Jeremy.
-
Jeremy Allison
c96a77957b Fixed double btyte-swap problems with bigendian architectures.
Jeremy.
-
Jeremy Allison
d5be2334d4 Call standard_sub_advanced() after lp_logon_XX() calls.
Jeremy.
-
Tim Potter
63e4f62916 proto.h was out of date. -
Jeremy Allison
0eb7f2d514 Patches from John Reilly @ HP for print job time bugs.
Jeremy.
-
Jeremy Allison
06f5da5d4b Another patch to fix cli_reestablish_connection from Kenichi Okuyama@Tokyo Research Lab. IBM-Japan. Co. Jp.
Jeremy.
-
Jeremy Allison
b809a2d0c8 David Lee's utmp patch (finally). Thanks David !
Jeremy.
-
Jeremy Allison
9c2272e056 Fixed silly bug in dup2 code found by Kenichi Okuyama@Tokyo Research Lab. IBM-Japan. Co. Jp.
Jeremy.
-
Jeremy Allison
4f66eda11e Rolled back find NetBIOS name of PDC/BDC code as a temp fix. This
code works :-).
Jeremy.
-
Jeremy Allison
f81a2a03bf Added John Reillys patch for error code returns from clean_up_printer_driver_strunct()
calls.
Jeremy.
-
Jeremy Allison
521f09829f 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.
-
Gerald Carter
0435af4417 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
-
Jeremy Allison
4ffda462b9 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.
-
Jeremy Allison
c3e4ac9a2d 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.
-
Jeremy Allison
0fc1a46150 Fix for uidtoname not returning DOMAIN\name but just name. This caused
printer_access_check to break in a domain environment.
Jeremy.
-
Jeremy Allison
fd17374e6d 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.
-
Tim Potter
30bb3f2df9 Removed erroneous +1's on length of unicode domain names for various
functions in the \\lsarpc pipe.
-
Jeremy Allison
4f5bbc38ce 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...
-
Jeremy Allison
70cecfefc8 Fixes from David Lee for utmp handling.
Jeremy.
-
Jeremy Allison
979aa01e01 Fix for vfs_fstat() crash with new stat code.
Jeremy.
-
Tim Potter
6d39df7cf8 Merge from appliance-head -
Tim Potter
9328bc7b8a Fixed missing bracket on debug statement. -
Jeremy Allison
66a5c05ec4 Ok - this is a big patch - and it may break smbd a bit (although
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.
-
Tim Potter
e40a0e2f52 Removed null user checks to enable lanman print queue pausing and print job
deleting.
-