summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2008-11-06Make us clean under valgrind --leak-check=full by using ↵Jeremy Allison3-5/+5
talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy.
2008-11-04Fixed typo in source/utils/net_rap.cJoe Smith1-1/+1
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij6-67/+67
2008-11-01s3-net: fix build warning.Günther Deschner1-1/+1
Jeremy, please check. Guenther
2008-10-31s3-samr: remove duplicate copies of Domain Object specific access rights.Günther Deschner1-1/+1
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM server specific access rights.Günther Deschner1-1/+1
Guenther
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-11/+7
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-27[s3]pdbedit: remove unused variable.Michael Adam1-4/+0
Note: The change of commit r21962 (or fe962d2e48, aka f540c18b2) that was partly lost in the SVN->git glue commit e5a951325a6 (aka 5c6c8e1fe93f34) is not needed any more since the handler for option "-s" calls set_dyn_CONFIGFILE(). Michael
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij2-2/+2
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij1-2/+2
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-10-23Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij1-1/+1
previously present in Samba 3.
2008-10-23Use common error definitions.Jelmer Vernooij1-1/+1
2008-10-21Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.Jeremy Allison1-11/+0
Jeremy.
2008-10-20s3-build: no need to duplicate generated ndr_ prototypes.Günther Deschner1-0/+1
Guenther
2008-10-20Regenerate pidl output.Jelmer Vernooij1-1/+1
2008-10-19Remove silly safe_free() function which is a wrapper around SAFE_FREE().Jelmer Vernooij3-4/+4
Since it's a function it just sets the local pointer to NULL and basically is an equivalent to free(). It also claims it's being used for callbacks but isn't used that way anywhere.
2008-10-19Add TALLOC_CTX pointer to generate_random_str(), for consistency withJelmer Vernooij1-7/+3
Samba 4.
2008-10-18Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.Jelmer Vernooij1-4/+4
2008-10-18[s3]testparm: prevent "no stackframe around" warning.Michael Adam1-1/+1
gfree_loadparm and TALLOC_FREE(frame) were in the wrong order. Michael
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-2/+2
2008-10-16s3: remove rpccli_svcctl_query_config.Günther Deschner1-19/+30
Guenther
2008-10-15s3: fix various samr callers.Günther Deschner1-5/+5
Guenther
2008-10-15Share initshutdown.idl.Jelmer Vernooij1-8/+4
2008-10-14Attempt to fix bug #5818 - "smbcacls: sorts ACEs improperly and loses ↵Jeremy Allison1-26/+157
inheritance", based on a patch from Paul Fertser <fercerpav@gmail.com>. I also added the ability to get/set hex and symbolic inheritance flag names on ACE flags. I'm still investigating the effects of setting the "SEC_DESC_DACL_AUTO_INHERIT_REQ" flag as I don't yet see what effects this is having on the ACE sent. Jeremy.
2008-10-14Use GUID_string rather than smb_uuid_string().Jelmer Vernooij1-1/+1
2008-10-14Use {u,}int64_t instead of SMB_BIG_{U,}INT.Jelmer Vernooij2-11/+7
2008-10-12Use common util_file code.Jelmer Vernooij1-2/+2
2008-10-11Cope with changed signature of http_timestring().Jelmer Vernooij3-10/+18
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison2-2/+2
Jeremy.
2008-10-05Remove an unused variableVolker Lendecke1-1/+0
2008-10-03net_dns: Make "lwinet ads dns register" honor the "interfaces" parameter.Gerald (Jerry) Carter1-13/+12
This is helpful on multihomed hosts that only require a subset of IP addresses be registered with DNS.
2008-09-27[s3]testparm: give testparm one common exit point and call gfree_loadparm().Michael Adam1-6/+13
Michael
2008-09-27[s3]testparm: free the popt context when it is no longer used.Michael Adam1-0/+2
Michael
2008-09-26net: Make share type lookup a function.Kai Blin4-12/+17
2008-09-25s3-nbt: remove double nbt netlogon opcodes.Günther Deschner1-4/+4
Guenther
2008-09-24s3-nbt: use the new generated nbt.Günther Deschner1-4/+4
Guenther
2008-09-23s3-nbt: fix remaining callers of ndr_push/pull_struct_blob.Günther Deschner1-1/+1
Guenther
2008-09-15Fixed "uninitilized variable" build warningSteven Danneman1-1/+1
Simple fix for warning: Compiling utils/sharesec.c utils/sharesec.c: In function `change_share_sec': utils/sharesec.c:404: warning: 'sd' might be used uninitialized in this function
2008-09-11net: use netapi for NetFileEnum.Günther Deschner1-68/+32
Guenther (This used to be commit f85dcf8112137b7ad07f2b51eeca598e9c4d0ffa)
2008-09-11net: use netapi for NetFileClose.Günther Deschner1-33/+13
Guenther (This used to be commit fd3d130d25a7c30fe003abe01fc18d8f754a466f)
2008-09-11net: use netapi for NetShareEnum.Günther Deschner1-66/+36
Guenther (This used to be commit f4cb75b1e2b030055b9c566f941277286095b8a7)
2008-09-10net: share_type is defined in net_rap.c, net_rpc.c needs to use that.Kai Blin2-2/+3
This fixes a crash in net rpc share that Günther Deschner found. (This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)
2008-09-08net: use NETSETUP flags consistently.Günther Deschner1-1/+1
Guenther (This used to be commit f48e0cacdf7ed458e0e89ab151e3d233fb89240b)
2008-09-05net: use netapi for rpc_sh_share_delete as well.Günther Deschner1-10/+1
Guenther (This used to be commit b56ec0b9952dbad9f552c4be30eaae36faa9131c)
2008-09-05net: use netapi for deleting shares.Günther Deschner1-36/+2
Guenther (This used to be commit d7b07b636947cb52aa5474e86c4a3b6aa391a36f)
2008-09-05net: use netapi for rpc_sh_share_add as well.Günther Deschner1-21/+15
Guenther (This used to be commit 0c232742561a4001909ccce2c5160d57d09edb40)
2008-09-05net: use netapi to add shares.Günther Deschner1-49/+43
Guenther (This used to be commit 95ac480e2030dc607283a8eb89b44015527efa4b)
2008-09-01Fix some nonempty blank linesVolker Lendecke1-21/+21
(This used to be commit 9336cd1c5e5b5d113cd4912d4479dfe609fe261e)
2008-08-29netapi: use NETSETUP join flags in examples.Günther Deschner1-4/+4
Guenther (This used to be commit 2f6f888d9cf89abf55767dc43a9e3d5de68bbcfb)
2008-08-29net: now that "net rpc user" uses netapi calls exclusivly, net rpc shell needsGünther Deschner1-0/+9
to use netapi as well. Guenther (This used to be commit 2f730649b73dcd11734d12921bfdad982fe75717)