Stefan Metzmacher
05f7a86a99
s3:ntlmssp: remove unused ntlmssp_stored_response()
...
metze
2009-12-29 08:46:12 +01:00
Stefan Metzmacher
7cff7d937e
s3:ntlmssp: remove unused ref_count from ntlmssp_state
...
metze
2009-12-29 08:19:01 +01:00
Stefan Metzmacher
e78558a45b
s3:ntlmssp: fix whitespace in ntlmssp.h
...
metze
2009-12-29 08:19:00 +01:00
Stefan Metzmacher
5541a91dff
s3:ntlmssp: fix spelling
...
metze
2009-12-29 08:19:00 +01:00
Stefan Metzmacher
5ff127b641
s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_type
...
metze
2009-12-29 08:19:00 +01:00
Volker Lendecke
e5fbff0963
s3: Check for lp_winbind_trusted_domains_only in wb_gettoken()
...
This avoids one walk of the domain list
2009-12-28 23:35:07 +01:00
Volker Lendecke
c0289d63c3
s3: Move a lp_winbind_trusted_domains_only() check to wb_getgrsid()
...
winbindd_getgrgid was not protected by this.
2009-12-28 23:20:02 +01:00
Volker Lendecke
b8fcba9cb8
s3: Pass netr_DomainTrustList instead of names and sids through (*trusted_domains)
2009-12-28 15:54:13 +01:00
Volker Lendecke
0aa8946ce0
s3: Simplify winbindd_ads.c:trusted_domains()
...
No real code change, this just removes an indentation by turning
if ( NT_STATUS_IS_OK(result) && trusts.count) {
into
if (!NT_STATUS_IS_OK(result)) {
return result;
}
if (trusts.count == 0) {
return NT_STATUS_OK;
}
2009-12-28 15:28:43 +01:00
Volker Lendecke
2c49678ce5
s3: Remove some unused code
...
Watch the #if 0 -- we never stored this in the cache anymore
2009-12-28 14:59:46 +01:00
Volker Lendecke
d53cfb7675
s3: Simplify winbindd_list_trusted_domains() slightly
2009-12-28 14:59:45 +01:00
Volker Lendecke
2daa084da4
s3: Simplify "setup_domain_child" slightly
2009-12-28 14:59:45 +01:00
Volker Lendecke
ff0f8bd9e6
s3:winbind Make the normal client exit message a bit more understandable
2009-12-26 18:00:47 +01:00
Volker Lendecke
0a6a13dd07
s3: Fix a typo found by Matthias Dieter Wallnöfer <mdw@samba.org> -- thanks :-)
2009-12-26 15:21:09 +01:00
Volker Lendecke
7e66145560
s3: Fix a bogus uninitialized variable warning
2009-12-26 12:26:07 +01:00
Volker Lendecke
634d084517
s3: Replace IS_DOMAIN_OFFLINE by a function
2009-12-26 12:26:07 +01:00
Volker Lendecke
50e5f9dc51
s3: Fix some nonempty blank lines
2009-12-26 12:26:06 +01:00
Volker Lendecke
03617df24d
s3: winbindd_cli_state->getgrent_state is no longer used
2009-12-26 12:26:06 +01:00
Volker Lendecke
b911a7b2d4
s3: getgrent_state has been replaced by grent_state
2009-12-26 12:26:06 +01:00
Volker Lendecke
96207912cb
s3: Remove unused delete_negative_conn_cache()
2009-12-24 15:24:35 +01:00
Volker Lendecke
ffab1a2318
s3: Remove unused flush_negative_conn_cache()
2009-12-24 15:24:35 +01:00
Volker Lendecke
53bf5f0064
s3: Remove some unnecessary variables from libsmb/conn_cache.c
2009-12-24 15:24:35 +01:00
Volker Lendecke
a3f43e3d86
s3: Fix a comment in conn_cache.c
2009-12-24 15:24:35 +01:00
Volker Lendecke
04210986f1
s3: Fix a 64-bit error
2009-12-24 15:24:35 +01:00
Volker Lendecke
daecb747e4
s3: Remove some pointless SMB_ASSERTs
2009-12-24 15:24:34 +01:00
Volker Lendecke
56f9d18fba
s3: Remove some pointless casts
2009-12-24 15:24:34 +01:00
Jeremy Allison
6dcbb84d48
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.
2009-12-23 17:19:22 -08:00
Jeremy Allison
3d85b1ebe5
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.
2009-12-23 17:17:48 -08:00
Volker Lendecke
5aa0d97464
s3: wbinfo --ping-dc is not cacheable
2009-12-23 13:11:55 +01:00
Volker Lendecke
6dc924fcf3
s3: Remove some unused code
2009-12-23 12:02:19 +01:00
Volker Lendecke
40d4c31999
s3: Remove unused sendto_child()
2009-12-23 11:42:31 +01:00
Günther Deschner
475d296065
s3-net: use generated krb5.conf in 'net ads testjoin'
...
Guenther
2009-12-23 10:57:22 +01:00
Andrew Bartlett
802e9328ed
s3:ntlmssp: only include ntlmssp.h where actually needed
...
Andrew Bartlett
2009-12-22 21:07:53 +01:00
Andrew Bartlett
5b37cd23bf
s3:ntlmssp: remove the typedef NTLMSSP_STATE
...
Andrew Bartlett
2009-12-22 21:07:53 +01:00
Andrew Bartlett
dee35f793c
s3:ntlmssp: move to C99 integer types in ntlmssp.h
...
Andrew Bartlett
2009-12-22 21:07:52 +01:00
Andrew Bartlett
9b36fa0441
s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_role
...
Andrew Bartlett
2009-12-22 21:07:52 +01:00
Andrew Bartlett
ba2cfceb96
libcli/auth Make gd's NDR NTLMSSP parsers helpers common
...
(but not built in Samba4 for now)
2009-12-22 21:07:51 +01:00
Volker Lendecke
47bee67c05
s3: Restore correct timeouts for SMB requests
2009-12-22 16:07:58 +01:00
Volker Lendecke
528c150d55
s3: Remove a pointless else branch
2009-12-22 14:08:08 +01:00
Volker Lendecke
b6f446ca35
s3: Move smb_splice_chain to smbd/process.c, its only user
2009-12-22 13:54:43 +01:00
Jeremy Allison
100168dfec
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.
2009-12-21 17:46:32 -08:00
Volker Lendecke
9b6b01aab6
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 :-)
2009-12-21 23:23:52 +01:00
Volker Lendecke
2308ec70a5
s3:winbindd: Fix a brown paper bag bug in wbinfo -t ...
2009-12-21 22:36:15 +01:00
Jeremy Allison
74deee3cc9
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.
2009-12-21 11:16:38 -08:00
Jeremy Allison
642101ac23
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.
2009-12-21 11:05:25 -08:00
Jeremy Allison
714c60e627
Rename 282 -> ERReasnotsupported.
...
Jeremy.
2009-12-21 11:05:11 -08:00
Volker Lendecke
e7468fb129
s3: Shrink winbindd_proto.h a bit
2009-12-21 16:27:20 +01:00
Volker Lendecke
e1bf189e00
s3: Fix some nonempty blank lines
2009-12-21 16:27:19 +01:00
Volker Lendecke
d534a5be49
s3: Remove unused get_sam_group_entries
2009-12-21 16:27:19 +01:00
Volker Lendecke
0a130daf74
s3: Remove unused winbindd_dual_getsidaliases
2009-12-21 16:27:19 +01:00