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

10175 Commits

Author SHA1 Message Date
Gerald Carter
1738f7c2b7 don't pass NULL pointers to strcmp()
(This used to be commit 9b0a49a0bc177f9637f197b3ab4613f25db1b43d)
2003-02-27 21:37:30 +00:00
Gerald Carter
0d30cdf66c additional fix for CR 601
* distinguish WinXP from Win2k
  * add a 1/3 of a second delay in OpenPrinter
    in order to trigger a LAN/WAN optimization in
    2k clients.
(This used to be commit c7712fa054d21b4884a78b7ea6c0fb8b3d637c6b)
2003-02-27 21:22:36 +00:00
Martin Pool
ff5d95f0ef Doxygen merge from head
(This used to be commit 38fa2898967f607a17fd7fbd324f2940a05fb551)
2003-02-27 05:57:21 +00:00
Martin Pool
03ae31248e Merge 1.100 patch from HEAD:
init_valid_table: Fix a memory leak that would lose the
dynamically-created valid table every time the configuration was
reloaded.
(This used to be commit 3ff4845bc43736bfa091419c80b9a0ebdc9d156e)
2003-02-27 05:20:23 +00:00
Jeremy Allison
fb3e4b8797 Fix to allow blocking lock notification to be done rapidly (no wait
for smb -> smb lock release). Adds new PENDING_LOCK type to lockdb
(does not interfere with existing locks).
Jeremy.
(This used to be commit 766928bbba1e597c9c2b12458dd8d37e6080593e)
2003-02-27 01:04:34 +00:00
Andrew Bartlett
1502667e92 Merge adding -Wwrite-strings to our CFLAGS when --enable-developer is set
(This used to be commit 1cba3ceae1637974272e595260933985d84942d4)
2003-02-26 12:37:04 +00:00
Tim Potter
3330b61006 Link wbinfo with popt_common.o
(This used to be commit eac4b7ef2989acb50e3d27e7198285dd198017ec)
2003-02-26 00:10:22 +00:00
Tim Potter
681c932a75 Merge of exit path cleanup for EnumDomainUsers.
(This used to be commit c2e9673328b2d989f13626632442f095727a03c6)
2003-02-26 00:06:59 +00:00
Tim Potter
2057d3c39f Merge of python prototype header removal.
(This used to be commit 19676de275f1cb1feaf4f65acfafc1aed3b6ec67)
2003-02-26 00:02:07 +00:00
Tim Potter
841ccd6950 Merge: newline on debug message.
(This used to be commit df49463e62e4be7535485b668f00db287ff581f3)
2003-02-25 23:54:40 +00:00
Tim Potter
a03c5f2394 Merge: add popt_common_version to command line options table.
(This used to be commit 8de62f7896a53084e87b95c013d8693214c8ab85)
2003-02-25 23:54:23 +00:00
Tim Potter
130d49aa6b Merge: const fixes.
Merge: add popt_common_version to command line options table.

Merge: mbp's rewrite of do_cmd()
(This used to be commit 20f153cee38edfa93ffd60cc872a299a4f296240)
2003-02-25 23:53:38 +00:00
Tim Potter
1aeede25e8 Merge: const fixes.
Merge: add popt_common_version to command line options table.
(This used to be commit 5f8a008a52b115ed423464faa264f1b7ab86a1e2)
2003-02-25 23:52:38 +00:00
Tim Potter
1788f806e7 Merge: const fixes.
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)
2003-02-25 23:51:56 +00:00
Tim Potter
f5394078d9 Merge: fix compiler warning.
(This used to be commit 55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92)
2003-02-25 23:46:51 +00:00
Gerald Carter
23b3b29eec Progress on CR 601
cache the printer_info_2 with the open printer handle.
cache is invalidated on a mod_a_printer() call **on that smbd**.

Yes, this means that the window for admins to step on each other
from different clients just got larger, but since handles a generally
short lived this is probably ok.
(This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
2003-02-25 20:53:53 +00:00
Jeremy Allison
b8fbb3189a Merge from HEAD. Use pstrcpy not safe_strcpy.
Jeremy.
(This used to be commit 9634b1fba059228d436198629a5c7cf01fb6736c)
2003-02-24 19:37:20 +00:00
Jeremy Allison
11c3fdbc51 Merge from head. Move off-by-one buggy malloc()/safe_strcpy() combination to strdup() instead.
Jeremy.
(This used to be commit 6521601bf8013c8809db13ccf7dd256ea4ad5dd7)
2003-02-24 19:22:54 +00:00
Martin Pool
1a2035a8f5 Merge documentation from HEAD
(This used to be commit 3761f8ebe339fbbeffee9d7b69f9483ebfd9ae6b)
2003-02-24 04:49:10 +00:00
Andrew Bartlett
a65b65c87a Make sure these values are never uninitialsised.
(This used to be commit eacb8dde7afa16d86586c6c896ffb6692dc53bf6)
2003-02-24 03:43:49 +00:00
Andrew Bartlett
630944d179 Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a share
twice, let the libsmb code determine what form the share name should take.

Andrew Bartlett
(This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)
2003-02-24 03:28:37 +00:00
Andrew Bartlett
a9ae0df333 Iconv as seperate library fixes from HEAD
(This used to be commit 935c66f6a02c7ba764fbcc643a91833deb588bc0)
2003-02-24 03:27:29 +00:00
Andrew Bartlett
e1d65985be Signed/unsigned fix from HEAD
(This used to be commit 723ce5c531a957f3ea67f6fe74d4263a35083dda)
2003-02-24 03:26:49 +00:00
Andrew Bartlett
ecd7fc59a8 Merge crypt(), ACL lib and shared lib changes from HEAD.
(This used to be commit e380224d8cd265b9845ad80af2b053a56078e790)
2003-02-24 03:22:49 +00:00
Andrew Bartlett
11e98c0a4a Merge paramaters for client-side-auth updates.
(This used to be commit 68d34711279aa5959778974018df77726b915858)
2003-02-24 03:22:09 +00:00
Andrew Bartlett
e822de1d85 Fix a small stuffup in the HEAD -> 3.0 merge
(This used to be commit cccec78cf241a9f69c363f0ecdd2e934c8b21f19)
2003-02-24 03:14:46 +00:00
Andrew Bartlett
266ec4aac0 Merge doxygen, signed/unsigned, const and other small fixes from HEAD to 3.0.
Andrew Bartlett
(This used to be commit 9ef0d40c3f8aef52ab321dc065264c42065bc876)
2003-02-24 03:09:08 +00:00
Andrew Bartlett
ecad7bea2c Makefile updates for the client-side auth/kerberos merge.
(This used to be commit b32f3ecaf65f5f433d3b95802b45216689d56d75)
2003-02-24 03:07:34 +00:00
Andrew Bartlett
52db4c6698 Missed a couple of files from the client-side kerberos merge
(This used to be commit 56934f303c0551df858cc6d6ad32d0b37fcd1307)
2003-02-24 03:06:45 +00:00
Andrew Bartlett
98410be607 Merge off-by-one fix from HEAD (caused crash with --enable-developer)
(This used to be commit d71425413075af25f91f715950c06ab698cf5fb7)
2003-02-24 03:03:15 +00:00
Andrew Bartlett
d1221c9b6c Merge from HEAD client-side authentication changes:
- new kerberos code, allowing the account to change it's own password
   without special SD settings required
 - NTLMSSP client code, now seperated from cliconnect.c
 - NTLMv2 client code
 - SMB signing fixes

Andrew Bartlett
(This used to be commit 837680ca517982f2e5944730581a83012d4181ae)
2003-02-24 02:55:00 +00:00
Andrew Bartlett
e075e1dfa9 Missed one in the previous merge - user_ok() and user_in_group() now take
an optional list of groups the user is in.
(This used to be commit 39f3bec0f62520e49a087403287330ed5f3a79c5)
2003-02-24 02:47:14 +00:00
Andrew Bartlett
e72ecdc862 Merge of server-side authentication changes to 3.0:
- user_ok() and user_in_group() now take a list of groups, instead of
   looking for the user in the members of all groups.

 - The 'server_info' returned from the authentication is now kept around
  - in future we won't copy the sesion key, username etc, we will just
    referece them directly.

 - rhosts upgraded to use the SAM if possible, otherwise fake up based on
   getpwnam().

 - auth_util code to deal with groups upgraded to deal with non-winbind domain
   members again.

Andrew Bartlett
(This used to be commit 74b5436c75114170ce7c780c19226103d0df9060)
2003-02-24 02:35:54 +00:00
Martin Pool
0fc93128b8 Add comment about Samba character sets, from explanation by abartlet.
(This used to be commit 822f6c2f38b9b30dca2358e99ad6a379f5890c89)
2003-02-24 01:10:15 +00:00
Jeremy Allison
285a3b0ef8 When checking is_locked() new WRITE locks conflict with existing READ locks even
if the context is the same. See LOCKTEST7 in smbtorture.
Jeremy.
(This used to be commit 1698092ba5a169de369ad1182a6f270de174c3f5)
2003-02-22 01:09:57 +00:00
Gerald Carter
01490bc0d2 s/unistr2_to_dos/unistr2_to_ascii/ to fix compile
(This used to be commit de6a2d154e0e863a7628f18cca8fdcaa49d9c0ff)
2003-02-21 19:02:07 +00:00
Gerald Carter
380635538b couple of merges from APP_HEAD
* performance optimization in enumprinterdataex() when keyname is empty
  * fix a few typos in comments
  * reload services after addprinter_command()

dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ
(This used to be commit 3fc90ea1d9b11186f26484516a4dd8502b6d7323)
2003-02-21 17:04:01 +00:00
Gerald Carter
b0415dfd7b patch from Hal Roberts check for a valid [f]chmod_acl function pointer before calling it. Fixes seg fault in audit VFS module
(This used to be commit e5acebbe79a97191903ee3a1819410a0fb9ac655)
2003-02-21 16:15:44 +00:00
Jim McDonough
217945cfc8 Fix IRIX build...void fn can't return another void fn
(This used to be commit e0c1f9ef61a0ec4f06a0b0e257497943195b5297)
2003-02-21 14:38:14 +00:00
Jeremy Allison
486fa37dc6 Added comments to make it clearer when we're assigning a pointer that it
must not be freed afterwards.
Jeremy.
(This used to be commit 4015e39d3666dbe240808c9007a8b8faca012a3d)
2003-02-21 06:25:58 +00:00
Tim Potter
e5249ff9b0 Ignore errors on python_clean target.
(This used to be commit 9e4eba0ae593cc4422a5ce7bbdc4ab9f06d017b7)
2003-02-21 05:51:37 +00:00
Jeremy Allison
eae0617c4e Added Volkers "print server role" patch.
Jeremy.
(This used to be commit b14e174c65b399e606f4f740762ff4646b8f9eef)
2003-02-20 22:09:54 +00:00
Jelmer Vernooij
aa6380100a Compile in lib/module.o
(This used to be commit adc5a4a263b49e2883aba759cf9dd77f12c0cabb)
2003-02-20 19:21:20 +00:00
Jelmer Vernooij
7859c7df44 Merge in smb_load_module() function from HEAD
(This used to be commit 6cb124247d10de86bdf6a98f3dd703b3a9eb1d35)
2003-02-20 19:14:55 +00:00
Jelmer Vernooij
896e133c3c Remove obsolete files
(This used to be commit 1a68ead4332bd9f5123bd3690784e7e179e3cb1f)
2003-02-20 19:13:37 +00:00
Jeremy Allison
7308d1574e Ensure tdb error code is set for corrupt and i/o errors before calling
the log function. This allows the log function to take action.
Jeremy.
(This used to be commit fcaacb5fabdf78dd6b6a7fe5ff5300d9e2ff8d75)
2003-02-20 19:03:11 +00:00
Martin Pool
9a55edce96 (Merge from APPLIANCE_HEAD)
CR1829: Fix memory leak when unpacking 'B' buffers in Python.

(PyList_Append creates a new reference to the added object, and so we
have to release the existing one.)
(This used to be commit fa500c77e338337cafe5b46cadf9b104e920e823)
2003-02-20 03:35:11 +00:00
Tim Potter
39cf300869 Merge typo fix.
(This used to be commit 7406fabe7ccdd99a19cc1df5f4339ac7e064e6b1)
2003-02-19 22:54:21 +00:00
Tim Potter
7024ab8dca Merge NTSTATUS vs WERROR return for cli_srvsvc_net_srv_get_info()
(This used to be commit 7edaf937963fa1d0f06343969b46ed6e4f39a6ea)
2003-02-19 22:52:50 +00:00
Tim Potter
aa1a248336 Merge cleanups of return values.
(This used to be commit bae354a20c07458722b5193911e7eaaf9bfbaeb7)
2003-02-19 22:50:29 +00:00