1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

15560 Commits

Author SHA1 Message Date
Jelmer Vernooij
e0afbc3778 Create SBIN_PROGS and BIN_PROGS lists from within make. 2008-02-29 13:44:03 +01:00
Jelmer Vernooij
d54421a9ee use gmake to handle .py file copies. 2008-02-29 13:42:59 +01:00
Michael Adam
0aff54a12e libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael
2008-02-29 02:46:14 +01:00
Michael Adam
54cc0df4db libreplace: ifdef out ip6 code if unsupported.
Michael
2008-02-29 02:43:24 +01:00
Michael Adam
0cbb87453b libreplace: fix rep_freeifaddrs to not segfault on NULL input.
Michael
2008-02-29 02:23:29 +01:00
Michael Adam
523626908d libreplace: fix silly crashbug in getifaddrs_test().
Michael
2008-02-29 02:22:02 +01:00
Michael Adam
f8243cfc47 libreplace: add missing newline in output of getifaddrs test.
Michael
2008-02-29 01:49:30 +01:00
Michael Adam
29818a07de libreplace: add missing semicolon to getifaddrs.
Michael
2008-02-29 01:25:58 +01:00
Jelmer Vernooij
9499f8eea5 Fix ldapi support. 2008-02-29 01:06:05 +01:00
Jelmer Vernooij
4bce5c6696 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-02-29 01:03:52 +01:00
Jelmer Vernooij
2b408e9ed4 Fix typo. 2008-02-29 01:03:31 +01:00
Andrew Bartlett
61953e24a5 fix typo 2008-02-29 11:02:54 +11:00
Jelmer Vernooij
227de59686 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-02-29 01:00:15 +01:00
Jelmer Vernooij
6ded77b777 raw-qfsinfo: Convert to new torture API. 2008-02-29 00:58:47 +01:00
Andrew Bartlett
124d2ee788 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local 2008-02-29 10:56:56 +11:00
Andrew Bartlett
faf324cac6 Prove that not supporting ldapi is a bit problem.
For a while now, ldapi support has been busted, but it was only tested
when we were running against an external LDAP server.

Andrew Bartlett
2008-02-29 10:56:04 +11:00
Jelmer Vernooij
80ce9a3bbc Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-02-29 00:47:14 +01:00
Jelmer Vernooij
40dffc177b Convert to new torture API. 2008-02-29 00:46:44 +01:00
Andrew Bartlett
f002a98c7a Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local 2008-02-29 10:09:35 +11:00
Michael Adam
ee170c85e0 libreplace: try and fix rep_getifaddrs() for Tru64.
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.

Michael
2008-02-29 00:06:55 +01:00
Michael Adam
a2a506ff0e libreplace: use the new getifaddrs test also for autoconf.
Michael
2008-02-28 23:01:15 +01:00
Michael Adam
9d2bab09aa libreplace: add extended getifaddrs test that prints out the interfaces.
Michael
2008-02-28 23:01:15 +01:00
Andrew Bartlett
04db9b1844 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local 2008-02-29 08:48:57 +11:00
Andrew Bartlett
cda4642a93 Simplify the 'password must change' logic
This takes the previous patches further, so we catch all the cases
(the KDC looked at the time directly).

Andrew Bartlett
2008-02-29 08:47:42 +11:00
Jelmer Vernooij
3cf3922c80 Remove use of global_loadparm. 2008-02-28 21:02:49 +01:00
Jelmer Vernooij
4472d7e1e4 Remove use of global_loadparm. 2008-02-28 20:30:03 +01:00
Jelmer Vernooij
16f36ce499 Remove sDefault as static variable. 2008-02-28 20:04:58 +01:00
Jelmer Vernooij
6cbb241c05 Merge branch 'v4-0-trivial' into v4-0-test 2008-02-28 18:27:29 +01:00
Jelmer Vernooij
fe1d3e6999 Cache iconv_convenience. 2008-02-28 18:26:12 +01:00
Jelmer Vernooij
239bdf5e81 torture/t_strcmp.c: Remove obsolete file - proper testing is now done in the libutil testsuite. 2008-02-28 18:25:49 +01:00
Jelmer Vernooij
9901355176 More share_init to more apprioriate place. 2008-02-28 18:06:23 +01:00
Jelmer Vernooij
84b6772852 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-02-28 14:11:45 +01:00
Stefan Metzmacher
608e5cd881 pvfs_open: fix callers of odb_get_delete_on_close()
metze
2008-02-28 08:11:04 +01:00
Stefan Metzmacher
e699633db2 opendb: only return delete_on_close on odb_get_delete_on_close()
metze
2008-02-28 08:11:04 +01:00
Stefan Metzmacher
73f12be7c6 pvfs: remove unused args from pvfs_delete_on_close_set()
metze
2008-02-28 08:11:04 +01:00
Stefan Metzmacher
c78451ce06 pvfs_open: use the delete_path of odb_close_file()
metze
2008-02-28 08:10:57 +01:00
Stefan Metzmacher
fc27730bad opendb: return the path that should be deleted in odb_close_file()
That means the last close returns the path name if the
delete_on_close flag is set.

metze
2008-02-28 08:10:50 +01:00
Andrew Bartlett
582073eff1 Ensure we don't try and set the acct_flags if they are 0 (meaning
unchanged in this interface).

We seem to have two very similar interfaces here, and this is the
poorer interface, for this reason.

Andrew Bartlett
2008-02-28 10:43:57 +11:00
Andrew Bartlett
ba864cfd7c Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local 2008-02-28 10:33:54 +11:00
Andrew Bartlett
aa3901311e Fix up the libnet tests.
These tests still do not pass against windows, but at least now it
doesn't reset acct_flags to 0.

This is enough to have Samba4 pass it's own tests for the moment.

Andrew Bartlett
2008-02-28 10:32:06 +11:00
Andrew Bartlett
7a46e72f8d Check for and reject invalid account flags.
(lest we have an account set with 0 flags)

Andrew Bartlett
2008-02-28 10:05:32 +11:00
Andrew Bartlett
acda1f69bc Generate ACB_PW_EXPIRED correctly
More correctly handle expired passwords, and do not expire machine accounts.

Test that the behaviour is consistant with windows, using the RPC-SAMR test.

Change NETLOGON to directly query the userAccountControl, just because
we don't want to do the extra expiry processing here.

Andrew Bartlett
2008-02-28 08:50:00 +11:00
Andrew Bartlett
447d5a7954 Users and computers now share the same template.
Slowly work away at the samldb module again, it is clear that AD does
not use much of a templating system.  samAccountType is managed, as
far as I can tell, when groupType or userAccountControl changes.

Andrew Bartlett
2008-02-28 08:43:10 +11:00
Andrew Bartlett
16378219fb Reorder modules to have rdn_name before objectclass.
This ensures the relative DN is placed in the correct case into the
DB.

Andrew Bartlett
2008-02-28 08:39:45 +11:00
Andrew Bartlett
bf7166e785 Fix rdn_name errors.
Return the correct error when the DN is mismatched with it's RDN
attribute (now matches AD).

Andrew Bartlett
2008-02-28 08:38:53 +11:00
Andrew Bartlett
0a5fa41dd7 Extend the ldap.js test
Now we verify sAMAccountType and userAccountControl, as well as rename and
DN mismatch semantics.

Andrew Bartlett
2008-02-28 08:37:11 +11:00
Andrew Bartlett
68dcd1073c Do not re-randomise in an individual test.
smbtorture calls srandom() once for the whole suite, with command line
override to allow reproduceable random tests.

Andrew Bartlett
2008-02-28 08:36:13 +11:00
Stefan Metzmacher
5753d7fd83 unixinfo.idl: don't use utf8string anymore
Note:

This changes the on wire format!!!

But it's a very bad idea to keep utf8string
as it's not valid NDR encoding and noone
would be able to write a compatible IDL
file using another compiler than pidl.

Maybe we should change the uuid,
but as this isn't really used yet
I keep the old one.

metze
2008-02-27 20:39:23 +01:00
Jelmer Vernooij
f920e78ea7 Remove more global_loadparm uses. 2008-02-27 19:48:10 +01:00
Jelmer Vernooij
91980a2bd3 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test 2008-02-27 19:37:45 +01:00