1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

10932 Commits

Author SHA1 Message Date
Andrew Bartlett
1f605fe77c safe_strcpy() -> fstrcpy() fix, and a cleanup to how rpcclient calls the
IP address resolving code.
-
Jeremy Allison
1cbd53dc3c Fix noticed by Corny.Bondad@hp.com. Ensure we free up memory on error exit.
Jeremy.
-
Jeremy Allison
172f415c9e Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parameters
differently to W2K, cope with this.
Jeremy.
-
Jelmer Vernooij
d41dbe568e Add documentation on line returned by 'add printer command' script -
Jelmer Vernooij
401a522d88 Redirect to printer docs for removed options -
Gerald Carter
21ec2b6ba3 add #define for the max device name length in a DEVICEMODE -
Andrew Bartlett
8863ff863c Make smbtorture use the same cli_full_connection() framework as the rest of
Samba.  This fixes things like not doing *SMBSERVER etc.

Andrew Bartlett
-
Andrew Bartlett
d8d2d5e755 more off-by-one safe_strcpy() -
Andrew Bartlett
42b5514404 More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy())
Andrew Bartlett
-
Martin Pool
a387c42097 FIXME about crash on failure case. -
Richard Sharpe
460339db22 Add *SMBSERVER fallback code to smbtorture ... -
Richard Sharpe
1128a2fb4c Add code to allow us to specify the port to connect on when performing
a test ...
-
Andrew Bartlett
cdc6139a96 Use new configure test to turn on this automated test for correct string
function usage.

Andrew Bartlett
-
Andrew Bartlett
762d61b37d A couple more fixes for fstrcpy() into a malloced region. In this case it's
all perfectly legit - the region is an fstring in length, but might not
always be, and it is the last peice of code to fail my automated test.

Andrew Bartlett
-
Andrew Bartlett
ce618624b7 Add a test for a useful property of the compiler - we can get link-time
failures for some compile-time properties this way.

Andrew Bartlett
-
Andrew Bartlett
243c9c37a5 also ignore the autom4te-2.53.cache -
Andrew Bartlett
96d1449c42 This file has not been maintained for a while - if we really want this
behaviour we should seperate -g from --enable-developer, and allow developers
to also select --enable-debug if they want.

Andrew Bartlett
-
Martin Pool
b32ae2d83f lp_string: Add note about dodgy StrnCpy use. -
Tim Potter
992b5eb4e0 Use PRINTER_ALL_ACCESS instead of MAXIMUM_ALLOWED_ACCESS in setprinter
command.  From Ronan Waide <waider@waider.ie>.
-
Jeremy Allison
7b945e10a6 More const fixes.
Jeremy.
-
Jeremy Allison
60b0cfc8a5 Writable string const fixes.
Jeremy.
-
Jeremy Allison
9d7ea5585c Connectathon fix. W2K -> W2K over port 445 doing a tconX does the full
\\server\share syntax, not just a "share" tconX syntax. This broke interop
with a vendor.
Jeremy.
-
Andrew Bartlett
6c43327ea2 Fix another 'off by one' bug with safe_strcpy(). It is unclear if the intent
was to limit the string to 31 or 32 characters (excluding the null term), so
I've assumed for now that 32 is fine, as this matches current behaviour (well, current behaviour would crash, but anyway...)

Jerry:  Can you look at this for me?

Andrew Bartlett
-
Andrew Bartlett
bd0c84d60b Another pstrcpy() into malloc()ed buffer fix.
Andrew Bartlett
-
Jeremy Allison
3ad62ebe26 Const warning fixes.
Jeremy.
-
Jeremy Allison
ff3827a62b dlsym takes a const char *.
Jeremy.
-
Jeremy Allison
a670b57c56 Fix "might be used uninitialised" warnings.
Jeremy.
-
Richard Sharpe
c416eec2f2 Do my janitorial duties to encourage others to do so.
Fix lingering large offset problems in smbtar etc.
-
Gerald Carter
342734e3de * always report ourselves as a Windows 2000 print server (even
without ADS support)
* add "MinorVersion" print server data key and comment on "OSVersion"
-
Gerald Carter
7377d671e8 * CR1868: only send a change notify message if we have something
that changed that the client is monitoring.

* couple of comments abnout how we need to validate driver names
  on SetPrinter() and AddPrinter()

* up the debug level on some overly verbose dev mode parsing messages
-
Andrew Bartlett
14d7d8b229 Try the PASSWD environment variable if we don't have one from the command line. -
Andrew Bartlett
03e74be11c Fixes to the vfs_fake_perms modules - we only need to specify the VFS
functions that we actually modify.

Also a better implementation of the stat() and fstat() functions.

Andrew Bartlett
-
Andrew Bartlett
251b91f469 Add const -
Andrew Tridgell
e8ec2b1180 i forgot to commit the privilege db init call -
Jeremy Allison
4a739d914b Added limit to number of jobs enumerated. Set to 0 (means no limit).
Yes I will add the docs....
Jeremy.
-
Andrew Tridgell
50389c0cb2 the new DEVELOPER checks for string overflows have (as expected)
broken a lot of stuff. These two macros are meant to make life easier
when fixing these bugs. I'm guessing we will see more macros like
this (eg. fstrcpy_base)
-
Jeremy Allison
d29c6853dd Ensure added jobs increment total_jobs.
Jeremy.
-
Jelmer Vernooij
3780d12731 Fix HTTP error codes (patch by Vance Lankhaar) -
Andrew Tridgell
7dfd59963d fixed a crash bug in the new winbindd 'sids rule!' code -
Martin Pool
a4b9c5c257 Doxygen janitor: add note that strequal is in fact case-insensitive. -
Andrew Tridgell
ee8a7fdab7 - added help on -P option
- added general options to 'net -h' help
-
Martin Pool
9af0717315 Doxygen janitor -
Martin Pool
42d9ec28cd Doxygen janitor: fix parameter names, grammar, tag names. -
Martin Pool
9dbc3dcfe0 Doxygen janitor: rpc_resolve_dc parameter is spelled "trust_passwd" -
Martin Pool
571c3ce193 Doxygen janitor: check_domain_match parameter is spelled
"auth_context".
-
Martin Pool
d2fd52c1b5 Fix comment typo -
Martin Pool
aa2efaab1f Remove reference to "mainpage.dox" and CodingStandards, which have
been removed.

Put subdirectory names in file list, so we get lib/util_chr.c, not
just util_chr.c.
-
Martin Pool
eb876ee9cf Add a comment about the meaning of samba's internal character set and
how this interacts with it.
-
Martin Pool
ab77beca04 Add simple test harness that exposes StrCaseCmp for testing. -
Jim McDonough
87cebe797f cleanup some compiler warnings -