1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

10732 Commits

Author SHA1 Message Date
Gerald Carter
043b9dff22 * 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
-
Alexander Bokovoy
643172ac1a 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.
-
Andrew Bartlett
dc934412b0 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
-
Simo Sorce
4a3c6c62d9 fix dumb perror used without errno beeing set.
thanks to RedHat developers for the report
-
Jelmer Vernooij
10a97c2263 Some small updates -
Alexander Bokovoy
c88a5b1aba When checking for tgetent, include libtinfo from recent Ncurses as well -
Alexander Bokovoy
ca27334ba0 Add support for krb5-config from recent MIT and Heimdal. And fallback to traditional guessing only if krb5-config was not found. -
Jelmer Vernooij
fc26d1bfd1 Add draft of universal passdb document that combines ENCRYPTION.sgml,
Samba-LDAP-HOWTO.sgml, pdb_mysql.sgml and pdb_xml.sgml
-
Jelmer Vernooij
327075d14f Remove obsolete textdocs - they have been migrated to SGML -
Jelmer Vernooij
41753997ae Fix *a lot* of syntax errors -
Andrew Bartlett
b2b66909ac Move our NTLMSSP client code into ntlmssp.c. The intention is to provide a
relitivly useful external lib from this code, and to remove the dupicate
NTLMSSP code elsewhere in samba (RPC pipes, LDAP client).

The code I've replaced this with in cliconnect.c is relitivly ugly, and
I hope to replace it with a more general SPENGO layer at some later date.

Andrew Bartlett
-
Jelmer Vernooij
ba25db83f2 Use more portable @SHLIBEXT@ instead of .so -
Jelmer Vernooij
28653989cf Remove obsolete file lib/netatalk.c - We have a VFS module now -
Jeremy Allison
81f358b632 Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.
-
Jelmer Vernooij
ed46cb9e64 Add reference to example mysql.dump file -
Andrew Bartlett
ce52f1c2ed Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
users w/o full administrative access on computer accounts to join a
computer into AD domain.

The patch and detailed changelog is available at:
http://www.itcollege.ee/~aandreim/samba

This is a list of changes in general:

1. When creating machine account do not fail if SD cannot be changed.
   setting SD is not mandatory and join will work perfectly without it.
2. Implement KPASSWD CHANGEPW protocol for changing trust password so
   machine account does not need to have reset password right for itself.
3. Command line utilities no longer interfere with user's existing
   kerberos ticket cache.
4. Command line utilities can do kerberos authentication even if
   username is specified (-U). Initial TGT will be requested in this case.

I've modified the patch to share the kinit code, rather than copying it,
and updated it to current CVS.  The other change included in the original patch
(local realms) has been left out for now.

Andrew Bartlett
-
Andrew Bartlett
b5ec7efa80 Move our NTLMSSP code into easily seperated peices, not relying on the whole
of libsmb.

Andrew Bartlett
-
Andrew Bartlett
5492fc1144 Oops, forgot the header file changes. -
Andrew Bartlett
4d94f8e691 NTLMSSP parinoia - we really don't want to run over the end of our blob,
and make sure we can never get an 'authenticate' packet without a challenge.

Andrew Bartlett
-
Jeremy Allison
4c3ee228fc Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.
-
Gerald Carter
4b5b0bcd90 off by one bug in string length; CR 1159 -
Jim McDonough
b44be1c7c4 Put dynrpc modules as part of make all, when specified in configure. -
Andrew Bartlett
eaa8e7d1f8 Further extract our NTLMv2 code into smbencrypt.c, prior to merge into our
NTLMSSP client code.

Andrew Bartlett
-
Martin Pool
11c1e712d4 Doc -
Tim Potter
026b988b13 Simplify some return values in gencache functions:
-	return ret == 0 ? True : False;
+	return ret == 0;

and

-	return tdb_close(cache) ? False : True;
+	return tdb_close(cache) != -1;
-
Tim Potter
7420ddcda8 Fix for trusted domains scan not working inspired by Ken Cross.
(Sorry - I should have checked this in yesterday but forgot)
-
Rafal Szczesniak
16a66cf17a A few typo fixes Andrew eventually let off to me.
Rafal
-
Jeremy Allison
c9654c8ec7 Removed unused variable.
Jeremy.
-
Alexander Bokovoy
4463ffeed9 Fix typo in WIFSIGNALED (as per Waider's report) -
Jeremy Allison
d079edf732 Merge JohnR's patch.
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.
-
Martin Pool
2b5664823e Add FIXME about checking exit code for popen'd commands.
Fix typo.
-
Martin Pool
fe5582c1b2 waitstatus audit: Correctly handle case where smbmnt is killed by a
signal.  Previously this was incorrectly treated as success.
-
Martin Pool
38b5a219ee Doc
Set HTML output directory
-
Martin Pool
5904260f48 Update towards automatic building on dp.samba.org:
Remove features not supported by Doxygen 1.2.14 on RH7.3.

Remove dependence on dot tool, which is apparently not in Redhat, and
doesn't produce very interesting results for C code anyhow.

Make Doxygen --quiet to support running from cron.

Remove references to files which are gone from Samba
(CodingSuggestions).

Put HTML output in the right directory.
-
Jeremy Allison
19f577e23b Added code based on Michael Steffens <michael.steffens@hp.com> uid/gid
caching code. Reduces load on winbindd. Probably should be moved to
use gencache at some future date.
Jeremy.
-
Jeremy Allison
ba0f47f78d Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
-
Gerald Carter
dfceb0aab5 adding more descriptions for nt status codes -
Andrew Bartlett
512e65a6a6 Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb
back working again.

Andrew Bartlett
-
Andrew Tridgell
f4f1f84a6b initial server side privileges implementation, using a tdb. This needs to be hooked into pdb, and we need some access control on changing privileges. That's next -
Andrew Bartlett
9deb14a2e6 Prevent NULL-pointer induced segfaults.
Is tdb_pack in appliance_head different for some reason?

Andrew Bartlett
-
Jeremy Allison
5cdc957ea6 Correctly return access denied on share mode deny when we can't open the
file. This is a regression that was damaged by other code.
Jeremy.
-
Andrew Tridgell
6186c10ceb setup the %U substitution in winbindd for the homedir template -
Andrew Tridgell
bceac9cdde add a note about relative opens with blank paths - its a re-open!
(not implemented yet)
-
Andrew Tridgell
8a8cca78ad add a note about a better method for finding netbios name of workgroup
(not implemented yet)
-
Andrew Tridgell
3cf539421f pull_ucs2_talloc() should pull to a char**, not a void** -
Andrew Tridgell
2ef72f9500 removed a duplicate copy of smb_io_sid_array() -
Andrew Tridgell
aa2abacaf4 added server stubs for lsa_enum_acct_with_right -
Andrew Bartlett
7836b9a58d Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
madness.

Andrew Bartlett
-
Jim McDonough
fa4961b1fc remove trailing 'a' from VFS_MODULES targets...fix build -
Jeremy Allison
b031e81f4f Fixup delete on close torture.
Jeremy.
-