1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

663 Commits

Author SHA1 Message Date
Jelmer Vernooij
92a138f027 Fix build of winbindd with static pdb modules 0001-01-01 00:00:00 +00:00
Andrew Tridgell
ef01aedfb4 added support for "make pch" to build a precompiled header. Note that
this is not called by default and I don't think it should be - I think
the programmer should specifically ask for pch generation when they
want it.
0001-01-01 00:00:00 +00:00
Volker Lendecke
b628ba0fc0 Compile tdbdump by default.
Volker
0001-01-01 00:00:00 +00:00
Tim Potter
e306c96268 Add ldaplibs to pdbedit link line. Fixes bug #651. 0001-01-01 00:00:00 +00:00
Tim Potter
7af7fa9be2 Re-order link command for smbd, rpcclient and smbpasswd to ensure $LDFLAGS
occurs before any library specification.  Closes bug #661.
0001-01-01 00:00:00 +00:00
Tim Potter
a38ab77b70 Compile fix for tdbbackup when Samba needs to override non-C99
compliant implementations of snprintf.
0001-01-01 00:00:00 +00:00
Richard Sharpe
cf9311044c Commit Derrell's changes to libsmbclient plus a small change to configure.in
to see if SGI and other platforms will build.
0001-01-01 00:00:00 +00:00
Jim McDonough
4e86243ea1 Add initshutdown pipe commands to rpcclient. Second part of fix to bug
#534
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
3098a9e4b0 Compile libsmbclient with $(DYNEXP) (fixes bug #505) 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
17d71852ae CP* modules are not related to development 0001-01-01 00:00:00 +00:00
Tim Potter
63a82debd8 Build fix for wrepld. From MORIYAMA Masayuki. 0001-01-01 00:00:00 +00:00
Tim Potter
ecfbc5f529 Use @PICSUFFIX@ instead of .po in Makefile.in since we have gone to
the trouble of detecting what the PIC suffix should actually be.

Change PICFLAG in configure.in to PICFLAGS for consistency.

Patches from Joachim Schmitz <schmitz@hp.com> for bug 574.
0001-01-01 00:00:00 +00:00
Gerald Carter
266fa232d9 default DESTDIR=/ 0001-01-01 00:00:00 +00:00
Simo Sorce
c78f2d0bd1 split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes
couldn't compile to test these due to some kerberos problems wirh 3.0,
but on HEAD they're working well, so I suppose it's ok to commit
0001-01-01 00:00:00 +00:00
Tim Potter
6aada3bd3e Explicitly initialise the value of AR for vendor makes that don't do
this (HPUX 11).  Currently it's initialised to 'ar' but this may have
to be changed if any systems pop up that have archivers that aren't
named 'ar'. Closes bug #552.
0001-01-01 00:00:00 +00:00
Gerald Carter
dc6d14c2bd fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525 0001-01-01 00:00:00 +00:00
Tim Potter
c326774905 Fix bug #456 for 3.0.0 release.
More work on SWAT i18n support to appear in later releases.
0001-01-01 00:00:00 +00:00
Tim Potter
c972fac195 Remove tags file for distclean. 0001-01-01 00:00:00 +00:00
Tim Potter
9b0b0256a8 Rename FOOLIBS to FOO_LIBS to be consistent with the rest of the
library variable names.
0001-01-01 00:00:00 +00:00
Volker Lendecke
5775690ee8 Nobody complained on the team-list, so commit it ...
This implements some kind of improved AFS support for Samba on Linux with
OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have
OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile
into secrets.tdb with 'net afskey'. If this is done, on each tree connect
smbd creates a Kerberos V4 ticket suitable for use by the AFS client and
gives it to the kernel via the AFS syscall. This is meant to be very
light-weight, so I did not link in a whole lot of libraries to be more
platform-independent using the ka_SetToken function call.

Volker
0001-01-01 00:00:00 +00:00
Volker Lendecke
353d527291 Very weird. On my SLES8 installation ntlm_auth would give missing
kerberos symbols unless I do the same as smbd does. It does not hurt
on my debian, so simply give a pointer to LDAPLIBS as well.

Volker
0001-01-01 00:00:00 +00:00
Tim Potter
04797e12d8 Move $(KRBCLIENT_OBJ) to libnss_wins PICOBJ variable so it is converted to
relocatable form.

Added a comment about this in the hope that it won't happen again.

Renamed PAM_WINBIND_OBJ to PAM_WINBIND_PICOBJ to make it a bit clearer.
0001-01-01 00:00:00 +00:00
Tim Potter
fb446ba811 Add log2pcap to everything target. 0001-01-01 00:00:00 +00:00
Alexander Bokovoy
37042c7bc0 Refactor charset plugins a bit and add CP437 module.
Now all 8-bit charsets with gaps (not all symbols defined) could be produced through
one macro -- SMB_GENERATE_CHARSET_MODULE_8_BIT_GAP(CHARSETNAME) within source file
with three charset tables. Full source code for such modules can be generated by
source/script/gen-8bit-gap.sh script which was taken from GNU libc and changed slightly
to follow our data types and structure.
0001-01-01 00:00:00 +00:00
Jim McDonough
ffc82460f2 Fix email address in copyright statement 0001-01-01 00:00:00 +00:00
Gerald Carter
780055f442 Fix bug 327 (again and I think for the last time). Make sure that
pam_smbpass.so will load ok.  Had to move some functions around to work
around dependency problems (hence the new passdb/lookup_sid.c)

Also make sure that libsmbclient.a is built and installed when
we support shared libraries.
0001-01-01 00:00:00 +00:00
Alexander Bokovoy
e8a5a962ed Add CAP VFS module from Monyo. Primary purpose of this module is to provide CAP-compatible encoded file names for CJKV 0001-01-01 00:00:00 +00:00
Alexander Bokovoy
e855dc8c91 Fix for #150.
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime.
1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5
2. Make CP850 charset module shared and build it by default

Should fix Solaris run-time
0001-01-01 00:00:00 +00:00
Gerald Carter
e52f95d681 fix bugs 327 & 340; make sure pam_smbpass.so gets linked with all the neccessary files & libs 0001-01-01 00:00:00 +00:00
Gerald Carter
50ab28bd25 * Fix for bug 290:
smbadduser must obeys the paths from configure options

* Try to get libsmbclient files installed during 'make install'
  Still one outstanding problem with static lib.  INSTALLCLIENTCMD_A
  is not getting set correctly.
0001-01-01 00:00:00 +00:00
Gerald Carter
b7ccfb1592 fix bug 327; make sure to link SMBLDAP_OBJ with PAM_SMBPASS_OBJ 0001-01-01 00:00:00 +00:00
Gerald Carter
4d49ebf713 actually check in the fix for make torture 0001-01-01 00:00:00 +00:00
Gerald Carter
ae452e51b0 metze's autogenerate patch for version.h 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
104f62272d Remove nasty hack in modules system. We don't recompile files anymore
after the Makefile changes.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
aa96f78001 Add ability to output native pcap files without the requirement for text2pcap.
IP and TCP checksums are not calculated, but that should not matter.
0001-01-01 00:00:00 +00:00
Volker Lendecke
dc2d2ad467 Add the gss-spnego kerberos server side to ntml_auth. This uses the
same ads_verify_ticket routine that smbd uses, so in the current state
we have to be have the host password in secrets.tdb instead of the
keytab. This means we have to be an ADS member, but it's a start.

Volker
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
95b1d4933b Add utility that takes a samba log file (at least level 5 for headers and
10 for data contents as well) and creates a packet trace readable by
ethereal.

What does not work yet:
 - SMB data contents (log level 5)
 - SMB data contents beyond the 512 byte range (log level 99 or something?)
0001-01-01 00:00:00 +00:00
Gerald Carter
96bc2abfcb Attempt at fixing bug #283. There however is no solution.
There is a workaround documented in the bug report.

This patch does:

  * add server support for the LSA_DS UUID on the lsarpc pipe
  * store a list of context_ids/api_structs in the pipe_struct
    so that we don't have to lookup the function table for a pipe.
    We just match the context_id.  Note that a dce/rpc alter_context
    does not destroy the previous context so it is possible to
    have multiple bindings active on the same pipe. Observed from
    standalone win2k sp4 client.
  * added server code for DsROleGetPrimaryDOmainInfo() but disabled it
    since it causes problems enumerating users and groups from a 2ksp4
    domain member in a Samba domain.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
3547cb3def Change Samba to always use extended security for it's guest logins, (ie,
NTLMSSP with "" username, NULL password), and add --machine-pass (-P) to
all of Samba's clients.

When connecting to an Active Directory DC, you must initiate the CIFS level
session setup with Kerberos, not a guest login.  If you don't, your machine
account is demoted to NT4.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
3000a99b2d Create symlinks for modules that register multiple functions (fixes bug #91 ) 0001-01-01 00:00:00 +00:00
Volker Lendecke
5522c79045 This adds *experimental* kerberos gss spnego client support to ntlm_auth. 0001-01-01 00:00:00 +00:00
Alexander Bokovoy
8b263c2fda Add vfs_readonly module which allows to enforce periodic read-only limit on a share based on a specified start and end dates according to date(1) format 0001-01-01 00:00:00 +00:00
Jim McDonough
15d2bc4785 Fix copyright statements for various pieces of Anthony Liguori's work. 0001-01-01 00:00:00 +00:00
Volker Lendecke
c2c901e06b locking.c now refers to map_nt_error_from_unix, so link it in with
smbstatus and smbcontrol

Volker
0001-01-01 00:00:00 +00:00
Volker Lendecke
9a04750dea spnego.c has function definitions. Prototype them.
Anybody familiar with Makefile.in could you please look at this?
This is probably the wrong way to fix this.

Volker
0001-01-01 00:00:00 +00:00
Volker Lendecke
ee09db891a bin/net needs server_mutex as kerberos_verify now uses it.
Volker
0001-01-01 00:00:00 +00:00
Herb Lewis
cec5bf5f99 split replace into replace and replace1 to allow setenv to be used by
nsswitch modules. Add required libraries to get rid of undefined
functions for libns_winbind.so and libns_wins.so
0001-01-01 00:00:00 +00:00
Alexander Bokovoy
e856a96c2c Add NT quotas support. Users allowed now to manage quotas on systems with sysquotas interface detected (Linux at least) using native Windows tools. Also move default quota support for NT quotas to VFS module default_quota. Code by Metze 0001-01-01 00:00:00 +00:00
Volker Lendecke
45cef8f66e This adds gss-spnego to ntlm_auth. It contains some new spnego support
from Jim McDonough. It is to enable cyrus sasl to provide the
gss-spnego support. For a preliminary patch to cyrus sasl see

http://samba.sernet.de/cyrus-gss-spnego.diff

Volker
0001-01-01 00:00:00 +00:00
Andrew Bartlett
e09a7c767e the testsuite lib needs dummyroot too. 0001-01-01 00:00:00 +00:00