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
Stefan Metzmacher
17c01a5e90
s3:rpc_server/netlogon: reject validation level 6 without ads support
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Feb 4 10:06:26 CET 2011 on sn-devel-104
2011-02-04 10:06:26 +01:00
Stefan Metzmacher
c1c3cb0a23
s3:libnet_dssync_passdb: remove useless DEBUG statements
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 3 04:20:54 CET 2011 on sn-devel-104
2011-02-03 04:20:54 +01:00
Jeremy Allison
3b4738b2fd
Fix value overflow (one too many 'f's ).
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Feb 3 03:35:32 CET 2011 on sn-devel-104
2011-02-03 03:35:32 +01:00
Stefan Metzmacher
91e1c8dc38
s3:lib: allow_trailing_dollar should only allow '$'
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Feb 3 00:33:48 CET 2011 on sn-devel-104
2011-02-03 00:33:48 +01:00
Jeremy Allison
40850b3b27
Fix a couple of missing checks on talloc returns.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 2 22:23:46 CET 2011 on sn-devel-104
2011-02-02 22:23:46 +01:00
Günther Deschner
885887ac1b
s3-waf: no need to call pidl with --samba3-ndr-client anymore.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 21:38:23 CET 2011 on sn-devel-104
2011-02-02 21:38:23 +01:00
Günther Deschner
2534e01a3a
s3-build: remove --samba3-ndr-client from build_idl.sh script.
...
Guenther
2011-02-02 20:53:15 +01:00
Günther Deschner
d57ddc64c5
s3-waf: remove RPCCLI_LSA subsystem.
...
Guenther
2011-02-02 20:01:00 +01:00
Günther Deschner
ad15128d78
s3-build: remove RPCCLI_LSA subsystem.
...
Guenther
2011-02-02 20:01:00 +01:00
Günther Deschner
387d1543ed
s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_rpc.c.
...
Guenther
2011-02-02 20:00:59 +01:00
Günther Deschner
04ac046a46
s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbindd_samr.c.
...
Guenther
2011-02-02 20:00:59 +01:00
Günther Deschner
a85b20a164
s3-winbind: prefer dcerpc_lsa_X functions in winbindd/winbind_cm.c
...
Guenther
2011-02-02 20:00:56 +01:00
Günther Deschner
586b2ee826
s3-epmap: use correct dcerpc client header in dcerpc_ep.c
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 19:50:02 CET 2011 on sn-devel-104
2011-02-02 19:50:02 +01:00
Günther Deschner
00478b0559
s3-net: prefer dcerpc_lsa_X functions in "net rpc".
...
Guenther
2011-02-02 19:03:36 +01:00
Günther Deschner
eab00491f3
s3-net: prefer dcerpc_lsa_X functions in "net rpc rights".
...
Guenther
2011-02-02 19:03:26 +01:00
Günther Deschner
8055bc82b0
s3-net: use status variable in "net rpc rights".
...
Guenther
2011-02-02 19:03:20 +01:00
Günther Deschner
32064346f0
s3-net: prefer dcerpc_lsa_X functions in net_util.c
...
Guenther
2011-02-02 19:03:13 +01:00
Günther Deschner
63de60c2bc
s3-net: prefer dcerpc_lsa_X functions in "net rpc join".
...
Guenther
2011-02-02 19:03:06 +01:00
Günther Deschner
61d18b7f08
s3-net: prefer dcerpc_lsa_X functions in "net rpc audit".
...
Guenther
2011-02-02 19:03:00 +01:00
Günther Deschner
d38d743166
s3-net: use status variable in "net rpc audit".
...
Guenther
2011-02-02 19:02:54 +01:00
Günther Deschner
fe6c5353a0
s3-rpcclient: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:48 +01:00
Günther Deschner
204eeacfc5
s3-rpcclient: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:41 +01:00
Günther Deschner
36cd79f14b
s3-rpcclient: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:35 +01:00
Günther Deschner
707d572f62
s3-rpcclient: use status variable.
...
Guenther
2011-02-02 19:02:29 +01:00
Günther Deschner
fcaba0fb59
s3-libsmb: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:23 +01:00
Günther Deschner
95cf60a2e5
s3-libnet: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:16 +01:00
Günther Deschner
e32b50894b
s3-libnetapi: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:09 +01:00
Günther Deschner
ee5de71796
s3-waf: remove RPCCLI_SAMR subsystem.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 18:54:38 CET 2011 on sn-devel-104
2011-02-02 18:54:38 +01:00
Günther Deschner
364ef35afd
s3-build: remove RPCCLI_SAMR subsytem.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
50170d7fd5
s3-net: prefer dcerpc_samr_X functions in net_rpc_join_newstyle.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
b53c0c8c85
s3-net: use status variable in net_rpc_join_newstyle.
...
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
175fbe0bfc
s3-waf: fix the build after libnet changes.
...
Guenther
2011-02-02 18:11:19 +01:00
Volker Lendecke
d038b45948
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 2 18:10:45 CET 2011 on sn-devel-104
2011-02-02 18:10:45 +01:00
Günther Deschner
62048fa95c
s3-waf: fix the build after epmapper changes.
...
Andreas, please check.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 17:14:40 CET 2011 on sn-devel-104
2011-02-02 17:14:40 +01:00
Stefan Metzmacher
8ddfe78a5f
s3-dssync-passdb: implement accounts, aliases and groups
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Feb 2 16:30:26 CET 2011 on sn-devel-104
2011-02-02 16:30:26 +01:00
Günther Deschner
6e0498d0e2
s3-dssync-passdb: fill in passdb_process_objects
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
41ba1d3a1c
s3-dssync-passdb: fill in passdb_finish.
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
1f884cfbcb
s3-dssync-passdb: fill in passdb_startup.
...
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-02 15:45:20 +01:00
Günther Deschner
91e6dad749
s3-dssync-passdb: add basic routines and net function.
...
Guenther
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
1c1aebae82
s3:net: make some net_rpc_samsync.c functions static
...
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
0313969aed
s3:net: "net rpc vampire" is an alias for "net rpc vampire passdb"
...
The should use exactly the same code path for both.
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
bf7a27c397
s3:libnet: add 'process_links' to dssync_ops
...
This allows the backend to handle linked attributes.
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
cecf54b32b
s3:groupdb: allow machine accounts as members.
...
metze
2011-02-02 15:45:19 +01:00
Stefan Metzmacher
255f2e0699
s3:winbindd: catch lookup_names/sids schannel errors over ncacn_ip_tcp (bug #7944 )
...
If winbindd connects to a domain controller it doesn't establish the lsa
connection over ncacn_ip_tcp direct. This happens only on demand.
If someone does a 'net rpc testjoin' and then a
wbinfo -n DOMAIN\\administrator, we'll get DCERPC faults with
ACCESS_DENIED/SEC_PKG_ERROR, because winbindd's in memory copy
of the schannel session key is invalidated.
This problem can also happen on other calls, but the
lookup_names/sids calls on thet lsa ncacn_ip_tcp connection
are the most important ones.
The long term fix is to store the schannel client state in a
tdb, but for now it's enough to catch the error and invalidate
the all connections to the dc and reestablish the schannel
session key.
The fix for bug 7568 (commit be396411a4
)
made this worse, as it assumes winbindd's in memory session key is
always the current one.
metze
2011-02-02 15:45:19 +01:00
Günther Deschner
50be0b2c1e
s3: Remove superfluous ;
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104
2011-02-02 15:44:21 +01:00
Volker Lendecke
a62d67e639
s3: Fix a typo
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb 2 14:58:52 CET 2011 on sn-devel-104
2011-02-02 14:58:52 +01:00
Günther Deschner
e026685b7c
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_msrpc.c.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 2 14:14:43 CET 2011 on sn-devel-104
2011-02-02 14:14:43 +01:00
Günther Deschner
6c20ba3f97
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_pam.c.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
924f60c77c
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_rpc.c.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
58cdc56acc
s3-winbind: prefer dcerpc_samr_X functions in winbindd/winbindd_samr.c.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
f21f9192f1
s3-winbind: prefer dcerpc_samr_X functions in invalidate_cm_connection.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
39c6809eeb
s3-winbind: prefer dcerpc_samr_X functions in cm_connect_sam.
...
Guenther
2011-02-02 13:30:04 +01:00
Günther Deschner
02a8e1e490
s3-winbind: use status variable name in cm_connect_sam.
...
Guenther
2011-02-02 13:30:04 +01:00
Andreas Schneider
5aae1f462e
s3-selftest: Enable RPC-EPMAPPER tests.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb 2 13:28:41 CET 2011 on sn-devel-104
2011-02-02 13:28:41 +01:00
Andreas Schneider
d0d5d59943
s3-smbd: Disable the endpoint mapper by default.
2011-02-02 12:44:20 +01:00
Andreas Schneider
e3bdfd2d46
s3-smbd: Added a function to setup rpc services.
...
Move the complete setup of the rpc service to its own file and use
callbacks to register at the endpoint mapper.
2011-02-02 12:44:20 +01:00
Andreas Schneider
612060d677
s3-rpc_server: Only allow registering endpoints on priviledged pipes.
2011-02-02 12:44:20 +01:00
Andreas Schneider
31779662b7
s3-librpc: Added dcerpc_binding_vector_create function.
2011-02-02 12:44:20 +01:00
Andreas Schneider
20afe97177
s3-librpc: Added dcerpc register endpoint functions.
2011-02-02 12:44:20 +01:00
Andreas Schneider
bd5d14e6fa
s3-epmapper: Commented unimplemented functions.
2011-02-02 12:44:20 +01:00
Andreas Schneider
c451a454b3
s3-epmapper: Improved the epm_Map function.
2011-02-02 12:44:20 +01:00
Andreas Schneider
1d33f5c6d6
s3-epmapper: Implemented epm_Lookup.
2011-02-02 12:44:20 +01:00
Andreas Schneider
5b93e06e6c
s3-epmapper: Implemented epm_LookupHandleFree.
2011-02-02 12:44:20 +01:00