summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* s3:testparm: don't return an error for a warning messageStefan Metzmacher2011-05-201-1/+0
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri May 20 13:14:39 CEST 2011 on sn-devel-104
* s3-testparm Warn more on incorrect use of 'password server'Andrew Bartlett2011-05-181-2/+17
|
* lib/util/charset Don't allow invalid 'dos charset = utf8'Andrew Bartlett2011-05-181-0/+6
| | | | | | | No DOS client used UTF8, and this creates subtle, difficult to disagnose breakage of schannel (domain membership). Andrew Bartlett
* s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett2011-05-185-31/+31
| | | | | | | strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-lib Replace StrCaseCmp() with strcasecmp_m()Andrew Bartlett2011-05-1814-18/+18
| | | | | | | strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-net_rpc_printer.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach2011-05-181-59/+57
| | | | | | Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-net: fix potential crash bug in display_print_driver3().Günther Deschner2011-05-131-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
* libsmbconf: Convert smbconf_get_config() to sbcErr.Andreas Schneider2011-05-101-25/+18
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_transaction_*() to sbcErr.Andreas Schneider2011-05-101-37/+35
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_includes() to sbcErr.Andreas Schneider2011-05-101-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_includes() to sbcErr.Andreas Schneider2011-05-101-6/+11
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_includes() to sbcErr.Andreas Schneider2011-05-101-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider2011-05-101-7/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_parameter() to sbcErr.Andreas Schneider2011-05-101-7/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider2011-05-101-21/+21
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_delete_share() to sbcErr.Andreas Schneider2011-05-101-6/+7
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share() to sbcErr.Andreas Schneider2011-05-101-8/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_create_share() to smbErr.Andreas Schneider2011-05-101-8/+12
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_get_share_names() to sbcErr.Andreas Schneider2011-05-101-4/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_drop() to sbcErr.Andreas Schneider2011-05-101-6/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider2011-05-101-7/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command lineAndrew Bartlett2011-05-081-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
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-062-0/+3
| | | | Guenther
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-0614-0/+14
| | | | Guenther
* s3: only include tdb headers where needed.Günther Deschner2011-05-064-0/+4
| | | | Guenther
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-065-8/+8
|
* More const fixes... getting near the end now.Jeremy Allison2011-05-064-12/+12
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
* More simple const fixups.Jeremy Allison2011-05-051-3/+3
|
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-043-10/+10
|
* Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison2011-05-041-2/+2
|
* s3: remove various references to server side dcerpc structs (which are not ↵Günther Deschner2011-05-021-1/+0
| | | | | | needed). Guenther
* s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett2011-04-292-3/+3
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-291-1/+1
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-libads Pass a struct sockaddr_storage to cldap routinesAndrew Bartlett2011-04-281-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
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-261-6/+5
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3-utils: Fix Bug #8106. Fix the build of smbget on HP NonStop.Günther Deschner2011-04-261-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
* s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner2011-04-151-1/+1
| | | | Guenther
* s3: Fix bug 8066, wrong output in smbgetVolker Lendecke2011-04-151-4/+9
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
* s3: only include smb profiling where needed.Günther Deschner2011-04-141-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
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-137-0/+7
| | | | Guenther
* s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett2011-04-132-2/+1
| | | | | | | This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett
* s3: Retry the join with the short nameVolker Lendecke2011-04-121-0/+5
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:net idmap check: fix output of an invalid recordMichael Adam2011-04-081-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
* s3-net: "idmap check" ignore __db_sequence_number__Gregor Beck2011-04-081-1/+7
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:net rpc trust: fix two C++ implicit void * cast warningsMichael Adam2011-04-071-2/+5
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Apr 7 17:52:28 CEST 2011 on sn-devel-104
* s3:net idmap check: fix a couple of c++ implicit void * cast warningsMichael Adam2011-04-071-5/+5
|
* s3-net: fix the usage output of "net idmap check"Gregor Beck2011-04-071-4/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Add delete op for net trust utilitySumit Bose2011-04-061-53/+159
| | | | Signed-off-by: Günther Deschner <gd@samba.org>