Volker Lendecke
44f75eded1
s3: notify_onelevel does not use seqnums, so don't open asking for it
2010-02-12 12:08:22 +01:00
Günther Deschner
7e328e1e1c
spoolss: regenerate hand-marshalled ndr_pull_spoolss_DriverInfo101 after ndr64 changes.
...
Guenther
2010-02-12 11:34:56 +01:00
Günther Deschner
95846bfee6
spoolss: make sure hand-marshalled spoolss_DriverInfo101 handles relative_highest_offset.
...
Guenther
2010-02-12 11:34:48 +01:00
Günther Deschner
8f07339b6d
spoolss: regenerate hand-marshalled ndr_push_spoolss_DriverInfo101 after ndr64 changes.
...
Guenther
2010-02-12 11:34:39 +01:00
Jeremy Allison
9fc76f86fa
Remove the code replaced by widelinks warning.
...
Jeremy.
2010-02-11 15:59:41 -08:00
Jeremy Allison
a6f402ad87
Remove lp_safe_widelinks() -> convert to just lp_widelinks. Suggestion from Volker.
...
Create widelinks_warning(int snum) to cover the message needed in make_connection.
Jeremy.
2010-02-11 15:16:23 -08:00
Kai Blin
4ff7f6ed36
s3 test: Make the netbios name test pass again
2010-02-11 23:56:36 +01:00
Kai Blin
ea055e8c79
s4: Switch to S3-style id mapping data types.
2010-02-11 23:56:35 +01:00
Kai Blin
86d70ae944
s4 idmap: Make the sid_to_xid and xid_to_sid calls static.
...
Looking at the winbind interface, we should only be using the bulk conversion calls.
2010-02-11 23:56:35 +01:00
Kai Blin
5d848053a7
libwbclient: Test wbcLookupName async functions
2010-02-11 23:56:35 +01:00
Kai Blin
cf968371ef
libwbclient: Implement wbcLookupName_send/recv
2010-02-11 23:56:35 +01:00
Kai Blin
145f2c751b
libwbclient: Implement wbcAuthenticateUserEx_send/recv
2010-02-11 23:56:35 +01:00
Kai Blin
749fb03971
libwbclient: Implement wbcLookupSid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
57886720bb
libwbclient: Implement wbcGidToSid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
ada6e26d5e
libwbclient: Implement wbcSidToGid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
446b4aa17c
libwbclient: Implement wbcUidToSid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
4ff1906357
libwbclient: Implement wbcSidToUid_send/recv
2010-02-11 23:56:34 +01:00
Kai Blin
33bbe1cafd
libwbclient: Add wbcInterfaceDetails_send/recv
2010-02-11 23:56:33 +01:00
Kai Blin
861ef367c8
libwbclient: Add wbcDomainInfo_send/recv calls
2010-02-11 23:56:33 +01:00
Kai Blin
99c0f569f9
libwbclient: Add wbcDomainName_send/recv call
2010-02-11 23:56:33 +01:00
Kai Blin
7cb070f2b3
libwbclient: Add wbcNetbiosName_send/recv calls
2010-02-11 23:56:33 +01:00
Kai Blin
fd6b145793
libwbclient: Add async wbcInfo_send()/wbcInfo_recv() calls
2010-02-11 23:56:33 +01:00
Kai Blin
a0895222be
libwbclient: add wbcInterfaceVersion send/recv calls
2010-02-11 23:56:32 +01:00
Kai Blin
1ca727420a
libwbclient: torture-test wbcPing async functions.
2010-02-11 23:56:32 +01:00
Kai Blin
3204113efe
libwbclient: Add async wbcPing_send/_recv
2010-02-11 23:56:32 +01:00
Kai Blin
f9d041ccd3
libwbclient: Zero out context on initialization
...
This prevents a segfault when using wbcDebug without prior call to wbcSetDebug
2010-02-11 23:53:36 +01:00
Jeremy Allison
02a5078f1f
Final part of jumbo patch for bug #7104 - "wide links" and "unix extensions" are incompatible.
...
Volker pointed out that the preexec scripts get passed the conn->connectpath
as a parameter, so call canonicalize_connect_path() both *before* and after
the preexec scripts. Ignore errors on the call before the preexec scripts,
as the path may not exist until created by the preexec scripts.
Jeremy.
2010-02-11 14:45:53 -08:00
Simo Sorce
5d92d969dd
Introduce lp_safe_widelinks()
...
This way we avoid any chance that a configuration reload may turn
back on wide links when unix extensions are enabled.
2010-02-11 16:27:17 -05:00
Jeremy Allison
94865e4dbd
Fine changes to previous fix for bug #7104 - "wide links" and "unix extensions" are incompatible.
...
Make sure we match the previous allow widelinks behavior, in that
non-root preexec scripts can create share directories for a share
definition.
Jeremy
2010-02-11 11:00:45 -08:00
Jeremy Allison
cd18695fc2
Suplementary patch for bug #7104 - "wide links" and "unix extensions" are incompatible.
...
Bug reported by Ralf Zimmermann <r.zimmermann@siegnetz.de>. Reproduced by jra.
If the target directory of a share doesn't exist, but is designed to
be created by a "root preexec" script call, then the widelinks check
is done too early - thus preventing the user from connecting to the
share.
Fix is to re-arrange the order of checks in make_connection_snum()
to always do the following order of operations:
(1). Turn off wide links if unix extensions = yes.
(2). Call any root preexec scripts.
(3). Canonicalize the share path to remove any symlinks (ie. end
up with the realpath in the connection_struct).
Jeremy.
2010-02-11 10:19:33 -08:00
Matthias Dieter Wallnöfer
14c4c2c735
ldb_match - Ignore ":dn" part of extended matches for now
...
It's not fully clear what this ":dn" part means for us. What we know is that
older AD implementations (Windows Server 2000, 2003) need it to have extended
matches working in the expected way.
To be able to interoperate with s3's winbind and other tools I and gd decided
to transform this into a warning until we know what to do.
This should fix bug #6511 .
2010-02-11 15:51:56 +01:00
Andrew Tridgell
45defdb90c
s4-provision: import the R2 functional level
...
this makes it easier to modify the script to set us at R2 level in
provision. We should make this a parameter.
2010-02-12 01:08:12 +11:00
Andrew Tridgell
960fab4bba
s4-build: avoid finding python symlinks
...
emacs creates symlinks to .py files while you are editing them. This
could cause build failures.
2010-02-12 01:08:12 +11:00
Andrew Tridgell
4aaa7fe43b
s4-provision: fixed --function-level option to provision
...
we need the DS_DOMAIN_* levels imported
2010-02-12 01:08:11 +11:00
Andrew Tridgell
802f6b71dd
s4-script: make enablerecyclebin use system_session
...
This allows it to work against our local ldb
2010-02-12 01:08:11 +11:00
Andrew Tridgell
9ba0d105cc
s4-pyldb: null terminate string ldb message elements from python
...
We need to eventually get rid of ldb_msg_find_attr_as_string() (or add
a mem_ctx to it), but meanwhile we have too many places that break if
we don't add a nul to the end of ldb msg strings from python.
2010-02-12 01:08:11 +11:00
Andrew Tridgell
76a2e936a0
libds: added recyclebin feature GUID
2010-02-12 01:08:11 +11:00
Günther Deschner
2a0b16c430
s3: re-run make samba3-idl.
...
Guenther
2010-02-11 13:32:44 +01:00
Günther Deschner
a16e974593
spoolss: allow to set server architecture via parametric option.
...
This allows to set "spoolss:architecture = 'Windows x64'" for debugging purpose.
Guenther
2010-02-11 13:29:59 +01:00
Günther Deschner
25001bbd1b
s3-spoolss: implement spoolss_EnumJobs level 3.
...
Level 3 has been added with NT 4.0 and Windows 7 (at least 64bit version) makes
use of it in order to display queued jobs. Windows 7 will *not* fall back to
level 2 if we just return WERR_UNKNOWN_LEVEL, instead there will be no printjobs
displayed at all.
Guenther
2010-02-11 13:27:46 +01:00
Günther Deschner
5e1dd19221
testprogs: one more error code for spoolss test.
...
Guenther
2010-02-11 13:26:13 +01:00
Günther Deschner
4f8a4cb81b
testprogs: print secdesc->Control in spoolss test.
...
Guenther
2010-02-11 13:24:41 +01:00
Günther Deschner
490e1f84fe
testprogs: use ConvertSidToStringSid in order to print sids in spoolss test.
...
Guenther
2010-02-11 13:24:41 +01:00
Fernando J V da Silva
7bd7194c2b
s4-drs: Add DRSUAPI_DRS_NONGC_RO_REP bit to DRS_OPTIONS
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-11 12:19:51 +01:00
Andrew Tridgell
f78a534dd2
s4-net-drs: fix some coding style issues
...
We should use the system/*.h headers for system includes. We also try
to avoid C++ comments.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:40 +11:00
Kamen Mazdrashki
976201d24a
s4/net_drs: 'net drs kcc' command implementation
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:39 +11:00
Kamen Mazdrashki
fedc1152b5
s4/net_drs: 'net drs bind' command implementation
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:38 +11:00
Kamen Mazdrashki
61246da63c
s4/net_drs: 'net drs' utility initial creation
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:38 +11:00
Kamen Mazdrashki
0a05af9277
s4/idl: regenerating drsuapi.idl
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:37 +11:00
Kamen Mazdrashki
7dde20ae45
s4/idl: Naming reserved flags for DRSUAPI_SUPPORTED_EXTENSION_ field
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-11 21:59:36 +11:00