1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

78 Commits

Author SHA1 Message Date
Andrew Bartlett
a5cf5701e2 We might not have the 'samba' directory in the samba_3_0 build.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Tim Potter
d22313998a Fix typo in RW2 torture test. Closes bugzilla bug #924. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
c8485d3f00 Without 'non unix accounts' we can't test security=domain on the build farm. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
6babc35ef9 Grr, the order of these arguments matters 0001-01-01 00:00:00 +00:00
Andrew Bartlett
dcdbd530a6 Make smbpasswd use the higher log level for the second run - this should
help us debug failures in smbpasswd.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4a2a54cd68 changed 'winbind uid' to 'idmap uid' in build farm tests 0001-01-01 00:00:00 +00:00
Andrew Bartlett
a7b34564ae Fix up the build-farm testsuite again - I forgot to move some files into the
template dir, and idra's checkin removed smbpasswd_nua.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
98f7ccebeb Fix up the setting up of the build_farm smb.conf from the templates in their
new directory.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
5d95309d8a Remove extra file 0001-01-01 00:00:00 +00:00
Andrew Bartlett
7ed8a0eb94 Use current 3.0 paramater names 0001-01-01 00:00:00 +00:00
Gerald Carter
ee1f0914ff testing commit 0001-01-01 00:00:00 +00:00
Gerald Carter
fb6c5b293c readding template files on SAMBA_3_0 branch; not cvs tag 0001-01-01 00:00:00 +00:00
cvs2svn Import User
8fa5862a44 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
3c7155424a In HEAD, idra removed _nua and renamed it to 'idmap uid' 0001-01-01 00:00:00 +00:00
Andrew Bartlett
082bdcd662 We don't use 'non unix account range' any more 0001-01-01 00:00:00 +00:00
cvs2svn Import User
4e4cc806ed This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Paul Green
cf69c69594 Missed two references to a renamed file. 0001-01-01 00:00:00 +00:00
Paul Green
513dd6d414 Missed two references to a renamed file. 0001-01-01 00:00:00 +00:00
Paul Green
e2315ebc9a Backport changes from head to shorten the filenames of the test cases. 0001-01-01 00:00:00 +00:00
Paul Green
58a4be041e Move build farm template files to their own subdirectory so that their
names can be shortened to 30 characters. Helps Stratus VOS, which has a
32-character file name limit.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
2ee7254fde Add some more info to the diags output. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
309ebac689 add test file for FDSESS 0001-01-01 00:00:00 +00:00
Andrew Bartlett
273a9bd7aa Start testing a few more things out of smbtorture in the build farm.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
b750b8c542 The 'net' syntax has changed, so update the testsuite. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
015924491e Up the debug level for the second run of the test (client side) 0001-01-01 00:00:00 +00:00
Andrew Bartlett
0048a81abe We changed 'net' so change the torture tests that use it. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
fbd49f915f Merge from HEAD - updates to the build farm, /bin/sh can swallow return values,
and add the RENAME torture test.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
35b73aa0a1 /bin/sh on solaris swallows the failure code, so exec this directly.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
cvs2svn Import User
12c1579b18 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
644b5e30c8 Add the rename torture test. 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
cvs2svn Import User
2662e351f2 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
36441899e6 Updates to the build farm tests:
- Get valid/invalid users working
- Test preexec, preexec close

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Gerald Carter
4456d5edd9 sync'ing up for 3.0alpha20 release 0001-01-01 00:00:00 +00:00
cvs2svn Import User
9a5541595f This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f1058012b9 enable 'map hidden' and 'create mask' to allow the new OPEN test to
succeed
0001-01-01 00:00:00 +00:00
Andrew Bartlett
2ff6d53db5 Our 'guest' login still requires an entry in the SAM - and build farm machines
do not run 'unixsam', so add it to smbpasswd.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
7cb080559e Add tridge's backtrace script - it should at least work for systems with
gdb....

Andrew Bartlett
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
Andrew Bartlett
2f164e28c3 Increse the maximum non-unix-account ID (becouse the Compaq Test Drive systems
have a lot of users ;-).

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
3167ec8a49 make the echo'ed command match the actual command run. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
18f6d47615 use the variable passed as a paramater, not just one randomly in our namespace.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
f1eb782eee See if we can get a slight chance of this actually working... 0001-01-01 00:00:00 +00:00
Andrew Bartlett
dd8388330e Fix up some braindamage in the testsuite.
(if you remove the smbpasswd file, you wont be able to change the passwords
contained therein... :-)

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
180d7e8c43 Add the -s command to keep smbpasswd quiet during the tests.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
71b63db1bf Also echo the smbpasswd command line 0001-01-01 00:00:00 +00:00
Andrew Bartlett
983fe93343 This should get the oldstyle domain join tests working again. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
409fb69ecb A couple more little fixes for the domain security tests. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
e809e6c20f Try to see if we can get these tests working... 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