summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2007-12-03Remove pstring from clirap2 by completely rewriting the damnJeremy Allison1-3/+5
thing :-). Now with added paranoia. Jeremy. (This used to be commit b6b5f92bc9457220df384bdb13530c393d294ce7)
2007-12-03Fix shutdown callers.Günther Deschner1-6/+7
Guenther (This used to be commit de2fdc6b5a78932f8ea5cf4c4715296f18dae4d3)
2007-12-03Fix svcctl callers.Günther Deschner2-11/+11
Guenther (This used to be commit 91bf2ac1af66acd8bcc831e758b3765fc94b2485)
2007-12-03Fix winreg callers.Günther Deschner1-28/+29
Guenther (This used to be commit 677d9e6d86997a1ae10266e9bab3b18c3fdd2890)
2007-12-03Actually implement reboot feature for net dom join/unjoin.Günther Deschner2-8/+77
Guenther (This used to be commit bbbeeba163f173d774937103a36560a4a4f49d4b)
2007-12-03ReformattingVolker Lendecke1-2/+4
(This used to be commit 28c0a77ec1eb4bc69679c00dcdacaa6ee4d8e3f5)
2007-11-30Add "net dom" command suite to "net".Günther Deschner2-0/+2
Guenther (This used to be commit a41f9aef843378b1f85f9b3d672d00f3399fa342)
2007-11-30Add "net dom unjoin" code.Günther Deschner1-0/+52
Guenther (This used to be commit 58d49023b9bc7d27e770f18a25cc6cebdc95b300)
2007-11-30Add "net dom join" code.Günther Deschner1-0/+116
Guenther (This used to be commit 177dab0ce31970c851531ffd2a6c5946e329a048)
2007-11-30Move param helper routines to one place.Günther Deschner2-45/+0
Guenther (This used to be commit 6bf2c8038c4bc7a52b7f260209ade0bdeb95c685)
2007-11-29Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison1-2/+3
Remove pstring from libsmb/clidfs.c except for a nasty hack (that will be removed when pstrings are gone from client/). Jeremy. (This used to be commit cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison2-7/+12
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-29Allow calling "net rpc join" and "net rpc trustdom" without specifying ↵Michael Adam1-1/+1
server IP. This was a logic bug (typo) in a call to get_pdc_ip() in net_find_server(). Michael (This used to be commit 988c5ff3f47b7508b229464bbed2ca1948d6e27c)
2007-11-27Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison1-13/+13
Jeremy. (This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
2007-11-27Remove some staticsVolker Lendecke1-2/+5
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-24Remove a staticVolker Lendecke1-3/+5
(This used to be commit 85a84f72ffc440fb71744cb72de2dba07793123c)
2007-11-23Make remote_password_change return malloced error stringsVolker Lendecke1-2/+3
This fixes a segfault in smbpasswd -r (This used to be commit 49949f0b85007c7c2b3c340c12f3d18909862135)
2007-11-23add talloc_stackframe() to eventlogadmVolker Lendecke1-0/+2
Thanks to Günther Kukkukk for noticing (This used to be commit 9751cc222c70fd669a1cc1ad61ffb4e2e8444019)
2007-11-21Remove pstrings from pam_smbpass - make local_password_changeJeremy Allison1-5/+7
return malloced strings. Jeremy. (This used to be commit f652fe2bdb7a3a36e83dcf4b08347543fdffb9f0)
2007-11-20Add talloc stackframe for ntlm_auth.cJeremy Allison1-0/+2
Jeremy. (This used to be commit 6f9c2910bdda605f90967e0aa6a84b8094f3a197)
2007-11-19Add error message to net rap file and net rap file userKarolin Seeger1-0/+8
(This used to be commit 759d6bcbec07434667ab8dd9a09f37fbe243c208)
2007-11-15Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison2-2/+2
Jeremy. (This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison1-2/+1
one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
2007-11-13Remove pstring from param/Jeremy Allison1-4/+4
This was a little tricky..... I'll watch the build farm. Jeremy. (This used to be commit d6e2519c67fd015e1089021769de04085fd90894)
2007-11-09ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)Stefan Metzmacher1-3/+6
lib/messages_local.c rpc_client/ndr.c smbd/notify_internal.c utils/net_rpc_registry.c metze (This used to be commit c2645d2164c05976a98bafed980b6029baf89977)
2007-11-09Sanitize smbcacls slightlyVolker Lendecke1-94/+144
(This used to be commit 9c57628dbd79d3d28f20d5d1ab62a68ae683d46e)
2007-11-09Make base64_encode_data_blob return a talloced stringVolker Lendecke2-12/+12
(This used to be commit 5f205ab48d8ac3b7af573ea0be1ce095ab835448)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison1-5/+9
Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
2007-11-05Ensure we null out the address correctly.Jeremy Allison1-1/+2
Jeremy. (This used to be commit e1fcd851ab38165eb0e959cdc02ff067614f8b28)
2007-11-06Fix another segfault and make smbfilter run again.Michael Adam1-1/+3
This fix is not complete yet (loop after "client closed connection") but at least it starts again... Micheal (This used to be commit e2ffc6053dc9453fc49545db47374ed42e8efecd)
2007-11-06Fix a segfault.Michael Adam1-0/+2
Michael (This used to be commit 98225a075226e78f7ce64787dd29122fda3d6924)
2007-11-06Try to fix the build. There was one forgotten callerMichael Adam1-2/+2
of receive_smb. Jeremy: please check! Michael (This used to be commit 1f0fcc3e4ef7526cbf0a5a5fc96708238d0efdeb)
2007-11-05Make sure we can read SACLs from the registry.Günther Deschner1-1/+5
Guenther (This used to be commit 62d4cce4562b77403f9353d333b9553352bdf1d8)
2007-11-03Remove more static data from lib/util_sock.c andJeremy Allison2-2/+2
callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
2007-11-02Forgot one more getnameinfo.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 619e33248d12e764e902e4fdb5fb223cb9cfea3b)
2007-11-02Fix Solaris by ensuring we use the IPv4 or IPv6 lengthJeremy Allison1-1/+1
in any getnameinfo calls. Jeremy (This used to be commit 4d7badb0c44f287034f58d9a412e662c0fbecdc9)
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison3-3/+3
zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy. (This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
2007-10-26Fix popt bool problems (need POPT_ARG_NONE, not POPT_ARG_VALUE).Jeremy Allison1-4/+4
Reported by kukks - thanks ! Jeremy. (This used to be commit 9993f8d1af23735f3a4b6de82f5825a6a6ba22d6)
2007-10-26Fix a few more sockaddr -> sockaddr_storgage.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 4b3635d6bc1bd5e4135ef208dff052e1d9b58a12)
2007-10-26one more struct in_addr => struct sockaddr_storageStefan Metzmacher1-6/+12
jra: please check this... metze (This used to be commit cecc8075513a3cca17aeab0c88ae05ed13a07ee3)
2007-10-25Fixed missing in_addr -> sockaddr_storage conversion (how didJeremy Allison1-10/+14
I miss this...). Jeremy. (This used to be commit f982774c8d95c48355bbd821c8224fadb8bb303e)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison12-361/+469
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-21Don't segfault if locking.tdb can't be openedVolker Lendecke1-0/+13
Thanks to Steve Langasek <vorlon@debian.org> (This used to be commit 67328bd27b1e881a4bcdd5160133afa9a267eaac)
2007-10-19Fix the popt / bool issues. Some places we used BOOLJeremy Allison11-56/+111
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 Allison35-296/+296
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-18Add net rap file userKarolin Seeger1-6/+18
(This used to be commit 2972c97e5e676964585de930601f083c19080735)
2007-10-15Correctly free memory in regfio pathsAlexander Bokovoy1-1/+4
(This used to be commit 97f9a90b823887e808cca96eca7a041f121e6111)
2007-10-12Fix the build WITH_DNS_UPDATES.Günther Deschner1-2/+8
Jeremy, please have a look. Guenther (This used to be commit 4dfda879a3ad44be7008702b9fbefe3858436118)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison6-13/+15
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter4-213/+302
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)