1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

3447 Commits

Author SHA1 Message Date
Andrew Bartlett
c615ebed6e s3-lib Replace StrCaseCmp() with strcasecmp_m()
strcasecmp_m() never needs to call to talloc, and via next_codepoint()
still has an ASCII fast-path bypassing iconv() calls.

Andrew Bartlett
2011-05-18 16:12:08 +02:00
Björn Baumbach
25f1583b9f s3-net_rpc_printer.c: Fix cli_errstr() usage (part of bug #7864)
Convert cli_errstr() to nt_errstr()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-18 10:53:45 +02:00
Günther Deschner
3d100216b8 s3-net: fix potential crash bug in display_print_driver3().
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
2011-05-13 18:49:06 +02:00
Andreas Schneider
4d391d29f8 libsmbconf: Convert smbconf_get_config() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
e1f0b91c5f libsmbconf: Convert smbconf_transaction_*() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
72d15f0c03 libsmbconf: Convert smbconf_delete_includes() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
d911bafea6 libsmbconf: Convert smbconf_set_includes() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:22 +02:00
Andreas Schneider
9f9711490a libsmbconf: Convert smbconf_get_includes() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
e19c4f278b libsmbconf: Convert smbconf_delete_parameter() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
ff5838d97a libsmbconf: Convert smbconf_get_parameter() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
ddc28a683f libsmbconf: Convert smbconf_set_parameter() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
fbd7626656 libsmbconf: Convert smbconf_delete_share() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
7f355e05f9 libsmbconf: Convert smbconf_get_share() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:21 +02:00
Andreas Schneider
7af2876e45 libsmbconf: Convert smbconf_create_share() to smbErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
823cd472b4 libsmbconf: Convert smbconf_get_share_names() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
720ba8e7e7 libsmbconf: Convert smbconf_drop() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andreas Schneider
29eea4b09a libsmbconf: Convert smbconf_init() to sbcErr.
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10 19:13:20 +02:00
Andrew Bartlett
c3bb5b04e2 s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command line
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-08 10:56:27 +02:00
Günther Deschner
1e208a7057 s3-includes: no need to globally include libads/ads_status.h.
Guenther
2011-05-06 16:37:22 +02:00
Günther Deschner
675573d54b s3-includes: finally only include client.h when libsmb is used.
Guenther
2011-05-06 16:37:22 +02:00
Günther Deschner
27022587e3 s3-libsmb: move protos to libsmb/proto.h
Guenther
2011-05-06 16:37:18 +02:00
Günther Deschner
d8cfca3a9b s3: only include tdb headers where needed.
Guenther
2011-05-06 10:48:10 +02:00
Jeremy Allison
7d6ebe0de7 More const fixes. Remove CONST_DISCARD. 2011-05-06 01:44:07 +02:00
Jeremy Allison
9eee6e2fd2 More const fixes... getting near the end now.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri May  6 00:57:00 CEST 2011 on sn-devel-104
2011-05-06 00:57:00 +02:00
Jeremy Allison
f85e095dd2 More simple const fixups. 2011-05-05 23:56:08 +02:00
Jeremy Allison
8380835fc6 Fix warning messages caused by addition of null check in fstrcpy macro. 2011-05-04 12:12:15 -07:00
Jeremy Allison
017e0c8d95 Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1. 2011-05-04 12:12:13 -07:00
Günther Deschner
0bb4701a74 s3: remove various references to server side dcerpc structs (which are not needed).
Guenther
2011-05-02 15:03:44 +02:00
Andrew Bartlett
0eca33bbf6 s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR
This means we use just one constant for this file attribute.

Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
0a3c84b554 s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM
This means we use just one constant for this file attribute.

Andrew Bartlett
2011-04-29 16:38:13 +10:00
Andrew Bartlett
317e19aeb3 s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN
This means we use just one constant for this file attribute.

Andrew Bartlett
2011-04-29 16:38:12 +10:00
Andrew Bartlett
818ec32d0c s3-libads Pass a struct sockaddr_storage to cldap routines
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-28 05:30:20 +02:00
Volker Lendecke
0226428eb9 s3: Use cli_writeall instead of cli_write
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-26 12:22:55 -07:00
Günther Deschner
633dbabe91 s3-utils: Fix Bug #8106. Fix the build of smbget on HP NonStop.
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-26 16:41:17 +02:00
Günther Deschner
6768b65123 s3-waf: try to fix the non-ldap-but-krb5 build.
Guenther
2011-04-15 12:37:55 +02:00
Volker Lendecke
53f50c2268 s3: Fix bug 8066, wrong output in smbget
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
2011-04-15 09:32:55 +02:00
Günther Deschner
165521e20d s3: only include smb profiling where needed.
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-14 01:31:39 +02:00
Günther Deschner
9824e2e5ee s3-rpc_client: add and use rpc_client/rpc_client.h.
Guenther
2011-04-13 22:23:59 +02:00
Andrew Bartlett
d309499b9e s3-build Remove distinct LOCALEDIR subsystem
This is no different to the rest of dynconfig, and so should be dealt
with there.

Andrew Bartlett
2011-04-13 15:51:52 +10:00
Volker Lendecke
feb3cdee36 s3: Retry the join with the short name
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-12 13:24:24 +02:00
Michael Adam
58a0c8a9e0 s3:net idmap check: fix output of an invalid record
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-08 17:29:31 +02:00
Gregor Beck
6db4fc15df s3-net: "idmap check" ignore __db_sequence_number__
Signed-off-by: Michael Adam <obnox@samba.org>
2011-04-08 16:44:57 +02:00
Michael Adam
9705dab835 s3:net rpc trust: fix two C++ implicit void * cast warnings
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Apr  7 17:52:28 CEST 2011 on sn-devel-104
2011-04-07 17:52:28 +02:00
Michael Adam
838e2dd1f1 s3:net idmap check: fix a couple of c++ implicit void * cast warnings 2011-04-07 17:08:16 +02:00
Gregor Beck
7d040434dc s3-net: fix the usage output of "net idmap check"
Signed-off-by: Michael Adam <obnox@samba.org>
2011-04-07 13:13:27 +02:00
Sumit Bose
2bafb4ccbb s3-net: Add delete op for net trust utility
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 12:25:46 +02:00
Sumit Bose
11c342724f s3-net: Add net trust utility
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 12:25:42 +02:00
Sumit Bose
afdc9055b5 s3-net: add IPA provision
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06 11:53:56 +02:00
Gregor Beck
a217ec64ec s3-net: add command "net idmap check"
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-04 18:21:09 +02:00
Volker Lendecke
d9b03cb4f0 s3: Fix Coverity ID 1136: CONSTANT_EXPRESSION_RESULT 2011-04-01 08:50:06 +02:00
Sumit Bose
34ea813553 s3-net: Do not use uninitialized value
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-31 18:09:57 +02:00
Günther Deschner
c2d6260f10 s3: only include lib/privileges.h where needed.
This finally removes the global lsa.h inclusion.

Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
643b08dd25 s3: include ../librpc/gen_ndr/lsa.h where needed.
Guenther
2011-03-30 01:13:10 +02:00
Günther Deschner
6e3f0d28a4 s3-includes: only include ntdomain.h where needed.
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
ab36d597e7 s3-messages: make ndr_messaging.h part of messages.h.
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
b2af281e50 s3-messages: only include messages.h where needed.
Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2473c2fb1b s3-libsmb: put namequery headers to nmblib.h
We might find a better name for it and merge other namequery related things as
well here...

Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
2377039738 s3-locking: move locking prototypes out of proto.h.
Will later become part of locking.h

Guenther
2011-03-30 01:13:09 +02:00
Günther Deschner
235f148590 s3-passdb: use passdb headers where needed.
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
2f36ef7225 s3-passdb: add passdb.h where needed.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0a250f4946 registry: create and use shared libcli/registry/util_reg.h header.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49ccae1c20 s3-includes: no point in including all security headers globally.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0e771263ee s3-includes: only include system/filesys.h when needed.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49fcf653b1 s3-includes: only include system/passwd.h when needed.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
d85f140826 s3-winbind: remove global inclusion of libwbclient.
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
96487959e9 lib/util/util_pw: share more code between lib/util/util_pw.c and source3/lib/username.c
Guenther
2011-03-30 01:13:06 +02:00
Volker Lendecke
6bee354377 s3: Fix Coverity ID 2228: RESOURCE_LEAK
Holger, please check!
2011-03-27 22:22:11 +02:00
Andrew Tridgell
15e84a9a09 charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
we shouldn't accept bad multi-byte strings, it just hides problems

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Günther Deschner
48c604a3b7 s3-smbta-util: fix some buildwarnings.
Guenther
2011-03-23 19:24:35 +01:00
Volker Lendecke
e88b9df78b s3: Fix Coverity ID 2202, NULL_RETURNS 2011-03-23 12:19:57 +01:00
Andrew Tridgell
c8297073db s3-fault: removed the cont_fn from fault_setup()
cont_fn() was supposed to be a way to continue after a seg fault. It
could never be called however, as smb_panic() from fault_report()
could never return, as dump_core() never returns at the end of
smb_panic()

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104
2011-03-22 05:07:58 +01:00
Günther Deschner
5def6f0eca s3-net: make sure we set correct default user flags in rap_user_add().
Guenther
2011-03-18 01:24:07 +01:00
Günther Deschner
faf8becf22 s3-utils: run minimal_includes.pl over utils/*.c
Guenther
2011-03-18 01:24:06 +01:00
Sumit Bose
4562a7914d s3:net Find uid before using it
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-17 13:57:28 +01:00
Günther Deschner
3aa9d3005a s3-build: only include asn1 headers where actually needed.
Guenther
2011-03-16 23:46:18 +01:00
Volker Lendecke
2581cb7ada s3: Fix Coverity ID 1402: PASS_BY_VALUE
There's no point in passing GROUP_MAP on the stack

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Mar 16 21:58:08 CET 2011 on sn-devel-104
2011-03-16 21:58:08 +01:00
Günther Deschner
e1f84330ba libcli/security: move display_sec headers to own header file and add to
security.h grouping header.

Guenther
2011-03-16 10:11:08 +01:00
Günther Deschner
7a91282c9f s3-libsmb: only include rap client when needed.
Guenther
2011-03-15 21:16:35 +01:00
Volker Lendecke
4f34955e2c s3: Fix Coverity ID 2290: Uninitialized read
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteKey.
2011-03-15 11:10:42 +01:00
Günther Deschner
af2538d16f s3-build: remove -I../lib/addns.
Guenther
2011-03-10 23:25:04 +01:00
Volker Lendecke
c97ea5976c s3-net: Use wbcSidToStringBuf 2011-03-05 14:29:32 +01:00
Günther Deschner
ea29261186 s3-sessionid: avoid global include of sessionid.h
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Mar  2 12:58:12 CET 2011 on sn-devel-104
2011-03-02 12:58:12 +01:00
Günther Deschner
8643683dd8 s3-server_id: only include server_id where needed.
Guenther
2011-03-02 12:12:31 +01:00
Jelmer Vernooij
59a077d8f5 Fix some types
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-28 23:30:06 +01:00
Andreas Schneider
bf18403c81 s3-rpc_client: Move client pipe functions to own header. 2011-02-28 18:15:04 +01:00
Volker Lendecke
89d81b310e s3: Eliminate sys_select_intr from smbfilter 2011-02-28 16:40:19 +01:00
Gregor Beck
58081884f7 s3: smbcontrol to notify smbd about idmap changes
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
2011-02-28 14:07:23 +01:00
Volker Lendecke
fec0baacb6 s3: Make is_zero_addr take a sockaddr_storage
All callers had to cast this anyway

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
2011-02-27 11:02:53 +01:00
Günther Deschner
66e040ee0a s3-printing: isolate print notification prototypes better.
Guenther
2011-02-22 21:52:18 +01:00
Volker Lendecke
943aac2e36 s3: Add "len" to pdb_set_hours 2011-02-19 11:32:49 +01:00
Andrew Bartlett
09c4a5cd9b s3-cluster Always fill in the clustering vnn element
This avoids this structure being partially uninitialised.

Adnrew Bartlett
2011-02-17 16:02:19 +01:00
Michael Adam
fbfa5c62b8 s3:net: fix usage for "net rpc registry export" 2011-02-16 12:56:40 +01:00
Günther Deschner
ca574482b8 s3: no need to globally include intl.h.
Guenther
2011-02-15 12:09:22 +01:00
Christian Ambach
d8a90b499b s3:utils enable sharesec for registry shares
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb  9 16:41:31 CET 2011 on sn-devel-104
2011-02-09 16:41:31 +01:00
Gregor Beck
927102790e s3:net idmap: implement net idmap delete
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb  9 15:06:06 CET 2011 on sn-devel-104
2011-02-09 15:06:06 +01:00
Michael Adam
a6d45d0ad8 s3:net idmap dump: report correct database file when failed to open idmap db. 2011-02-09 14:00:35 +01:00
Gregor Beck
59ccfac211 s3:net idmap dump: use net_idmap_dbfile 2011-02-09 14:00:35 +01:00
Michael Adam
79307cf006 s3:net idmap restore: correctly abort operation if dbfile could not be determined 2011-02-09 14:00:34 +01:00
Michael Adam
92f856c513 s3:net idmap: fix error reporting in net_idmap_dbfile()
The last case which results in dbfile == NULL is not an
out of memory case but means no --db has been specified
and the idmap backend is not supported for auto-determining
the idmap tdb file.
2011-02-09 14:00:34 +01:00
Gregor Beck
e2795f5664 s3:net factor out net_idmap_dbfile 2011-02-09 14:00:34 +01:00
Gregor Beck
1f1a165ea9 s3:net idmap restore: fix segfault on missing input file 2011-02-09 14:00:34 +01:00
Gregor Beck
47f499abf6 s3:net add option --db 2011-02-09 14:00:34 +01:00
Michael Adam
872d913fa2 s3:testparm: add "--option" to testparm
This way one can test the --option feature with testparm.
E.g.:

testparm -s -v --option="parameter=value" | grep parameter

should print "parameter = value"
2011-02-09 14:00:34 +01:00
Jeremy Allison
a674a56a97 Add fdopendir to the VFS. We will use this to reuse a directory fd already open by NtCreateX.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb  9 00:55:22 CET 2011 on sn-devel-104
2011-02-09 00:55:22 +01:00
Volker Lendecke
5a0ee95b95 s3: Fix some nonempty blank lines and some typos
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  9 00:01:45 CET 2011 on sn-devel-104
2011-02-09 00:01:45 +01:00
Gregor Beck
01d3da3c7c s3:net: remove unused net_idmap_help
Signed-off-by: Michael Adam <obnox@samba.org>

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Tue Feb  8 11:50:37 CET 2011 on sn-devel-104
2011-02-08 11:50:37 +01:00
Michael Adam
3bccd2f3f3 s3:net conf: fix a comment typo 2011-02-07 18:37:42 +01:00
Andreas Schneider
34e8a50e5a s3-util: Moved eventlog_add_source to admin util.
This function is only used in the admin util.

Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07 12:32:00 +01:00
Günther Deschner
00478b0559 s3-net: prefer dcerpc_lsa_X functions in "net rpc".
Guenther
2011-02-02 19:03:36 +01:00
Günther Deschner
eab00491f3 s3-net: prefer dcerpc_lsa_X functions in "net rpc rights".
Guenther
2011-02-02 19:03:26 +01:00
Günther Deschner
8055bc82b0 s3-net: use status variable in "net rpc rights".
Guenther
2011-02-02 19:03:20 +01:00
Günther Deschner
32064346f0 s3-net: prefer dcerpc_lsa_X functions in net_util.c
Guenther
2011-02-02 19:03:13 +01:00
Günther Deschner
63de60c2bc s3-net: prefer dcerpc_lsa_X functions in "net rpc join".
Guenther
2011-02-02 19:03:06 +01:00
Günther Deschner
61d18b7f08 s3-net: prefer dcerpc_lsa_X functions in "net rpc audit".
Guenther
2011-02-02 19:03:00 +01:00
Günther Deschner
d38d743166 s3-net: use status variable in "net rpc audit".
Guenther
2011-02-02 19:02:54 +01:00
Günther Deschner
50170d7fd5 s3-net: prefer dcerpc_samr_X functions in net_rpc_join_newstyle.
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
b53c0c8c85 s3-net: use status variable in net_rpc_join_newstyle.
Guenther
2011-02-02 18:11:19 +01:00
Günther Deschner
91e6dad749 s3-dssync-passdb: add basic routines and net function.
Guenther
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
1c1aebae82 s3:net: make some net_rpc_samsync.c functions static
metze
2011-02-02 15:45:20 +01:00
Stefan Metzmacher
0313969aed s3:net: "net rpc vampire" is an alias for "net rpc vampire passdb"
The should use exactly the same code path for both.

metze
2011-02-02 15:45:20 +01:00
Volker Lendecke
a62d67e639 s3: Fix a typo
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Feb  2 14:58:52 CET 2011 on sn-devel-104
2011-02-02 14:58:52 +01:00
Günther Deschner
a19c1cbb8d s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 00:21:19 CET 2011 on sn-devel-104
2011-02-02 00:21:19 +01:00
Günther Deschner
c7b1432b6e s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
95ee07d8ab s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
49f08d1d7c s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
37f2f518be s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
bf10bbc074 s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
20edb2d48b s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
2a63433e94 s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
d280a52fdd s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
84e3d14f7a s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
b9b2325f45 s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
55e042a4f2 s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f8147fbb14 s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e14c214ab3 s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
54b74c781d s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
1d3b378001 s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
a87a9fc9ce s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
021e0b4cda s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f140e892f6 s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e3aafb2a7f s3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.
Guenther
2011-02-01 23:29:12 +01:00
Günther Deschner
753094d5d2 s3-net: add net_scan_dc non-ad variant.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 17:48:40 CET 2011 on sn-devel-104
2011-02-01 17:48:40 +01:00
Michael Adam
e57d4c41d7 s3:net registry: ignore WERR_BADFILE when --force is given in deletekey[_recursive]
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sun Jan 30 14:53:13 CET 2011 on sn-devel-104
2011-01-30 14:53:13 +01:00
Michael Adam
e81ddbcade s3:net registry: fix a debug message. 2011-01-30 14:09:04 +01:00
Michael Adam
3649798bee s3:net registry: fix a debug message. 2011-01-30 14:09:04 +01:00
Günther Deschner
fc16baaf91 s3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.
This is a workaround for a string issue we currently have with argument based
generated dcerpc client code (see bug #7804 for details).

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 22:05:20 CET 2011 on sn-devel-104
2011-01-28 22:05:20 +01:00
Günther Deschner
1232fb5a1e s3-rpc_client: remove some more obsolete cli_X.h header files.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2011-01-28 11:18:44 +01:00
Andreas Schneider
efde1d870b s3-utils: Fixed a resource leak in net_afs.
s3-utils: Fixed a resource leak in net_afs.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Jan 27 00:12:47 CET 2011 on sn-devel-104
2011-01-27 00:12:47 +01:00
Andreas Schneider
4fc75c755d s3-utils: Fixed a resource leak in smbta-util.
s3-utils: Fixed a resource leak in smbta-util.
2011-01-26 14:20:37 -08:00
Andreas Schneider
f419c2b091 s3-utils: Fixed possible resource leak in net_usershare.
s3-utils: Fixed possible resource leak in net_usershare.
2011-01-26 14:20:37 -08:00