797316ae97
s3: Use cli_connect_nb in net_rpc_check
...
Autobuild-User: Volker Lendecke <vlendec@samba.org >
Autobuild-Date: Sat May 28 21:57:04 CEST 2011 on sn-devel-104
2011-05-28 21:57:04 +02:00
da662b82b8
s3-lib Replace StrnCaseCmp() with strncasecmp_m()
...
strncasecmp_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
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
27022587e3
s3-libsmb: move protos to libsmb/proto.h
...
Guenther
2011-05-06 16:37:18 +02:00
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
8380835fc6
Fix warning messages caused by addition of null check in fstrcpy macro.
2011-05-04 12:12:15 -07:00
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
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
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
11c342724f
s3-net: Add net trust utility
...
Signed-off-by: Günther Deschner <gd@samba.org >
2011-04-06 12:25:42 +02:00
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
235f148590
s3-passdb: use passdb headers where needed.
...
Guenther
2011-03-30 01:13:08 +02:00
d85f140826
s3-winbind: remove global inclusion of libwbclient.
...
Guenther
2011-03-30 01:13:06 +02:00
7a91282c9f
s3-libsmb: only include rap client when needed.
...
Guenther
2011-03-15 21:16:35 +01:00
c97ea5976c
s3-net: Use wbcSidToStringBuf
2011-03-05 14:29:32 +01:00
bf18403c81
s3-rpc_client: Move client pipe functions to own header.
2011-02-28 18:15:04 +01:00
00478b0559
s3-net: prefer dcerpc_lsa_X functions in "net rpc".
...
Guenther
2011-02-02 19:03:36 +01:00
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
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
c7b1432b6e
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
95ee07d8ab
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
49f08d1d7c
s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
37f2f518be
s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
...
Guenther
2011-02-01 23:29:14 +01:00
bf10bbc074
s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
20edb2d48b
s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
...
Guenther
2011-02-01 23:29:14 +01:00
2a63433e94
s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
...
Guenther
2011-02-01 23:29:14 +01:00
d280a52fdd
s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
...
Guenther
2011-02-01 23:29:14 +01:00
84e3d14f7a
s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
...
Guenther
2011-02-01 23:29:14 +01:00
b9b2325f45
s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
...
Guenther
2011-02-01 23:29:14 +01:00
55e042a4f2
s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
...
Guenther
2011-02-01 23:29:13 +01:00
f8147fbb14
s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.
...
Guenther
2011-02-01 23:29:13 +01:00
e14c214ab3
s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
54b74c781d
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
1d3b378001
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
a87a9fc9ce
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
021e0b4cda
s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.
...
Guenther
2011-02-01 23:29:13 +01:00
f140e892f6
s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.
...
Guenther
2011-02-01 23:29:13 +01:00
089c25cbbb
s3-rpc_client: Rename get_query_dispinfo_params.
2011-01-21 14:34:18 +01:00
f8f1711f61
Fix "net usersidlist" not to skip every other user
...
Remove double increment from for loop over users in get_user_tokens(),
left over from when this used to be a while loop. Bug was introduced
in 1e39a619
.
Autobuild-User: Jeremy Allison <jra@samba.org >
Autobuild-Date: Wed Jan 19 01:34:29 CET 2011 on sn-devel-104
2011-01-19 01:34:29 +01:00
430664d769
s3-net: use correct spoolss header in net rpc.
...
Guenther
2011-01-18 23:54:31 +01:00
da433458e5
s3-net: prefer dcerpc_winreg_X functions.
...
Guenther
Signed-off-by: Andreas Schneider <asn@samba.org >
2011-01-13 14:15:00 +01:00
8aa5b067b9
s3-net: prefer dcerpc_srvsvc_X functions.
...
Guenther
Signed-off-by: Andreas Schneider <asn@samba.org >
2011-01-13 14:12:52 +01:00
1259e93ac0
s3-net: prefer dcerpc_netr_X functions.
...
Guenther
Signed-off-by: Andreas Schneider <asn@samba.org >
2011-01-13 12:23:02 +01:00
9bad150705
s3-net: add missing breaks in switch statement in get_share_info().
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org >
Autobuild-Date: Wed Jan 12 14:31:05 CET 2011 on sn-devel-104
2011-01-12 14:31:05 +01:00
d1954ce8e7
s3-initshutdown: prefer dcerpc_initshutdown_X functions.
...
Guenther
2011-01-11 17:12:04 +01:00
f08fdfae27
s3-net: fix net sid type build warning.
...
Guenther
2010-12-17 11:33:05 +01:00
88d020ade0
s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystems
...
The issue here is that libnet and net were both trying to load the
smb.conf files, the case tables and set the debug levels. The set of
the debug levels caused problems, because it would force the level to
0, not (say) 10 as requested on the command line.
This regression was apparently introduced in
cf4de8ec2c
when eliminating
AllowDebugChange.
Andrew Bartlett
2010-11-24 08:37:04 +01:00
14ff2e8de9
Fix bug #7700 - Improvement of return code of smbclient
...
Based on an initial patch from H Hasegawa <hasegawa.hiroyuki@fujixerox.co.jp >.
Convert cli_list and associated functions to take calls that return NTSTATUS.
Jeremy.
Autobuild-User: Jeremy Allison <jra@samba.org >
Autobuild-Date: Fri Oct 29 19:40:16 UTC 2010 on sn-devel-104
2010-10-29 19:40:16 +00:00
deb7c02436
s3 Replace is_sid_in_token() with security_token_has_sid() from common code
...
The two routines are identical, so there is no need to keep both.
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org >
2010-10-14 02:35:04 +00:00
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
This will reduce the noise from merges of the rest of the
libcli/security code, without this commit changing what code
is actually used.
This includes (along with other security headers) dom_sid.h and
security_token.h
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org >
Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
2010-10-12 05:54:10 +00:00