samba.git
14 years agor4457: Fix IDL + add torture test for InqObject
Jelmer Vernooij [Fri, 31 Dec 2004 22:12:44 +0000 (22:12 +0000)]
r4457: Fix IDL + add torture test for InqObject

14 years agor4456: NT4 usrmgr.exe asks for 4096 accounts, allow twice that.
Volker Lendecke [Fri, 31 Dec 2004 17:56:05 +0000 (17:56 +0000)]
r4456: NT4 usrmgr.exe asks for 4096 accounts, allow twice that.

Volker

14 years agor4455: LSADS was a duplicate of DSSETUP, and is now gone
Andrew Tridgell [Fri, 31 Dec 2004 13:28:31 +0000 (13:28 +0000)]
r4455: LSADS was a duplicate of DSSETUP, and is now gone

14 years agor4454: This is the patch I use to Samba3 nmbd to allow a WinXP box
Andrew Tridgell [Fri, 31 Dec 2004 13:23:37 +0000 (13:23 +0000)]
r4454: This is the patch I use to Samba3 nmbd to allow a WinXP box
to join a Samba4 domain. It is hard-coded for my GUID, so
you will need to edit it to suit.

I'm committing this so others can experiment. Obviously
what we really need is a new nmbd in Samba4.

14 years agor4453: use lp_server_role(), which currently returns 3, for the dssetup
Andrew Tridgell [Fri, 31 Dec 2004 12:10:35 +0000 (12:10 +0000)]
r4453: use lp_server_role(), which currently returns 3, for the dssetup
role. The value '5', which is what my w2k3 DC returns, doesn't
work. I'm not sure why this is.

with this change the GUI ACL editor from w2k3 works properly, with
either server role in the HKLM registry.

14 years agor4452: the beginnings of a dssetup rpc server.
Andrew Tridgell [Fri, 31 Dec 2004 11:37:26 +0000 (11:37 +0000)]
r4452: the beginnings of a dssetup rpc server.

14 years agor4451: added initial RPC-DSSETUP torture test. It works for level1 of
Andrew Tridgell [Fri, 31 Dec 2004 10:49:35 +0000 (10:49 +0000)]
r4451: added initial RPC-DSSETUP torture test. It works for level1 of
ds_RolerGetPrimaryDomainInformation()

14 years agor4450: the beginnings of IDL for the dssetup pipe. I need this pipe for ACL editing...
Andrew Tridgell [Fri, 31 Dec 2004 10:47:04 +0000 (10:47 +0000)]
r4450: the beginnings of IDL for the dssetup pipe. I need this pipe for ACL editing from w2k3
when we present ourselves as a DC in the registry

14 years agor4449: fixed the helpstring for LSA IDL
Andrew Tridgell [Fri, 31 Dec 2004 10:45:48 +0000 (10:45 +0000)]
r4449: fixed the helpstring for LSA IDL

14 years agor4448: - fixed access_mask checking on acl set
Andrew Tridgell [Fri, 31 Dec 2004 08:56:32 +0000 (08:56 +0000)]
r4448: - fixed access_mask checking on acl set

- honor the change ownership requests of acl set, changing the underlying
  unix owner/group

- fix the access mask on file create with SEC_FLAG_MAXIMUM_ALLOWED

14 years agor4447: implement server side of lsa_LookupSids3() and lsa_LookupNames3()
Andrew Tridgell [Fri, 31 Dec 2004 08:54:59 +0000 (08:54 +0000)]
r4447: implement server side of lsa_LookupSids3() and lsa_LookupNames3()

14 years agor4446: attempt to fix the build - andrew, can you check I've done this right?
Andrew Tridgell [Fri, 31 Dec 2004 08:54:07 +0000 (08:54 +0000)]
r4446: attempt to fix the build - andrew, can you check I've done this right?

14 years agor4445: put the unlink test in a subdirectory, and ensure it cleans up
Andrew Tridgell [Fri, 31 Dec 2004 08:44:08 +0000 (08:44 +0000)]
r4445: put the unlink test in a subdirectory, and ensure it cleans up

14 years agor4444: - initialise registry:HKEY_LOCAL_MACHINE to a reasonable default (where
Andrew Tridgell [Fri, 31 Dec 2004 08:43:34 +0000 (08:43 +0000)]
r4444: - initialise registry:HKEY_LOCAL_MACHINE to a reasonable default (where
  provision.pl suggests hklm.ldb be put)

- fix the globals init not to wipe parametic values after initialising
  them (this bug prevented default values for parametric parameters)

14 years agor4443: test lsa_LookupNames3() even when lsa_LookupSids3() fails
Andrew Tridgell [Fri, 31 Dec 2004 07:53:42 +0000 (07:53 +0000)]
r4443: test lsa_LookupNames3() even when lsa_LookupSids3() fails

14 years agor4442: fix lsa_TranslatedSid3 (its a dom_sid2 not a dom_sid)
Andrew Tridgell [Fri, 31 Dec 2004 07:52:54 +0000 (07:52 +0000)]
r4442: fix lsa_TranslatedSid3 (its a dom_sid2 not a dom_sid)

14 years agor4441: gensec_krb5 update:
Andrew Bartlett [Fri, 31 Dec 2004 07:43:08 +0000 (07:43 +0000)]
r4441: gensec_krb5 update:

 - Use more of the clikrb5.c wrapper calls

 - Don't use the session keytab if we kinit for the user.

Andrew Bartlett

14 years agor4440: - add a start of srvsvc_NetShareCheck() server code
Stefan Metzmacher [Fri, 31 Dec 2004 07:42:57 +0000 (07:42 +0000)]
r4440: - add a start of srvsvc_NetShareCheck() server code

- filterout hidden shares in NetShareEnum()

- get max_connections right

metze

14 years agor4439: unlimited connections is -1
Stefan Metzmacher [Fri, 31 Dec 2004 07:40:14 +0000 (07:40 +0000)]
r4439: unlimited connections is -1

metze

14 years agor4438: the ADMIN$ share is a diskshare but hidden
Stefan Metzmacher [Fri, 31 Dec 2004 07:35:14 +0000 (07:35 +0000)]
r4438: the ADMIN$ share is a diskshare but hidden

metze

14 years agor4437: added IDL and test code for lsa_LookupSids3() and lsa_LookupNames3().
Andrew Tridgell [Fri, 31 Dec 2004 07:26:26 +0000 (07:26 +0000)]
r4437: added IDL and test code for lsa_LookupSids3() and lsa_LookupNames3().

For some reason I am getting ACCESS_DENIED from w2k3 on
lsa_LookupSids3(). I will investigate.

14 years agor4436: add one more flag
Stefan Metzmacher [Fri, 31 Dec 2004 07:22:10 +0000 (07:22 +0000)]
r4436: add one more flag

metze

14 years agor4435: add another error code
Stefan Metzmacher [Fri, 31 Dec 2004 07:21:31 +0000 (07:21 +0000)]
r4435: add another error code

metze

14 years agor4434: - fix some NetShare* idl functions
Stefan Metzmacher [Fri, 31 Dec 2004 06:19:05 +0000 (06:19 +0000)]
r4434: - fix some NetShare* idl functions

- add torture test for NetShareCheck()

metze

14 years agor4433: added the boilerplate for the new w2k3 LSA functions in preparation
Andrew Tridgell [Fri, 31 Dec 2004 06:08:43 +0000 (06:08 +0000)]
r4433: added the boilerplate for the new w2k3 LSA functions in preparation
for adding LookupSids3 (needed for ACL editing from w2k3)

14 years agor4432: - add srvsvc_NetShareInfo level 1006 and 1501 idl
Stefan Metzmacher [Fri, 31 Dec 2004 05:34:31 +0000 (05:34 +0000)]
r4432: - add srvsvc_NetShareInfo level 1006 and 1501 idl

- implement srvsvc_NetGetShareInfo()

- add more error checks

- bring the rest of the code in the same layout

metze

14 years agor4431: add WERR_NET_NAME_NOT_FOUND
Stefan Metzmacher [Fri, 31 Dec 2004 04:45:13 +0000 (04:45 +0000)]
r4431: add WERR_NET_NAME_NOT_FOUND

metze

14 years agor4430: - fixed the BASE-LOCK* tests to use a subdirectory, and properly setup the...
Andrew Tridgell [Fri, 31 Dec 2004 04:17:03 +0000 (04:17 +0000)]
r4430: - fixed the BASE-LOCK* tests to use a subdirectory, and properly setup the directory before each test,
  thus avoiding errors due to previous failures

14 years agor4429: the owner of a file always gets SEC_STD_DELETE
Andrew Tridgell [Fri, 31 Dec 2004 03:55:37 +0000 (03:55 +0000)]
r4429: the owner of a file always gets SEC_STD_DELETE

14 years agor4428: use minimum open permissions in the 'acl' command in smbclient, so the user is
Andrew Tridgell [Fri, 31 Dec 2004 03:54:49 +0000 (03:54 +0000)]
r4428: use minimum open permissions in the 'acl' command in smbclient, so the user is
not prevented from viewing the acl by other access bits

14 years agor4427: - added ldb_msg_*() functions for sorting, comparing and copying messages
Andrew Tridgell [Fri, 31 Dec 2004 03:51:42 +0000 (03:51 +0000)]
r4427: - added ldb_msg_*() functions for sorting, comparing and copying messages

- added a ldb_msg_canonicalize() function that fixes a record to not have any duplicate
  elements

- changed ldbedit to use ldb_msg_canonicalize(). This fixes a bug when you rename multiple
  elements in a record in one edit

14 years agor4426: fix same names
Stefan Metzmacher [Fri, 31 Dec 2004 03:32:36 +0000 (03:32 +0000)]
r4426: fix same names

metze

14 years agor4425: - move srvsvc and wkssvc server code to the new W_ERROR_HAVE_NO_MEMORY() macro
Stefan Metzmacher [Fri, 31 Dec 2004 02:48:11 +0000 (02:48 +0000)]
r4425: - move srvsvc and wkssvc server code to the new W_ERROR_HAVE_NO_MEMORY() macro

- add parameters for
  server_info:platform_id = 500 /* this is PLATFORM_ID_NT */
  server_info:version_major = 5
  server_info:version_minor = 2

- implmented srvsvc_NetSrvGetInfo level 101

- make dcesrv_common_get_server_name() match w2k3

metze

14 years agor4424: fixed a simple bug in the '|' handling in indexed ldb searches. I'm
Andrew Tridgell [Fri, 31 Dec 2004 02:18:14 +0000 (02:18 +0000)]
r4424: fixed a simple bug in the '|' handling in indexed ldb searches. I'm
amazed we got along for so long with this bug!

14 years agor4423: give lp_parm_int() and lp_parm_ulong() default values
Stefan Metzmacher [Fri, 31 Dec 2004 01:03:57 +0000 (01:03 +0000)]
r4423: give lp_parm_int() and lp_parm_ulong() default values

metze

14 years agor4422: make lp_set_cmdline("torture:dangerous", "Yes") a bool parameter
Stefan Metzmacher [Fri, 31 Dec 2004 01:02:22 +0000 (01:02 +0000)]
r4422: make lp_set_cmdline("torture:dangerous", "Yes") a bool parameter

metze

14 years agor4421: fix typo
Stefan Metzmacher [Fri, 31 Dec 2004 00:07:37 +0000 (00:07 +0000)]
r4421: fix typo

metze

14 years agor4420: - add usefull helper macros for allocation failures,
Stefan Metzmacher [Thu, 30 Dec 2004 23:51:18 +0000 (23:51 +0000)]
r4420: - add usefull helper macros for allocation failures,
  they should be used in mostly all our code after
  calling a talloc_* function

- the current NTSTATUS_TALLOC_CHECK() and WERR_TALLOC_CHECK()
  should be replaced by this new macros

metze

14 years agor4419: move security_token stuff to the libcli/security/
Stefan Metzmacher [Thu, 30 Dec 2004 20:34:20 +0000 (20:34 +0000)]
r4419: move security_token stuff to the libcli/security/
and debug privileges

metze

14 years agor4418: fix compiler warning and remove unused typedef
Stefan Metzmacher [Thu, 30 Dec 2004 19:55:23 +0000 (19:55 +0000)]
r4418: fix compiler warning and remove unused typedef

metze

14 years agor4417: Reply to samr_QueryDomainInfo with the same static value as level2 does.
Volker Lendecke [Thu, 30 Dec 2004 19:11:25 +0000 (19:11 +0000)]
r4417: Reply to samr_QueryDomainInfo with the same static value as level2 does.

Volker

14 years agor4416: [in,out] variables do have an r->out component...
Volker Lendecke [Thu, 30 Dec 2004 19:08:32 +0000 (19:08 +0000)]
r4416: [in,out] variables do have an r->out component...

Volker

14 years agor4415: Implement samr_RemoveMemberFromForeignDomain. This is needed to delete a user
Volker Lendecke [Thu, 30 Dec 2004 18:50:15 +0000 (18:50 +0000)]
r4415: Implement samr_RemoveMemberFromForeignDomain. This is needed to delete a user
with usrmgr.exe.

To fix: Remove domain group membership attrib values when a user is deleted.

Volker

14 years agor4414: Various bits&pieces:
Volker Lendecke [Thu, 30 Dec 2004 17:01:49 +0000 (17:01 +0000)]
r4414: Various bits&pieces:

* Implement samr_search_domain, filter out all elements with no "objectSid"
  attribute and all objects outside a specified domain sid.

* Minor cleanups in dcerpc_samr.c due to that.

* Implement srvsvc_NetSrvGetInfo level 100. A quick hack to get usrmgr.exe
  one step further.

* Same for samr_info_DomInfo1.

Volker

14 years agor4413: login failure doesn't warrant a level 1 debug (its filling my logs during...
Andrew Tridgell [Thu, 30 Dec 2004 11:24:49 +0000 (11:24 +0000)]
r4413: login failure doesn't warrant a level 1 debug (its filling my logs during torture tests)

14 years agor4412: SEC_FILE_READ_ATTRIBUTE is always granted, even if not requested. This was...
Andrew Tridgell [Thu, 30 Dec 2004 07:10:31 +0000 (07:10 +0000)]
r4412: SEC_FILE_READ_ATTRIBUTE is always granted, even if not requested. This was being done
in the full ACL code, but not in the unix access check code, which meant that qfileinfo
was failing for some parameters

14 years agor4411: when checking for create permissions, we need to check the parent, not the...
Andrew Tridgell [Thu, 30 Dec 2004 06:51:13 +0000 (06:51 +0000)]
r4411: when checking for create permissions, we need to check the parent, not the child!

14 years agor4410: pvfs_rename_one() should not check for create permissions, as the rename
Andrew Tridgell [Thu, 30 Dec 2004 06:37:37 +0000 (06:37 +0000)]
r4410: pvfs_rename_one() should not check for create permissions, as the rename
is always in the same directory

14 years agor4409: fixed handling of zero access masks for the POSITION_INFORMATION query/set...
Andrew Tridgell [Thu, 30 Dec 2004 06:02:54 +0000 (06:02 +0000)]
r4409: fixed handling of zero access masks for the POSITION_INFORMATION query/set levels

14 years agor4408: added the remaining access check hooks into pvfs. All calls should now have...
Andrew Tridgell [Thu, 30 Dec 2004 05:50:23 +0000 (05:50 +0000)]
r4408: added the remaining access check hooks into pvfs. All calls should now have acl checking,
and obey the various inheritance rules.

14 years agor4407: stricter checking of parameters on hard link creation in the RAW-RENAME test
Andrew Tridgell [Thu, 30 Dec 2004 05:48:32 +0000 (05:48 +0000)]
r4407: stricter checking of parameters on hard link creation in the RAW-RENAME test

14 years agor4406: - don't call the xattr unlink hook on unlink unless the link count is 1, otherwise
Andrew Tridgell [Thu, 30 Dec 2004 03:19:27 +0000 (03:19 +0000)]
r4406: - don't call the xattr unlink hook on unlink unless the link count is 1, otherwise
  the xattrs of the remaining link are removed

- fix the handling of attribute set on directories

14 years agor4405: added acl inheritance to the mkdir and t2mkdir backends.
Andrew Tridgell [Thu, 30 Dec 2004 02:38:44 +0000 (02:38 +0000)]
r4405: added acl inheritance to the mkdir and t2mkdir backends.

14 years agor4404: check for SEC_ACE_FLAG_INHERIT_ONLY in the "maximum allowed" logic
Andrew Tridgell [Thu, 30 Dec 2004 02:27:16 +0000 (02:27 +0000)]
r4404: check for SEC_ACE_FLAG_INHERIT_ONLY in the "maximum allowed" logic

14 years agor4403: - added ACL inheritance in the pvfs backend. ACLs are now inherited on
Andrew Tridgell [Thu, 30 Dec 2004 02:25:20 +0000 (02:25 +0000)]
r4403: - added ACL inheritance in the pvfs backend. ACLs are now inherited on
  file and directory creation via ntcreatex. pvfs now passes the
  inheritance test in RAW-ACLS

- cleaned up the error handling a bit in pvfs_open()

14 years agor4402: use __location__ instead of __LINE__ in the RAW-RENAME test
Andrew Tridgell [Thu, 30 Dec 2004 02:22:29 +0000 (02:22 +0000)]
r4402: use __location__ instead of __LINE__ in the RAW-RENAME test

14 years agor4401: stricter test for correct ACL inheritance in RAW-ACLS
Andrew Tridgell [Thu, 30 Dec 2004 02:22:03 +0000 (02:22 +0000)]
r4401: stricter test for correct ACL inheritance in RAW-ACLS

14 years agor4400: Pass rootdse.ldif past the subst code.
Andrew Bartlett [Wed, 29 Dec 2004 22:59:28 +0000 (22:59 +0000)]
r4400: Pass rootdse.ldif past the subst code.

Andrew Bartlett

14 years agor4399: Implement samr_GetAliasMembership and samr_GetGroupsForUser. With these two,
Volker Lendecke [Wed, 29 Dec 2004 22:57:20 +0000 (22:57 +0000)]
r4399: Implement samr_GetAliasMembership and samr_GetGroupsForUser. With these two,
usrmgr.exe seems to become usable. Some quirks, but it's worth a try.

Volker

14 years agor4398: Make usrmgr.exe believe we're a DC. Otherwise it will not show global groups.
Volker Lendecke [Wed, 29 Dec 2004 22:54:24 +0000 (22:54 +0000)]
r4398: Make usrmgr.exe believe we're a DC. Otherwise it will not show global groups.

Index on "key" attribute.

Volker

14 years agor4397: Fix a bug where '(&(objectclass=domain)(!(objectclass=builtindomain)))' fell
Volker Lendecke [Wed, 29 Dec 2004 22:25:46 +0000 (22:25 +0000)]
r4397: Fix a bug where '(&(objectclass=domain)(!(objectclass=builtindomain)))' fell
back to a full search.

Volker

14 years agor4396: Generate newrootdse.ldb in provision.pl as well
Jelmer Vernooij [Wed, 29 Dec 2004 21:41:17 +0000 (21:41 +0000)]
r4396: Generate newrootdse.ldb in provision.pl as well

14 years agor4395: Generate "newhklm.ldb" using provision.pl
Jelmer Vernooij [Wed, 29 Dec 2004 21:21:14 +0000 (21:21 +0000)]
r4395: Generate "newhklm.ldb" using provision.pl

14 years agor4394: Use 'raw' protocol towers in the lists in the endpoint rather then
Jelmer Vernooij [Wed, 29 Dec 2004 15:36:45 +0000 (15:36 +0000)]
r4394: Use 'raw' protocol towers in the lists in the endpoint rather then
dcerpc_binding structs.

14 years agor4393: Trivial bugfix for a silly bug
Volker Lendecke [Wed, 29 Dec 2004 13:22:00 +0000 (13:22 +0000)]
r4393: Trivial bugfix for a silly bug

14 years agor4392: Fix samr_GetAliasMembership idl
Volker Lendecke [Wed, 29 Dec 2004 13:20:17 +0000 (13:20 +0000)]
r4392: Fix samr_GetAliasMembership idl

14 years agor4391: bring the default ACL inline with what w2k3 uses
Andrew Tridgell [Wed, 29 Dec 2004 12:41:27 +0000 (12:41 +0000)]
r4391: bring the default ACL inline with what w2k3 uses

14 years agor4390: Registry value and key names are case-insensitive
Jelmer Vernooij [Wed, 29 Dec 2004 12:28:35 +0000 (12:28 +0000)]
r4390: Registry value and key names are case-insensitive
Nicer menu layout in gregedit

14 years agor4389: added checking for the default inherited ACL, which is used when no ACEs
Andrew Tridgell [Wed, 29 Dec 2004 07:28:03 +0000 (07:28 +0000)]
r4389: added checking for the default inherited ACL, which is used when no ACEs
are inheritable

14 years agor4388: - allow ACE flags to be specified in security_descriptor_create()
Andrew Tridgell [Wed, 29 Dec 2004 06:53:15 +0000 (06:53 +0000)]
r4388: - allow ACE flags to be specified in security_descriptor_create()

- added a test for all combinations of the inheritance ACE flags and how
  they are propogated to child directories and files

14 years agor4387: added a TODO about the NTCREATEX_FLAGS_OPEN_DIRECTORY flag - it seems to open
Andrew Tridgell [Wed, 29 Dec 2004 06:52:06 +0000 (06:52 +0000)]
r4387: added a TODO about the NTCREATEX_FLAGS_OPEN_DIRECTORY flag - it seems to open
the parent of the specified directory ?!

14 years agor4386: Grr, fix copy-and-paste bug.
Andrew Bartlett [Wed, 29 Dec 2004 00:03:34 +0000 (00:03 +0000)]
r4386: Grr, fix copy-and-paste bug.

Andrew Bartlett

14 years agor4385: Set the correct target service.
Andrew Bartlett [Tue, 28 Dec 2004 23:59:22 +0000 (23:59 +0000)]
r4385: Set the correct target service.

Andrew Bartlett

14 years agor4384: Try again to fix compiling against a specified KRB5 library.
Andrew Bartlett [Tue, 28 Dec 2004 23:55:58 +0000 (23:55 +0000)]
r4384: Try again to fix compiling against a specified KRB5 library.

The strong feeling I get is that this is just not possible, if as
Fedora has, the MIT installation is in /usr/lib, but this is one step
closer anyway.

Andrew Bartlett

14 years agor4383: in order to cope with overfilled buffers on trans2 findfirst we need to use...
Andrew Tridgell [Tue, 28 Dec 2004 23:28:02 +0000 (23:28 +0000)]
r4383: in order to cope with overfilled buffers on trans2 findfirst we need to use 32 bit offsets and lengths
in trans2 fill code, even though the packets themselves can only use 16 bit lengths. This prevents
the overflow detection code from failing due to 16 bit length wrap.

14 years agor4382: check for bad tid in SMBtdis
Andrew Tridgell [Tue, 28 Dec 2004 23:26:29 +0000 (23:26 +0000)]
r4382: check for bad tid in SMBtdis

14 years agor4381: Add my copyright
Volker Lendecke [Tue, 28 Dec 2004 23:05:48 +0000 (23:05 +0000)]
r4381: Add my copyright

14 years agor4380: Implement samr_QueryDisplayInfo. This probably needs some polishing (Do we
Volker Lendecke [Tue, 28 Dec 2004 23:01:34 +0000 (23:01 +0000)]
r4380: Implement samr_QueryDisplayInfo. This probably needs some polishing (Do we
have to sort the entries?)

Volker

14 years agor4379: Merge more Kerberos related configure checks (by jra, gd and Lars
Andrew Bartlett [Tue, 28 Dec 2004 22:29:48 +0000 (22:29 +0000)]
r4379: Merge more Kerberos related configure checks (by jra, gd and Lars
Mueller <lmuelle@suse.de>) from 3.0 to Samba4.

Andrew Bartlett

14 years agor4378: Implement samr_EnumDomainGroups and samr_EnumDomainAliases.
Volker Lendecke [Tue, 28 Dec 2004 07:57:31 +0000 (07:57 +0000)]
r4378: Implement samr_EnumDomainGroups and samr_EnumDomainAliases.

Hmmm. How do I tell ldb not to descend into cn=Builtin?

Volker

14 years agor4377: Fix default groupType attributes.
Volker Lendecke [Tue, 28 Dec 2004 07:54:30 +0000 (07:54 +0000)]
r4377: Fix default groupType attributes.

Volker

14 years agor4376: Implement samr_AddAliasMember, samr_DeleteAliasMember and
Volker Lendecke [Mon, 27 Dec 2004 22:20:17 +0000 (22:20 +0000)]
r4376: Implement samr_AddAliasMember, samr_DeleteAliasMember and
samr_GetMembersInAlias.

Volker

14 years agor4375: Implement samr_OpenAlias, samr_QueryAliasInfo and samr_SetAliasInfo. Fix IDL
Volker Lendecke [Mon, 27 Dec 2004 11:27:30 +0000 (11:27 +0000)]
r4375: Implement samr_OpenAlias, samr_QueryAliasInfo and samr_SetAliasInfo. Fix IDL
for samr_SetAliasInfo.

Volker

14 years agor4374: Follow metzes hint, change LookupRids a bit
Volker Lendecke [Mon, 27 Dec 2004 09:48:49 +0000 (09:48 +0000)]
r4374: Follow metzes hint, change LookupRids a bit

14 years agor4373: Support setting values and fix a segfault
Jelmer Vernooij [Mon, 27 Dec 2004 00:32:13 +0000 (00:32 +0000)]
r4373: Support setting values and fix a segfault

14 years agor4372: Implement samr_LookupRids
Volker Lendecke [Sun, 26 Dec 2004 23:31:19 +0000 (23:31 +0000)]
r4372: Implement samr_LookupRids

14 years agor4371: Add "Create Key", "Delete Key" and "Delete Value" buttons.
Jelmer Vernooij [Sun, 26 Dec 2004 22:41:38 +0000 (22:41 +0000)]
r4371: Add "Create Key", "Delete Key" and "Delete Value" buttons.
gregedit now can do the same things as regedt32 except for finding
data and setting values. (and a few segfaults...)

14 years agor4367: Implement samr_AddGroupMember, samr_DeleteGroupMember and
Volker Lendecke [Sun, 26 Dec 2004 18:02:18 +0000 (18:02 +0000)]
r4367: Implement samr_AddGroupMember, samr_DeleteGroupMember and
samr_QueryGroupMember.

Volker

14 years agor4366: Fix ldb_modify_internal: Adding values to an existing attribute you could end
Volker Lendecke [Sun, 26 Dec 2004 17:30:27 +0000 (17:30 +0000)]
r4366: Fix ldb_modify_internal: Adding values to an existing attribute you could end
up with a corrupt data structure on disk, namely with two attribute structures
for the same attribute name.

Volker

14 years agor4365: added command 'eainfo' to smbclient for displaying binary EA contents
Andrew Tridgell [Sun, 26 Dec 2004 08:41:11 +0000 (08:41 +0000)]
r4365: added command 'eainfo' to smbclient for displaying binary EA contents

14 years agor4364: - added support for testing of chained SMB operations in smbtorture
Andrew Tridgell [Sun, 26 Dec 2004 08:13:01 +0000 (08:13 +0000)]
r4364: - added support for testing of chained SMB operations in smbtorture

- added test for chained OpenX/ReadX, simulating the OS/2 workplace shell

- fixed a bug in handling chained fnum in openx and ntcreatex in the server

(yes, I'm on holiday, but this bug was annoying me ....)

14 years agor4363: value "none required" is set if no library is needed (autoconf does this the...
Jelmer Vernooij [Sat, 25 Dec 2004 22:18:12 +0000 (22:18 +0000)]
r4363: value "none required" is set if no library is needed (autoconf does this the same way)

14 years agor4362: dlopen() doesn't imply -ldl
Jelmer Vernooij [Sat, 25 Dec 2004 21:49:21 +0000 (21:49 +0000)]
r4362: dlopen() doesn't imply -ldl
Should fix the build on several *BSD systems that have dlopen() in libc

14 years agor4361: fix the build
Stefan Metzmacher [Sat, 25 Dec 2004 14:12:31 +0000 (14:12 +0000)]
r4361: fix the build

metze

14 years agor4360: destroy the gensec context
Stefan Metzmacher [Sat, 25 Dec 2004 14:06:55 +0000 (14:06 +0000)]
r4360: destroy the gensec context

metze

14 years agor4359: using talloc_free() of a child struct in a talloc_destructor is useless
Stefan Metzmacher [Sat, 25 Dec 2004 14:01:19 +0000 (14:01 +0000)]
r4359: using talloc_free() of a child struct in a talloc_destructor is useless

metze

14 years agor4358: At metze's request, the Christmas elves have removed gensec_end in
Andrew Bartlett [Fri, 24 Dec 2004 23:02:39 +0000 (23:02 +0000)]
r4358: At metze's request, the Christmas elves have removed gensec_end in
favor of talloc_free().

Andrew Bartlett

14 years agor4357: Return a more sensible error code if a NULL (as opposed to the valid
Andrew Bartlett [Fri, 24 Dec 2004 10:56:23 +0000 (10:56 +0000)]
r4357: Return a more sensible error code if a NULL (as opposed to the valid
"") username is asked for.

Andrew Bartlett

14 years agor4356: Allow anonymous connections to use NTLMSSP. The silly bugs that
Andrew Bartlett [Fri, 24 Dec 2004 09:57:44 +0000 (09:57 +0000)]
r4356: Allow anonymous connections to use NTLMSSP.  The silly bugs that
prevented this are gone.

Andrew Bartlett

14 years agor4355: More work from the elves on Christmas eve:
Andrew Bartlett [Fri, 24 Dec 2004 09:54:23 +0000 (09:54 +0000)]
r4355: More work from the elves on Christmas eve:

 - Update Samba4's kerberos code to match the 'salting' changes in
   Samba3 (and many other cleanups by jra).

 - Move GENSEC into the modern era of talloc destructors.  This avoids
   many of the memory leaks in this code, as we now can't somehow
   'forget' to call the end routine.
  - This required fixing some of the talloc hierarchies.

 - The new krb5 seems more sensitive to getting the service name
   right, so start actually setting the service name on the krb5 context.

Andrew Bartlett