Stefan Metzmacher
70afd419a6
s3:smbd: conn_free_internal() can be static now
...
metze
2009-08-07 14:18:15 +02:00
Günther Deschner
5b50e506d0
s3-wkssvcs: fix check for BUILTIN\Administrators membership in wkssvc_Netr{Join,Unjoin}Domain2.
...
Guenther
2009-08-07 09:59:14 +02:00
Günther Deschner
74454cc731
s3-spoolss: Fix Bug #6568 : _spoolss_GetPrintProcessorDirectory() implementation.
...
We should always return a local path so that users are not forced to setup a
[prnproc$] share on the server. This restores pre-3.4.0 spoolss behaviour.
Guenther
2009-08-04 18:50:59 +02:00
Günther Deschner
75030ff2b1
s3-spoolss: fix crash bug in spoolss_addprinterex_level_2.
...
Guenther
2009-08-04 00:16:37 +02:00
Volker Lendecke
e4d276f737
Fix some nonempty blank lines
2009-08-03 21:27:44 +02:00
Jeremy Allison
5d05d22999
Added prefer_ipv4 bool parameter to resolve_name().
...
W2K3 DC's can have IPv6 addresses but won't serve
krb5/ldap or cldap on those addresses. Make sure when
we're asking for DC's we prefer IPv4.
If you have an IPv6-only network this prioritizing code
will be a no-op. And if you have a mixed network then you
need to prioritize IPv4 due to W2K3 DC's.
Jeremy.
2009-07-28 11:51:58 -07:00
Volker Lendecke
fb03bbfa09
Fix valgrind errors in DeleteDomainGroup and DeleteDomAlias
2009-07-26 22:05:41 +02:00
Volker Lendecke
1a6aaee050
Fix a valgrind error in _samr_DeleteUser
...
The close_handle invalidates uinfo
2009-07-26 15:47:31 +02:00
Volker Lendecke
df0731d6e9
Fix a 32/64bit stack corruption bug
2009-07-25 13:23:44 -04:00
Tim Prouty
10324b177e
s3: Allow filename_convert() to pass through unix_convert_flags and let the caller know if the path has a wildcard
...
This also eliminates the need for resolve_dfspath().
2009-07-24 15:10:45 -07:00
Tim Prouty
00e267008d
s3: Remove the now unused fname parameter from filename_convert()
2009-07-21 12:04:59 -07:00
Jeremy Allison
6a9e003910
Fix bug #6564 - SetPrinter fails (panics) as non root.
...
Missing become_root()/unbecome_root() around reload_services.
Jeremy.
2009-07-17 17:36:26 -07:00
Günther Deschner
3e661d4c8e
s3-lsa: let _lsa_Delete return NT_STATUS_NOT_SUPPORTED as w2k3 does.
...
Guenther
2009-07-17 13:55:29 +02:00
Günther Deschner
2a26b2ac87
s3-lsa: Fix access_mask calculation for new handle in _lsa_CreateAccount().
...
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
3eea254e5b
s3-lsa: add (not yet activate) level specific access checks for _lsa_QueryInfoPolicy.
...
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
864e809752
s3-lsa: also implement level 13 in lsa_QueryInfoPolicy.
...
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
d1903cb7f2
s3-lsa: Fix policy handle memleak and handle type check in _lsa_DeleteObject().
...
Guenther
2009-07-17 13:50:34 +02:00
Günther Deschner
4faef0da76
s3-lsa: Fix pointless check for sec_info flags in _lsa_QuerySecurity().
...
Guenther
2009-07-17 00:13:29 +02:00
Günther Deschner
35e45fb841
s3-lsa: implement _lsa_LookupPrivName().
...
Guenther
2009-07-17 00:12:56 +02:00
Günther Deschner
3b899af422
s3-lsa: implement _lsa_EnumAccountsWithUserRight().
...
Guenther
2009-07-17 00:11:14 +02:00
Günther Deschner
33768fea07
s3-spoolss: make some of the command hooks static.
...
Guenther
2009-07-16 03:05:45 +02:00
Bo Yang
86865365ce
S3: Small fix to get rid of annoying log message.
...
Signed-off-by: Bo Yang <boyang@samba.org>
2009-07-15 17:05:46 +08:00
Günther Deschner
9f15ef11bd
s3-account_policy: add pdb_policy_type enum.
...
Guenther
2009-07-14 12:12:18 +02:00
Günther Deschner
f7ff6bd142
s3-rpc_server: pass down full unix token to map_max_allowed_access().
...
Also use unix_token->uid instead of geteuid() when checking for mapping of the
SEC_FLAG_MAXIMUM_ALLOWED flag.
Guenther
2009-07-13 15:38:20 +02:00
Tim Prouty
0f6e10886f
s3: Change some filename_convert to pass in NULL for char **fname argument
2009-07-06 15:38:41 -07:00
Volker Lendecke
880c286bc9
Use null_ndr_syntax_id instead of zeroing null_interface manually
2009-07-05 23:50:12 +02:00
Volker Lendecke
58fbf7420c
Remove "typedef struct ndr_syntax_id RPC_IFACE;"
2009-07-05 23:50:12 +02:00
Volker Lendecke
30dd96e819
Make check_bind_req static to rpc_server/srv_pipe.c
2009-07-05 23:50:12 +02:00
Volker Lendecke
f169772d93
Handle LSA_POLICY_INFO_DNS
2009-07-04 12:54:22 +02:00
Volker Lendecke
8666e79f8f
Implement QueryInfoPolicy2 similar to s4: Make it the same as QueryInfoPolicy
...
Don't reply to it for non-pdb-ads to keep up our old behaviour
2009-07-04 12:54:22 +02:00
Volker Lendecke
66152d29b3
Attempt to fix the build
2009-07-03 22:33:21 +02:00
Günther Deschner
bee0421f4c
s3-spoolss: implement _spoolss_AddPrinter.
...
Guenther
2009-07-03 22:05:21 +02:00
Günther Deschner
78519b6500
s3-netlogon: remove unneeded fstrings from netlogon server.
...
Guenther
2009-06-30 22:21:09 +02:00
Günther Deschner
b85b93dcff
s3-spoolss: Bug #6512 . Fix support for enumerating user forms.
...
Found while testing Xerox WorkCentre 133 PCL driver, now also tested with
torture test.
Guenther
2009-06-30 13:34:51 +02:00
Volker Lendecke
8414048557
_lsa_QueryInfoPolicy: Use symbolic info level names
2009-06-28 22:13:50 +02:00
Günther Deschner
313a2bfa52
s3-netlogon: remove init_netr_SamInfo functions.
...
Guenther
2009-06-25 12:19:17 +02:00
Günther Deschner
f62d9f5b57
s3-netlogon: fix validation level 2 support in netr_SamLogon and friends.
...
Guenther
2009-06-25 12:19:10 +02:00
Günther Deschner
aab9e5509c
s3-samr: refactor _samr_SetDomainInfo().
...
Guenther
2009-06-25 11:02:35 +02:00
Günther Deschner
28d74f96fb
s3-samr: refactor _samr_QueryDomainInfo().
...
Guenther
2009-06-25 11:02:26 +02:00
Günther Deschner
118ac25784
s3-spoolss: restructure _spoolss_EndDocPrinter().
...
Guenther
2009-06-24 00:36:11 +02:00
Günther Deschner
a6ab195d72
s3-lsa: Fix error path in _lsa_EnumAccountRights.
...
This needs to return NT_STATUS_OBJECT_NAME_NOT_FOUND
again as described in MS-LSAD 3.1.4.5.10 and tested with the
RPC-SAMR-USER-PRIVILEGES test.
Guenther
2009-06-23 11:17:50 +02:00
Günther Deschner
e4dec230e9
s3-eventlog: implement _eventlog_ReportEventW().
...
Guenther
2009-06-23 11:10:22 +02:00
Jeremy Allison
d2da9dee68
Add some const to the stat struct in the dosmode calls.
...
Fix a couple more unix_convert uses to filename_convert.
Fix bug in acl_group_override() where an uninitialized
struct could be used. Move unix_convert with wildcard
use in SMBsearch reply to boilerplate code.
Jeremy.
2009-06-18 15:07:14 -07:00
Andrew Bartlett
33a59921be
s3:netlogon Cope with recent rename in netlogon.idl
2009-06-18 15:00:28 +10:00
Jeremy Allison
9b30c5c145
Fix msdfs after the change to smb_filename struct. We must *always*
...
pull the pathname, then call resolve_dfspath(), before unix_convert().
Jeremy.
2009-06-16 17:23:54 -07:00
Jeremy Allison
cbb55b34e2
_lsa_EnumAccountRights and _lsa_EnumPrivsAccount can return an
...
empty set of privilages if the SID doesn't have any.
(From [MS-LSAD.pdf])
Jeremy.
2009-06-16 13:17:24 -07:00
Tim Prouty
04afa4b6b5
s3: Plumb smb_filename through SMB_VFS_CREATE_FILE
2009-06-12 16:14:50 -07:00
Tim Prouty
6088e554f5
s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert first
...
This step is a requirement to change SMB_VFS_CREATEFILE to take an
smb_filename struct.
2009-06-10 13:13:26 -07:00
Günther Deschner
c49c1b94ef
s3-lsa: remove old code that we cannot even compile anymore.
...
Guenther
2009-06-08 22:58:16 +02:00
Günther Deschner
6dd1f99ec0
s3-spoolss: add server-support for queries for the "all" architecture in printdriver enum calls.
...
Guenther
2009-06-08 21:24:31 +02:00