1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

8460 Commits

Author SHA1 Message Date
Richard Sharpe
ba309aaffa Back out the wrong changes I made yesterday ...
(This used to be commit 6d52aa1fc8)
2002-04-18 18:36:17 +00:00
Andrew Tridgell
c0a9919430 fixed the fallback to a BDC for ADS connections
(This used to be commit 3e58a1ee83)
2002-04-18 06:56:44 +00:00
Andrew Tridgell
6a9bc86d62 nicer strndup() function
(This used to be commit 546764f3cb)
2002-04-18 03:59:02 +00:00
Tim Potter
b0fbd72b41 Started working on setprinter code.
(This used to be commit 38d2b1794a)
2002-04-18 03:35:05 +00:00
Tim Potter
eaf7e2b374 make proto
(This used to be commit a721843197)
2002-04-18 03:24:02 +00:00
Andrew Tridgell
5b8135e038 - fixed the is_mangled() interface to handle multiple components
- fixed the no-extension case of reverse mangling
(This used to be commit 64a2ae5cee)
2002-04-18 02:13:55 +00:00
Jeremy Allison
e9be6c4db4 Fix found by Li Shao @ HP - XP clients don't bother to set the devmode_ptr
in the SetPrinter() call - they send it in the devmode_ctr instead.
Jeremy.
(This used to be commit f988a1af03)
2002-04-18 01:48:45 +00:00
Richard Sharpe
4e5e548170 Fix smbtorture so it can handle collisions etc ...
(This used to be commit ba4d6c76aa)
2002-04-17 22:50:02 +00:00
Jeremy Allison
82b573678d Fixed the AFP_Resource:$DATA filename creation bug.
Jeremy.
(This used to be commit b6c466e880)
2002-04-17 21:59:55 +00:00
Jeremy Allison
37d67c3345 libsmb/cli_netlogon.c: Fixed confusing debug messages.
param/loadparm.c: Added missing debugs that would have helped me find a misconfiguration
I lost a day on....
Jeremy.
(This used to be commit 6e95723797)
2002-04-17 17:34:38 +00:00
Jeremy Allison
5e2547e4db Fix unused warnings with deleted code.
Jeremy.
(This used to be commit 255c68856e)
2002-04-17 16:58:12 +00:00
Tim Potter
67d99a88c4 Fixed command line argument parsing.
(This used to be commit 28c1fae4d8)
2002-04-17 06:43:47 +00:00
Andrew Tridgell
0e6ac42b4d disabled the traversal of the brlock database at startup and
shutdown. I have just helped debug a very large Solaris server where
the traversal was taking so long that the clients timed out, created a
new process which in turn did a traversal!

we will need to find some other way of doing a brlock.tdb cleanup (if
its even needed at all)
(This used to be commit 2728d13135)
2002-04-17 05:43:05 +00:00
Andrew Tridgell
e35ac78c49 make suure we get the return value from the pull_*() functions right
for both null terminated and buffer length terminated strings
(This used to be commit e8fbf853e0)
2002-04-17 02:37:46 +00:00
Simo Sorce
1416106736 sync with 2.2
(This used to be commit 18d5ffd835)
2002-04-16 22:56:08 +00:00
Andrew Tridgell
7c0301d100 stricter conditions on termination in strings
this was a very nasty bug with filename corruption and NT4 clients. The
exact termination conditions are quite critical ...
(This used to be commit a538efe7d0)
2002-04-16 22:55:39 +00:00
Simo Sorce
a32940d53e Fix incorrect zpadlen handling in fmtfp.
Thanks to Ollie Oldham <ollie.oldham@metro-optix.com> for spotting it.
few mods to make it easier to compile the tests.
addedd the "Ollie" test to the floating point ones.
(This used to be commit 415f9d92bc)
2002-04-16 22:38:04 +00:00
Gerald Carter
eebe9749e0 few fixes and regenerate
(This used to be commit 0ffda9ffad)
2002-04-16 16:52:20 +00:00
Gerald Carter
1d49e9bc71 merges from SAMBA_2_2
(This used to be commit 91929afbb0)
2002-04-16 16:49:08 +00:00
Jean-François Micouleau
7a661ac63c we did not initialise global_myname and global_myworkgroup which lead to
duplicate entries in secrets.tdb and false SID generated.

took me *hours* to understand.

	J.F.
(This used to be commit bfc3a25b77)
2002-04-16 15:49:24 +00:00
Andrew Tridgell
4fd802c444 fixed a problem with the smb_buf() macro on some compilers
(This used to be commit 66d6d4810a)
2002-04-16 13:10:54 +00:00
Andrew Tridgell
f70836df9e ignore a few more files
(This used to be commit 1c92fab405)
2002-04-16 12:27:54 +00:00
Andrew Tridgell
bb8dbb7732 reran configure after adding a test for strnlen()
(This used to be commit 78ead78126)
2002-04-16 12:24:42 +00:00
Andrew Tridgell
b66932e1a5 fixed the handling of STR_TERMINATE
(This used to be commit dbc6b137a8)
2002-04-16 12:07:12 +00:00
Andrew Tridgell
02f84c6bd0 i forgot to commit these parts of the string handling patch earlier. Sorry.
(This used to be commit bac0093a97)
2002-04-16 10:40:23 +00:00
Andrew Tridgell
e7b729e0d9 make sure we don't walk past the end of the current SMB buffer when
pulling a string
this might explain a serious filename corruption bug that Quantum QA spotted
(This used to be commit a877eae24b)
2002-04-16 06:15:28 +00:00
Andrew Tridgell
a95d731fa4 make sure that we leave the tree unused after disconnecting
(This used to be commit e75e4ad7d3)
2002-04-15 23:48:39 +00:00
Tim Potter
37e4471dea Stubs for connect, domain, user, group and alias policy objects.
Wrote samr connect fn.
(This used to be commit f2155aa3f4)
2002-04-15 23:33:09 +00:00
Gerald Carter
4d917cd8f5 merge from SAMBA_2_2
(This used to be commit fedc11cab1)
2002-04-15 13:35:18 +00:00
Andrew Bartlett
6d239fc97f Another patch from jelmer:
Doco for pdbedit and (ugly, but the best we could come up with) fix
for compiling pdbedit on some non-gcc compilers.

Andrew Bartlett
(This used to be commit 80adf1dbb5)
2002-04-15 08:50:36 +00:00
Tim Potter
b84cce809b Skeleton for SAMR module.
(This used to be commit 70bd1a0f94)
2002-04-15 07:29:47 +00:00
Andrew Tridgell
3fca495f8c this fixes the displaying of free disk space for DOS6 clients. Win2000
changes its behaviour based on the negotiated protocol for the
SMBdskattr SMB
(This used to be commit b693917530)
2002-04-15 06:57:17 +00:00
Andrew Tridgell
b5c61023ff better handling of DOS LANMAN2.1 protocol
(This used to be commit 7f923d738b)
2002-04-15 06:56:01 +00:00
Andrew Tridgell
f6929068a1 by using a prompter function we can avoid the bug in the MIT kerberos
libraries with handling blank passwords.
(This used to be commit 59d755ffb5)
2002-04-15 04:55:37 +00:00
Tim Potter
1667a82106 Merge of print server permission handling fixes from HEAD.
Unit tests rock!
(This used to be commit bc673c4204)
2002-04-15 04:07:13 +00:00
Tim Potter
36514b65ee Fixed incorrect debug.
(This used to be commit 3b6df44ddc)
2002-04-15 01:55:57 +00:00
Tim Potter
4a5225bf64 Added hex values as comments for the standard access rights.
(This used to be commit 00511ae2b4)
2002-04-15 01:11:40 +00:00
Tim Potter
9aabbc564f Rename new_policy_hnd_object() to new_spoolss_policy_hnd_object()
(This used to be commit 4bf6a9830a)
2002-04-14 23:42:54 +00:00
Tim Potter
0c01601d31 Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). Not
sure whether these should really be tuples or lists.

In open_pipe_creds() raise PyExc_RuntimeError exceptions if the pipe
connect function returns an error.
(This used to be commit 45cb1fed49)
2002-04-14 23:39:02 +00:00
Tim Potter
f6da697708 Call PyErr_SetString instead of fprintf to stderr.
Don't clean up talloc and cli_state on close printer.  They will be
destroyed in the handle dealloc function.
(This used to be commit 4114fe5996)
2002-04-14 23:36:01 +00:00
Tim Potter
3540c42bf4 Shutdown cli_state in the dealloc function. This happens automatically
when a handle object falls out of scope.
(This used to be commit 39546dd241)
2002-04-14 23:33:31 +00:00
Tim Potter
8d680f8796 Added enumerate trusted domains.
(This used to be commit 3a11ce31ca)
2002-04-14 12:26:09 +00:00
Volker Lendecke
26152050bb Merge from 2_2.
Volker
(This used to be commit 8973a01f5e)
2002-04-14 12:14:52 +00:00
Tim Potter
d0386372b2 The cli_lsa_lookup_{names,sids} functions were returning useless
information when one or more of the names/sids being queried were not
resolvable.  We now return a list the same length as the parameters passed
instead of an array of just the resolvable names/sids.
(This used to be commit 245468dbab)
2002-04-14 11:21:25 +00:00
Tim Potter
3a139656a3 Added error string for STATUS_SOME_UNMAPPED
(This used to be commit f736e115c0)
2002-04-14 11:13:49 +00:00
Tim Potter
57630be652 Added a status code for lsa_lookup_{sids,names} returning the fact that
only some of the entries could be resolved.
(This used to be commit 0722e71d1e)
2002-04-14 10:50:32 +00:00
Andrew Bartlett
cd58107e6e Extra file for the tdb search code (linked list definition).
Andrew Bartlett
(This used to be commit c331200600)
2002-04-14 09:45:09 +00:00
Andrew Bartlett
07e6ff5fcf Partly based on the work by mimir (Rafal Szczesniak
<mimir@diament.ists.pwr.wroc.pl>) this patch allows samba to correctly
enumerate its trusted domains - by exaimining the keys in the secrets.tdb file.

This patch has been tested with both NT4 and rpcclient/wbinfo, and adds
some extra functionality to talloc and rpc_parse to allow it to deal with
already unicode strings.

Finally, this cleans up some const warnings that were in net_rpc.c by pushing
another dash of const into the rpc client code.

Andrew Bartlett
(This used to be commit 0bdd94cb99)
2002-04-14 09:44:16 +00:00
Tim Potter
06f1577930 New file to hold common prototypes.
(This used to be commit d586289197)
2002-04-14 09:04:45 +00:00
Tim Potter
562393fc85 Moved security descriptor routines into their own file.
(This used to be commit 8e0457f8aa)
2002-04-14 09:04:12 +00:00