samba-svnmirror.git
16 years agoAdd context for libcli_resolve.
jelmer [Mon, 10 Dec 2007 18:41:19 +0000 (18:41 +0000)]
Add context for libcli_resolve.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26376 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove provision-independent utility function to main samba python module.
jelmer [Mon, 10 Dec 2007 10:29:45 +0000 (10:29 +0000)]
Move provision-independent utility function to main samba python module.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26375 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove dependency on dynconfig.
jelmer [Mon, 10 Dec 2007 10:29:42 +0000 (10:29 +0000)]
Remove dependency on dynconfig.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26374 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoadd note about shared libs being problematic with static data.
jelmer [Mon, 10 Dec 2007 10:29:38 +0000 (10:29 +0000)]
add note about shared libs being problematic with static data.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26373 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd include for external users.
jelmer [Mon, 10 Dec 2007 10:29:35 +0000 (10:29 +0000)]
Add include for external users.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26372 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix typo.
jelmer [Mon, 10 Dec 2007 10:29:32 +0000 (10:29 +0000)]
Fix typo.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26371 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoImport upgrade script in Python.
jelmer [Mon, 10 Dec 2007 10:29:26 +0000 (10:29 +0000)]
Import upgrade script in Python.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26370 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoStart on tests for the upgrade python code.
jelmer [Mon, 10 Dec 2007 10:29:20 +0000 (10:29 +0000)]
Start on tests for the upgrade python code.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26369 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoImport provision scripts in Python.
jelmer [Mon, 10 Dec 2007 09:29:00 +0000 (09:29 +0000)]
Import provision scripts in Python.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26366 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoThis will now be the alpha3 tree (once I release alpha2).
abartlet [Mon, 10 Dec 2007 06:40:37 +0000 (06:40 +0000)]
This will now be the alpha3 tree (once I release alpha2).

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26365 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix segfault in NET-API-DELSHARE torture test.
abartlet [Mon, 10 Dec 2007 06:21:29 +0000 (06:21 +0000)]
Fix segfault in NET-API-DELSHARE torture test.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26362 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoEnsure this test cannot proceed if the pipe connection failed.
abartlet [Mon, 10 Dec 2007 05:45:41 +0000 (05:45 +0000)]
Ensure this test cannot proceed if the pipe connection failed.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26361 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd some const.
jelmer [Mon, 10 Dec 2007 04:33:39 +0000 (04:33 +0000)]
Add some const.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26360 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoBuild .so version of wins ldb module.
jelmer [Mon, 10 Dec 2007 04:33:36 +0000 (04:33 +0000)]
Build .so version of wins ldb module.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26359 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAlways specify TORTURE_OPTIONS to smbtorture.
jelmer [Mon, 10 Dec 2007 04:33:33 +0000 (04:33 +0000)]
Always specify TORTURE_OPTIONS to smbtorture.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26358 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd separate subsystem for auth_sam_reply parsing.
jelmer [Mon, 10 Dec 2007 04:33:29 +0000 (04:33 +0000)]
Add separate subsystem for auth_sam_reply parsing.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26357 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove prototype for nonexisting function.
jelmer [Mon, 10 Dec 2007 04:33:26 +0000 (04:33 +0000)]
Remove prototype for nonexisting function.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26356 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoEliminate global_loadparm in more places.
jelmer [Mon, 10 Dec 2007 04:33:16 +0000 (04:33 +0000)]
Eliminate global_loadparm in more places.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26355 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoIn trying to chase down why we have reports that WinXP won't join
abartlet [Mon, 10 Dec 2007 01:45:04 +0000 (01:45 +0000)]
In trying to chase down why we have reports that WinXP won't join
Samba4, rule out incorrect sid types in LSA LookupName returns.

Also fix the test to pass against Win2k3 Native mode.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26354 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove use of global_loadparm.
jelmer [Sat, 8 Dec 2007 23:32:43 +0000 (23:32 +0000)]
Remove use of global_loadparm.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26353 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoDon't make lp_load create a new context.
jelmer [Sat, 8 Dec 2007 23:32:37 +0000 (23:32 +0000)]
Don't make lp_load create a new context.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26352 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix handling of flags when there are multiple loadparm contexts around.
jelmer [Sat, 8 Dec 2007 23:32:33 +0000 (23:32 +0000)]
Fix handling of flags when there are multiple loadparm contexts around.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26351 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMore tests.
jelmer [Sat, 8 Dec 2007 23:32:27 +0000 (23:32 +0000)]
More tests.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26350 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMore tests.
jelmer [Sat, 8 Dec 2007 23:32:23 +0000 (23:32 +0000)]
More tests.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26349 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAvoid use of autofree context.
jelmer [Sat, 8 Dec 2007 23:32:18 +0000 (23:32 +0000)]
Avoid use of autofree context.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26348 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMore tests.
jelmer [Sat, 8 Dec 2007 23:32:13 +0000 (23:32 +0000)]
More tests.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26347 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd tests for loadparm.
jelmer [Sat, 8 Dec 2007 23:32:09 +0000 (23:32 +0000)]
Add tests for loadparm.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26346 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix dumping an individual parameter.
jelmer [Sat, 8 Dec 2007 23:32:05 +0000 (23:32 +0000)]
Fix dumping an individual parameter.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26345 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix memory access.
jelmer [Sat, 8 Dec 2007 23:32:01 +0000 (23:32 +0000)]
Fix memory access.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26344 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove bLoaded global variable.
jelmer [Sat, 8 Dec 2007 23:31:58 +0000 (23:31 +0000)]
Remove bLoaded global variable.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26343 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix initialization.
jelmer [Sat, 8 Dec 2007 23:31:55 +0000 (23:31 +0000)]
Fix initialization.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26342 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoCope with API changes.
jelmer [Sat, 8 Dec 2007 23:31:52 +0000 (23:31 +0000)]
Cope with API changes.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26341 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd special handlers for debuglevel and logfile.
jelmer [Sat, 8 Dec 2007 23:31:49 +0000 (23:31 +0000)]
Add special handlers for debuglevel and logfile.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26340 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMake loadparm talloc-allocated.
jelmer [Sat, 8 Dec 2007 23:31:41 +0000 (23:31 +0000)]
Make loadparm talloc-allocated.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26339 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix parameter, typo.
jelmer [Fri, 7 Dec 2007 23:56:53 +0000 (23:56 +0000)]
Fix parameter, typo.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26338 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove global_loadparm to a higher caller.
jelmer [Fri, 7 Dec 2007 16:04:25 +0000 (16:04 +0000)]
Move global_loadparm to a higher caller.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26337 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agouse offsets inside loadparm rather than pointers (allows multiple contexts to exist...
jelmer [Fri, 7 Dec 2007 16:04:22 +0000 (16:04 +0000)]
use offsets inside loadparm rather than pointers (allows multiple contexts to exist at the same time).

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26336 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoSpecify name_resolve_order to socket code.
jelmer [Fri, 7 Dec 2007 16:04:17 +0000 (16:04 +0000)]
Specify name_resolve_order to socket code.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26335 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAvoid loadparm_context.
jelmer [Fri, 7 Dec 2007 13:30:31 +0000 (13:30 +0000)]
Avoid loadparm_context.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26334 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoNo more global_loadparm in finddcs.
jelmer [Fri, 7 Dec 2007 13:30:23 +0000 (13:30 +0000)]
No more global_loadparm in finddcs.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26333 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd samr_ValidationStatus error mapping to samr_ValidatePassword().
gd [Fri, 7 Dec 2007 11:45:17 +0000 (11:45 +0000)]
Add samr_ValidationStatus error mapping to samr_ValidatePassword().
Torture test to follow.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26332 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd IDL for samr_ValidatePassword(). A very interesting call.
gd [Fri, 7 Dec 2007 11:36:32 +0000 (11:36 +0000)]
Add IDL for samr_ValidatePassword(). A very interesting call.

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26331 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix header installation.
jelmer [Fri, 7 Dec 2007 03:18:12 +0000 (03:18 +0000)]
Fix header installation.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26330 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix more loadparm_context references. Only about a 100 left now.
jelmer [Fri, 7 Dec 2007 03:01:41 +0000 (03:01 +0000)]
Fix more loadparm_context references. Only about a 100 left now.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26329 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoremove more uses of global_loadparm.
jelmer [Fri, 7 Dec 2007 02:37:13 +0000 (02:37 +0000)]
remove more uses of global_loadparm.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26328 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoExplicit loadparm_context for RPC client functions.
jelmer [Fri, 7 Dec 2007 02:37:04 +0000 (02:37 +0000)]
Explicit loadparm_context for RPC client functions.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26327 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove more uses of global_loadparm.
jelmer [Fri, 7 Dec 2007 01:16:50 +0000 (01:16 +0000)]
Remove more uses of global_loadparm.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26326 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove use of global_loadparm in netif.
jelmer [Thu, 6 Dec 2007 23:57:22 +0000 (23:57 +0000)]
Remove use of global_loadparm in netif.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26325 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix includes for Jelmer.
abartlet [Thu, 6 Dec 2007 23:15:37 +0000 (23:15 +0000)]
Fix includes for Jelmer.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26324 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRegenerated credentials SWIG.
jelmer [Thu, 6 Dec 2007 22:39:44 +0000 (22:39 +0000)]
Regenerated credentials SWIG.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26323 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix include
jelmer [Thu, 6 Dec 2007 22:34:56 +0000 (22:34 +0000)]
Fix include

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26322 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix python tests.
jelmer [Thu, 6 Dec 2007 21:40:00 +0000 (21:40 +0000)]
Fix python tests.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26321 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoClean up properly after error.
jelmer [Thu, 6 Dec 2007 21:39:56 +0000 (21:39 +0000)]
Clean up properly after error.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26320 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoSplit encoding functions out of libcli_ldap.
jelmer [Thu, 6 Dec 2007 21:39:49 +0000 (21:39 +0000)]
Split encoding functions out of libcli_ldap.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26319 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoDon't rely on SAMDB functions in secrets database.
jelmer [Thu, 6 Dec 2007 21:16:40 +0000 (21:16 +0000)]
Don't rely on SAMDB functions in secrets database.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26318 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix typos.
jelmer [Thu, 6 Dec 2007 21:10:24 +0000 (21:10 +0000)]
Fix typos.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26317 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoUse contexts for conversion functions.
jelmer [Thu, 6 Dec 2007 17:52:23 +0000 (17:52 +0000)]
Use contexts for conversion functions.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26316 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAvoid using lp_ functions in libcharset.
jelmer [Thu, 6 Dec 2007 17:16:40 +0000 (17:16 +0000)]
Avoid using lp_ functions in libcharset.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26315 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoEliminate use of global_loadparm.
jelmer [Thu, 6 Dec 2007 17:04:11 +0000 (17:04 +0000)]
Eliminate use of global_loadparm.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26314 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix more uses of static loadparm.
jelmer [Thu, 6 Dec 2007 16:54:34 +0000 (16:54 +0000)]
Fix more uses of static loadparm.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26313 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove specification of port higher up the call stack.
jelmer [Thu, 6 Dec 2007 16:46:02 +0000 (16:46 +0000)]
Move specification of port higher up the call stack.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26312 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove port number specification higher up the call stack.
jelmer [Thu, 6 Dec 2007 16:41:53 +0000 (16:41 +0000)]
Move port number specification higher up the call stack.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26311 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove more uses of global_loadparm.
jelmer [Thu, 6 Dec 2007 16:36:54 +0000 (16:36 +0000)]
Remove more uses of global_loadparm.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26310 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove specification of port higher up the all stack.
jelmer [Thu, 6 Dec 2007 16:26:56 +0000 (16:26 +0000)]
Move specification of port higher up the all stack.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26309 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoSplit up big popt common callback function.
jelmer [Thu, 6 Dec 2007 16:01:15 +0000 (16:01 +0000)]
Split up big popt common callback function.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26308 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoBASE-DELAYWRITE: only set the write time
metze [Thu, 6 Dec 2007 15:06:36 +0000 (15:06 +0000)]
BASE-DELAYWRITE: only set the write time

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26307 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoBASE-DELAYWRITE: print access time stamps and test fileinfo and pathinfo match
metze [Thu, 6 Dec 2007 13:17:34 +0000 (13:17 +0000)]
BASE-DELAYWRITE: print access time stamps and test fileinfo and pathinfo match

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26306 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoUpdate template files and testsuite to try and work with current
abartlet [Wed, 5 Dec 2007 04:26:28 +0000 (04:26 +0000)]
Update template files and testsuite to try and work with current
openldap, and fully support different LDAP server locations.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26305 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMore work to remove silly error printouts.
abartlet [Wed, 5 Dec 2007 03:03:33 +0000 (03:03 +0000)]
More work to remove silly error printouts.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26304 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix up error reporting during the delete of previous entries in the
abartlet [Wed, 5 Dec 2007 03:00:48 +0000 (03:00 +0000)]
Fix up error reporting during the delete of previous entries in the
provision, and ignore 'no such entry' as an error (it is normal, and
just means the partition is compleatly empty).

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26303 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoPrint the error string for failed rootdse searches.
abartlet [Wed, 5 Dec 2007 01:25:39 +0000 (01:25 +0000)]
Print the error string for failed rootdse searches.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26302 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoCollapose ldb_next_init() into being a caller of ldb_init_module_chain
abartlet [Wed, 5 Dec 2007 01:25:07 +0000 (01:25 +0000)]
Collapose ldb_next_init() into being a caller of ldb_init_module_chain
and therefore further improve debug output.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26301 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoDon't segfault when called from the ntptr libs.
abartlet [Wed, 5 Dec 2007 01:20:53 +0000 (01:20 +0000)]
Don't segfault when called from the ntptr libs.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26300 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoPrint out which module failed to initialise.
abartlet [Wed, 5 Dec 2007 00:56:11 +0000 (00:56 +0000)]
Print out which module failed to initialise.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26299 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoUse metze's schema loading code to pre-initialise the schema into the
abartlet [Wed, 5 Dec 2007 00:40:48 +0000 (00:40 +0000)]
Use metze's schema loading code to pre-initialise the schema into the
samdb before we start writing entries into it.

In doing so, I realised we still used 'dnsDomain', which is not part
of the standard schema (now removed).

We also set the 'wrong' side of the linked attributes for the
masteredBy on each partition - this is now set in provision_self_join
and backlinks via the linked attributes code.

When we have the schema loaded, we must also have a valid domain SID
loaded, so that the objectclass module works.  This required some ejs
glue.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26298 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoCorrect error message. This function verifies attributes, not
abartlet [Wed, 5 Dec 2007 00:35:19 +0000 (00:35 +0000)]
Correct error message.  This function verifies attributes, not
objectclasses.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26297 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoStore loadparm context in DCE/RPC server context.
jelmer [Tue, 4 Dec 2007 20:05:00 +0000 (20:05 +0000)]
Store loadparm context in DCE/RPC server context.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26296 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRemove use of global_loadparm for net and wb_pam_auth.
jelmer [Tue, 4 Dec 2007 19:33:00 +0000 (19:33 +0000)]
Remove use of global_loadparm for net and wb_pam_auth.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26295 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoUse hardcoded name for SWIG for now, until proper autoconf checks are in place.
jelmer [Tue, 4 Dec 2007 18:39:20 +0000 (18:39 +0000)]
Use hardcoded name for SWIG for now, until proper autoconf checks are in place.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26294 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMake sure SWIG directory exists, respect DESTDIR.
jelmer [Tue, 4 Dec 2007 18:35:56 +0000 (18:35 +0000)]
Make sure SWIG directory exists, respect DESTDIR.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26293 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMake sure swig directory exists.
jelmer [Tue, 4 Dec 2007 18:24:16 +0000 (18:24 +0000)]
Make sure swig directory exists.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26292 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agobuild: make use of output::add_dir_str() to avoid ugly foo/../bla pathes
metze [Tue, 4 Dec 2007 14:20:46 +0000 (14:20 +0000)]
build: make use of output::add_dir_str() to avoid ugly foo/../bla pathes

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26291 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agobuild: split add_dir() into add_dir_str() and add_dir_array()
metze [Tue, 4 Dec 2007 14:18:58 +0000 (14:18 +0000)]
build: split add_dir() into add_dir_str() and add_dir_array()

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26290 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agobuild: avoid nasty foo/./bla pathes for python stuff
metze [Tue, 4 Dec 2007 14:17:26 +0000 (14:17 +0000)]
build: avoid nasty foo/./bla pathes for python stuff

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26289 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoevents: events.h uses uint16_t so it needs stdint.h
metze [Tue, 4 Dec 2007 13:19:21 +0000 (13:19 +0000)]
events: events.h uses uint16_t so it needs stdint.h

stdlib.h isn't used directly and talloc.h brings it in anyway

this fixes the build of lib/events/./events_wrap.c
on older systems linux versions.

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26288 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoselftest: fix stupid typo LDB_MODULE_PATH -> LDB_MODULES_PATH
metze [Tue, 4 Dec 2007 11:56:23 +0000 (11:56 +0000)]
selftest: fix stupid typo LDB_MODULE_PATH -> LDB_MODULES_PATH

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26287 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoIDL and torture test for netr_ServerTrustPasswordsGet().
gd [Tue, 4 Dec 2007 10:20:13 +0000 (10:20 +0000)]
IDL and torture test for netr_ServerTrustPasswordsGet().

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26286 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd IDL and torture test for netr_ServerPasswordGet().
gd [Tue, 4 Dec 2007 09:41:28 +0000 (09:41 +0000)]
Add IDL and torture test for netr_ServerPasswordGet().

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26285 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoRather than just debug, push the error back up the stack as the error
abartlet [Tue, 4 Dec 2007 05:32:23 +0000 (05:32 +0000)]
Rather than just debug, push the error back up the stack as the error
string, if we fail to load the schema.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26284 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agofix typo
abartlet [Tue, 4 Dec 2007 03:38:35 +0000 (03:38 +0000)]
fix typo

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26283 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoThese modules expect errors, but if we don't wipe the error string, we
abartlet [Tue, 4 Dec 2007 03:37:41 +0000 (03:37 +0000)]
These modules expect errors, but if we don't wipe the error string, we
get phony error strings at the caller, which is very confusing.

Andrew Bartlett

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26282 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix include.
jelmer [Tue, 4 Dec 2007 03:13:12 +0000 (03:13 +0000)]
Fix include.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26281 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoFix installation if swig is not available.
jelmer [Tue, 4 Dec 2007 02:04:25 +0000 (02:04 +0000)]
Fix installation if swig is not available.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26280 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoDon't compile any python stuff if python is not available.
jelmer [Tue, 4 Dec 2007 01:51:48 +0000 (01:51 +0000)]
Don't compile any python stuff if python is not available.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26279 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoTallocify convenience table for iconv handles.
jelmer [Tue, 4 Dec 2007 01:51:44 +0000 (01:51 +0000)]
Tallocify convenience table for iconv handles.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26278 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoMove loadparm context higher up the stack.
jelmer [Tue, 4 Dec 2007 01:51:36 +0000 (01:51 +0000)]
Move loadparm context higher up the stack.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26277 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoInstall SWIG files if swig is present.
jelmer [Tue, 4 Dec 2007 01:37:28 +0000 (01:37 +0000)]
Install SWIG files if swig is present.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26276 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoreturn loadparm context in lp_load.
jelmer [Tue, 4 Dec 2007 00:12:13 +0000 (00:12 +0000)]
return loadparm context in lp_load.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26275 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoSome syntax fixes, remove more global_loadparm instances.
jelmer [Tue, 4 Dec 2007 00:12:03 +0000 (00:12 +0000)]
Some syntax fixes, remove more global_loadparm instances.

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26274 0c0555d6-39d7-0310-84fc-f1cc0bd64818

16 years agoAdd IDL and torture test for netr_NetrEnumerateTurstedDomains() and
gd [Mon, 3 Dec 2007 23:38:54 +0000 (23:38 +0000)]
Add IDL and torture test for netr_NetrEnumerateTurstedDomains() and
netr_NetrEnumerateTurstedDomainsEx().

Guenther

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@26273 0c0555d6-39d7-0310-84fc-f1cc0bd64818