abartlet/samba.git/.git
10 years agoAdd infrastructure to transfer winbindd_request/response asynchronously
Volker Lendecke [Fri, 28 Nov 2008 18:54:46 +0000 (19:54 +0100)]
Add infrastructure to transfer winbindd_request/response asynchronously

10 years agoSimplify async programming a bit with helper routines
Volker Lendecke [Mon, 1 Dec 2008 07:23:35 +0000 (08:23 +0100)]
Simplify async programming a bit with helper routines

Introduce async_req_is_error() and async_req_simple_recv()

10 years agoStreamline the async_sock API a bit
Volker Lendecke [Fri, 28 Nov 2008 18:52:52 +0000 (19:52 +0100)]
Streamline the async_sock API a bit

10 years agoAdd a "bytes_padding" parameter to smb_splice_chain
Volker Lendecke [Sun, 16 Nov 2008 17:02:17 +0000 (18:02 +0100)]
Add a "bytes_padding" parameter to smb_splice_chain

For example open&x and write&x needs the bytes to be aligned relative to the
SMB header. In particular for write&x we should not have to move stuff around.

10 years agoFactor out smb_splice_chain(), to be used by chain_reply() in smbd
Volker Lendecke [Wed, 12 Nov 2008 17:43:34 +0000 (18:43 +0100)]
Factor out smb_splice_chain(), to be used by chain_reply() in smbd

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn
Andrew Bartlett [Mon, 8 Dec 2008 20:27:02 +0000 (07:27 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn

10 years agos4:rpc_server: fix crash bugs in 26200f4fb1db81be7a9da51f317e46405351b170
Stefan Metzmacher [Mon, 8 Dec 2008 14:51:01 +0000 (15:51 +0100)]
s4:rpc_server: fix crash bugs in 26200f4fb1db81be7a9da51f317e46405351b170

call->context needs to be valid.

metze

10 years agos4:rpc_server: make it possible for iface->bind() to specify the assoc_group_id
Stefan Metzmacher [Fri, 5 Dec 2008 14:06:57 +0000 (15:06 +0100)]
s4:rpc_server: make it possible for iface->bind() to specify the assoc_group_id

This helps the openchange mapiproxy plugin to work correctly.

metze

10 years agoAdd implementation of 'dereference control' for use with OpenLDAP
Andrew Bartlett [Mon, 8 Dec 2008 11:22:54 +0000 (22:22 +1100)]
Add implementation of 'dereference control' for use with OpenLDAP

This uses the new control added to OpenLDAP to dereference a DN at
runtime over LDAP, allowing extended DNs to be used with that backend.

Andrew Bartlett

10 years agoAdd hint to use passwordAttributes in @KLUDGE_ACL in future
Andrew Bartlett [Mon, 8 Dec 2008 11:22:21 +0000 (22:22 +1100)]
Add hint to use passwordAttributes in @KLUDGE_ACL in future

10 years agoAdd ldb_reply_get_control:
Andrew Bartlett [Mon, 8 Dec 2008 11:18:13 +0000 (22:18 +1100)]
Add ldb_reply_get_control:

This allows controls on ldb replies to be found.

Andrew Bartlett

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn
Andrew Bartlett [Sun, 7 Dec 2008 22:19:13 +0000 (09:19 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn

Conflicts:

source4/torture/config.mk

10 years agoReplace some pointless variables in reply_open_pipe_and_X by comments
Volker Lendecke [Sun, 9 Nov 2008 18:57:10 +0000 (19:57 +0100)]
Replace some pointless variables in reply_open_pipe_and_X by comments

10 years agoFix nonempty blank lines
Volker Lendecke [Wed, 26 Nov 2008 13:01:22 +0000 (14:01 +0100)]
Fix nonempty blank lines

10 years agoSlightly simplify cli_session_setup_ntlmssp
Volker Lendecke [Sun, 30 Nov 2008 12:49:14 +0000 (13:49 +0100)]
Slightly simplify cli_session_setup_ntlmssp

Remove three pointless variables

10 years agos4:winbind: fill in the correct variable...
Stefan Metzmacher [Sat, 6 Dec 2008 14:48:10 +0000 (15:48 +0100)]
s4:winbind: fill in the correct variable...

metze

10 years agos4:secrets: remove unused structure
Stefan Metzmacher [Sat, 6 Dec 2008 14:38:49 +0000 (15:38 +0100)]
s4:secrets: remove unused structure

metze

10 years agoRPC-BROWSER: send the correct data in later requests
Stefan Metzmacher [Sat, 6 Dec 2008 14:04:34 +0000 (15:04 +0100)]
RPC-BROWSER: send the correct data in later requests

metze

10 years agos4:torture: add simple RPC-BROWSER test
Stefan Metzmacher [Sat, 6 Dec 2008 11:39:58 +0000 (12:39 +0100)]
s4:torture: add simple RPC-BROWSER test

metze

10 years agos4:librpc: add SUBSYSTEM::RPC_NDR_BROWSER
Stefan Metzmacher [Sat, 6 Dec 2008 13:18:13 +0000 (14:18 +0100)]
s4:librpc: add SUBSYSTEM::RPC_NDR_BROWSER

metze

10 years agos4:loadparm: start 'browser' rpc_server
Stefan Metzmacher [Sat, 6 Dec 2008 13:20:45 +0000 (14:20 +0100)]
s4:loadparm: start 'browser' rpc_server

metze

10 years agos4:dcesrv_browser: implement dcesrv_BrowserrQueryOtherDomains()
Stefan Metzmacher [Sat, 6 Dec 2008 13:19:58 +0000 (14:19 +0100)]
s4:dcesrv_browser: implement dcesrv_BrowserrQueryOtherDomains()

metze

10 years agos4:rpc_server: add dcesrv_browser template
Stefan Metzmacher [Sat, 6 Dec 2008 09:21:11 +0000 (10:21 +0100)]
s4:rpc_server: add dcesrv_browser template

metze

10 years agos4:brwoser.idl: add idl for BrowserrQueryOtherDomains()
Stefan Metzmacher [Sat, 6 Dec 2008 09:11:30 +0000 (10:11 +0100)]
s4:brwoser.idl: add idl for BrowserrQueryOtherDomains()

metze

10 years agos4:winbind: move setting up the primary_sid into a new function wbsrv_setup_domains()
Stefan Metzmacher [Fri, 5 Dec 2008 15:53:44 +0000 (16:53 +0100)]
s4:winbind: move setting up the primary_sid into a new function wbsrv_setup_domains()

metze

10 years agoFix logging to syslog
Dan Sledz [Sat, 6 Dec 2008 01:29:38 +0000 (17:29 -0800)]
Fix logging to syslog

10 years agoFix bug #5928 - Option --version in testparm does not work.
Tomasz Krasuski [Sat, 6 Dec 2008 00:30:39 +0000 (16:30 -0800)]
Fix bug #5928 - Option --version in testparm does not work.

10 years agoFix lp_socket_address() prototype.
Jeremy Allison [Fri, 5 Dec 2008 22:04:51 +0000 (14:04 -0800)]
Fix lp_socket_address() prototype.
Jeremy.

10 years agoFix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf
Yasuma Takeda [Fri, 5 Dec 2008 21:37:51 +0000 (13:37 -0800)]
Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf

10 years agoFix for crash bug freeing a non-malloc'ed buffer if the client sends a non-encrypted...
Volker Lendecke [Fri, 5 Dec 2008 21:20:55 +0000 (13:20 -0800)]
Fix for crash bug freeing a non-malloc'ed buffer if the client sends a non-encrypted packet with the crypto state set.

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn
Andrew Bartlett [Fri, 5 Dec 2008 20:46:40 +0000 (07:46 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn

10 years agos3-samr: fix samr_SetUserInfo level 18 server-side.
Günther Deschner [Fri, 5 Dec 2008 15:13:28 +0000 (16:13 +0100)]
s3-samr: fix samr_SetUserInfo level 18 server-side.

Guenther

10 years agos4-smbtorture: do full level 18, 21, 23, 24, 25, 26 testing in pwdlastset test.
Günther Deschner [Fri, 5 Dec 2008 15:11:15 +0000 (16:11 +0100)]
s4-smbtorture: do full level 18, 21, 23, 24, 25, 26 testing in pwdlastset test.

Guenther

10 years agos4-smbtorture: add support for level 18 and 21 in test_SetUserPass_level_ex.
Günther Deschner [Fri, 5 Dec 2008 15:07:06 +0000 (16:07 +0100)]
s4-smbtorture: add support for level 18 and 21 in test_SetUserPass_level_ex.

Guenther

10 years agos4-smbtorture: more tests for RPC-SAMR-PASSWORDS-PWDLASTSET.
Günther Deschner [Tue, 2 Dec 2008 22:22:14 +0000 (23:22 +0100)]
s4-smbtorture: more tests for RPC-SAMR-PASSWORDS-PWDLASTSET.

Guenther

10 years agos4-smbtorture: add test for setting passwords via samr_UserInfo21.
Günther Deschner [Fri, 5 Dec 2008 14:43:33 +0000 (15:43 +0100)]
s4-smbtorture: add test for setting passwords via samr_UserInfo21.

Guenther

10 years agos4-smbtorture: add test for setting passwords via samr_UserInfo18.
Günther Deschner [Fri, 5 Dec 2008 14:19:22 +0000 (15:19 +0100)]
s4-smbtorture: add test for setting passwords via samr_UserInfo18.

Guenther

10 years agos4-smbtorture: fix build of samr test (bad git merge).
Günther Deschner [Fri, 5 Dec 2008 14:47:48 +0000 (15:47 +0100)]
s4-smbtorture: fix build of samr test (bad git merge).

Guenther

10 years agomount.cifs: if mount user not specified use USER environment variable
Steve French [Fri, 5 Dec 2008 14:09:08 +0000 (08:09 -0600)]
mount.cifs: if mount user not specified use USER environment variable

smbfs also would use the USER environment variable if the user was not
specified on the mount command and no credential file specified, and
mount.cifs man page says that we will use this environment variable
(in most cases this will not cause a behavior change, because
we were doing getuid of the current process which will usually be
the same name).

Fixes Samba bug #5934

Acked-by: Jeff Layton
10 years agos3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.
Günther Deschner [Fri, 5 Dec 2008 11:59:07 +0000 (12:59 +0100)]
s3-rpcclient: add setuserinfo to set passwords using level 18,21,23,24,25,26.

Guenther

10 years agos3: store user session key in cli_rpc_pipe_open_noauth().
Günther Deschner [Thu, 4 Dec 2008 17:23:45 +0000 (18:23 +0100)]
s3: store user session key in cli_rpc_pipe_open_noauth().

Guenther

10 years agos3-samr: fix samr callers of samr_UserInfo18.
Günther Deschner [Thu, 4 Dec 2008 17:21:10 +0000 (18:21 +0100)]
s3-samr: fix samr callers of samr_UserInfo18.

Guenther

10 years agos4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.
Günther Deschner [Thu, 4 Dec 2008 17:18:06 +0000 (18:18 +0100)]
s4-samr: fix samr callers after SAMR_FIELD_PASSWORD change.

Guenther

10 years agos3-samr: fix SAMR_FIELD_PASSWORD callers.
Günther Deschner [Thu, 4 Dec 2008 17:15:03 +0000 (18:15 +0100)]
s3-samr: fix SAMR_FIELD_PASSWORD callers.

Guenther

10 years agos4-samr: fix s4 samr server after idl change.
Günther Deschner [Tue, 2 Dec 2008 22:27:08 +0000 (23:27 +0100)]
s4-samr: fix s4 samr server after idl change.

Guenther

10 years agos3-samr: fix rpcclient after idl change.
Günther Deschner [Tue, 2 Dec 2008 22:26:48 +0000 (23:26 +0100)]
s3-samr: fix rpcclient after idl change.

Guenther

10 years agos3-samr: fix init_samr_user_info2{1,3,5} callers.
Günther Deschner [Fri, 28 Nov 2008 23:36:23 +0000 (00:36 +0100)]
s3-samr: fix init_samr_user_info2{1,3,5} callers.

Guenther

10 years agos3-build: re-run make samba3-idl.
Günther Deschner [Fri, 28 Nov 2008 23:30:21 +0000 (00:30 +0100)]
s3-build: re-run make samba3-idl.

Guenther

10 years agosamr: fix samr_UserInfo18, lm/nt pwd mixup.
Günther Deschner [Fri, 5 Dec 2008 11:40:19 +0000 (12:40 +0100)]
samr: fix samr_UserInfo18, lm/nt pwd mixup.

Guenther

10 years agosamr: fix samr_UserInfo18. It also contains password_expired, thanks metze.
Günther Deschner [Thu, 4 Dec 2008 17:19:29 +0000 (18:19 +0100)]
samr: fix samr_UserInfo18. It also contains password_expired, thanks metze.

Guenther

10 years agosamr: make more explicit what SAMR_FIELD_PASSWORD{2} means.
Günther Deschner [Thu, 4 Dec 2008 17:12:45 +0000 (18:12 +0100)]
samr: make more explicit what SAMR_FIELD_PASSWORD{2} means.

Guenther

10 years agosamr: fill in two unknowns in samr_UserInfo21.
Günther Deschner [Thu, 4 Dec 2008 12:09:38 +0000 (13:09 +0100)]
samr: fill in two unknowns in samr_UserInfo21.

Guenther

10 years agosamr: fill in two unknowns in samr_DomInfo13.
Günther Deschner [Tue, 2 Dec 2008 22:25:16 +0000 (23:25 +0100)]
samr: fill in two unknowns in samr_DomInfo13.

Guenther

10 years agosamr: fix samr_UserInfo21 (order of lm_password_set and nt_password_set).
Günther Deschner [Fri, 28 Nov 2008 23:29:47 +0000 (00:29 +0100)]
samr: fix samr_UserInfo21 (order of lm_password_set and nt_password_set).

Guenther

10 years agos3-rpcclient: add get_domain_handle for samr commands.
Günther Deschner [Fri, 28 Nov 2008 23:27:28 +0000 (00:27 +0100)]
s3-rpcclient: add get_domain_handle for samr commands.

Guenther

10 years agos4:password_hash: really catch the clearTextPasswordAttr case...
Stefan Metzmacher [Fri, 5 Dec 2008 12:29:58 +0000 (13:29 +0100)]
s4:password_hash: really catch the clearTextPasswordAttr case...

This fixes the creation of the user object for incoming trusts
in dcesrv_lsa_CreateTrustedDomain_base().

And now w2k3 trust samba4 just fine:-)

metze

10 years agovfs_cifs - Use ntvfs request transport close to close downstream session
Sam Liddicott [Fri, 5 Dec 2008 09:05:47 +0000 (09:05 +0000)]
vfs_cifs - Use ntvfs request transport close to close downstream session

When upstream session closes, close the downstream session

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
10 years agoLet ntvfs request transport close via ntvfs_request state
Sam Liddicott [Fri, 5 Dec 2008 09:04:55 +0000 (09:04 +0000)]
Let ntvfs request transport close via ntvfs_request state

[I can't swear that this covers all the smb2 cases, there are some reply
functions that I can't trace properly]

Add NTVFS_ASYNC_STATE_CLOSE bit to ntvfs_request->async_states->state
so that the ntvfs layer can signify that the client transport should
be closed, most useful for proxy servies, and most likely due to a
forwarding transport having been closed.

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
10 years agoFix bug #5937 - filenames with "*" char hide other files
Jeremy Allison [Thu, 4 Dec 2008 23:35:32 +0000 (15:35 -0800)]
Fix bug #5937 - filenames with "*" char hide other files
Jeremy.

10 years agoFix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and...
Henning Henkel [Thu, 4 Dec 2008 21:55:12 +0000 (13:55 -0800)]
Fix bug #5929 - vfs_prealloc does not build with option --with-cluster-support and GPFS

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn
Andrew Bartlett [Thu, 4 Dec 2008 21:24:37 +0000 (08:24 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn

10 years agoFix bug #1254 - write list not working under share-level security
Jeremy Allison [Thu, 4 Dec 2008 19:20:57 +0000 (11:20 -0800)]
Fix bug #1254 - write list not working under share-level security
A somewhat more elegant fix than I could use for 3.2.x or 3.0.x.
Turns out the only part of check_user_ok() that needs to change
for share level security is the VUID cache pieces, so I can just
always use check_user_ok() for all lp_security() cases.
Jeremy

10 years agos4:kludge_acl: allow everybody to read the sequence number
Stefan Metzmacher [Thu, 4 Dec 2008 14:40:31 +0000 (15:40 +0100)]
s4:kludge_acl: allow everybody to read the sequence number

metze

10 years agos4:kdc: allow a trusted domain to get kerberos tickets
Stefan Metzmacher [Thu, 4 Dec 2008 14:09:21 +0000 (15:09 +0100)]
s4:kdc: allow a trusted domain to get kerberos tickets

metze

10 years agos3:winbindd: fix horrible mis-indentation of toplvl braces in getgrsid_sid2gid_recv
Michael Adam [Thu, 4 Dec 2008 13:00:44 +0000 (14:00 +0100)]
s3:winbindd: fix horrible mis-indentation of toplvl braces in getgrsid_sid2gid_recv

to make code more readble

Michael

10 years agos3:winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)
Michael Adam [Wed, 3 Dec 2008 15:38:55 +0000 (16:38 +0100)]
s3:winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd)

This is just to find the corresponding domain struct.
Actual connection is handled by the domain child.

Michael

10 years agos3:winbindd: don't open a new dc connection in winbindd_getgrnam (main winbindd)
Michael Adam [Wed, 3 Dec 2008 14:59:17 +0000 (15:59 +0100)]
s3:winbindd: don't open a new dc connection in winbindd_getgrnam (main winbindd)

This is just to find the corresponding domain struct.
Actual connection is handled by the domain child.

Michael

10 years agos4:selftest: we have netr_GetDcName() and netr_GetAnyDCName() implementations now
Stefan Metzmacher [Thu, 4 Dec 2008 11:47:43 +0000 (12:47 +0100)]
s4:selftest: we have netr_GetDcName() and netr_GetAnyDCName() implementations now

metze

10 years agoRAW-NETLOGON: check netr_GetAnyDCName() result
Stefan Metzmacher [Thu, 4 Dec 2008 11:46:30 +0000 (12:46 +0100)]
RAW-NETLOGON: check netr_GetAnyDCName() result

metze

10 years agos4:netlogon: for now implement netr_GetAnyDCName() as wrapper of netr_GetDcName()
Stefan Metzmacher [Thu, 4 Dec 2008 11:03:01 +0000 (12:03 +0100)]
s4:netlogon: for now implement netr_GetAnyDCName() as wrapper of netr_GetDcName()

metze

10 years agos4:netlogon: Implement netr_GetDcName() similar to netr_DsGetDCName()
Stefan Metzmacher [Thu, 4 Dec 2008 10:56:51 +0000 (11:56 +0100)]
s4:netlogon: Implement netr_GetDcName() similar to netr_DsGetDCName()

metze

10 years agos3:net: fix password set of 'net rpc trustdom add'
Stefan Metzmacher [Thu, 4 Dec 2008 11:26:03 +0000 (12:26 +0100)]
s3:net: fix password set of 'net rpc trustdom add'

metze

10 years agos3: Fix FILE_FLAG_POSIX_SEMANTICS handling underneath SMB_VFS_CREATE_FILE
Tim Prouty [Mon, 1 Dec 2008 22:13:14 +0000 (14:13 -0800)]
s3: Fix FILE_FLAG_POSIX_SEMANTICS handling underneath SMB_VFS_CREATE_FILE

10 years agos3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argument
Tim Prouty [Mon, 1 Dec 2008 20:47:31 +0000 (12:47 -0800)]
s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argument

This replaces the is_dos_path bool with a more future-proof argument.
The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead
of overridding the oplock_request.

10 years agos3: Simplify the create_file_unix_path->open_file_ntcreate path
Tim Prouty [Sun, 23 Nov 2008 03:40:09 +0000 (19:40 -0800)]
s3: Simplify the create_file_unix_path->open_file_ntcreate path

Also removed open_file_ntcreate/open_file from proto.h so they can no
longer be called directly.

10 years agos3: Modify direct caller of open_file to call SMB_VFS_CREATE_FILE
Tim Prouty [Sun, 23 Nov 2008 03:37:24 +0000 (19:37 -0800)]
s3: Modify direct caller of open_file to call SMB_VFS_CREATE_FILE

10 years agos3: Modify direct callers of open_file_ntcreate and open_directory to call SMB_VFS_CR...
Tim Prouty [Fri, 21 Nov 2008 02:55:24 +0000 (18:55 -0800)]
s3: Modify direct callers of open_file_ntcreate and open_directory to call SMB_VFS_CREATE_FILE

10 years agos3: Modify direct callers of create_file_unix_path to call SMB_VFS_CREATE_FILE
Tim Prouty [Thu, 20 Nov 2008 02:03:27 +0000 (18:03 -0800)]
s3: Modify direct callers of create_file_unix_path to call SMB_VFS_CREATE_FILE

10 years agos3: Add SMB_VFS_CREATE_FILE to vfs_full_audit module
Tim Prouty [Sun, 23 Nov 2008 22:37:37 +0000 (14:37 -0800)]
s3: Add SMB_VFS_CREATE_FILE to vfs_full_audit module

10 years agos3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILE
Tim Prouty [Thu, 20 Nov 2008 01:55:28 +0000 (17:55 -0800)]
s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILE

Now unix paths can be differentiated from windows paths so the
underlying create_file implementations can convert paths correctly.

10 years agos3: Add SMB_VFS_CREATE_FILE to the vfs layer
Tim Prouty [Tue, 21 Oct 2008 00:43:45 +0000 (17:43 -0700)]
s3: Add SMB_VFS_CREATE_FILE to the vfs layer

Modify all callers of create_file to go through SMB_VFS_CREATE_FILE

10 years agoMake greater use of 'GUID_from_data_blob'
Andrew Bartlett [Wed, 3 Dec 2008 23:38:07 +0000 (10:38 +1100)]
Make greater use of 'GUID_from_data_blob'

This avoids accidentily running off the end of a string, and uses a
single 'guess which type of GUID I have' algorithm.

Andrew Bartlett

10 years agos3: Change sockaddr util function names for consistency
Tim Prouty [Wed, 3 Dec 2008 07:29:57 +0000 (23:29 -0800)]
s3: Change sockaddr util function names for consistency

Also eliminates name conflicts with OneFS system libraries

10 years agos4: add some useful link and the patch for the ntp_signd support
Stefan Metzmacher [Wed, 3 Dec 2008 16:41:09 +0000 (17:41 +0100)]
s4: add some useful link and the patch for the ntp_signd support

metze

10 years agolibwbclient: avoid usage talloc_init() in library code
Stefan Metzmacher [Wed, 3 Dec 2008 08:07:00 +0000 (09:07 +0100)]
libwbclient: avoid usage talloc_init() in library code

talloc_init() is a compat function for the old samba3
non-hierachical talloc implementation. It enables
the talloc null tracking which should never be done
by library code.

metze

10 years agoAdd support for OneFS ACLs
Steven Danneman [Wed, 3 Dec 2008 04:15:34 +0000 (20:15 -0800)]
Add support for OneFS ACLs

Add to the OneFS VFS module, support for NTFS ACLs through the calls:

SMB_VFS_FGET_NT_ACL()
SMB_VFS_GET_NT_ACL()
SMB_VFS_FSET_NT_ACL()

Also create several new onefs specific smb.conf parameters in onefs.h

10 years agoAdd OneFS VFS module skeleton.
Tim Prouty [Fri, 24 Oct 2008 03:49:55 +0000 (20:49 -0700)]
Add OneFS VFS module skeleton.

Also set configure to autodetect OneFS OS and build this VFS module.

10 years agoAdd debugs and handle 'replace' without new elements.
Andrew Bartlett [Tue, 2 Dec 2008 23:58:38 +0000 (10:58 +1100)]
Add debugs and handle 'replace' without new elements.

10 years agoFix ldap.py 'modify with an GUID-only DN' test.
Andrew Bartlett [Tue, 2 Dec 2008 23:56:54 +0000 (10:56 +1100)]
Fix ldap.py 'modify with an GUID-only DN' test.

The issue here was that the DN at this point had only a GUID, but the
result from the search was with the real DN.

Andrew Bartlett

10 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn
Andrew Bartlett [Tue, 2 Dec 2008 20:47:50 +0000 (07:47 +1100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into extended-dn

10 years agodocs: Add default value for "writeable" to man smb.conf.
Karolin Seeger [Tue, 2 Dec 2008 19:50:02 +0000 (20:50 +0100)]
docs: Add default value for "writeable" to man smb.conf.

Karolin

10 years agoImplement type multi_sz for "net registry setvalue"
Volker Lendecke [Tue, 2 Dec 2008 14:04:45 +0000 (15:04 +0100)]
Implement type multi_sz for "net registry setvalue"

10 years agos3-net: allow to list a keytab generated using net rpc vampire.
Günther Deschner [Tue, 2 Dec 2008 11:57:02 +0000 (12:57 +0100)]
s3-net: allow to list a keytab generated using net rpc vampire.

Guenther

10 years agoconfigure.in: Fix smbtorture_s3 tests.
Kai Blin [Tue, 2 Dec 2008 09:26:42 +0000 (10:26 +0100)]
configure.in: Fix smbtorture_s3 tests.

Seems like Jeremy forgot to fix configure.in when importing d448132 to master
in 8d674e35. Generate the vfs_streams_depot module so make test works again.

10 years agos3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.
Günther Deschner [Tue, 2 Dec 2008 01:08:05 +0000 (02:08 +0100)]
s3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.

Guenther

10 years agos3-samr: fix samr_SetUserInfo{2} level 23.
Günther Deschner [Mon, 1 Dec 2008 23:58:53 +0000 (00:58 +0100)]
s3-samr: fix samr_SetUserInfo{2} level 23.

Do not just start decoding/setting passwords when fields_present
do not indicate there is a password to be set.

Guenther

10 years agoAttempt to fix a build failure on AIX
Volker Lendecke [Tue, 2 Dec 2008 08:51:46 +0000 (09:51 +0100)]
Attempt to fix a build failure on AIX

10 years agos3: Fix 'ctx' might be used unitialized warnings
Tim Prouty [Tue, 2 Dec 2008 05:56:59 +0000 (21:56 -0800)]
s3: Fix 'ctx' might be used unitialized warnings

10 years agoBe less aggressive with talloc_free() - avoid memory corruption
Andrew Bartlett [Tue, 2 Dec 2008 05:25:38 +0000 (16:25 +1100)]
Be less aggressive with talloc_free() - avoid memory corruption

It seems the talloc tree in ldb is very complex - better to just let
it be cleaned up by the caller when they are done with the whole
thing.

Andrew Bartlett

10 years agoDon't treat the DN+binary syntax as a DN.
Andrew Bartlett [Tue, 2 Dec 2008 03:22:24 +0000 (14:22 +1100)]
Don't treat the DN+binary syntax as a DN.

This should fix the OpenLDAP backend