Sumit Bose
c96fd895b9
s3-passdb: make priv2ld() public
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:45 +01:00
Sumit Bose
b4dd65d3f9
s3-passdb: add {get,set,del,enum}_trusted_domain calls
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:44 +01:00
Sumit Bose
2e78022066
s3-ipasam: Disable old trustdom_pw calls
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:44 +01:00
Sumit Bose
4fa210d76a
s3-passdb: Add minimal stub for IPA passdb backend
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16 11:34:31 +01:00
Andrew Bartlett
1354d3dc74
s3-auth Fix memory leak in security=share and force user =
...
In these cases, the server_info was not stolen onto a long term memory
context, and so remained on the NULL context where it was created.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 16 01:08:19 CET 2011 on sn-devel-104
2011-02-16 01:08:19 +01:00
Günther Deschner
e34ba447ec
s3-librpc: move server_id marshalling to own helper file.
...
(in preparation of merging struct server_id).
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 00:02:33 CET 2011 on sn-devel-104
2011-02-16 00:02:33 +01:00
Volker Lendecke
ab85362cff
s3: Support "codePage" in pdb_ads
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 15 22:00:27 CET 2011 on sn-devel-104
2011-02-15 22:00:27 +01:00
Volker Lendecke
9ef0e1ef22
s3: Pass "code_page" through samr
2011-02-15 21:12:22 +01:00
Volker Lendecke
ead7ffa1a7
s3: Add "code_page" to struct samu
2011-02-15 21:12:22 +01:00
Volker Lendecke
8bbf0ad2a0
s3: Support "country_code" in pdb_ads
2011-02-15 21:12:22 +01:00
Volker Lendecke
63c556e306
s3: Pass "country_code" through samr
2011-02-15 21:12:22 +01:00
Volker Lendecke
d9d0fef862
s3: Add "country_code" to struct samu
2011-02-15 21:12:22 +01:00
Volker Lendecke
7a2cbdafa8
s3: Add userWorkstations and userParameters to pdb_ads
2011-02-15 21:12:22 +01:00
Volker Lendecke
4b354e67fc
s3-amend: Don't overwrite existing values
...
This saves a ton of tdb transactions on smbd startup
Andreas, Günther, please check!
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 15 19:11:25 CET 2011 on sn-devel-104
2011-02-15 19:11:25 +01:00
Günther Deschner
0085d6e21a
s3-waf: fix the build.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 15:24:11 CET 2011 on sn-devel-104
2011-02-15 15:24:10 +01:00
Günther Deschner
0bfdb3e249
s3-selftest: move all skipped test to skiplist.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104
2011-02-15 12:52:22 +01:00
Günther Deschner
a32f0ff2f0
s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).
...
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
ca574482b8
s3: no need to globally include intl.h.
...
Guenther
2011-02-15 12:09:22 +01:00
Günther Deschner
c575d30a32
s3-selftest: when skipping tests, use the selftest/skip file.
...
Guenther
2011-02-15 12:09:22 +01:00
Volker Lendecke
64c63a3e1c
s3: Fix a C++ warning
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 14 21:44:55 CET 2011 on sn-devel-104
2011-02-14 21:44:55 +01:00
Günther Deschner
3722f65359
librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).
...
Simo, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104
2011-02-14 18:54:38 +01:00
Günther Deschner
89db591b2a
s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
...
Guenther
2011-02-14 13:38:53 +01:00
Günther Deschner
b3ea56ae16
s3-librpc: no need to globally include endpointmapper headers.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
2011-02-14 12:31:56 +01:00
Günther Deschner
80b4e1e985
s3: move some defines to a better place.
...
Guenther
2011-02-14 11:47:19 +01:00
Günther Deschner
f10cba1a01
s3-proto: remove prototype for non-existing functions.
...
Guenther
2011-02-14 11:47:19 +01:00
Günther Deschner
9d9659896b
s3-librpc: remove duplicate prototypes.
...
Guenther
2011-02-14 11:47:19 +01:00
Volker Lendecke
e9f552925d
s3: Fix a typed-punned warning
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 14 11:46:50 CET 2011 on sn-devel-104
2011-02-14 11:46:50 +01:00
Volker Lendecke
5d63c503f7
s3: Add "comment" and "description" to pdb_ads
...
This is pending a change to samldb_description_check, we might have to modify
the description with a TLDAP_MOD_REPLACE operation.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 13 17:56:58 CET 2011 on sn-devel-104
2011-02-13 17:56:58 +01:00
Volker Lendecke
60df3c0679
s3: Make "net sam list [users|workstations]" list only the right things
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 13 12:59:14 CET 2011 on sn-devel-104
2011-02-13 12:59:14 +01:00
Volker Lendecke
26051b8aaa
s3: Use tlap_simple_recv in tldap_sasl_bind_recv
2011-02-13 12:11:53 +01:00
Volker Lendecke
f6df16d9d2
s3: Add error checking to asn1_read_OctetString_talloc
2011-02-13 12:11:53 +01:00
Volker Lendecke
f49ad6d073
s3: Remove an unneeded proto
2011-02-13 12:11:53 +01:00
Volker Lendecke
80accd3946
Fix typos
2011-02-13 12:11:53 +01:00
Volker Lendecke
9331bc378d
s3: Fix some nonempty blank lines
2011-02-13 12:11:53 +01:00
Volker Lendecke
fe551d6815
s3: Convert tldap_entry_values args to "array, count"
2011-02-13 12:11:53 +01:00
Volker Lendecke
84abb428f6
s3: Add an explicit counter to tldap_add_mod_[blobs|str]
2011-02-13 12:11:53 +01:00
Volker Lendecke
158c1e315b
s3: Convert tldap_make_mod_fmt args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
6375e6993e
s3: Convert tldap_make_mod_blob args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
67e6874651
s3: Convert tldap_make_mod_blob_int args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
3363bab875
s3: Convert tldap_add_blob_vals args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
6b492a1741
s3: Convert tldap_add_mod_blobs args to "array, count"
2011-02-13 12:11:52 +01:00
Volker Lendecke
30e72e0d0a
s3: Align the args of pdb_ads_update_sam_account to tldap_modify
2011-02-13 12:11:52 +01:00
Volker Lendecke
d38ab83bab
s3: Make "smbpasswd <user>" work with pdb_ads
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 15:17:39 CET 2011 on sn-devel-104
2011-02-12 15:17:39 +01:00
Günther Deschner
13e820cd10
s3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sat Feb 12 00:48:11 CET 2011 on sn-devel-104
2011-02-12 00:48:10 +01:00
Volker Lendecke
822a511324
s3: Skip the CHAIN1 tests
...
They are broken with signing. I'll fix that.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 17:42:09 CET 2011 on sn-devel-104
2011-02-11 17:42:09 +01:00
Günther Deschner
6531ac6a65
s3-waf: next attempt to fix cups and non-cups builds.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 16:57:40 CET 2011 on sn-devel-104
2011-02-11 16:57:40 +01:00
Günther Deschner
7ff5bf56c8
s3-rpc_server: fix some buildwarnings in non-developer mode.
...
Guenther
2011-02-11 16:06:06 +01:00
Günther Deschner
16af2539dc
s3-selftest: revamp selftest wscript with s4 one.
...
Guenther
2011-02-11 16:06:06 +01:00
Günther Deschner
414f39872d
s3-waf: try to deal with underlinked cups libraries.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104
2011-02-11 15:28:32 +01:00
Günther Deschner
59c8839dec
s3-waf: move all error mappings to errors subsystem.
...
Guenther
2011-02-11 14:14:23 +01:00
Günther Deschner
3eb7e125ab
waf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).
...
Guenther
2011-02-11 14:14:23 +01:00
Günther Deschner
8015514c5b
s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o ldap.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104
2011-02-11 13:08:38 +01:00
Günther Deschner
1bad50f648
s3-waf: rework the way SMBLDAP subsystem is built a little.
...
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
e4bf69285b
s3-libsmb: fix ifdef check in ads_dc_name.
...
We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
c7d0850ee8
s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.
...
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
f076c76260
s3-libads: make ads_guess_service_principal static.
...
Guenther
2011-02-11 12:22:41 +01:00
Volker Lendecke
16229e4cef
s3: Avoid a select call per smb
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 12:13:54 CET 2011 on sn-devel-104
2011-02-11 12:13:54 +01:00
Volker Lendecke
90c8de54a0
s3: Add more checks and better fallback to addrchange
...
From http://netsplit.com/2011/02/09/the-proc-connector-and-socket-filters/ I
learned a bit more about netlink...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 10:47:09 CET 2011 on sn-devel-104
2011-02-11 10:47:09 +01:00
Günther Deschner
44f2344a92
s3-waf: try to deal with system w/o ldap; also move module processing to the end of wscript.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 02:30:40 CET 2011 on sn-devel-104
2011-02-11 02:30:40 +01:00
Günther Deschner
06d4e4cb2e
s3-selftest: remove some more unused test functions.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 00:33:58 CET 2011 on sn-devel-104
2011-02-11 00:33:58 +01:00
Günther Deschner
6bc6d5dcfb
s3-waf: try to fix the {net|free|open}bsd build.
...
Guenther
2011-02-10 23:46:45 +01:00
Günther Deschner
961f6295a9
s3-selftest: run the three net tests individually.
...
Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
80d87e68de
s3-waf: dont try to redefine 'pam', we checked above...
...
Found by solaris waf buildfarm build.
Guenther
2011-02-10 23:39:14 +01:00
Volker Lendecke
efa460e291
s3: Align the args in tldap_modify
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
2011-02-10 23:20:05 +01:00
Volker Lendecke
b524e58f9a
s3: Align tldap_add and tldap_add_send
2011-02-10 22:34:01 +01:00
Günther Deschner
4063bde3ed
s3-rpc_server: move services into individual directories.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 22:13:17 CET 2011 on sn-devel-104
2011-02-10 22:13:17 +01:00
Günther Deschner
1fc14a6543
s3-waf: do not make pam support mandatory.
...
Guenther
2011-02-10 21:24:34 +01:00
Günther Deschner
4de3e733da
s3-waf: fix cups checks when lib is there but headers aren't.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 21:24:37 CET 2011 on sn-devel-104
2011-02-10 21:24:37 +01:00
Günther Deschner
5ecda05967
s3-waf: better checks for gssapi support.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 19:24:12 CET 2011 on sn-devel-104
2011-02-10 19:24:12 +01:00
Günther Deschner
fa0c6c1a9e
s3-system: fix malloc/talloc mismatch in sys_popen().
...
Guenther
2011-02-10 18:37:18 +01:00
Günther Deschner
97b03d5bfb
s3-oldtest: remove unused tests_all.sh file.
...
Guenther
2011-02-10 18:37:18 +01:00
Andreas Schneider
da9cd736d2
s3-rpc_client: Fixed an uninitialized variable.
...
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 18:32:08 CET 2011 on sn-devel-104
2011-02-10 18:32:08 +01:00
Andreas Schneider
8cffe147eb
s3-rpc_client: Added dcerpc_winreg_int_openkey() which dectects the hive.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-10 17:47:04 +01:00
Andreas Schneider
8ed5808390
s3-rpc_client: Fixed winreg int documentation.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-10 17:47:04 +01:00
Andreas Schneider
f0a90551b2
s3-rpc_server: Fixed possible segfaults in svcctl server.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-10 17:47:04 +01:00
Michael Adam
82bcada6f6
s3:smbd: fix switch indentation level in get_ea_dos_attribute()
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Feb 10 17:46:12 CET 2011 on sn-devel-104
2011-02-10 17:46:12 +01:00
Michael Adam
6339a17a93
Revert "libwbclient: bump the libwbclient SOVER 0 -> 1 due to ABI changes"
...
This reverts commit 5dd63c6c14
.
Undo the library version bump.
2011-02-10 13:57:32 +01:00
Günther Deschner
ad0a3185ce
librpc: move preg.idl to main directory.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 10 13:56:49 CET 2011 on sn-devel-104
2011-02-10 13:56:49 +01:00
Günther Deschner
7a558ea27c
s3-waf: fix the build after auth changes.
...
Andrews, please check.
Guenther
2011-02-10 12:58:06 +01:00
Günther Deschner
7de21e6294
s3-waf: fix krb5 checks logic.
...
Guenther
2011-02-10 12:58:06 +01:00
Günther Deschner
fdd4d56405
s3: give ../librpc/ndr/util.c its own header.
...
Guenther
2011-02-10 12:58:06 +01:00
Andrew Bartlett
cc77ea720b
s3-auth Remove unused pam_handle
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10 06:51:07 +01:00
Andrew Bartlett
2b05ba77b4
s3-auth Rename cryptic 'ptok' to security_token
...
This will allow the auth_serversupplied_info struct to be migrated
to auth_session_info easier.
Adnrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10 06:51:06 +01:00
Andrew Bartlett
d66150c14d
libcli/named_pipe_auth Change from 'info3' to auth_session_info_transport
...
This changes the structure being used to convey the current user state
from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built
structure that matches the internals of the Samba auth subsystem and
contains the final group list, as well as the final privilege set and
session key.
These previously had to be re-created on the server side of the pipe
each time.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10 06:51:06 +01:00
Jeremy Allison
0122a4f417
Put OpenDir() back the way it was - don't overload with an fsp arg. Create OpenDir_fsp for new usage.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 10 02:43:31 CET 2011 on sn-devel-104
2011-02-10 02:43:31 +01:00
Jeremy Allison
4b0af9be9a
Make it clear we're using the open file pathname.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 10 01:06:29 CET 2011 on sn-devel-104
2011-02-10 01:06:29 +01:00
Jeremy Allison
1607ebfe86
Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. Fallback to pathname opendir if not.
2011-02-09 15:13:40 -08:00
Jeremy Allison
61c1f312d2
Correctly plumb in VFS_FDOPENDIR.
2011-02-09 15:13:37 -08:00
Günther Deschner
d0406ab7f0
s3-waf: make ads support detection a little more robust.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 9 23:38:50 CET 2011 on sn-devel-104
2011-02-09 23:38:50 +01:00
Günther Deschner
65bb6b3524
s3: move some stuff out of smb.h to better locations.
...
Guenther
2011-02-09 22:51:23 +01:00
Günther Deschner
4303d34da9
s3: remove unused struct uuid_flat.
...
Guenther
2011-02-09 22:51:16 +01:00
Günther Deschner
9239db35e6
s3-waf: make sure we dont activate dnsupdate support w/o gssapi.
...
Guenther
2011-02-09 22:51:08 +01:00
Jeremy Allison
4ccb7e5bdd
Oops. Need to test for if(!NT_STATUS_IS_OK(..)) for error.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 9 22:06:05 CET 2011 on sn-devel-104
2011-02-09 22:06:05 +01:00
Jeremy Allison
c377b0e718
Fix up some buildfarm warnings.
2011-02-09 21:21:04 +01:00
Jeremy Allison
344e4cd280
Don't use asprintf in this library - breaks the build on many systems. Fake with malloc/memcpy.
2011-02-09 21:21:04 +01:00
Jeremy Allison
8c363e9252
Move to opening an fd on directory opens. Get more careful about symlink races.
2011-02-09 21:21:04 +01:00
Jeremy Allison
65e6dea73f
Remove unneeded stat call.
2011-02-09 21:21:04 +01:00
Günther Deschner
a0e576178b
s3-waf: we check for attr in ../lib/util/script already, so we cannot set to EMPTY here.
...
Hopefully fixes the irix build.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 9 18:58:15 CET 2011 on sn-devel-104
2011-02-09 18:58:15 +01:00
Günther Deschner
ada4c66ea3
s3-waf: as long as we dont have --with-featureX=yes|no|auto handling, avoid exiting.
...
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
9081cb0fd8
s3-waf: check k5crypto in some more locations.
...
Guenther
2011-02-09 18:14:19 +01:00
Günther Deschner
62cd1e08b3
s3-waf: support non-default krb5-config and cups-config locations.
...
Guenther
2011-02-09 18:14:19 +01:00
Andreas Schneider
edbd6f4a93
s3-rpc_server: We need a messaging context for rpc.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb 9 17:26:00 CET 2011 on sn-devel-104
2011-02-09 17:26:00 +01:00
Andreas Schneider
1b5609aa4d
s3-rpc_server: Fixed possible segfault with client_id.
2011-02-09 16:42:19 +01:00
Christian Ambach
d8a90b499b
s3:utils enable sharesec for registry shares
...
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 9 16:41:31 CET 2011 on sn-devel-104
2011-02-09 16:41:31 +01:00
Gregor Beck
927102790e
s3:net idmap: implement net idmap delete
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 9 15:06:06 CET 2011 on sn-devel-104
2011-02-09 15:06:06 +01:00
Michael Adam
a6d45d0ad8
s3:net idmap dump: report correct database file when failed to open idmap db.
2011-02-09 14:00:35 +01:00
Gregor Beck
59ccfac211
s3:net idmap dump: use net_idmap_dbfile
2011-02-09 14:00:35 +01:00
Michael Adam
79307cf006
s3:net idmap restore: correctly abort operation if dbfile could not be determined
2011-02-09 14:00:34 +01:00
Michael Adam
92f856c513
s3:net idmap: fix error reporting in net_idmap_dbfile()
...
The last case which results in dbfile == NULL is not an
out of memory case but means no --db has been specified
and the idmap backend is not supported for auto-determining
the idmap tdb file.
2011-02-09 14:00:34 +01:00
Gregor Beck
e2795f5664
s3:net factor out net_idmap_dbfile
2011-02-09 14:00:34 +01:00
Gregor Beck
1f1a165ea9
s3:net idmap restore: fix segfault on missing input file
2011-02-09 14:00:34 +01:00
Gregor Beck
47f499abf6
s3:net add option --db
2011-02-09 14:00:34 +01:00
Michael Adam
872d913fa2
s3:testparm: add "--option" to testparm
...
This way one can test the --option feature with testparm.
E.g.:
testparm -s -v --option="parameter=value" | grep parameter
should print "parameter = value"
2011-02-09 14:00:34 +01:00
Michael Adam
015b47fa14
s3:popt: add POPT_COMMON_OPTION to provide only the "--option" feature
2011-02-09 14:00:34 +01:00
Michael Adam
c6f797d020
s3:loadparm: skip leading spaces in parameter values from the command line
2011-02-09 14:00:33 +01:00
Stefan Metzmacher
d04c2c575a
s3:rpc_server: create binding_handle in rpc_pipe_open_external()
...
metze
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 9 12:30:50 CET 2011 on sn-devel-104
2011-02-09 12:30:50 +01:00
Stefan Metzmacher
f915dd5dd4
s3:rpc_client: make rpccli_bh_create() non-static for now
...
metze
2011-02-09 11:46:20 +01:00
Jeremy Allison
a674a56a97
Add fdopendir to the VFS. We will use this to reuse a directory fd already open by NtCreateX.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
2011-02-09 00:55:22 +01:00
Jeremy Allison
224fc03cb5
Pass fsp to dptr_CloseDir(). Cope with setting the fd if we're closing an fd that opendir knows about.
2011-02-08 15:06:00 -08:00
Jeremy Allison
ad3d1adea3
Add configure checks for fdopendir.
2011-02-08 15:06:00 -08:00
Jeremy Allison
1911d483e5
Add fdopendir().
2011-02-08 15:05:59 -08:00
Volker Lendecke
5a0ee95b95
s3: Fix some nonempty blank lines and some typos
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
2011-02-09 00:01:45 +01:00
Günther Deschner
698d339ffd
selftest: remove make oldtest.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 8 22:16:31 CET 2011 on sn-devel-104
2011-02-08 22:16:31 +01:00
Günther Deschner
480671481e
s3-selftest: let valgrindtest use the new make test.
...
Guenther
2011-02-08 21:27:40 +01:00
Günther Deschner
8b64d0607b
s3-spoolss: Dont wipe out all drivers when only one should be deleted.
...
Great catch from Bjoern Baumbach <bb@sernet.de> !
Andreas, Simo, please check.
We now have a torture test (rpc.spoolss.driver.driver.multiple_drivers) for this.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 8 18:11:48 CET 2011 on sn-devel-104
2011-02-08 18:11:48 +01:00
Günther Deschner
541bf8068d
s3-selftest: mark the driver timestamp test as knownfail for now.
...
Guenther
2011-02-08 17:23:52 +01:00
Günther Deschner
56fe080d87
lib/compression: add shared wscript_build.
...
Guenther
2011-02-08 14:05:36 +01:00
Günther Deschner
34722c72f6
pam: share pam errors in a common location.
...
Guenther
2011-02-08 14:05:36 +01:00
Gregor Beck
01d3da3c7c
s3:net: remove unused net_idmap_help
...
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Feb 8 11:50:37 CET 2011 on sn-devel-104
2011-02-08 11:50:37 +01:00
Andreas Schneider
9732955038
s3: Added file for clang complete support in vim.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Tue Feb 8 10:40:42 CET 2011 on sn-devel-104
2011-02-08 10:40:42 +01:00
Günther Deschner
be5edba117
libndr: share some uuid helpers.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
2011-02-08 09:52:56 +01:00
Günther Deschner
84dbc2a82d
ndr: merge ndr_map_error2string and ndr_errstr.
...
Guenther
2011-02-08 08:58:31 +01:00
Günther Deschner
8b55ae1785
ndr: move null_ndr_syntax_id to the common libndr location.
...
Guenther
2011-02-08 08:58:21 +01:00
Günther Deschner
724c982131
ndr: merge duplicate ndr_map_error2ntstatus() functions.
...
Guenther
2011-02-08 08:58:11 +01:00
Jeremy Allison
e68f6adca9
If possible (O_DIRECTORY exists) open an fd for a directory open.
...
Start of the move towards handle-based code for directory access.
Currently makes fstat/fchown code work for directories rather than
falling back to pathnames.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb 8 06:34:41 CET 2011 on sn-devel-104
2011-02-08 06:34:41 +01:00
Jeremy Allison
dd7313a130
Use corrcet function instead of cut-and-paste code.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb 8 03:23:40 CET 2011 on sn-devel-104
2011-02-08 03:23:40 +01:00
Jeremy Allison
0a7f1af82c
Fix leak in error path.
2011-02-07 17:33:26 -08:00
Michael Adam
3bccd2f3f3
s3:net conf: fix a comment typo
2011-02-07 18:37:42 +01:00
Günther Deschner
4b7d0492bb
s3-waf: add --with-automount option.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 7 14:11:03 CET 2011 on sn-devel-104
2011-02-07 14:11:03 +01:00
Günther Deschner
13d8290d0d
s3-waf: fix wrong check for vfs_aio_fork dependencies.
...
Guenther
2011-02-07 13:21:50 +01:00
Günther Deschner
7637e1df8e
s3-waf: fix the build after winreg and rpc services changes.
...
Andreas, please check.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 7 13:18:41 CET 2011 on sn-devel-104
2011-02-07 13:18:41 +01:00
Andreas Schneider
a3ee831f2d
s3-perfcount: Create the directory on tdb open.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:02 +01:00
Andreas Schneider
1c6276ce7a
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_multi_sz.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:02 +01:00
Andreas Schneider
1f0c766fa6
s3-rpc_server: Migrated spoolss to dcerpc_winreg_query_dword.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:02 +01:00
Andreas Schneider
df75045e0d
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_X.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:02 +01:00
Andreas Schneider
ee817f63ce
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_X.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
e8bf397eb0
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_dword.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
460aedc4b1
s3-rpc_server: Migrated spoolss to dcerpc_winreg_set_sz..
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
8238732330
s3-rpc_server: Migrated spoolss to dcerpc_winreg_enum_keys.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
c6255adc6f
s3-services: Remove obsolete services_db.c.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
b2ddfc642d
s3-smbd: Init the svcctl registry keys on service startup.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
f1d5cea322
s3-rpc_server: Added a winreg based svcctl registry init.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
09dafc4a25
s3-rpc_server: Added a svcctl shutdown function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
96565db5f6
s3-services: Migrated svcctl registry functions to winreg.
...
This is a bigger commit. It moves the relevant function to
svc_winreg_glue. We need to use them in the same commit else we have
problems with prototypes in proto.h.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
1adbbeef32
s3-registry: Remove obsolete reg_eventlog.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:01 +01:00
Andreas Schneider
a3a38fdb55
s3-smbd: Init the eventlog registry on service startup.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
34e8a50e5a
s3-util: Moved eventlog_add_source to admin util.
...
This function is only used in the admin util.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
22ea293381
s3-rpc_server: Added a winreg based eventlog registry init.
...
This enumerates the keys first and only creates them if they don't exist
yet.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
75abfa6f94
s3-rpc_server: Migrated eventlog to winreg.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
01b49b1a2b
s3-rpc_client: Added a winreg query security descriptor helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
35439a7b18
s3-rpc_client: Added a winreg set security descriptor helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
a370b9605c
s3-rpc_client: Added a winreg set binary helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
56963d1f44
s3-rpc_client: Added a winreg query sz helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
69e6db1a53
s3-rpc_client: Added a winreg helper to enum keys.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Andreas Schneider
8ed91d6027
s3-rpc_client: Added a winreg add multi sz helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
8c119e4757
s3-rpc_client: Added a winreg query multi sz helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
913426b0c3
s3-rpc_client: Added a winreg set multi sz helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
34d3e85f35
s3-rpc_client: Added a winreg set expand sz helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
4b32f6c9d5
s3-rpc_client: Added a winreg set sz helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
e5eb7582d3
s3-rpc_client: Added a winreg set dword helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
d24bd4be91
s3-rpc_client: Added winreg query binary helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
9c7607d3d3
s3-rpc_client: Added winreg query dword helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Andreas Schneider
12cd4002e6
s3-rpc_client: Added dcerpc_winreg_int_openkey().
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:31:59 +01:00
Günther Deschner
bcdacff168
s3-waf: add support for --with-aio-support.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 7 12:30:57 CET 2011 on sn-devel-104
2011-02-07 12:30:57 +01:00
Günther Deschner
3a60e5496f
s3-waf: only build auth_netlogond in developer build.
...
Volker, please check.
Guenther
2011-02-07 11:44:55 +01:00
Stefan Metzmacher
8111d95655
s3:rpc_server: fix make_external_rpc_pipe_p() and create read and write queues
...
They are needed for the callers in rpc_server/srv_pipe_hnd.c.
It seems I only looked at the caller in rpc_server/rpc_ncacn_np.c
when I've done the change of commit e55426fe79
.
Thanks Volker for finding this :-)
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Feb 7 11:40:20 CET 2011 on sn-devel-104
2011-02-07 11:40:20 +01:00
Günther Deschner
81a3f7a520
s3-waf: add --with-syslog option.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 7 10:50:39 CET 2011 on sn-devel-104
2011-02-07 10:50:39 +01:00
Günther Deschner
f1d51aa6f2
s3-netlogon: fix typo.
...
Guenther
2011-02-07 10:02:05 +01:00
Günther Deschner
45f86fd681
s3-waf: recurse into ../lib/util/wscript_configure
...
This gets us all the statvfs checks.
Guenther
2011-02-07 10:01:58 +01:00
Günther Deschner
72910c34df
s3-waf: add support for iprint.
...
Guenther
2011-02-07 10:01:50 +01:00
Andrew Tridgell
a20ce625a2
s3-torture: switch source3 to using top level samba4 build for smbtorture
...
this is in preparation for removing the source4/ build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 15:03:40 +11:00
Volker Lendecke
a61b17ce56
s3: Make "endpoint_table" static
...
Andreas, this is only used in srv_epmapper right now. Make public again when
this will be used somewhere else.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 6 21:33:04 CET 2011 on sn-devel-104
2011-02-06 21:33:04 +01:00
Volker Lendecke
40a46a9cca
s3: Use the right credentials in check_netlogond_security
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 6 20:43:03 CET 2011 on sn-devel-104
2011-02-06 20:43:03 +01:00
Volker Lendecke
007dc95b14
s3: Only build auth_netlogond for the developer build
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 6 19:55:49 CET 2011 on sn-devel-104
2011-02-06 19:55:48 +01:00
Volker Lendecke
0539ca51ab
s3: Add primary group in pdb_ads_enum_group_memberships
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 6 18:41:08 CET 2011 on sn-devel-104
2011-02-06 18:41:08 +01:00
Volker Lendecke
d515c6cd5c
s3: Fix auth_netlogond to cope with netlogon_creds_CredentialState
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 6 17:30:48 CET 2011 on sn-devel-104
2011-02-06 17:30:48 +01:00
Volker Lendecke
47d07df37f
s3: Fix a potential memleak in secrets_fetch_trusted_domain_password
2011-02-06 16:44:56 +01:00
Volker Lendecke
843825f567
s3: Fetch the machinepw via ldapi in pdb_ads
2011-02-06 16:44:56 +01:00
Volker Lendecke
8c367162f0
s3: In pdb_ads, cope with artificial samu structs
2011-02-06 16:44:56 +01:00
Volker Lendecke
08f2a8562f
s3: Use strlcpy in pdb_ads_connect
2011-02-06 16:44:56 +01:00
Volker Lendecke
8af7400d55
s3: Fix some nonempty blank lines
2011-02-06 16:44:56 +01:00
Stefan Metzmacher
49cfb2ebdf
s3:Makefile.in: use waf directly to build smbtorture4 and ndrdump4
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Feb 5 11:53:05 CET 2011 on sn-devel-104
2011-02-05 11:53:05 +01:00
Jeremy Allison
df34e804fc
Fix try_chown code. Use new vfs_chown_fsp() which always trys fd first.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb 5 03:33:59 CET 2011 on sn-devel-104
2011-02-05 03:33:58 +01:00
Jeremy Allison
ece94989b8
Move the "oplock file with byte range locks" check to the correct place, where we're making oplock decisions.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Feb 5 01:18:14 CET 2011 on sn-devel-104
2011-02-05 01:18:14 +01:00
Günther Deschner
f60398d7b2
s3-winbindd: let winbind try to use samlogon validation level 6. (bug #7945 )
...
The benefit of this that it makes us more robust to secure channel resets
triggered from tools outside the winbind process. Long term we need to have a
shared tdb secure channel store though as well.
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Feb 4 18:11:04 CET 2011 on sn-devel-104
2011-02-04 18:11:04 +01:00
Günther Deschner
ac4127a9f4
s3-auth: add copy_netr_SamBaseInfo().
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-04 16:57:32 +01:00
Stefan Metzmacher
e9c45a3973
s3:lib/addrchange: set ctx->sock to -1 after close
...
The makes the code more consistent with similar destructors.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Feb 4 15:52:55 CET 2011 on sn-devel-104
2011-02-04 15:52:55 +01:00
Stefan Metzmacher
d8d5a3fb3a
s3:lib/addrchange: remove unused pointer
...
metze
2011-02-04 15:04:58 +01:00
Stefan Metzmacher
ff935ddf8b
s3:lib/addrchange: let addrchange_done() retry and ignore unknown message types
...
Messages like RTM_NEWLINK should be just ignored.
metze
2011-02-04 15:04:58 +01:00
Stefan Metzmacher
902fbd91a1
s3:winbindd: fix segfaults on addrchange errors and make DEBUG() statements more usefull
...
metze
2011-02-04 15:04:57 +01:00