Volker Lendecke [Thu, 24 Dec 2009 11:52:24 +0000 (12:52 +0100)]
s3: Replace IS_DOMAIN_OFFLINE by a function
Volker Lendecke [Wed, 23 Dec 2009 14:22:09 +0000 (15:22 +0100)]
s3: Fix some nonempty blank lines
Volker Lendecke [Thu, 24 Dec 2009 11:52:00 +0000 (12:52 +0100)]
s3: winbindd_cli_state->getgrent_state is no longer used
Volker Lendecke [Thu, 24 Dec 2009 11:51:09 +0000 (12:51 +0100)]
s3: getgrent_state has been replaced by grent_state
Jelmer Vernooij [Fri, 25 Dec 2009 13:48:45 +0000 (14:48 +0100)]
py_net/libnet: Remove C++-style comments, add more error checking, move
initialization of dcerpc subsystem to libnet.
Kamen Mazdrashki [Thu, 24 Dec 2009 03:50:58 +0000 (05:50 +0200)]
s4-libnet: Simple test for net.SetPassword() python binding
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Kamen Mazdrashki [Thu, 24 Dec 2009 03:43:21 +0000 (05:43 +0200)]
s4-libnet: Python binding for libnet_SetPassword()
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Kamen Mazdrashki [Thu, 24 Dec 2009 02:08:12 +0000 (04:08 +0200)]
s4-net: Fix 'talloc_free with references ...' error
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Stefan Metzmacher [Wed, 23 Dec 2009 08:09:37 +0000 (09:09 +0100)]
s4:auth: change auth_check_password_send/recv to tevent_req
metze
Stefan Metzmacher [Tue, 22 Dec 2009 15:24:44 +0000 (16:24 +0100)]
s4:gensec: change gensec_update_send/recv to tevent_req
metze
Stefan Metzmacher [Wed, 23 Dec 2009 10:16:32 +0000 (11:16 +0100)]
s4:kdc: use the remote and local address from the stream_connection struct
metze
Stefan Metzmacher [Wed, 23 Dec 2009 10:48:06 +0000 (11:48 +0100)]
s4:smbd: hold tsocket_addresses on the stream_connection
metze
Stefan Metzmacher [Wed, 23 Dec 2009 09:19:43 +0000 (10:19 +0100)]
s4:smb_server: fix mixing socket_address and tsocket_address
metze
Stefan Metzmacher [Wed, 23 Dec 2009 09:43:05 +0000 (10:43 +0100)]
s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address instead of a socket_address
metze
Stefan Metzmacher [Wed, 23 Dec 2009 08:38:21 +0000 (09:38 +0100)]
s4:lib/socket: add helpers functions to convert between socket_address and tsocket_address
metze
Stefan Metzmacher [Wed, 23 Dec 2009 18:34:32 +0000 (19:34 +0100)]
tsocket: only copy the specific part of sockaddr*
This makes sure we fill the unspefic bytes with 0
and have zero termination for sockaddr_un.
metze
Stefan Metzmacher [Wed, 23 Dec 2009 18:31:41 +0000 (19:31 +0100)]
tsocket: allow AF_UNIX sockaddrs smaller than sizeof(sockaddr_un)
This is needed as getpeername() truncates the length to 2 if the
peer socket has no name.
metze
Volker Lendecke [Thu, 24 Dec 2009 12:51:50 +0000 (13:51 +0100)]
s3: Remove unused delete_negative_conn_cache()
Volker Lendecke [Thu, 24 Dec 2009 12:50:39 +0000 (13:50 +0100)]
s3: Remove unused flush_negative_conn_cache()
Volker Lendecke [Thu, 24 Dec 2009 12:47:35 +0000 (13:47 +0100)]
s3: Remove some unnecessary variables from libsmb/conn_cache.c
Volker Lendecke [Thu, 24 Dec 2009 12:46:16 +0000 (13:46 +0100)]
s3: Fix a comment in conn_cache.c
Volker Lendecke [Thu, 24 Dec 2009 12:40:24 +0000 (13:40 +0100)]
s3: Fix a 64-bit error
Volker Lendecke [Thu, 24 Dec 2009 12:36:00 +0000 (13:36 +0100)]
s3: Remove some pointless SMB_ASSERTs
Volker Lendecke [Thu, 24 Dec 2009 12:14:18 +0000 (13:14 +0100)]
s3: Remove some pointless casts
Jeremy Allison [Thu, 24 Dec 2009 01:19:22 +0000 (17:19 -0800)]
Attempt to fix one of the last two bugs with the full Windows ACL support.
When returning an underlying ACL on a directory, normally on a
POSIX system it has no inheritable entries, which breaks the
Windows ACL when a user does a get/set of a Windows ACL on a
POSIX directory with no existing stored Windows ACL from
the Windows ACL editor. What happens is any new entry added
by the user gets set inheritable, but none of the others
entries are (as returned by default). So any new files then
only inherit the single new ACE entry (the one marked inheritable
by the ACL editor).
Fix this by faking up a default 3 element inheritable ACL that
represents what a user creating a POSIX file or directory will
get by default from the smbd code.
Jeremy.
Jeremy Allison [Thu, 24 Dec 2009 01:17:48 +0000 (17:17 -0800)]
The posix acl version of set_nt_acl() could set the stat_ex
struct in the fsp->fsp_name pointer incorrectly for a directory.
Fix this. Make map_canon_ace_perms() public.
Jeremy.
Simo Sorce [Wed, 23 Dec 2009 20:17:16 +0000 (15:17 -0500)]
s4:cleanups More trailing spaces and tabs
Simo Sorce [Wed, 23 Dec 2009 20:08:02 +0000 (15:08 -0500)]
s4:cleanups remove trailing spaces and tabs
Suresh Jayaraman [Wed, 23 Dec 2009 16:41:39 +0000 (11:41 -0500)]
doc: update mount.cifs man page with nounix option
Change since last post:
- fix build error due to superfluous </para> tag.
- ensure it builds fine.
Also add a section on INODE NUMBERS that discusses inode numbers more
thoroughly and add reference to it in "nounix" and "noserverino"
options.
Thanks to Jeff Layton for explaining those details.
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Simo Sorce [Wed, 23 Dec 2009 15:33:26 +0000 (10:33 -0500)]
s4:ldb Fix declaration in the middle of the code
Simo Sorce [Wed, 23 Dec 2009 15:28:14 +0000 (10:28 -0500)]
s4: Fix the build
Matthieu Patou [Sat, 5 Dec 2009 14:56:35 +0000 (17:56 +0300)]
s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodify
Matthieu Patou [Tue, 22 Dec 2009 17:44:19 +0000 (20:44 +0300)]
s4: make ldbadd/ldbmodify/ldbdelete really use the --controls switch
Volker Lendecke [Wed, 23 Dec 2009 12:10:55 +0000 (13:10 +0100)]
s3: wbinfo --ping-dc is not cacheable
Volker Lendecke [Wed, 23 Dec 2009 10:48:33 +0000 (11:48 +0100)]
s3: Remove some unused code
Volker Lendecke [Wed, 23 Dec 2009 10:39:10 +0000 (11:39 +0100)]
s3: Remove unused sendto_child()
Günther Deschner [Wed, 16 Dec 2009 20:22:50 +0000 (21:22 +0100)]
s3-net: use generated krb5.conf in 'net ads testjoin'
Guenther
Günther Deschner [Wed, 23 Dec 2009 09:33:13 +0000 (10:33 +0100)]
s3-docs: mention -M option and remove nonexisting -G option in pdbedit manpage.
Guenther
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: only include ntlmssp.h where actually needed
Andrew Bartlett
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: remove the typedef NTLMSSP_STATE
Andrew Bartlett
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: move to C99 integer types in ntlmssp.h
Andrew Bartlett
Andrew Bartlett [Tue, 22 Dec 2009 07:50:55 +0000 (18:50 +1100)]
s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_role
Andrew Bartlett
Andrew Bartlett [Tue, 22 Dec 2009 07:20:02 +0000 (18:20 +1100)]
libcli/auth Make gd's NDR NTLMSSP parsers helpers common
(but not built in Samba4 for now)
Volker Lendecke [Tue, 22 Dec 2009 15:06:17 +0000 (16:06 +0100)]
s3: Restore correct timeouts for SMB requests
Volker Lendecke [Tue, 22 Dec 2009 13:07:52 +0000 (14:07 +0100)]
s3: Remove a pointless else branch
Volker Lendecke [Tue, 22 Dec 2009 12:53:13 +0000 (13:53 +0100)]
s3: Move smb_splice_chain to smbd/process.c, its only user
Andrew Bartlett [Tue, 8 Dec 2009 05:50:18 +0000 (16:50 +1100)]
s4:gensec Don't give a warning when Windows client connects with NTLM
We have had the workaround for a long time, but at the time the log
warnings remained.
Andrew Bartlett
Andrew Bartlett [Mon, 14 Dec 2009 09:32:47 +0000 (20:32 +1100)]
s4:auth Change 'get_challenge' API to be more like Samba3
It is just easier to fill in the known to be 8 byte challenge than
stuff about with allocated pointers.
Andrew Bartlett
Andrew Bartlett [Tue, 22 Dec 2009 06:21:06 +0000 (17:21 +1100)]
s4:auth generate the prototype file in the right place
Andrew Bartlett [Fri, 18 Dec 2009 04:30:41 +0000 (15:30 +1100)]
Samba4 and LDB requires talloc 2.0.1
reported by ewoud@kohlvanwijngaarden.nl
Jeremy Allison [Tue, 22 Dec 2009 01:46:32 +0000 (17:46 -0800)]
Fix bug reported in mangle_hash code (no bugid yet).
Don't change the contents of a const string via a pointer
alias (or if you do, change it back.....).
Jeremy.
Tim Prouty [Wed, 2 Dec 2009 19:39:50 +0000 (11:39 -0800)]
s4 torture: Add RAW-OPLOCK-EXCLUSIVE7 which is similar to BATCH19
Tim Prouty [Wed, 2 Dec 2009 01:40:30 +0000 (17:40 -0800)]
s4 torture: Update raw oplock to use win7 as the baseline for rename oplock break behavior
Tim Prouty [Mon, 21 Dec 2009 22:48:43 +0000 (14:48 -0800)]
s4 torture: Be more permissive with share modes for oplock testing
Share modes are tested elsewhere, and there is currently an outstanding
issue about share mode contention for nt-passthrough levels:
http://lists.samba.org/archive/cifs-protocol/2009-December/001227.html
Tim Prouty [Mon, 21 Dec 2009 22:38:45 +0000 (14:38 -0800)]
s4 torture: Do a better job of closing open files in RAW-OPLOCK.
Jelmer Vernooij [Tue, 22 Dec 2009 00:24:58 +0000 (01:24 +0100)]
param: Fix build on systems without ldb installed.
Jelmer Vernooij [Sun, 20 Dec 2009 17:31:27 +0000 (18:31 +0100)]
provision/pyldb: Avoid linking in static python ldb module.
Jelmer Vernooij [Sun, 20 Dec 2009 17:05:38 +0000 (18:05 +0100)]
ldb_wrap: Fix compilation when using system ldb.
Jelmer Vernooij [Sun, 20 Dec 2009 17:01:24 +0000 (18:01 +0100)]
tdb: Also build and install tdb manpages from standalone tdb.
Jelmer Vernooij [Sun, 20 Dec 2009 16:51:07 +0000 (17:51 +0100)]
tdb: Fix formatting of API check file.
Jelmer Vernooij [Sun, 20 Dec 2009 16:49:48 +0000 (17:49 +0100)]
Fix initialisation of TypeObject samba.param.LoadparmService.
Found by Ricardo Jorge <rvelhote@gmail.com>.
Volker Lendecke [Mon, 21 Dec 2009 20:50:43 +0000 (21:50 +0100)]
s3:winbind: Add a lower-cost alternative to wbinfo -t: wbinfo --ping-dc
This just does a NULL RPC call through an existing NETLOGON connection. If
someone knows an operation that "just works" and does not return NOT_SUPPORTED,
please tell me :-)
Volker Lendecke [Mon, 21 Dec 2009 21:34:55 +0000 (22:34 +0100)]
s3:winbindd: Fix a brown paper bag bug in wbinfo -t ...
Jeremy Allison [Mon, 21 Dec 2009 19:16:38 +0000 (11:16 -0800)]
Rename reply_doserror() -> reply_force_doserror().
Rewrite all calls to reply_nterror(NT_STATUS_DOS()) to
reply_force_doserror() and update the comment in smbd/error.c
Jeremy.
Jeremy Allison [Mon, 21 Dec 2009 19:05:25 +0000 (11:05 -0800)]
Remove all calls to reply_doserror - turn them into
correct reply_nterror calls. Next rename reply_doserror ->
reply_force_doserror and plumb in when NT_STATUS_DOS is
used.
Jeremy.
Jeremy Allison [Mon, 21 Dec 2009 19:05:11 +0000 (11:05 -0800)]
Rename 282 -> ERReasnotsupported.
Jeremy.
Günther Deschner [Mon, 21 Dec 2009 16:30:07 +0000 (17:30 +0100)]
s3-docs: mention long and undocumented option names in rpcclient manpage.
Guenther
Günther Deschner [Mon, 21 Dec 2009 16:18:53 +0000 (17:18 +0100)]
s3-docs: mention long and undocumented option names in smbcacls manpage.
Guenther
Günther Deschner [Mon, 21 Dec 2009 15:24:31 +0000 (16:24 +0100)]
s3-docs: mention long and undocumented option names in smbclient manpage.
Guenther
Günther Deschner [Mon, 21 Dec 2009 15:07:42 +0000 (16:07 +0100)]
s3-docs: mention -O, --stdout in smbget manpage.
Guenther
Günther Deschner [Mon, 21 Dec 2009 15:04:49 +0000 (16:04 +0100)]
s3-docs: mention long option names in smbtree manpage.
Guenther
Günther Deschner [Thu, 17 Dec 2009 14:51:36 +0000 (15:51 +0100)]
s3-docs: mention long and undocumented option names in pdbedit manpage.
Guenther
Günther Deschner [Mon, 21 Dec 2009 15:04:06 +0000 (16:04 +0100)]
s3-docs: mention all long option names in samba.entities file.
Guenther
Günther Deschner [Mon, 21 Dec 2009 14:41:13 +0000 (15:41 +0100)]
s3-docs: not working for SuSE anymore...
Guenther
Volker Lendecke [Mon, 21 Dec 2009 14:27:39 +0000 (15:27 +0100)]
s3: Shrink winbindd_proto.h a bit
Volker Lendecke [Mon, 21 Dec 2009 14:11:55 +0000 (15:11 +0100)]
s3: Fix some nonempty blank lines
Volker Lendecke [Mon, 21 Dec 2009 14:02:56 +0000 (15:02 +0100)]
s3: Remove unused get_sam_group_entries
Volker Lendecke [Mon, 21 Dec 2009 14:01:44 +0000 (15:01 +0100)]
s3: Remove unused winbindd_dual_getsidaliases
Volker Lendecke [Mon, 21 Dec 2009 13:59:11 +0000 (14:59 +0100)]
s3: Remove an unused struct definition
Volker Lendecke [Mon, 21 Dec 2009 13:58:21 +0000 (14:58 +0100)]
s3: Remove unused winbindd_dual_getuserdomgroups
Volker Lendecke [Mon, 21 Dec 2009 13:57:03 +0000 (14:57 +0100)]
s3: Remove unused winbindd_dual_getdcname
Volker Lendecke [Mon, 21 Dec 2009 13:55:02 +0000 (14:55 +0100)]
s3: Remove unused winbindd_dual_lookupname
Volker Lendecke [Mon, 21 Dec 2009 13:54:15 +0000 (14:54 +0100)]
s3: Remove unused winbindd_dual_lookupsid
Volker Lendecke [Mon, 21 Dec 2009 13:49:48 +0000 (14:49 +0100)]
s3: Remove unused winbindd_dual_userinfo
Volker Lendecke [Mon, 21 Dec 2009 13:47:57 +0000 (14:47 +0100)]
s3: Remove some unused dual functions
Volker Lendecke [Mon, 21 Dec 2009 13:42:18 +0000 (14:42 +0100)]
s3: Remove unused do_async
Volker Lendecke [Mon, 21 Dec 2009 13:40:09 +0000 (14:40 +0100)]
s3: Remove unused winbindd_gid2sid_async
Volker Lendecke [Mon, 21 Dec 2009 13:39:36 +0000 (14:39 +0100)]
s3: Remove unused winbindd_uid2sid_async
Volker Lendecke [Mon, 21 Dec 2009 13:38:31 +0000 (14:38 +0100)]
s3: Remove unused winbindd_sid2gid_async
Volker Lendecke [Mon, 21 Dec 2009 13:37:54 +0000 (14:37 +0100)]
s3: Remove unused winbindd_sid2uid_async
Volker Lendecke [Mon, 21 Dec 2009 13:36:24 +0000 (14:36 +0100)]
s3: Remove unused do_async_domain
Volker Lendecke [Mon, 21 Dec 2009 13:34:15 +0000 (14:34 +0100)]
s3: Remove unused query_user_async
Volker Lendecke [Mon, 21 Dec 2009 13:33:26 +0000 (14:33 +0100)]
s3: Remove unused winbindd_getsidaliases_async
Volker Lendecke [Mon, 21 Dec 2009 13:32:34 +0000 (14:32 +0100)]
s3: Remove unused winbindd_lookupname_async
Volker Lendecke [Mon, 21 Dec 2009 13:31:31 +0000 (14:31 +0100)]
s3: Remove unused winbindd_lookupsid_async
Andrew Tridgell [Mon, 21 Dec 2009 12:36:23 +0000 (23:36 +1100)]
s4-schema: fixed the sorting of schema attributes
another case of unsigned int subtracting breaking sorts. This one
surfaced now as attributeID_id now can be larger than 2^31
Andrew Tridgell [Mon, 21 Dec 2009 12:19:08 +0000 (23:19 +1100)]
s4-torture: update uuid_compare test for new behaviour
Kamen Mazdrashki [Fri, 18 Dec 2009 23:49:31 +0000 (01:49 +0200)]
s4-drs: Implement constraints on ATTID values in prefixMap
Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Kamen Mazdrashki [Fri, 18 Dec 2009 23:48:41 +0000 (01:48 +0200)]
s4-tort: Test handling of different ATTID values in prefixMap interface.
It turns out ATTID values are separated in ranges.
Ref: MS-ADTS, 3.1.1.2.6 ATTRTYP
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Nadezhda Ivanova [Fri, 18 Dec 2009 16:00:15 +0000 (18:00 +0200)]
Adapted acl module to skip checks if as_system control is provided.
Signed-off-by: Andrew Tridgell <tridge@samba.org>