summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-08-29net: use netapi for "net rpc user info" to enumerate user group membership.Günther Deschner1-112/+27
Guenther (This used to be commit 77ecfff216b24b0d4b1ce79bee13c18bffa7b533)
2008-08-29net: use netapi function to set user password.Günther Deschner1-113/+18
Guenther (This used to be commit f31fd1e112ec6477ae0e0eeeede0317c0cdfcbfd)
2008-08-29net: use netapi function to list users.Günther Deschner1-63/+33
Guenther (This used to be commit 6bc8e229192f0bdd1154c6dd0901e4c739647c90)
2008-08-29net: use netapi for rpc_user_rename.Günther Deschner1-113/+15
Guenther (This used to be commit fe28ea1afd4024673f847fc8880910b1f7f0385a)
2008-08-22net: Add missing colon to unify usage messages.Karolin Seeger1-2/+2
Karolin (This used to be commit c7aef4b38bd2b152b316d8d76b45be4b73ca315f)
2008-08-21Fix broken net rpc join message when DC can't be found. Ensure we pass in a ↵Jeremy Allison1-2/+3
domain name. Jeremy. (This used to be commit 33019fe2b5f521c143fc79edb915eca69b9ed98d)
2008-08-18Make the change to smbcontrol for "all" to mean broadcast,Jeremy Allison1-4/+3
and "smbd" to mean the main smb daemon. Update docs to match. Jeremy. (This used to be commit e415420b086a236be6bcc1e7584bec276a74e457)
2008-08-13first cut at adding full transactions for ctdb to samba3Andrew Tridgell1-2/+0
(This used to be commit f91a3e0f7b7737c1d0667cd961ea950e2b93e592)
2008-08-13Exit smbstatus cleanly if messaging_init failsVolker Lendecke1-0/+6
(This used to be commit 5fd51833a31b326d83ac2f76d06560920547f657)
2008-08-11libnetjoin: support kerberized joining/unjoing (fix #5416).Günther Deschner1-2/+8
Guenther (This used to be commit da6e0f4f375aa533c4c765891c960070478972eb)
2008-08-07Fix a build failure on host sunXVolker Lendecke1-1/+1
(This used to be commit 30b5be872501dc87380fd10084aacda13a308ac8)
2008-08-01vampire keytab: add command line switch --clean-old-entries .Michael Adam3-0/+3
This allows to control cleaning the keytab. It will only clean old occurences of keys that are replicated in this run. So if you want to ensure things are cleaned up, combine this switch with --force-full-repl or --single-obj-repl (+dn list). Michael (This used to be commit 21385e1c635ea67215eb1da90e7dca97ae2f5d56)
2008-08-01vampire keytab: introduce switch --single-obj-repl.Michael Adam3-1/+4
This controls whether single object replication is to be used. This only has an effect when at least one object dn is given on the commandline. NOTE: Now the default is to use normal replication with uptodateness vectors and use object dns given on the command line as a positive write filter. Single object replication is only performed when this new switch is specified. Michael (This used to be commit 0f81111ea8c049eb60f98d4939e520a5a562d2e6)
2008-08-01libnet dssync: rename flag single to single_object_replicationMichael Adam1-1/+1
So that it is more obvious what this controls. Michael (This used to be commit 2360f0a19f0fb89798b814a02cfca335a4a35b6d)
2008-08-01net rpc vampire: rename --repl-nodiff to --force-full-repl.Michael Adam3-3/+3
This more clear. Michael (This used to be commit 0ddde9aae88e6244276e1c143056a4bfc7c7fcca)
2008-08-01libnet dssync: rename repl_nodiff flag to force_full_replication.Michael Adam1-1/+1
Michael (This used to be commit ec959b4609c3f4927a9f2811c46d738f9c78a914)
2008-08-01libnet dssync: support lists of dns (instead of one dn) for single object ↵Michael Adam1-1/+2
replication. Just specify several DNs separated by spaces on the command line of "net rpc vampire keytab" to get the passwords for each of these accouns via single object replication. Michael (This used to be commit 6e53dc2db882d88470be5dfa1155b420fac8e6c5)
2008-08-01vampire keytab: add switch --repl-nodiff to trigger full replication.Michael Adam3-0/+5
I.e. replication without keeping track of the up to date vector. Michael (This used to be commit d4b36e447bce8692416e132ab9f53a6282f54cac)
2008-08-01dssync: allow replications of a single obj with net rpc vampire keytab.Michael Adam1-0/+4
This is triggered by setting the new "single" flag in the dssync_context and filling the "object_dn" member with the dn of the object to be fetched. This call is accomplished by specifying the DRSUAPI_EXOP_REPL_OBJ extended operation in the DsGetNCCHanges request. This variant does honor an up-to-date-ness vectore passed in, but the answer does not return a new up-to-dateness vector. Call this operation as "net rpc vampire keytab /path/keytab object_dn" . Michael (This used to be commit f4a01178a3d8d71f416a3b67ce6b872420f211c0)
2008-08-01dssync: replace the processing_fn by startup/process/finish ops.Michael Adam1-1/+1
This remove static a variable for the keytab context in the keytab processing function and simplifies the signature. The keytab context is instead in the new private data member of the dssync_context struct. This is in preparation of adding support for keeping track of the up-to-date-ness vector, in order to be able to sync diffs instead of the whole database. Michael (This used to be commit c51c3339f35e3bd921080d2e226e2422fc23e1e6)
2008-07-31netapi: when using NetApi functions forward net's kerberos setting.Günther Deschner2-0/+9
Guenther (This used to be commit d46f648d2e25ad712138f02e5060288278f4c1b1)
2008-07-31net: Use NetLocalGroupAdd() for adding aliases.Günther Deschner1-62/+21
Guenther (This used to be commit 2ed4ce0bf1723e35a6c5dfa7f8fa58fb9c7ab469)
2008-07-31net: add "-k" switch for kerberos authentication (in preparation for #5416).Günther Deschner4-4/+17
Guenther (This used to be commit 4cce94d464b16d29b638da3a581d98a237959b63)