sfrench/samba-autobuild/.git
13 years agoRemove reference to pointless socket options
Volker Lendecke [Wed, 9 Apr 2008 06:40:59 +0000 (08:40 +0200)]
Remove reference to pointless socket options

13 years agoCheck x_fflush returns.
Jeremy Allison [Tue, 8 Apr 2008 22:08:47 +0000 (15:08 -0700)]
Check x_fflush returns.
Jeremy.

13 years agoFix lsa_QueryTrustedDomainInfo caller.
Günther Deschner [Tue, 8 Apr 2008 21:09:24 +0000 (23:09 +0200)]
Fix lsa_QueryTrustedDomainInfo caller.

Guenther

13 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 21:04:22 +0000 (23:04 +0200)]
Re-run make idl.

Guenther

13 years agoFix IDL for lsa_LookupPrivName.
Günther Deschner [Tue, 8 Apr 2008 21:02:48 +0000 (23:02 +0200)]
Fix IDL for lsa_LookupPrivName.

Guenther

13 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 20:58:16 +0000 (22:58 +0200)]
Re-run make idl.

Guenther

13 years agoFix IDL for lsa_QueryTrustedDomainInfo.
Günther Deschner [Tue, 8 Apr 2008 20:57:16 +0000 (22:57 +0200)]
Fix IDL for lsa_QueryTrustedDomainInfo.

Guenther

13 years agoFix lsa_TrustedDomainInfo callers.
Günther Deschner [Tue, 8 Apr 2008 20:55:52 +0000 (22:55 +0200)]
Fix lsa_TrustedDomainInfo callers.

Guenther

13 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 20:54:18 +0000 (22:54 +0200)]
Re-run make idl.

Guenther

13 years agoFix IDL for lsa_QueryTrustedDomainInfoBySid.
Günther Deschner [Tue, 8 Apr 2008 20:52:26 +0000 (22:52 +0200)]
Fix IDL for lsa_QueryTrustedDomainInfoBySid.

Guenther

13 years agoFix IDL for lsa_QueryTrustedDomainInfoByName.
Günther Deschner [Tue, 8 Apr 2008 20:51:55 +0000 (22:51 +0200)]
Fix IDL for lsa_QueryTrustedDomainInfoByName.

Guenther

13 years agoFix IDL for lsa_QueryDomainInformationPolicy.
Günther Deschner [Tue, 8 Apr 2008 20:50:05 +0000 (22:50 +0200)]
Fix IDL for lsa_QueryDomainInformationPolicy.

Guenther

13 years agoFix the build of reply_setattrE().
Günther Deschner [Tue, 8 Apr 2008 19:41:16 +0000 (21:41 +0200)]
Fix the build of reply_setattrE().

How ever could this compile ?

Guenther

13 years agoMove is_valid_policy_hnd() out of net.
Günther Deschner [Tue, 8 Apr 2008 17:54:57 +0000 (19:54 +0200)]
Move is_valid_policy_hnd() out of net.

Guenther

13 years agoTry to use kerberos in libnetapi.
Günther Deschner [Tue, 8 Apr 2008 17:42:26 +0000 (19:42 +0200)]
Try to use kerberos in libnetapi.

Guenther

13 years agoAdd DsGetDcName libnetapi example.
Günther Deschner [Tue, 8 Apr 2008 16:45:26 +0000 (18:45 +0200)]
Add DsGetDcName libnetapi example.

Guenther

13 years agoAdd DsGetDcName call to libnetapi library.
Günther Deschner [Tue, 8 Apr 2008 16:43:51 +0000 (18:43 +0200)]
Add DsGetDcName call to libnetapi library.

Guenther

13 years agoRe-run make idl.
Günther Deschner [Tue, 8 Apr 2008 12:38:10 +0000 (14:38 +0200)]
Re-run make idl.

Guenther

13 years agoAdd DsGetDCName call to libnetapi.idl.
Günther Deschner [Tue, 8 Apr 2008 12:37:09 +0000 (14:37 +0200)]
Add DsGetDCName call to libnetapi.idl.

Guenther

13 years agoFix includes in libnetapi examples common.c
Günther Deschner [Tue, 8 Apr 2008 15:17:17 +0000 (17:17 +0200)]
Fix includes in libnetapi examples common.c

Guenther

13 years agoselftest: run the BASE-DELAYWRITE test 4 times faster in make test
Stefan Metzmacher [Tue, 8 Apr 2008 16:50:49 +0000 (18:50 +0200)]
selftest: run the BASE-DELAYWRITE test 4 times faster in make test

metze

13 years agoUse size_t for strlen return, not int. Karolin please
Jeremy Allison [Tue, 8 Apr 2008 14:43:30 +0000 (07:43 -0700)]
Use size_t for strlen return, not int. Karolin please
pull.
Jeremy.

13 years agoUse popt in libetapi example code.
Günther Deschner [Tue, 8 Apr 2008 12:34:30 +0000 (14:34 +0200)]
Use popt in libetapi example code.

Guenther

13 years agoPrefill in username in libnetapi ctx.
Günther Deschner [Tue, 8 Apr 2008 12:29:21 +0000 (14:29 +0200)]
Prefill in username in libnetapi ctx.

Guenther

13 years agoAdd CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.
Günther Deschner [Tue, 8 Apr 2008 12:10:48 +0000 (14:10 +0200)]
Add CLI_FULL_CONNECTION_FALLBACK_AFTER_KERBEROS define.

This allows to switch on the cli->fallback_after_kerberos switch.

Guenther

13 years agoDestroy DMAPI session when main smbd daemon exits.
Alexander Bokovoy [Tue, 8 Apr 2008 11:19:01 +0000 (15:19 +0400)]
Destroy DMAPI session when main smbd daemon exits.

DMAPI session is precious resource maintained at kernel level. We open one of them and use across multiple smbd daemons
but once last of them exits, DMAPI session needs to be destroyed. There are some HSM implementations which fail to
shutdown when opened DMAPI sessions left. Ensure we shutdown our session when it is really not needed anymore.
This is what recommended by DMAPI specification anyway.

13 years agoAllow broader range of HSM systems in vfs_tsmsm
Alexander Bokovoy [Tue, 8 Apr 2008 11:17:53 +0000 (15:17 +0400)]
Allow broader range of HSM systems in vfs_tsmsm

    Allow to specify value of DMAPI attribute returned during offline file checks, 'tsmsm: dmapi value'.
    Previously tsmsm module has supported only IBM TSM SM engine which reports file state by *existence*
    of a certain DMAPI attribute. Other HSM systems report a certain value as DMAPI request's result.
    Port from Tridge's v3-0-ctdb git tree.

13 years agoRewrite the wrap checks to deal with gcc 4.x optimisations.
Jeremy Allison [Tue, 8 Apr 2008 04:11:16 +0000 (21:11 -0700)]
Rewrite the wrap checks to deal with gcc 4.x optimisations.
Karolin, please pull once Volker has reviewed. Thanks.
Jeremy.

13 years agoRestructure inner workings of libnetapi a bit.
Günther Deschner [Tue, 8 Apr 2008 00:42:50 +0000 (02:42 +0200)]
Restructure inner workings of libnetapi a bit.

Guenther

13 years agoAdd libnetapi generated files.
Günther Deschner [Tue, 8 Apr 2008 00:26:21 +0000 (02:26 +0200)]
Add libnetapi generated files.

Guenther

13 years agoBuild libnetapi.idl.
Günther Deschner [Tue, 8 Apr 2008 00:25:31 +0000 (02:25 +0200)]
Build libnetapi.idl.

Guenther

13 years agoAdd libnetapi.idl.
Günther Deschner [Tue, 8 Apr 2008 00:25:00 +0000 (02:25 +0200)]
Add libnetapi.idl.

Guenther

13 years agoWhatsnew
Günther Deschner [Tue, 8 Apr 2008 00:14:44 +0000 (02:14 +0200)]
Whatsnew

13 years agoRemove unused variable.
James Peach [Mon, 7 Apr 2008 22:28:10 +0000 (15:28 -0700)]
Remove unused variable.

13 years agoFix Kerberos interop with Mac OS X 10.5 clients.
Bill Ricker [Mon, 7 Apr 2008 22:02:56 +0000 (15:02 -0700)]
Fix Kerberos interop with Mac OS X 10.5 clients.

Ignore optional req_flags. Use the Kerberos mechanism OID negotiated
with the client rather than hardcoding OID_KERBEROS5_OLD.

13 years agoUse bool for BOOL and true/false for True/False. We need lowercase
James Peach [Mon, 7 Apr 2008 22:00:41 +0000 (15:00 -0700)]
Use bool for BOOL and true/false for True/False. We need lowercase
bool to get the declarations picked up by the prototype parser.

13 years agodbwrap: fix more "tdb_chainunlock failed" messages
Michael Adam [Mon, 7 Apr 2008 21:36:29 +0000 (23:36 +0200)]
dbwrap: fix more "tdb_chainunlock failed" messages

TALLOC_FREE(rec) before transaction_cancel also in dbwrap_trans_delete().

Michael

13 years agowinbindd: fix break out early condition in fill_grent_mem().
Michael Adam [Mon, 7 Apr 2008 14:38:14 +0000 (16:38 +0200)]
winbindd: fix break out early condition in fill_grent_mem().

if (!&new_glist) would always be skipped, if (new_glist == NULL) is
what must have been meant...

Michael

13 years agoOnly cache password policy results that worked, otherwise we
Bo Yang [Mon, 7 Apr 2008 13:51:42 +0000 (09:51 -0400)]
Only cache password policy results that worked, otherwise we
cannot login until the cache expires even if a connection
to a DC has been restored.

13 years agosmbd: make it possible to change the write time delay for testing
Stefan Metzmacher [Mon, 7 Apr 2008 07:27:22 +0000 (09:27 +0200)]
smbd: make it possible to change the write time delay for testing

metze

13 years agosmbd: make it possible to disable get_file_infos() on searches
Stefan Metzmacher [Mon, 7 Apr 2008 07:21:19 +0000 (09:21 +0200)]
smbd: make it possible to disable get_file_infos() on searches

metze

13 years agolocking: combine get_delete_on_close_flag() and get_write_time() into get_file_infos()
Stefan Metzmacher [Tue, 1 Apr 2008 09:40:23 +0000 (11:40 +0200)]
locking: combine get_delete_on_close_flag() and get_write_time() into get_file_infos()

This means we need to fetch the record only once.

metze

13 years agoselftest: samba3 passes BASE-DELAYWRITE
Stefan Metzmacher [Wed, 12 Mar 2008 17:26:43 +0000 (18:26 +0100)]
selftest: samba3 passes BASE-DELAYWRITE

metze

13 years agosmbd: implement the strange write time update logic
Stefan Metzmacher [Wed, 12 Mar 2008 14:39:38 +0000 (15:39 +0100)]
smbd: implement the strange write time update logic

We now never call file_ntimes() directly, every update
is done via smb_set_file_time().

This let samba3 pass the BASE-DELAYWRITE test.

The write time is only updated 2 seconds after the
first write() on any open handle to the current time
(not the time of the first write).

Each handle which had write requests updates the write
time to the current time on close().

If the write time is set explicit via setfileinfo or setpathinfo
the write time is visible directly and a following close
on the same handle doesn't update the write time.

metze

13 years agolocking: store the write time in the locking.tdb
Stefan Metzmacher [Wed, 12 Mar 2008 14:32:47 +0000 (15:32 +0100)]
locking: store the write time in the locking.tdb

This is needed to implement the strange write time update
logic later. We need to store 2 time timestamps to
distinguish between the time the file system had before
the first client opened the file and a forced timestamp update.

metze

13 years agoFix an uninitialized variable
Volker Lendecke [Mon, 7 Apr 2008 10:19:25 +0000 (12:19 +0200)]
Fix an uninitialized variable

13 years agoincrease log level for this failed setsockopt call. EINVAL is a normal error on Solar...
Björn Jacke [Mon, 7 Apr 2008 09:22:14 +0000 (11:22 +0200)]
increase log level for this failed setsockopt call. EINVAL is a normal error on Solaris when we do this on an already resetted connection.

13 years agoFix bug 5375
Volker Lendecke [Mon, 7 Apr 2008 08:19:25 +0000 (10:19 +0200)]
Fix bug 5375

Thanks to Moskvin for testing

13 years agoFix a misleading debug message
Volker Lendecke [Mon, 7 Apr 2008 08:18:36 +0000 (10:18 +0200)]
Fix a misleading debug message

13 years agonet_rpc: let get_user_sids() use wbcLookupName(), wbcGidToSid() and wbcGetGroups()
Stefan Metzmacher [Wed, 2 Apr 2008 06:03:11 +0000 (08:03 +0200)]
net_rpc: let get_user_sids() use wbcLookupName(), wbcGidToSid() and wbcGetGroups()

metze

13 years agonet_rpc: let get_user_tokens() use wbcListUsers()
Stefan Metzmacher [Wed, 2 Apr 2008 06:02:02 +0000 (08:02 +0200)]
net_rpc: let get_user_tokens() use wbcListUsers()

metze

13 years agowbinfo: make use of wbcGetGroups()
Stefan Metzmacher [Sun, 6 Apr 2008 09:58:58 +0000 (11:58 +0200)]
wbinfo: make use of wbcGetGroups()

metze

13 years agolibwbclient: add wbcGetGroups()
Stefan Metzmacher [Sun, 6 Apr 2008 09:55:57 +0000 (11:55 +0200)]
libwbclient: add wbcGetGroups()

metze

13 years agoFix a C++ warning
Volker Lendecke [Sun, 6 Apr 2008 10:26:15 +0000 (12:26 +0200)]
Fix a C++ warning

13 years agoRemove external refs to winbindd_fd
Volker Lendecke [Sun, 6 Apr 2008 10:26:01 +0000 (12:26 +0200)]
Remove external refs to winbindd_fd

13 years agowbcAllocateGid returns a gid_t, not a uid_t
Volker Lendecke [Sun, 6 Apr 2008 09:27:36 +0000 (11:27 +0200)]
wbcAllocateGid returns a gid_t, not a uid_t

13 years agoRe-run "make idl"
Volker Lendecke [Sat, 5 Apr 2008 22:47:53 +0000 (00:47 +0200)]
Re-run "make idl"

13 years agoWhen using plaintext ucs2 passwords clistr_push calls ucs2_align, which causes
Jeremy Allison [Fri, 4 Apr 2008 22:28:14 +0000 (15:28 -0700)]
When using plaintext ucs2 passwords clistr_push calls ucs2_align, which causes
the space taken by the unicode password to be one byte too
long (as we're on an odd byte boundary here). Reduce the
count by 1 to cope with this. Fixes smbclient against NetApp
servers which can't cope. Fix from
bryan.kolodziej@allenlund.com in bug #3840.
Jeremy.

13 years agoFix _samr_GetUserPwInfo() (to return more then just zeros).
Günther Deschner [Fri, 4 Apr 2008 10:00:26 +0000 (12:00 +0200)]
Fix _samr_GetUserPwInfo() (to return more then just zeros).

Guenther

13 years agoFix _samr_GetDomPwInfo (to return more then zeros).
Günther Deschner [Fri, 4 Apr 2008 09:59:32 +0000 (11:59 +0200)]
Fix _samr_GetDomPwInfo (to return more then zeros).

Guenther

13 years agoFix bug #5372. With a large CUPS installation with a remote server, contacting
Jeremy Allison [Fri, 4 Apr 2008 18:14:09 +0000 (11:14 -0700)]
Fix bug #5372. With a large CUPS installation with a remote server, contacting
the server when searching for a name for the location and comment fields can
take so much time the client times out. When searching for a name we don't
use these fields anyway, so add a function get_a_printer_search() which
doesn't contact the CUPS server.
Jeremy.

13 years agonet_rpc_registry: return available error code on failure in deletevalue.
Michael Adam [Fri, 4 Apr 2008 15:52:35 +0000 (17:52 +0200)]
net_rpc_registry: return available error code on failure in deletevalue.

Michael

13 years agonet_rpc_registry: consistently return error upon wrong use.
Michael Adam [Fri, 4 Apr 2008 15:50:41 +0000 (17:50 +0200)]
net_rpc_registry: consistently return error upon wrong use.

Michael

13 years agonet: change split_hive_key() to properly allocate subkeyname
Michael Adam [Fri, 4 Apr 2008 15:24:53 +0000 (17:24 +0200)]
net: change split_hive_key() to properly allocate subkeyname

instead of returning a pointer into another string.

Michael

13 years agonet_rpc_registry: use split_hive_key to normalize hive befor open.
Michael Adam [Fri, 4 Apr 2008 14:46:01 +0000 (16:46 +0200)]
net_rpc_registry: use split_hive_key to normalize hive befor open.

THis allows to specify keys in the form "HKLM/Software/samba",
i.e. "/" instead of "\\".

Michael

13 years agonet_rpc_registry: use utility function print_registry_value().
Michael Adam [Fri, 4 Apr 2008 11:30:49 +0000 (13:30 +0200)]
net_rpc_registry: use utility function print_registry_value().

Michael

13 years agonet_rpc_registy: use function print_registry_key
Michael Adam [Fri, 4 Apr 2008 11:26:03 +0000 (13:26 +0200)]
net_rpc_registy: use function print_registry_key

Michael

13 years agonet_registry: split utility function of common interest out into util module.
Michael Adam [Fri, 4 Apr 2008 11:21:03 +0000 (13:21 +0200)]
net_registry: split utility function of common interest out into util module.

Michael

13 years agomapping_tdb: fix enumeration of mappings.
Michael Adam [Fri, 4 Apr 2008 14:56:02 +0000 (16:56 +0200)]
mapping_tdb: fix enumeration of mappings.

db->traverse_read returns the number of traversed object on success.

Michael

13 years agoMakefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs...
Michael Adam [Fri, 4 Apr 2008 11:07:01 +0000 (13:07 +0200)]
Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs...

Michael

13 years agomapping.tdb: fix creation of entries with GROUP_PREFIX
Michael Adam [Fri, 4 Apr 2008 13:27:51 +0000 (15:27 +0200)]
mapping.tdb: fix creation of entries with GROUP_PREFIX

Macro is no expanded inside literal string.

Michael

13 years agoUse sid_array_from_info3 in lookup_usergroups_cached().
Günther Deschner [Fri, 4 Apr 2008 00:53:40 +0000 (02:53 +0200)]
Use sid_array_from_info3 in lookup_usergroups_cached().

Guenther

13 years agoAlways uppercase cli->srv_name_slash.
Günther Deschner [Thu, 3 Apr 2008 23:44:43 +0000 (01:44 +0200)]
Always uppercase cli->srv_name_slash.

Not that I think it is of any importance...

Guenther

13 years agoRemove some dead code in rpcclient.
Günther Deschner [Thu, 3 Apr 2008 23:44:16 +0000 (01:44 +0200)]
Remove some dead code in rpcclient.

Guenther

13 years agoMove rpccli_try_samr_connects out of rpcclient.
Günther Deschner [Thu, 3 Apr 2008 23:40:29 +0000 (01:40 +0200)]
Move rpccli_try_samr_connects out of rpcclient.

Guenther

13 years agoFix pam_winbind macros.
Günther Deschner [Thu, 3 Apr 2008 15:23:22 +0000 (17:23 +0200)]
Fix pam_winbind macros.

Guenther

13 years agoUse pwb_context in pam_winbind.
Günther Deschner [Thu, 3 Apr 2008 13:41:26 +0000 (15:41 +0200)]
Use pwb_context in pam_winbind.

Guenther

13 years agoAdd _pam_winbind_init/free_context.
Günther Deschner [Thu, 3 Apr 2008 11:23:34 +0000 (13:23 +0200)]
Add _pam_winbind_init/free_context.

Guenther

13 years agoAdd pwb_context to pam_winbind.h.
Günther Deschner [Thu, 3 Apr 2008 11:19:46 +0000 (13:19 +0200)]
Add pwb_context to pam_winbind.h.

Guenther

13 years agoMake more functions in pam_winbind static.
Günther Deschner [Thu, 3 Apr 2008 11:06:14 +0000 (13:06 +0200)]
Make more functions in pam_winbind static.

Guenther

13 years agowbinfo: use wbcLookupNames()
Stefan Metzmacher [Wed, 2 Apr 2008 04:10:04 +0000 (06:10 +0200)]
wbinfo: use wbcLookupNames()

metze

13 years agowbinfo: use wbcLookupRids()
Stefan Metzmacher [Wed, 2 Apr 2008 04:03:48 +0000 (06:03 +0200)]
wbinfo: use wbcLookupRids()

metze

13 years agowbinfo: use wbcLookupSid()
Stefan Metzmacher [Wed, 2 Apr 2008 03:26:36 +0000 (05:26 +0200)]
wbinfo: use wbcLookupSid()

metze

13 years agowbinfo: catch NULL domain string as in other places
Stefan Metzmacher [Wed, 2 Apr 2008 04:02:45 +0000 (06:02 +0200)]
wbinfo: catch NULL domain string as in other places

metze

13 years agoregistry: remove parameter checks from smbconf backend: they are in libsmbconf.
Michael Adam [Thu, 3 Apr 2008 13:29:25 +0000 (15:29 +0200)]
registry: remove parameter checks from smbconf backend: they are in libsmbconf.

Michael

13 years agolibsmbconf: move initialization of registry value down after error checks.
Michael Adam [Thu, 3 Apr 2008 13:16:01 +0000 (15:16 +0200)]
libsmbconf: move initialization of registry value down after error checks.

Michael

13 years agoFix rpccli_lsa_lookup_sids_noalloc.
Günther Deschner [Wed, 2 Apr 2008 22:23:50 +0000 (00:23 +0200)]
Fix rpccli_lsa_lookup_sids_noalloc.

When looking up e.g. a trusted doamin account, there is just no name.

Michael, please check.

Guenther

13 years agoAdd NT_STATUS_RPC_CANNOT_SUPPORT.
Günther Deschner [Wed, 2 Apr 2008 13:26:27 +0000 (15:26 +0200)]
Add NT_STATUS_RPC_CANNOT_SUPPORT.

Guenther

13 years agoFix trusted users on a DC that uses the old idmap syntax. There was no default backen...
Simo Sorce [Tue, 1 Apr 2008 22:25:47 +0000 (18:25 -0400)]
Fix trusted users on a DC that uses the old idmap syntax. There was no default backend therefore on IDs were mapped by default.

13 years agoFix MSDFS bug noticed by Ofir Azoulay <Ofir.Azoulay@expand.com>.
Jeremy Allison [Wed, 2 Apr 2008 18:23:36 +0000 (11:23 -0700)]
Fix MSDFS bug noticed by Ofir Azoulay <Ofir.Azoulay@expand.com>.
There is no reason to ensure the target host is ourselves, and
this breaks MS clients in some cases.
Jeremy.

13 years agoFix "net rpc trustdom establish" for win2k8 trusts.
Günther Deschner [Wed, 2 Apr 2008 10:29:24 +0000 (12:29 +0200)]
Fix "net rpc trustdom establish" for win2k8 trusts.

When establishing trusts to a windows 2008 dc, the NetServerEnum2 RAP call fails
with some exotic RAP failure. Let's just try a netlogon getdcname call in
that case to convince ourselve we're talking to a proper machine.

Rafael, looks ok?

Guenther

13 years agoApply some const in clirap.
Günther Deschner [Wed, 2 Apr 2008 10:23:07 +0000 (12:23 +0200)]
Apply some const in clirap.

Guenther

13 years agoSome fixes for netdomjoin-gui and support for browsing/joining OUs.
Günther Deschner [Wed, 2 Apr 2008 09:18:10 +0000 (11:18 +0200)]
Some fixes for netdomjoin-gui and support for browsing/joining OUs.

Guenther

13 years agoMake sure to hand down the domain name in libnetapi NetUnjoinDomain.
Günther Deschner [Wed, 2 Apr 2008 09:14:15 +0000 (11:14 +0200)]
Make sure to hand down the domain name in libnetapi NetUnjoinDomain.

Guenther

13 years agoFix NETLOGON credential chain with Windows 2008 all over the place.
Günther Deschner [Wed, 2 Apr 2008 00:29:48 +0000 (02:29 +0200)]
Fix NETLOGON credential chain with Windows 2008 all over the place.

In order to avoid receiving NT_STATUS_DOWNGRADE_DETECTED from a w2k8
netr_ServerAuthenticate2 reply, we need to start with the AD netlogon negotiate
flags everywhere (not only when running in security=ads). Only for NT4 we need
to do a downgrade to the returned negotiate flags.

Tested with w2k8, w2ksp4, w2k3r2 and nt4sp6.

Guenther

13 years agosmbd: always close the base_fsp even if the real close returned an error
Stefan Metzmacher [Tue, 1 Apr 2008 16:18:38 +0000 (18:18 +0200)]
smbd: always close the base_fsp even if the real close returned an error

Otherwise we may end up with share mode entry without an open file.

Volker, Jeremy: please check...

metze

13 years agowbinfo: use wbcInterfaceDetails()
Stefan Metzmacher [Fri, 28 Mar 2008 15:55:53 +0000 (16:55 +0100)]
wbinfo: use wbcInterfaceDetails()

metze

13 years agolibwbclient: add wbcInterfaceDetails()
Stefan Metzmacher [Fri, 28 Mar 2008 15:52:18 +0000 (16:52 +0100)]
libwbclient: add wbcInterfaceDetails()

metze

13 years agolibwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macro
Stefan Metzmacher [Mon, 31 Mar 2008 10:01:24 +0000 (12:01 +0200)]
libwbclient: use WBC_ERROR_IS_OK() in BAIL_ON_WBC_ERROR() macro

metze

13 years agotest: add diagnostic message to net_registry test.
Michael Adam [Tue, 1 Apr 2008 13:51:51 +0000 (15:51 +0200)]
test: add diagnostic message to net_registry test.

Michael