1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-31 12:23:52 +03:00
Commit Graph

425 Commits

Author SHA1 Message Date
Stefan Metzmacher
9f3b6746d8 r11087: - add type,name,scope as attributes to winsRecords,
so you can use them in search filters,
  only for administration not used inside the winserver code
- fix the samba3 ugrade scripts to create a correct samba4 wins.ldb

metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
a3abf10d43 r11086: add sys.unix2nttime() function
metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
e27e36909d r11085: as ejs doesn't support '&' '|' bitwise AND and OR,
we need some helper functions for this

metze
2007-10-10 13:44:46 -05:00
Stefan Metzmacher
5d46cdd1ee r11083: use the addresses from the record
metze
2007-10-10 13:44:45 -05:00
Andrew Tridgell
93c296d527 r10914: moved the ldap time string functions into ldb so they can be used by
the time attribute handling functions
2007-10-10 13:39:42 -05:00
Jelmer Vernooij
b53313dc51 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
540155fad3 r10528: Add credentials.h back into includes.h as some compilers don't
seem to be able to handle incomplete enum types.
2007-10-10 13:39:02 -05:00
Jelmer Vernooij
c5e3a1c55d r10515: Handle replacement of "domain logons" and "domain master" by "server role" 2007-10-10 13:38:59 -05:00
Jelmer Vernooij
03647e1321 r10510: Decrease the amount of data included by includes.h a bit 2007-10-10 13:38:58 -05:00
Andrew Bartlett
194e8f07c0 r10402: Make the RPC-SAMLOGON test pass against Win2k3 SP0 again.
I still have issues with Win2k3 SP1, and Samba4 doesn't pass it's own
test for the moment, but I'm working on these issues :-)

This required a change to the credentials API, so that the special
case for NTLM logins using a principal was indeed handled as a
special, not general case.

Also don't set the realm from a ccache, as then it overrides --option=realm=.

Andrew Bartlett
2007-10-10 13:38:39 -05:00
Jelmer Vernooij
4f0d7f75b9 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
0963ab9c14 r10316: More dynconfig fixes 2007-10-10 13:38:17 -05:00
Andrew Tridgell
dff660c23c r10252: a recent checkin from simo changed the handling of BASE and SUBTREE
searches in ldb to be more ldap compliant, but broke the wins server
and the ejs ldb code. This fixes those up so 'make test' passes again.
2007-10-10 13:38:11 -05:00
Andrew Tridgell
173655aec2 r10193: r11632@blu: tridge | 2005-08-30 23:08:27 +1000
if we fail to erase a ldb during provision by traversing
 and deleting records (an in-place erase) then just unlink it
 and start it again. This makes provisioning much more robust
 to changes in ldb that make it not backward compatible with
 old DBs.
2007-10-10 13:38:07 -05:00
Andrew Tridgell
1f12364a0f r10192: r11631@blu: tridge | 2005-08-30 23:06:37 +1000
added a ldb.close() method in js. Useful for re-opening the db
2007-10-10 13:38:07 -05:00
Jelmer Vernooij
87f25fe49c r10190: Do some very basic input checking when provisioning. 2007-10-10 13:38:06 -05:00
Tim Potter
dd148451d7 r9990: Fix some 64-bit size_t warnings. 2007-10-10 13:36:26 -05:00
Jelmer Vernooij
a143234ac7 r9951: Add another value to the default HKLM.
Convert Samba3 policy "refuse machine pw change" to registry value.
2007-10-10 13:36:24 -05:00
Jelmer Vernooij
4f0ee80f6c r9925: Fix swapped nt/lm password hashes - caught by Andrew Bartlett 2007-10-10 13:36:22 -05:00
Jelmer Vernooij
8ff1358f40 r9915: Some more mappings. Fix weird sAMAccountName values. 2007-10-10 13:36:21 -05:00
Jelmer Vernooij
76e943d441 r9899: Be more conservative about what is sent to the remote server in ldb_map. 2007-10-10 13:36:21 -05:00
Jelmer Vernooij
de2bde2526 r9854: Finish ldb_map testsuite
Update PLAN
Some more small other fixes
2007-10-10 13:36:18 -05:00
Jelmer Vernooij
b7992de4b7 r9842: More error checks in the ldb_map modules, extend testsuite 2007-10-10 13:36:17 -05:00
Jelmer Vernooij
d2db164d6f r9834: More tests for the upgrade from Samba3 2007-10-10 13:36:17 -05:00
Jelmer Vernooij
11e2a19389 r9830: Fix support for importing registry values. Extended the examplre registry tdb. 2007-10-10 13:36:16 -05:00
Jelmer Vernooij
fb2fd8da10 r9827: Convert 'passdb backend' rather then 'passdb backends'
Be a bit more verbose
2007-10-10 13:36:16 -05:00
Jelmer Vernooij
213bcb7e16 r9826: Add some more OOM checks 2007-10-10 13:36:15 -05:00
Jelmer Vernooij
edf380cb5f r9825: Correctly handle length argument to substr() 2007-10-10 13:36:15 -05:00
Jelmer Vernooij
488d737fb0 r9816: Work on testsuite for upgrade
Add 'paths' object to provision code.
2007-10-10 13:35:04 -05:00
Jelmer Vernooij
77f24ed131 r9813: Conver testsuite for samba3sam module to EJS 2007-10-10 13:35:04 -05:00
Jelmer Vernooij
27eefbd905 r9805: Add 'data' property to param EJS object
Write out new smb.conf file. Parameters that have disappeared
between Samba 3 and 4 will optionally be prefixed with 'samba3:'
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
bb0cef581a r9800: Add EJS interface to param. tridge, sorry this overlaps a bit
with your loadparm interface. :-/
2007-10-10 13:35:03 -05:00
Jelmer Vernooij
414e5f7f6d r9798: Add generic functions for handling smb.conf files (the parameters don't to be pre-declared). Also doesn't use any globals, so multiple files can be loaded at once.
Currently uses the prefix "param" for all functions and structures; suggestions for better ones are welcome...

Remove old smb.conf-parsing code from libsamba3.
2007-10-10 13:35:02 -05:00
Jelmer Vernooij
b7c09df9e5 r9793: Be more verbose, check for errors in upgrade script. 2007-10-10 13:35:02 -05:00
Jelmer Vernooij
d9541535e3 r9770: Couple other bugfixes
Update TODO-list
2007-10-10 13:34:58 -05:00
Jelmer Vernooij
1376a1fe44 r9762: Add support for reading good old smbpasswd files
Fix password support
Make base64 decode/encode functions available to EJS
2007-10-10 13:34:57 -05:00
Jelmer Vernooij
a8f309aa81 r9756: One-way upgrade from Samba3->Samba4 basically works now
Still need to polish some rough edges
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
6e3e964fb4 r9755: Fix crash bug in SWAT login 2007-10-10 13:34:56 -05:00
Jelmer Vernooij
8baa2ac377 r9754: Upgrading with the command line utility now works, at least partially (-:
Upgrading using SWAT should work as well now.
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
b1d9ef8998 r9746: Add "staff" as possible alternative to wheel
(should fix standard provisioning on AIX)
2007-10-10 13:34:56 -05:00
Jelmer Vernooij
435e4c6389 r9744: - [upgrade.js] Start working on smb.conf conversion.
- [ldb_map] Support storing non-mappable data in a fallback LDB
2007-10-10 13:34:55 -05:00
Jelmer Vernooij
d569465dc4 r9735: More work on generating a valid Samba4 configuration using the
Samba3 data (both console and SWAT)
2007-10-10 13:34:55 -05:00
Andrew Bartlett
6202267f6e r9728: A *major* update to the credentials system, to incorporate the
Kerberos CCACHE into the system.

This again allows the use of the system ccache when no username is
specified, and brings more code in common between gensec_krb5 and
gensec_gssapi.

It also has a side-effect that may (or may not) be expected: If there
is a ccache, even if it is not used (perhaps the remote server didn't
want kerberos), it will change the default username.

Andrew Bartlett
2007-10-10 13:34:54 -05:00
Jelmer Vernooij
765a30a049 r9725: Fix full output mode of samba3dump as well. Thanks to tridge for
a bit for explanation about js.
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
42605f4444 r9724: Rewrite samba3dump in JS. The summary works now, but the full output
is triggering some obscure EJS assert..
2007-10-10 13:34:53 -05:00
Jelmer Vernooij
7e3b94dfb9 r9722: Initial attempt at converting samba3dump to EJS.. 2007-10-10 13:34:53 -05:00
Jelmer Vernooij
b1844905d2 r9718: Work a bit on the SWAT interface 2007-10-10 13:34:53 -05:00
Andrew Tridgell
a22d0d02ee r9707: r11080@blu: tridge | 2005-08-28 12:41:12 +1000
make sure we leave the account enabled after creating a new user
2007-10-10 13:34:52 -05:00
Andrew Tridgell
a8748cab86 r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
a NULL expression is valid in a ldb search
2007-10-10 13:34:52 -05:00
Andrew Tridgell
b3d491b210 r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000
- fixed ncacn_ip_tcp to use the generic async name resolution methods,
   so NBT names now work (as requested several times by abartlet!)

 - changed resolve_name() to take an event_context, so it doesn't cause
   the whole process to block

 - cleaned up the talloc_find_parent_bytype() calls to go via a cleaner
   event_context_find() call
2007-10-10 13:34:51 -05:00