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

10918 Commits

Author SHA1 Message Date
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 -
Jim McDonough
3dbcb4d93f Improve net ads lookup:
- More info is printed
- (grand)child domains handled properly

Thanks to Anthony Liguori (aliguori@us.ibm.com)
-
Jeremy Allison
a82caefda4 *Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limit
the unix domain sockets used by winbindd (also solves FD_SETSIZE problem
in winbindd to boot !). Adds a "last_access" field to winbindd connections,
and will close the oldest idle connection once the number of open connections
goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200
currently).
Jeremy.
-
Gerald Carter
f806101204 don't forget the NULL -
Gerald Carter
7d547f50f9 and the winner of "i should have just written it in assembly
is..."

don't use pstrcpy() when you are not dealing with pstrings.
-
Gerald Carter
6631984b12 don't pass NULL pointers to strcmp() -
Gerald Carter
96570699d1 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.
-
Martin Pool
67bf36c69d Doxygen janitor -
Jelmer Vernooij
e37b69f334 Remove documentation for obsolete parameters, but add a note in 'upgrading-to-3.0' -
Jelmer Vernooij
7c00fff475 We now use <anchor/> instead of just <anchor> (strict XML syntax) -
Jelmer Vernooij
f8f2165322 - Rename 'modules = ' to 'preload modules = '
- Add smb_probe_module()
- Add init_modules()
- Call these functions
-
Andrew Bartlett
052ebc44cd Fix possible memory leak on failure. -
Jeremy Allison
22fc0d48ff 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.
-
Andrew Bartlett
284479bf38 Add -Wwrite-strings to our --enable-developer settings.
We have compiled relitivly 'clean' with this setting since I did a massive
cleanup last month.  This should help us stay that way.

Andrew Bartlett
-
Andrew Bartlett
3fc179362e Netlogon-unigroup changes needed for the winbind RID-to-SID conversion.
This changes the cache format, which will simply invalidate existing entries,
leaving them dead in the cache.

Andrew Bartlett
-