1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

64860 Commits

Author SHA1 Message Date
Andreas Schneider
3d7e99e2c3 s3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Andreas Schneider
71be0ec140 s3-registry: Redirect KEY_CONTROL_PRINTERS to KEY_WINNT_PRINTERS.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Andreas Schneider
65eb38bc00 s3-registry: Init all needed registry keys for printing.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Simo Sorce
5604a78f09 s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Andreas Schneider
104c419345 s4-torture: Disable setting REG_BINARY printer data with size 0.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Jeremy Allison
6446c75f70 Fix several places where talloc_asprintf returns were unchecked.
Jeremy.
2010-07-27 02:38:14 -07:00
Karolin Seeger
1890a2a172 WHATSNEW: Update changes.
Thanks to Jeremy for providing this summary!

Karolin
2010-07-27 09:50:28 +02:00
Jeremy Allison
cc43f985d1 Second part of fix for bug 7578 - 'net idmap restore' fails to set HWM, causing duplicates.
Jeremy.
2010-07-27 00:23:37 -07:00
Karolin Seeger
cf38e8d822 WHATSNEW: Update changes.
Thanks to Holger for providing!

Karolin
2010-07-27 09:02:36 +02:00
Justin Maggard
4f01159a31 s3: Fix bug 7578
Uninitialized variable read in _wbint_SetHWM
2010-07-27 08:44:25 +02:00
Volker Lendecke
75db0f0a63 s3: Early start of an async nbench
The current nbench implementations have the problem that they fork a child
per simulated client. With hundreds or thousands of clients this can put
quite some load on the client. This test (when finished) will read the
standard dbench client.txt and run completely async from within one
process.

Volker
2010-07-26 23:10:39 +02:00
Volker Lendecke
2ad4b4f63e s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send 2010-07-26 23:01:38 +02:00
Volker Lendecke
27fb920ee8 s3: Factor out parse_streams_blob 2010-07-26 23:01:37 +02:00
Volker Lendecke
7c242cab95 s3: Convert cli_qpathinfo_basic to cli_qpathinfo_send 2010-07-26 23:01:37 +02:00
Volker Lendecke
f62bde93ce s3: Convert cli_qpathinfo2 to cli_qpathinfo_send 2010-07-26 23:01:37 +02:00
Volker Lendecke
9a2d08bd3c s3: Use error status instead of cli_errstr 2010-07-26 23:01:37 +02:00
Volker Lendecke
5030ba5e94 s3: Callers of cli_qpathinfo_recv might ignore the output 2010-07-26 22:58:16 +02:00
Volker Lendecke
b6c4eb3c52 s3: Log the correct core path on Linux if core_pattern is set
Contributions from Bill Hymas, IBM
2010-07-26 16:06:21 +02:00
Volker Lendecke
2ef87d8ec0 s3: fix a typo 2010-07-26 15:05:19 +02:00
Volker Lendecke
63d86757b4 s3: cli_qpathinfo2 expects at least 68 bytes 2010-07-26 09:51:37 +02:00
Volker Lendecke
0ba4404f21 s3: Convert cli_qpathinfo1 to cli_qpathinfo 2010-07-26 09:51:37 +02:00
Volker Lendecke
9851e1989a s3: Fix a structure mess-up
I wonder why the compiler did not complain -- maybe because
the structs have the same data members? No clue.
2010-07-26 09:51:36 +02:00
Volker Lendecke
cc8977b157 s3: Remove some unused struct members 2010-07-26 09:51:36 +02:00
Andrew Tridgell
059ad34e0f lib: added samba-util.pc creation
Thanks to Brad Hards for this patch
2010-07-26 11:19:59 +10:00
Volker Lendecke
334d5bfe30 s3: Convert cli_get_ea_list_path to cli_qpathinfo_send 2010-07-25 22:29:44 +02:00
Volker Lendecke
5380f67730 s3: Factor out parse_ea_blob 2010-07-25 22:29:44 +02:00
Volker Lendecke
d5e285abae s3: Convert cli_posix_stat to cli_qpathinfo_send 2010-07-25 22:29:44 +02:00
Volker Lendecke
786e4cd098 s3: Convert cli_posix_getfacl to cli_qpathinfo_send 2010-07-25 22:29:43 +02:00
Volker Lendecke
cb9baa7c2c s3: Convert cli_posix_readlink to cli_qpathinfo_send 2010-07-25 22:29:43 +02:00
Volker Lendecke
535774d880 s3: Add async cli_qpathinfo 2010-07-25 22:29:43 +02:00
Volker Lendecke
ce3dfd777f s3: cli_qpathinfo->cli_qpathinfo1 2010-07-25 22:29:42 +02:00
Volker Lendecke
b04eba165e s3: Fix cli_posix_stat
nlink seems to be defined as 8 bytes, not 4

Jeremy, please check!
2010-07-25 20:45:47 +02:00
Volker Lendecke
1528a4ffbe s3: use dump_data in query FILE_BASIC_UNIX_INFO
Jeremy, please check! To me this is a lot more readable than the decimal
listing of the bytes.
2010-07-25 20:45:46 +02:00
Volker Lendecke
032bf5c629 s3: Fix a typo (missing space) 2010-07-24 11:19:42 +02:00
Jeremy Allison
5912206606 Fix bug 7583 - Smbclient fails to kerberos connect to a Alfresco JLAN CIFS Server
Correctly calculate the gssapi channel binding checkum.

Jeremy

Signed off by: simo <idra@samba.org>
2010-07-23 10:54:46 -07:00
Björn Jacke
c75106fd3a s3: not use as-needed by default and auto use if enable-developer is active
as discussed on samba-technical, we don't want people out there to use it
unwittingly by default. However by enabling it when enable-developer is used we
make sure that we don't break the feature.
2010-07-22 15:51:36 +02:00
Simo Sorce
61cfbf342f s3-rpc_server: Cleanup the way we free pipe auth data 2010-07-21 19:14:59 -04:00
Simo Sorce
636de433ac cleaup: Reformat cli_get_session_key()
merge cli_get_session_key
2010-07-21 19:14:23 -04:00
Simo Sorce
3b502d899d s3-dcerpc: Fix potential memleak
Use a free function for schannel data too for now.
2010-07-21 19:13:27 -04:00
Simo Sorce
a3713d7469 s3-dcerpc: Properly initialize output buffers on nak/fault 2010-07-21 19:12:59 -04:00
Simo Sorce
26f1218a36 s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keys 2010-07-20 20:02:09 -04:00
Simo Sorce
8137f2d7e7 misc: cleanup get_krb5_smb_session_key() 2010-07-20 20:02:06 -04:00
Simo Sorce
e8460b4ebc misc: cleanup cli_krb5_get_ticket() 2010-07-20 20:01:58 -04:00
Jeremy Allison
5002b3a90d Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL contexts.
Jeremy.
2010-07-20 16:17:58 -07:00
Jeremy Allison
8df0f0e49e Fix warning on 64-bit machines.
Jeremy.
2010-07-20 15:12:07 -07:00
Jeremy Allison
cce19c5162 Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL context tallocs.
Jeremy.
2010-07-20 14:59:31 -07:00
Jeremy Allison
4ed9437b7e Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduce
use of malloc, and data_blob().

Jeremy.
2010-07-20 13:35:43 -07:00
Volker Lendecke
dc443ee6e9 s3: Fix two uninitialized variables 2010-07-20 20:35:39 +02:00
Jeremy Allison
7d17bfcf51 Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit()
as this correctly describes what this function does.

Jeremy.
2010-07-20 11:14:49 -07:00
Jeremy Allison
8a882b645c Remove gen_negTokenTarg(), as it's not actually creating a TokenTarg frame, but a TokenInit one.
Move to using spnego_gen_negTokenInit() instead.

Jeremy
2010-07-20 11:04:19 -07:00