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

11448 Commits

Author SHA1 Message Date
Martin Pool
5a5f4c62d5 Remove old listproc address; update instructions for subscribing to
the mailing list.
(This used to be commit f09f374bab5385cf1a5daa573494c30feff3d41a)
2003-02-19 00:49:10 +00:00
Martin Pool
cc79cfb498 Remove old samba-bugs address, etc. (Merge from HEAD)
(This used to be commit 7e355dcf41c9aed67cb327ebbba2be3ab5d6637e)
2003-02-19 00:18:25 +00:00
Jim McDonough
17ec9642cd base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
(This used to be commit d510ff85fb0dafddf3dea9412a09eeee6e70f0cb)
2003-02-18 23:17:59 +00:00
Jim McDonough
d08116ffcb Sync w/HEAD - add DES_CBC_CRC encryption type
(This used to be commit c7934f5cb56d54a90c9ffdbe2f7429a3c9227abe)
2003-02-18 20:57:29 +00:00
Martin Pool
185d858dd2 Check return code of string_to_sid. (Merge from HEAD)
(This used to be commit 606bb47f241d2916d039b38f48b50474a3e0dadc)
2003-02-18 07:15:52 +00:00
Martin Pool
188c5195ed Check return code of string_to_sid. (Merge from HEAD)
(This used to be commit 5d09aea6f78aa247dbd77617c93c2a1dd2e2702f)
2003-02-18 07:05:02 +00:00
cvs2svn Import User
059c4fd81d This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit c31455779d7948e866fe1916425c3746134dea01) 2003-02-18 05:05:16 +00:00
Tim Potter
8f9a17be89 Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h
 - move #include of Python.h into one place so we can get rid of that
   annoying compiler warning about HAVE_FSTAT being redefined
(This used to be commit 0659351b251aee438bb9e92682bc445f164923a5)
2003-02-18 05:05:15 +00:00
Jeremy Allison
fb8d1412e1 Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
(This used to be commit e7c4616c45ea5ec7c04022d6cca49ac70adde121)
2003-02-18 04:49:31 +00:00
Jeremy Allison
737f82e3b3 Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
(This used to be commit a21154961135def29d7ede302ed09ce52fc22fc1)
2003-02-18 04:48:32 +00:00
Gerald Carter
336ae66c5a set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
(This used to be commit 9a4b7a86fdaab04328b5017c1dd42480753a9a10)
2003-02-18 03:43:08 +00:00
Gerald Carter
ac30e445ba set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
(This used to be commit 9efaef4a96a14bd1ffabf12326ff6f6903f663b2)
2003-02-18 03:42:34 +00:00
Martin Pool
097bf66f71 Remove obsolete comment.
(This used to be commit e22465749dc7c2acd2441a897df592616fc275da)
2003-02-18 02:01:38 +00:00
Martin Pool
7741d66b18 Doxygen janitor. No other changes.
(This used to be commit 735c99dadbaffbb53662890e3dc8a668b211da9d)
2003-02-18 01:55:50 +00:00
Martin Pool
05e3070b23 cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs
which are not valid.
(This used to be commit bfb6104521bd75da71a09a6c56bd44560416116e)
2003-02-18 01:35:19 +00:00
Martin Pool
49c3018cbc init_dom_sid2s: Check return code from string_to_sid. Skip tokens
that are not valid SIDs.
(This used to be commit 5a597272782b74d28859ba98027fe9ff9c278086)
2003-02-18 01:30:22 +00:00
Martin Pool
5511347b8d Check return code from string_to_sid.
(This used to be commit fe449328b226a33ad1c64e087fe63e79f90ab4ac)
2003-02-18 01:09:19 +00:00
Martin Pool
335fbbfbc9 add_initial_entry should fail if string_to_sid fails.
(This used to be commit bb095dc28d8369457286225ac63e03070889f394)
2003-02-18 01:05:56 +00:00
Andrew Bartlett
b70258af01 Patch from vorlon@debian.org to split out our -lacl dependency to only smbd
and vfstest.
(This used to be commit bcbc2213230e95d732a774b5aee67295fba4380b)
2003-02-18 00:54:22 +00:00
Martin Pool
54a09519a4 Doxygen janitor and some doc typo fixes.
(This used to be commit 82414706e6659c1638936d9b9afdb9329109f58f)
2003-02-18 00:52:42 +00:00
Martin Pool
5a35b2138e Doxygen janitor. No other changes.
(This used to be commit fa38e7956c21b828ba208282ef0ac85c2b66ff22)
2003-02-18 00:41:13 +00:00
Andrew Bartlett
108580c224 The cli_send_tconX code already determines to send \\server\share to port 139
and share to 445, so doing this only confuses the issue (sending
\\server\\server\share to 139) and makes debugging specific error codes more
difficult.

Andrew Bartlett
(This used to be commit 1a723bcda72901dac00b36955e860e3af23c0dc6)
2003-02-18 00:36:37 +00:00
Martin Pool
28dff282a9 Update config.guess, config.sub to the versions from the GNU autotools
2003-01-10 release.  This adds or improves detection for many host
platforms.
(This used to be commit 24fe55ea6d55a78d662942e78e192a84809fcba6)
2003-02-17 23:49:01 +00:00
Martin Pool
789780275c Add comment explaining the -DDEVELOPER safe_strcpy overflow hack.
(This used to be commit 90e1d8bdfa9ec0a4f3795d9a89db1d2324447b68)
2003-02-17 23:33:55 +00:00
Jeremy Allison
21e7ce38ab Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy.
(This used to be commit fb3548e5080812c037c2c134504cc9af4ecbfedd)
2003-02-17 21:19:09 +00:00
Jeremy Allison
3fe0de1fcf Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy.
(This used to be commit 01f6b2694532749807aff1c2e6f338dade2d9b09)
2003-02-17 21:19:00 +00:00
Volker Lendecke
0cf080f719 Dummy commit, I can't get through to samba-cvs@samba.org. It can't really
remember under what mail address I have to post.

My last commit to this file made it compile again, my fingers were a bit
too fast to really type this message.

Sorry for this confusion,

Volker
(This used to be commit 3b905f5a16dff8ce6742a92fd403cb720707f513)
2003-02-17 21:12:21 +00:00
Volker Lendecke
bf89801bd2 cmd_srvsvc.c
(This used to be commit fcfbb3c430b2e48819c0c1852bc154661c4b7adf)
2003-02-17 21:04:09 +00:00
Andrew Bartlett
bc8c03b662 This is a very nice way to detect pstrcpy() into a malloc()ed string, but
it really is a developer hack...

Andrew Bartlett
(This used to be commit 3588ebb35b14422141d4070413185195b525038e)
2003-02-17 12:33:24 +00:00
Andrew Bartlett
cc0202884b This patch fixes one of my longest-standing pet hates with Samba :-).
When we look see if a user is in a list, and we try to 'expand' an @group, we
should lookup the user's own list of groups, rather than looking for all the
members of a group.

I'm sure this will fix some nasty performance issues, particularly on large
domains etc.  In particular, this avoids contacting winbind at all, if the
group is not a winbind group.

(This caused a deadlock on my winbind-on-PDC setup).

The groups list always includes the user's primary group, as per the
getgrouplist manpage, and my recent changes to our implementation.

Andrew Bartlett
(This used to be commit 9be21976f7662ebe6eb92fff7cecbdb352eca334)
2003-02-17 12:27:34 +00:00
Andrew Bartlett
af249535bd Don't leak a session_key worth of memory at the end of the NTLMSSP auth.
(This used to be commit ae9765b84de0fd6eff790b3bff26dd3d43ec2bd6)
2003-02-17 12:20:20 +00:00
Andrew Bartlett
e33551bc0c Set the length back to zero when we free the data_blob.
(This used to be commit 4560594a67056ee1a5e51a122d1b254944e7c266)
2003-02-17 12:19:12 +00:00
Andrew Bartlett
55da3690b7 Try to make our getgrouplist replacement better match the 'real' implemenations.
In particular, make sure we include the primary gid in the list.

Andrew Bartlett
(This used to be commit 0cd4b339b7eff55019caaeaa998d5e70b2eed200)
2003-02-17 12:04:09 +00:00
Martin Pool
f203f1643c Typo: /mized/mixed/
(This used to be commit ada36d2fe38dbb07886a671a6d85b6317ab230a8)
2003-02-17 06:54:43 +00:00
Martin Pool
645d68a45a Don't pstrcpy into an fstring. (Harmless in this case since it comes
from an environment variable.)
(This used to be commit 9f9077346bf9f7c96376169c60aa893f15fb9d2c)
2003-02-17 06:28:58 +00:00
Martin Pool
541ed81a63 Start reworking rpcclient to use popt rather than next_token to parse
command lines.  This makes the code much simpler and also stops
trivial syntax errors from causing a crash.

Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.
(This used to be commit d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)
2003-02-17 05:42:36 +00:00
Tim Potter
d9b33602a2 Added SRVSVC pipe support. I've started implementing NetServerGetInfo()
(This used to be commit 8e0d781995b56dd1cd348baadd494bb8e64c10bc)
2003-02-17 04:43:09 +00:00
Tim Potter
96d19c3876 Add KRBCLIENT_OBJ to PYTHON_OBJ list.
(This used to be commit 651be759b3db98133feb6fe8c578964ec7b5cf71)
2003-02-17 04:41:08 +00:00
Tim Potter
e486396267 Return a WERROR instead of a NTSTATUS like the rest of the srvsvc
rpc calls.
(This used to be commit 619af61644ecc221c45e5cf69d562451b5b9f951)
2003-02-17 04:35:32 +00:00
Andrew Bartlett
ffacf609a6 If we didn't make the server_info correctly, then don't segfault trying to
set the 'guest' bit.

Andrew Bartlett
(This used to be commit 960c53bf952de4431da4e90da035fcfbe98f1bd7)
2003-02-17 00:58:47 +00:00
Andrew Bartlett
585d50c667 People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett
(This used to be commit c51065e6073f30296e87bedd06efd7f9a5833f93)
2003-02-17 00:10:37 +00:00
Andrew Bartlett
b2a253bd47 People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53.  Remove it from CVS, and assert the
newer autotools in configure.in

Andrew Bartlett
(This used to be commit 14b38c004f4bd5b695d04941b03e3bfa31372da3)
2003-02-17 00:07:38 +00:00
Andrew Bartlett
7f204e07ae Merge from HEAD - allow "" as a domain in the NLTMv2 hash calculations. Fixes
interop with clients not in our domain.

Andrew Bartlett
(This used to be commit 6aa3aba3db604d481dc96c3befe066938cb1b0f3)
2003-02-16 22:23:33 +00:00
Andrew Bartlett
b786858241 Add the 'session key' output of the NTLMSSP exchange to the cli struct, so
it can be used for 'net rpc join'.

Also fix a bug in our server-side NTLMSSP code - a client without any domain
trust links to us may calculate the NTLMv2 response with "" as the domain.

Andrew Bartlett
(This used to be commit ddaa42423bc952e59b95362f5f5aa7cca10d1ad4)
2003-02-16 22:10:48 +00:00
Richard Sharpe
12074e7979 Recover much of my changes to editreg.c. Add some const and start coding
the regedit file parser etc.
(This used to be commit 5040b498675b91cd18bc7fe4456c94df0a8fa41d)
2003-02-16 17:16:06 +00:00
Gerald Carter
a703d55cd7 * set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
  implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
  messages being sent that have junk for strings;
  fix in response to changes for CR 1504
(This used to be commit 043b9dff22e909fc290c34d879cad8b4c980fc13)
2003-02-15 23:36:18 +00:00
Gerald Carter
940fcdf095 * set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
  implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
  messages being sent that have junk for strings;
  fix in response to changes for CR 1504
(This used to be commit ffda9e2480414c7ed6156958f516e0d1f3c61350)
2003-02-15 23:33:30 +00:00
Alexander Bokovoy
019df92bdf Merge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing
(This used to be commit bf1c82a48f89d25af767d73cb9c25f78bd868d30)
2003-02-15 23:07:59 +00:00
Alexander Bokovoy
22c875943d Third-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries
were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS.

While the latter isn't dangerous, passing system include directory through -I lead
to change of its status in CPP from system to user-defined in many cases.

This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS
from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.
(This used to be commit 643172ac1a9b53823d704690eb03120074bbef78)
2003-02-15 22:51:15 +00:00
Andrew Bartlett
88a4d79e7b Don't return NULL pointers for now.
We should look into how to deal with NULL v "" strings, and the NTLMSSP code
underneath properly at some stage.

Andrew Bartlett
(This used to be commit dc934412b0190ea75073cccddac45e74ebcd4a6b)
2003-02-15 21:41:01 +00:00