Fix warnings (values are always true). git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25572 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Fix some more callers of unistr2_to_ascii to use the size of destination instead of source as maxlen. Michael git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25285 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Fix a caller of unistr2_to_ascii(): The maxlen parameter should be set to the size of the destination, not to the size of the soruce. Michael git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@25281 0c0555d6-39d7-0310-84fc-f1cc0bd64818
use the GPLv3 boilerplate as recommended by the FSF and the license text git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@23784 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Change from v2 or later to v3 or later. Jeremy. git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_2@23779 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Add LSA lookupnames_level to rpcclient. Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@23628 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Allow to pass down the lookup-level to rpccli_lsa_lookup_names(). Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@23627 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Fix some 64-bit warnings. Jelmer, Jerry, in cmd_unixinfo.c:159 there is still the warning that "info" is being used uninitialized which I don't really know how to fix. Any hints? Volker git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@19013 0c0555d6-39d7-0310-84fc-f1cc0bd64818
replace rpccli_lsa_close() with rpccli_lsa_Close() git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@18747 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Use the Samba4 data structures for security descriptors and security descriptor buffers. Make security access masks simply a uint32 rather than a structure with a uint32 in it. git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@18745 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Big change: * autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@18271 0c0555d6-39d7-0310-84fc-f1cc0bd64818
merge 3.0-libndr branch git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@18188 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Fix bug #3887 reported by jason@ncac.gwu.edu by converting the lookup_XX functions to correctly return SID_NAME_TYPE enums. Jeremy. git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@16644 0c0555d6-39d7-0310-84fc-f1cc0bd64818
minor rpcclient cleanup: length is already set in data_blob. Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@15553 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Adding rpc client calls to manipulate auditing policies on remote CIFS servers. Also add a new "net rpc audit" tool. The lsa query infolevels were taken from samb4 IDL, the lsa policy flags and categories are partly documented on msdn. I need to cleanup the double lsa_query_info_policy{2}{_new} calls next. Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@15041 0c0555d6-39d7-0310-84fc-f1cc0bd64818
allow to set sec_info in rpcclients lsa_query_secobj. Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@14144 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Let the carnage begin.... Sync with trunk as off r13315 git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@13316 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Fix it really, this time :) Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@12131 0c0555d6-39d7-0310-84fc-f1cc0bd64818
display domain GUID. Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@12130 0c0555d6-39d7-0310-84fc-f1cc0bd64818
Fill in the clientside TRUSTED_DOMAIN_INFO_EX query. Guenther git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_3_0@11858 0c0555d6-39d7-0310-84fc-f1cc0bd64818