summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
AgeCommit message (Collapse)AuthorFilesLines
2011-02-15s3: no need to globally include intl.h.Günther Deschner1-0/+1
Guenther
2011-02-09s3:net add option --dbGregor Beck1-0/+1
2010-09-23s3-dsgetdcname: always pass in messaging context.Günther Deschner1-0/+1
Volker, please check. Guenther
2010-08-06s3-net: only include netapi header when needed.Günther Deschner1-1/+0
Guenther
2010-07-13s3-libnet: better separate headers.Günther Deschner1-1/+0
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-2/+2
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-24s3: Add --use-ccache to netVolker Lendecke1-0/+1
2010-01-24s3: Fix a bug in net's use of poptVolker Lendecke1-1/+1
In order to add --use-ccache to net, I added another "bool opt_ccache;" to struct net_context. popt did not like this, it took a while to figure out why. Popt has the lines /* XXX Check alignment, may fail on funky platforms. */ if (arg == NULL || (((unsigned long)arg) & (sizeof(*arg)-1))) return POPT_ERROR_NULLARG; The "bool opt_ccache;" was not aligned anymore...
2009-11-08Revert "s3: Make run_rpc_command take strings instead of a ndr_interface_table"Volker Lendecke1-2/+1
This reverts commit 53f2a1595e76db9fe1b42db65b51895b73365993.
2009-11-08s3: Make run_rpc_command take strings instead of a ndr_interface_tableVolker Lendecke1-1/+2
2009-09-11s3-rpc_client: add dcerpc_transport_t to cli_rpc_pipe_open_spnego_ntlmssp ↵Günther Deschner1-0/+1
and cli_rpc_pipe_open_ntlmssp. Guenther
2009-07-29s3 net: Initial top level support.Kai Blin1-0/+13
2009-07-22Revert "net: Use samba default command line arguments."Kai Blin1-2/+7
This reverts commit fb262f79fab00374023e59476e8d05a1015a7041 and related commits c36031778e1983ddb11d3e1fcab35e738dbf94bc 72fd5fa6bb78a054fad5e5ebe19a0c0387a7d45b and 38cd0e086f50ce54d88a19aa5a6803469af90489 This change caused more trouble than it solved. We need to do this differently. Reverting so we don't accidently release this.
2009-05-25net: Use samba default command line arguments.Kai Blin1-7/+2
Attention: The meaning of the -N flag changed. To get the old meaning for net groupmap set, use the long option --ntname The long option for using kerberos changed from --kerberos to --use-kerberos net rpc commands will now prompt for a password if none is given. As a benefit, net will now accept an authentication file like other samba command line tools. So no need to specify the password on the command line in scripts anymore. This should fix bug #6357 Signed-off-by: Kai Blin <kai@samba.org>
2009-04-17s3:net: add --request-timeout optionStefan Metzmacher1-0/+1
metze
2008-11-18s3-net: add net_dc_info struct.Günther Deschner1-0/+10
Guenther
2008-09-10net: share_type is defined in net_rap.c, net_rpc.c needs to use that.Kai Blin1-1/+0
This fixes a crash in net rpc share that Günther Deschner found. (This used to be commit 50af6d609dcbbdadb9af44ede980d9c85ac834e3)
2008-08-01vampire keytab: add command line switch --clean-old-entries .Michael Adam1-0/+1
This allows to control cleaning the keytab. It will only clean old occurences of keys that are replicated in this run. So if you want to ensure things are cleaned up, combine this switch with --force-full-repl or --single-obj-repl (+dn list). Michael (This used to be commit 21385e1c635ea67215eb1da90e7dca97ae2f5d56)
2008-08-01vampire keytab: introduce switch --single-obj-repl.Michael Adam1-0/+1
This controls whether single object replication is to be used. This only has an effect when at least one object dn is given on the commandline. NOTE: Now the default is to use normal replication with uptodateness vectors and use object dns given on the command line as a positive write filter. Single object replication is only performed when this new switch is specified. Michael (This used to be commit 0f81111ea8c049eb60f98d4939e520a5a562d2e6)
2008-08-01net rpc vampire: rename --repl-nodiff to --force-full-repl.Michael Adam1-1/+1
This more clear. Michael (This used to be commit 0ddde9aae88e6244276e1c143056a4bfc7c7fcca)
2008-08-01vampire keytab: add switch --repl-nodiff to trigger full replication.Michael Adam1-0/+1
I.e. replication without keeping track of the up to date vector. Michael (This used to be commit d4b36e447bce8692416e132ab9f53a6282f54cac)
2008-07-31net: add "-k" switch for kerberos authentication (in preparation for #5416).Günther Deschner1-0/+1
Guenther (This used to be commit 4cce94d464b16d29b638da3a581d98a237959b63)
2008-07-21Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idxVolker Lendecke1-1/+1
(This used to be commit 85c8363d5179e7053adc05e8abce2fb26cf9b968)
2008-06-24net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).Günther Deschner1-0/+2
Guenther (This used to be commit 7541a0103ad22000e94ffc6d057ffd5d33d1a930)
2008-06-17net_vampire: move some samsync functions to libnet.Günther Deschner1-43/+0
Guenther (This used to be commit b3b6af0a3e25fab0a14c9c802dbabd3d03448ebe)
2008-06-13net_vampire: restructure internal code more.Günther Deschner1-0/+30
Guenther (This used to be commit 9557504d70fe57098914da131b39212faf4f0a7d)
2008-06-13net_vampire: start using talloc for the ldif vampire code.Günther Deschner1-6/+6
Guenther (This used to be commit ae179e4f3faccbf2c9f19b6f070f5daf87cdfc50)
2008-06-13net: Fix bug #5542 (samsync contains empty passwords).Günther Deschner1-0/+1
Guenther (cherry picked from commit 1a22e975dd1255f3557c1cd873d877aa35822afc) (This used to be commit ad8392cf7c817ee29a03bc6f515bf1cc18a29eda)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-11/+0
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Autogenerate "net help" output from net's functable.Kai Blin1-0/+1
(This used to be commit 0feb40bc8408412336c667df4f8bf57c77446ca7)
2008-06-10net: Use functable3Kai Blin1-1/+1
(This used to be commit 122dfe876d954ee3b3796951df16e1be9e9b0eb8)
2008-06-10net: Add net_run_function3Kai Blin1-0/+1
(This used to be commit ba1108f06ae5860c8f418dc383b027068780abf9)
2008-06-10net: Move includes to net.hKai Blin1-40/+64
(This used to be commit 1943e2752d4dcb5bbbd4e40cf854efba4aed8f45)
2008-06-05net: fix debuglevel handling.Günther Deschner1-1/+0
Kai, that one actually needs to stay a global external variable in order to support debuglevel definition only on the commandline for net. Guenther (This used to be commit f6ba7333ab31332198b59651b4252cb3f897b6aa)
2008-05-20net: Split out common help functions.Kai Blin1-0/+1
(This used to be commit efc863e3758501a4c62dc9762eb0aded2dad01ff)
2008-05-10net: Remove globalsKai Blin1-40/+48
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2008-05-10net: Some whitespace clean-up.Kai Blin1-10/+10
(This used to be commit 4dcce8b653671c8ce907f8353df1db8a5c8f8e19)
2008-04-21net: Add libnetapi context to net's impressive list of globals.Günther Deschner1-0/+1
Guenther (This used to be commit 8a5fadf6a183e4e4ccc77283b3ddba0748c6abfb)
2008-04-16net/libnetapi: Include netapi headers early and free on exit.Günther Deschner1-0/+2
Guenther (This used to be commit 020b1e6431601fadf44dbfe8393908c096ecfa4c)
2008-01-15Apply const to rpccli_lsa_query_info_policy() and ↵Günther Deschner1-1/+1
rpccli_lsa_query_info_policy2(). Guenther (This used to be commit 7a3fe68bef7acde9d9f8a7a44ce7e9432f3c5a95)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-1/+1
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-19Fix the popt / bool issues. Some places we used BOOLJeremy Allison1-4/+4
where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy. (This used to be commit 793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-5/+5
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter1-2/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22135: Check in most of Michael Adam's net conf utility. A good share of ↵Volker Lendecke1-0/+1
this patch is moving functions around to fix some linker dependencies for the registry. Michael, I've renamed your auth_utils2.c to token_utils.c. Thanks! Volker (This used to be commit 9de16f25c1c3e0b203da47391772ef2e2fe291ac)
2007-10-10r18981: * cleanup some vestiges of old cli_reg.c code and mark some TODOGerald Carter1-0/+2
items in cac_winreg.c * Get 'net rpc registry enumerate' to list values again * Fix winreg.idl QueryInfoKey(). The max_subkeysize is the max_classlen (we previously had this correct in Samba3") * fix valgrind error about uninitialized memory and use-before-set on size value inmemset() call * Fix key enumeration in 'net rpc registry enumerate' * regenerate gen_dir files based on local pidl patches Please note that the generated ndr files are from my local copy of pidl. If you need to regenerate, please apply the patch that I posted to the samba-technical list earlier today. (This used to be commit 5d843612a1b9d92022f76626f1c7473faebec4ba)
2007-10-10r15701: change 'net ads leave' to disable the machine account in the domain ↵Gerald Carter1-0/+2
(since removal implies greater permissions that Windows clients require) (This used to be commit ad1f947625612ef16adb69fc2cfeffc68a9a2e02)
2007-10-10r15543: New implementation of 'net ads join' to be more like Windows XP.Gerald Carter1-18/+9
The motivating factor is to not require more privileges for the user account than Windows does when joining a domain. The points of interest are * net_ads_join() uses same rpc mechanisms as net_rpc_join() * Enable CLDAP queries for filling in the majority of the ADS_STRUCT->config information * Remove ldap_initialized() from sam/idmap_ad.c and libads/ldap.c * Remove some unnecessary fields from ADS_STRUCT * Manually set the dNSHostName and servicePrincipalName attribute using the machine account after the join Thanks to Guenther and Simo for the review. Still to do: * Fix the userAccountControl for DES only systems * Set the userPrincipalName in order to support things like 'kinit -k' (although we might be able to just use the sAMAccountName instead) * Re-add support for pre-creating the machine account in a specific OU (This used to be commit 4c4ea7b20f44cd200cef8c7b389d51b72eccc39b)