1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

2338 Commits

Author SHA1 Message Date
Richard Sharpe
16925589eb Now that I am running config.developer, I decided to get rif of some warnings:
1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD
   4.3 from system includes.

2. Added a bit of const to places.

3. Made sure internal functions were declared where needed.
(This used to be commit fd847aa93690eb72f0437a8d22c03b222eb2a016)
2003-01-13 20:04:40 +00:00
Andrew Bartlett
b327f5ba53 Merge from HEAD - idra's fix for the fact that the shutdown command takes two 1
byte boolean flags, not a 16 bit bitmask.

Andrew Bartlett
(This used to be commit a4f7777ca08c732ace2ba60bc0ecffbea1239fc3)
2003-01-04 07:50:04 +00:00
Jeremy Allison
20f1cf6cdc Fix problem with "hide unreadable". stat file opens are baaack :-).
Jeremy.
(This used to be commit 62038a0abf193d4dc4f37c31ac77216a10f6f326)
2003-01-03 18:50:13 +00:00
Andrew Bartlett
634c54310c Merge from HEAD - make Samba compile with -Wwrite-strings without additional
warnings.  (Adds a lot of const).

Andrew Bartlett
(This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-03 08:28:12 +00:00
Andrew Bartlett
43059acb95 Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.
(This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
2003-01-03 03:24:23 +00:00
Jeremy Allison
64501e44ee Catching up with old patches. Add define for VERITAS quota support.
Check return in ldap.
Jeremy.
(This used to be commit 66eff26fc930e37035bba8672f5fd3aeae71078d)
2002-12-30 23:55:53 +00:00
Jeremy Allison
ef8bd7c4f7 Forward port the change to talloc_init() to make all talloc contexts
named. Ensure we can query them.
Jeremy.
(This used to be commit 09a218a9f6fb0bd922940467bf8500eb4f1bcf84)
2002-12-20 20:21:31 +00:00
Jeremy Allison
e8b3cc8da0 Ensure talloc pool query messages are reserved.
Jeremy.
(This used to be commit 10328a417f070dd0f7e7f2e34501b8402c5c478a)
2002-12-14 01:32:59 +00:00
Jim McDonough
81a2a30739 More printer publishing code.
- Add published attribute to info2, needed for win clients to work properly
- Return proper info on getprinter 7

This means you can now look at the sharing tab of a printer and get correct
info about whether it is published or not, and change it.
(This used to be commit d57bddc9b22e809c79294c7eacbd5d0f115fe990)
2002-12-13 19:01:27 +00:00
Gerald Carter
899b6e6d0f merge of get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
(This used to be commit f49de4c5176bf635ac080e082fda412066b466c8)
2002-12-13 02:07:05 +00:00
Jeremy Allison
39c78bf516 Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy.
(This used to be commit ec4ed45563f9d8e25fcfd88840944a90b3139c3e)
2002-12-11 23:54:40 +00:00
Jeremy Allison
3fc4d88d99 Fix client reporting of 64 bit files.
Jeremy.
(This used to be commit 8dcbfa4e770d74d4ce6faaf1a0597d07d0a5cc81)
2002-12-10 23:44:33 +00:00
Tim Potter
2c5e33b7f2 Merge from HEAD:
>Remove FILE_MACRO as __FILE__ is ANSI C.
(This used to be commit 21eb4b5a2dd2f9a6a0d3cd94408bb52359d2e926)
2002-12-05 23:30:49 +00:00
Jim McDonough
26236b30d0 More printer data to publish
(This used to be commit 6e2f0c4e304a09313f933a3c9c2a7b3a0219006d)
2002-12-05 19:13:40 +00:00
Jeremy Allison
00a20ce45f The element in fsp->print_job should be a RAP jobid, not a uint32 RPC
jobid. This was causing Win9x client "set name" calls to fail.
Still need one cleanup fix to finish.
Jeremy.
(This used to be commit 6c23d2030ab8dddff4c849903c529f0012b94027)
2002-12-05 04:00:16 +00:00
Jim McDonough
dae62a3d2e Automatic printer publishing when using APW or choosing 'list in the directory' in printer settings. Currently very little is published, and you cannot unpublish because of a bug in win2k clients.
(This used to be commit ca6360e8db30fc9be3fe3718c8b49c92dba5ecac)
2002-12-04 17:40:50 +00:00
Jeremy Allison
ce4628c199 Fix for 64 bit issues with oplocks and allocation size.
Jeremy.
(This used to be commit 379e719e983fb71f94cd2b691f8b194c109496c3)
2002-12-04 03:12:09 +00:00
Jim McDonough
b32000da50 Support printer info 7, used for publishing
(This used to be commit 60502d9d4274ddb3756b79593125544683c45908)
2002-12-03 19:48:27 +00:00
Jim McDonough
b95056499b Add defines for standard DsSpooler/DsDriver values that get published.
(This used to be commit dbbf1747534300fd5f8641822428dd45f956327f)
2002-12-03 19:27:41 +00:00
Jeremy Allison
6a019636b9 Fixed nasty bug where file writes with start offsets in the range
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
(This used to be commit 2d14c442bc601a277458b69f05a763aa2a1ab3b7)
2002-12-03 08:02:41 +00:00
Tim Potter
f3e3a56ea9 Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
(This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-11-29 02:58:59 +00:00
Gerald Carter
3ed178d0e1 dumping up version number
(This used to be commit d19e86d3831072761a15d2811129cbe7ae225f52)
2002-11-27 04:46:34 +00:00
Samba Release Account
28930433aa preparing for release of 3.0alpha21
(This used to be commit 49166d8879ab80a92217e63bec671e8ad4def74b)
2002-11-27 02:58:09 +00:00
Gerald Carter
afc5f1aefb [print notify fixes from APP_HEAD]
* fixing change notify on print server handle
 * adding change notify support into smbcontrol for sending comment
   changes, etc...

All part of CR 1159/1160
(This used to be commit f1062e79de8a3046c6e3f22b3d1a4819afe6809b)
2002-11-26 00:46:31 +00:00
Jim McDonough
c73d1fc46e Revert changes to ADS_ERR_OK() as in head. Broke some compilers.
(This used to be commit a3ca6d5a191ee9d3c7022ec2dfcaf41533ee1244)
2002-11-18 20:41:41 +00:00
Jim McDonough
e4201bec14 Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.

Next comes doing it within smbd
(This used to be commit 8f047a4492f7bd66ac2afd2a2f6194d5dad4a434)
2002-11-18 19:59:58 +00:00
Andrew Bartlett
f7730e146f Merge from HEAD: Remove assumption that all solaris has -lsendfile
(This used to be commit 6520592453582c908e4bb5b7c9f9012153df60d2)
2002-11-16 01:08:46 +00:00
Andrew Bartlett
4b117b8917 Merge from HEAD:
- heimdal updates to configure
 - make DEBUG() const
 - add testsuite for:
   - preexec
   - preexec close
   - valid users
 - fix testsuite for 'invalid users'

Andrew Bartlett
(This used to be commit aa41fb8703db4a4ecd3b353874c99a994e8ed630)
2002-11-15 14:06:35 +00:00
Jelmer Vernooij
7cfe3919f3 small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by Metze)
(This used to be commit da8794afe8ca8f454937f06d1c43cc5d844b6037)
2002-11-13 21:54:31 +00:00
Jelmer Vernooij
e1a9236092 Back out some of my sync changes
(This used to be commit b1ad91101d10d1fa635cfbb1684f8b598280cee0)
2002-11-09 23:28:40 +00:00
Jelmer Vernooij
f09109c7bc Last sync with HEAD
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
2002-11-09 17:08:58 +00:00
Jelmer Vernooij
dc5297f413 Sync with HEAD
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-11-09 16:57:45 +00:00
Gerald Carter
cda79e5d36 deldriver fix
(This used to be commit 78ff2cc34aedaf82d965a71e0c9dfdeb86a90fdd)
2002-11-09 14:49:26 +00:00
cvs2svn Import User
2446d245df This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit aafa32d6809e1bc60a8186140f2f3cf2bf6bff16) 2002-11-07 19:45:56 +00:00
Jim McDonough
e214a15595 Define smbtrans subcommands so we can stop hardcoding them
(This used to be commit 645c2d5c30a79d4aa28f477dbf0fc44d319fd35d)
2002-11-07 14:45:46 +00:00
Jim McDonough
42357a3244 Add smbtrans subcommands so we can stop hardcoding them
(This used to be commit 759bcd881dd259d5ad43715f6979c5282b094d52)
2002-11-07 14:38:53 +00:00
Jeremy Allison
b391591c21 Missed extern.
Jeremy.
(This used to be commit 13995fc0499798e546b019eb44a98614df0ded97)
2002-11-05 21:51:04 +00:00
Jeremy Allison
724ced9bd2 Missed extern declaration.
Jeremy.
(This used to be commit e39e2b4c3488fbd9e9a08dd5629a672d1459e64e)
2002-11-05 21:49:45 +00:00
Tim Potter
ced085b0d2 Remove DRIVERFILE constant. It was removed with the old win95
printer driver stuff.
(This used to be commit cf6d2d9d9e2adbbb7a547784cb11d05ed624e410)
2002-11-05 03:05:29 +00:00
Richard Sharpe
6214457499 The fixes from Tom plus a minor update from me.
(This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)
2002-11-04 02:01:48 +00:00
Jelmer Vernooij
8a6b05d36d Add more options to popt_common and use them. Current ones are:
-V Version information
 -n Set netbios name
 -l Set directory to store log files in
 -d Set debuglevel
 -s Load specified configuration file
 -O Set socket options
(This used to be commit 1602d5894947b59fd36c161053a66c0afe2c959c)
2002-11-02 16:16:15 +00:00
Simo Sorce
d12baf7bf7 port sec_desc headers reordering from HEAD.
Thanks to Andrew Brtlet for the diff :-)
(This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
2002-11-02 12:53:13 +00:00
Andrew Bartlett
6d7195d1d7 Merge passdb from HEAD -> 3.0
The work here includes:
 - metze' set/changed patch, which avoids making changes to ldap on unmodified
attributes.

 - volker's group mapping in passdb patch

 - volker's samsync stuff
 - volkers SAMR changes.

 - mezte's connection caching patch

 - my recent changes (fix magic root check, ldap ssl)

Andrew Bartlett
(This used to be commit 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-11-02 03:47:48 +00:00
Jelmer Vernooij
209f911344 Add popt_common_socket_options
(This used to be commit a15434314fd8cd88eab40e7cbc8f06a7d0d0169e)
2002-11-02 01:07:27 +00:00
Jelmer Vernooij
bfcbdaf933 Rerun autoconf
(This used to be commit ff10786c9d4662af355c12cc7363092dc5187e99)
2002-10-30 19:23:22 +00:00
Jelmer Vernooij
04d21551e1 - Remove RTLD_GLOBAL
- make smb_load_module() return the return value of init_module()
(This used to be commit a8d2dd8d009797486105188f8fdb898a65bb25b0)
2002-10-30 12:07:49 +00:00
Andrew Tridgell
809f740166 added a timegm() function for systems that don't have it
(This used to be commit 732bc4519f1119100607cc84400e8f84e0c0ba9d)
2002-10-30 12:03:40 +00:00
Jelmer Vernooij
567d1d7c21 Add init_module_function typedef for new module system
(This used to be commit 4d1206be5275a8af7dfb612f1747fba484a7d017)
2002-10-30 12:01:19 +00:00
Jelmer Vernooij
aa09f94e69 Back out SAM - it belongs in HEAD
(This used to be commit da0d48eedce29ba236a517c99e35babb39d6a794)
2002-10-29 21:33:02 +00:00
Jelmer Vernooij
1608de77a4 Remove SAM - it belongs in HEAD
(This used to be commit 808dbcf345d0e00dc5bc0af2ef54f31a554824f0)
2002-10-29 21:26:33 +00:00