summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2011-05-10libsmbconf: Convert smbconf_get_config() to sbcErr.Andreas Schneider1-25/+18
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_transaction_*() to sbcErr.Andreas Schneider1-37/+35
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_includes() to sbcErr.Andreas Schneider1-4/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_set_includes() to sbcErr.Andreas Schneider1-6/+11
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_includes() to sbcErr.Andreas Schneider1-4/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider1-7/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_parameter() to sbcErr.Andreas Schneider1-7/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider1-21/+21
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_share() to sbcErr.Andreas Schneider1-6/+7
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_share() to sbcErr.Andreas Schneider1-8/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_create_share() to smbErr.Andreas Schneider1-8/+12
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_share_names() to sbcErr.Andreas Schneider1-4/+4
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_drop() to sbcErr.Andreas Schneider1-6/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider1-7/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-08s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command lineAndrew Bartlett1-0/+1
This is similar to the code in popt_common and allows the smb.conf to be re-loaded from this file later in the code (or for Samba4 plugins to attempt to parse the same smb.conf). Andrew Bartlett
2011-05-06s3-includes: no need to globally include libads/ads_status.h.Günther Deschner1-0/+1
Guenther
2011-05-06s3-includes: finally only include client.h when libsmb is used.Günther Deschner2-0/+3
Guenther
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner14-0/+14
Guenther
2011-05-06s3: only include tdb headers where needed.Günther Deschner4-0/+4
Guenther
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison5-8/+8
2011-05-06More const fixes... getting near the end now.Jeremy Allison4-12/+12
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
2011-05-05More simple const fixups.Jeremy Allison1-3/+3
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison3-10/+10
2011-05-04Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison1-2/+2
2011-05-02s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner1-1/+0
needed). Guenther
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2-3/+3
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-28s3-libads Pass a struct sockaddr_storage to cldap routinesAndrew Bartlett1-4/+3
This avoids these routines doing a DNS lookup that has already been done, and ensures that the emulated DNS lookup isn't thrown away. Andrew Bartlett
2011-04-26s3: Use cli_writeall instead of cli_writeVolker Lendecke1-6/+5
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26s3-utils: Fix Bug #8106. Fix the build of smbget on HP NonStop.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 26 16:41:17 CEST 2011 on sn-devel-104
2011-04-15s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner1-1/+1
Guenther
2011-04-15s3: Fix bug 8066, wrong output in smbgetVolker Lendecke1-4/+9
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
2011-04-14s3: only include smb profiling where needed.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner7-0/+7
Guenther
2011-04-13s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett2-2/+1
This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett
2011-04-12s3: Retry the join with the short nameVolker Lendecke1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-08s3:net idmap check: fix output of an invalid recordMichael Adam1-1/+6
Only print the value number for hwm, version and seqnum keys. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Apr 8 17:29:31 CEST 2011 on sn-devel-104
2011-04-08s3-net: "idmap check" ignore __db_sequence_number__Gregor Beck1-1/+7
Signed-off-by: Michael Adam <obnox@samba.org>
2011-04-07s3:net rpc trust: fix two C++ implicit void * cast warningsMichael Adam1-2/+5
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Apr 7 17:52:28 CEST 2011 on sn-devel-104
2011-04-07s3:net idmap check: fix a couple of c++ implicit void * cast warningsMichael Adam1-5/+5
2011-04-07s3-net: fix the usage output of "net idmap check"Gregor Beck1-4/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2011-04-06s3-net: Add delete op for net trust utilitySumit Bose1-53/+159
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-net: Add net trust utilitySumit Bose3-0/+559
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-net: add IPA provisionSumit Bose1-20/+119
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-04s3-net: add command "net idmap check"Gregor Beck5-1/+1106
This is a tool to check the consistency of an idmap tdb database. The default mode is to scan the database and list invalid entries, e.g. records with an invalid format, or records which are valid but for which the reverse mapping entry is missing. With the "--repair" switch, one can enter an interactive repair mode which will prompt for each invalid entry found with the option to delete, skip or edit the record. There is also a non-interactive repair mode triggered by "--auto" which will remove all records with invalid content and fill up mappings which are missing the reverse entry. The "--test" parameter lets "net idmap check" only list the changes that would be written and not actually commit them to the database. The "--lock" option allows to lock the database already in the first reading traverse, in order to remove the race when the database has to be closed and reopened again before writing the changes. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Apr 4 18:21:09 CEST 2011 on sn-devel-104
2011-04-01s3: Fix Coverity ID 1136: CONSTANT_EXPRESSION_RESULTVolker Lendecke1-1/+1
2011-03-31s3-net: Do not use uninitialized valueSumit Bose1-0/+2
s3-net: Do not use uninitialized value Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Mar 31 18:09:57 CEST 2011 on sn-devel-104
2011-03-30s3: only include lib/privileges.h where needed.Günther Deschner1-0/+1
This finally removes the global lsa.h inclusion. Guenther
2011-03-30s3: include ../librpc/gen_ndr/lsa.h where needed.Günther Deschner1-0/+1
Guenther