1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

308 Commits

Author SHA1 Message Date
Herb Lewis
04adfa001b IRIX uses libns_winbind.so instead of libnss_winbind.so 0001-01-01 00:00:00 +00:00
Simo Sorce
ea2154b269 fix rpcclient querygroup command (from 2.2 and head) 0001-01-01 00:00:00 +00:00
Jeremy Allison
904f6dfb7a Make sure we have a default st_blocksize.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
379e719e98 Fix for 64 bit issues with oplocks and allocation size.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
e6f2d9dfdb Merge from HEAD - Patch from Paul Green to detect exe suffix for Stratus VOS.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Tim Potter
3ce5207853 Rerun autoconf. 0001-01-01 00:00:00 +00:00
Gerald Carter
f0d09cf676 * fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
0001-01-01 00:00:00 +00:00
Gerald Carter
ff05947aac lining up some spaces in configure.in and reran autoconf
updating WHATSNEW
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
fadada3555 Merge in modules system from HEAD:
- Detect MySQL and XML libraries
 - Add modules rules to Makefile
 - Move working VFS modules to source/
0001-01-01 00:00:00 +00:00
Andrew Bartlett
6520592453 Merge from HEAD: Remove assumption that all solaris has -lsendfile 0001-01-01 00:00:00 +00:00
Andrew Bartlett
43e90eb6e3 Updates from HEAD:
- const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
aa41fb8703 Merge from HEAD:
- heimdal updates to configure
 - make DEBUG() const
 - add testsuite for:
   - preexec
   - preexec close
   - valid users
 - fix testsuite for 'invalid users'

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
da8794afe8 small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by Metze) 0001-01-01 00:00:00 +00:00
Andrew Bartlett
111b0405cf Merge from HEAD
- make configure check for the location of Heimdal KRB5 on suse systems
	- fix libsmbclient for new global_myname()
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
b1ad91101d Back out some of my sync changes 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
1175b62337 Last sync with HEAD 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
7b7e54f7a8 Rerun autoconf 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
da0d48eedc Back out SAM - it belongs in HEAD 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
906f25d1fb Sync with HEAD 0001-01-01 00:00:00 +00:00
Jeremy Allison
a09ba463b4 Turn on sendfile detection by default in HEAD and 3.0.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
83973c3893 Updates from Samba HEAD:
- Fix segfaults in the 'net ads' commands when no password is provided
 - Readd --with-ldapsam for 2.2 compatability.  This conditionally compiles the
   old options, but the actual code is available on all ldap systems.
 - Fix shadow passwords (as per work with vl)
 - Fix sending plaintext passwords to unicode servers (again vl)
 - Add a bit of const to secrets.c functions
 - Fix some spelling and grammer by vance.
 - Document the -r option in smbgroupedit.

There are more changes in HEAD, I'm only merging the changes I've been involved
with.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Jeremy Allison
7ba5636897 Fix Solaris sendfile detection. Add small fixes to sendfile code.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
9c17faefa5 Added Solaris sendfile patch + configure tests from Pierre Belanger <belanger@yahoo.com>.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
65e7b5273b sync'ing up for 3.0alpha20 release 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
3928578b52 sync 3.0 branch with head 0001-01-01 00:00:00 +00:00
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 0001-01-01 00:00:00 +00:00
Tim Potter
2c483c8dce Rerun autoconf. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
7e92fb7453 added strndup() for systems that don't have it 0001-01-01 00:00:00 +00:00
Jeremy Allison
9f2753a149 Ensure VFS modules will build correctly by adding defines for CPPFLAGS
defines into acconfig.h - only defined if seen.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
a627d69812 Rerun autoconf. 0001-01-01 00:00:00 +00:00
Tim Potter
5c4ce2129f Rerun autoconf. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
aa7eab7245 not all versions of gcc support -rdynamic
for example, gcc 2.95.2 on sco1 doesn't
0001-01-01 00:00:00 +00:00
Andrew Tridgell
63702ca3a4 try to get the summary test working on OpenBSD 0001-01-01 00:00:00 +00:00
Jeremy Allison
ac1baba35d Removed HAVE_LIBDL from most places (except system.c). Added checks for
dlopen & friends into configure.in. This should help building on *BSD
where dl*** calls are in libc.
Jeremy
0001-01-01 00:00:00 +00:00
Andrew Bartlett
32a8513619 rerun autoconf 0001-01-01 00:00:00 +00:00
Jeremy Allison
ad1e858d8e Sync up vfs changes from 2.2.x.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
56b1252ebc Fixed EXTRA vs EXTGRA typo. Thanks Mike :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
10e3e6855b Attempt to fix Solaris winbind nss build.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
a1952415f8 Rerun configure 0001-01-01 00:00:00 +00:00
Andrew Bartlett
cf9cae48e6 Get rid of the unused WL variable from the previous patch. I think these were
meant to be DYNEXP, but I'll confirm that with the original contributor.

Thanks to vance for spotting this!

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
0ba24c91bf rerun autoconf 0001-01-01 00:00:00 +00:00
Herb Lewis
dc3fb2e6dc fix for IRIX toolroot builds 0001-01-01 00:00:00 +00:00
Andrew Bartlett
ff354c99c5 This is another *BIG* change...
Samba now features a pluggable passdb interface, along the same lines as the
one in use in the auth subsystem.  In this case, only one backend may be active
at a time by the 'normal' interface, and only one backend per passdb_context is
permitted outside that.

This pluggable interface is designed to allow any number of passdb backends to
be compiled in, with the selection at runtime.  The 'passdb backend' paramater
has been created (and documented!) to support this.

As such, configure has been modfied to allow (for example) --with-ldap and the
old smbpasswd to be selected at the same time.

This patch also introduces two new backends:  smbpasswd_nua and tdbsam_nua.
These two backends accept 'non unix accounts', where the user does *not* exist
in /etc/passwd.  These accounts' don't have UIDs in the unix sense, but to
avoid conflicts in the algroitmic mapping of RIDs, they use the values
specified in the 'non unix account range' paramter - in the same way as the
winbind ranges are specifed.

While I was at it, I cleaned up some of the code in pdb_tdb (code copied
directly from smbpasswd and not really considered properly).  Most of this was
to do with % macro expansion on stored data.  It isn't easy to get the macros
into the tdb, and the first password change will 'expand' them.  tdbsam needs
to use a similar system to pdb_ldap in this regard.

This patch only makes minor adjustments to pdb_nisplus and pdb_ldap, becouse I
don't have the test facilities for these.  I plan to incoroprate at least
pdb_ldap into this scheme after consultation with Jerry.

Each (converted) passdb module now no longer has any 'static' variables, and
only exports 1 init function outside its .c file.

The non-unix-account support in this patch has been proven!  It is now possible
to join a win2k machine to a Samba PDC without an account in /etc/passwd!

Other changes:

Minor interface adjustments:
pdb_delete_sam_account() now takes a SAM_ACCOUNT, not a char*.

pdb_update_sam_account() no longer takes the 'override' argument that was being
ignored so often (every other passdb backend).  Extra checks have been added in
some places.

Minor code changes:
smbpasswd no longer attempts to initialise the passdb at startup, this is
now done on first use.

pdbedit has lost some of its 'machine account' logic, as this behaviour is now
controlled by the passdb subsystem directly.

The samr subsystem no longer calls 'local password change', but does the pdb
interactions directly.  This allow the ACB_ flags specifed to be transferred
direct to the backend, without interference.

Doco:

I've updated the doco to reflect some of the changes, and removed some paramters
no longer applicable to HEAD.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
d6bd9f1005 rerun autoconf 0001-01-01 00:00:00 +00:00
Jeremy Allison
2591361fa8 Ensure this is committed last.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
ee0a6f8d26 Although configure.in and configure were checked in at the same time
I think configure.in just beat it to the repository so the timestamp of
configure.in is newer than configure.  )-:
0001-01-01 00:00:00 +00:00
Jeremy Allison
6210d4aa19 Getting ready to add UNIX extensions in HEAD also.
Jeremy
0001-01-01 00:00:00 +00:00
Jeremy Allison
38cfffea5f Added tests for st_blocks in struct stat, and added a (hateful) constant
the specifies the units that st_blocks is in. The reason for this is
that HPUX uses 8k, AIX uses a #defined constant and everyone else (tm)
uses 512 byte units.
Needed for the CIFS UNIX extensions - coming to a Samba server near
you soon.... :-).
Jeremy.
0001-01-01 00:00:00 +00:00
Martin Pool
391cbb6901 Better explanation message for dmalloc.
Also more insertion of parenthesis to handle struct members called
'free'.

You can now get useful dmalloc output, as long as it is compatible
with your C library.  On RH7.1 it looks like you have to rebuild
dmalloc to allow free(0) by default, because something in libcrypt
does that. (sigh)
0001-01-01 00:00:00 +00:00
Martin Pool
fb8ab69b6f With --enable-dmalloc, also use dmalloc's wrappers around routines
like strcat
0001-01-01 00:00:00 +00:00