summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison2007-11-081-5/+9
| | | | | Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
* Ensure we null out the address correctly.Jeremy Allison2007-11-051-1/+2
| | | | | Jeremy. (This used to be commit e1fcd851ab38165eb0e959cdc02ff067614f8b28)
* Fix another segfault and make smbfilter run again.Michael Adam2007-11-061-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)
* Fix a segfault.Michael Adam2007-11-061-0/+2
| | | | | Michael (This used to be commit 98225a075226e78f7ce64787dd29122fda3d6924)
* Try to fix the build. There was one forgotten callerMichael Adam2007-11-061-2/+2
| | | | | | | of receive_smb. Jeremy: please check! Michael (This used to be commit 1f0fcc3e4ef7526cbf0a5a5fc96708238d0efdeb)
* Make sure we can read SACLs from the registry.Günther Deschner2007-11-051-1/+5
| | | | | Guenther (This used to be commit 62d4cce4562b77403f9353d333b9553352bdf1d8)
* Remove more static data from lib/util_sock.c andJeremy Allison2007-11-032-2/+2
| | | | | | callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
* Forgot one more getnameinfo.Jeremy Allison2007-11-021-1/+1
| | | | | Jeremy. (This used to be commit 619e33248d12e764e902e4fdb5fb223cb9cfea3b)
* Fix Solaris by ensuring we use the IPv4 or IPv6 lengthJeremy Allison2007-11-021-1/+1
| | | | | | in any getnameinfo calls. Jeremy (This used to be commit 4d7badb0c44f287034f58d9a412e662c0fbecdc9)
* Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison2007-10-273-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)
* Fix popt bool problems (need POPT_ARG_NONE, not POPT_ARG_VALUE).Jeremy Allison2007-10-261-4/+4
| | | | | | Reported by kukks - thanks ! Jeremy. (This used to be commit 9993f8d1af23735f3a4b6de82f5825a6a6ba22d6)
* Fix a few more sockaddr -> sockaddr_storgage.Jeremy Allison2007-10-261-3/+3
| | | | | Jeremy. (This used to be commit 4b3635d6bc1bd5e4135ef208dff052e1d9b58a12)
* one more struct in_addr => struct sockaddr_storageStefan Metzmacher2007-10-261-6/+12
| | | | | | | jra: please check this... metze (This used to be commit cecc8075513a3cca17aeab0c88ae05ed13a07ee3)
* Fixed missing in_addr -> sockaddr_storage conversion (how didJeremy Allison2007-10-251-10/+14
| | | | | | I miss this...). Jeremy. (This used to be commit f982774c8d95c48355bbd821c8224fadb8bb303e)
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-2412-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)
* Don't segfault if locking.tdb can't be openedVolker Lendecke2007-10-211-0/+13
| | | | | Thanks to Steve Langasek <vorlon@debian.org> (This used to be commit 67328bd27b1e881a4bcdd5160133afa9a267eaac)
* Fix the popt / bool issues. Some places we used BOOLJeremy Allison2007-10-1911-56/+111
| | | | | | | where we meant int. Fix this. Thanks to metze for pointing this out. Jeremy. (This used to be commit 793a9d24a163cb6cf5a3a0aa5ae30e9f8cf4744a)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-1835-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)
* Add net rap file userKarolin Seeger2007-10-181-6/+18
| | | | (This used to be commit 2972c97e5e676964585de930601f083c19080735)
* Correctly free memory in regfio pathsAlexander Bokovoy2007-10-151-1/+4
| | | | (This used to be commit 97f9a90b823887e808cca96eca7a041f121e6111)
* Fix the build WITH_DNS_UPDATES.Günther Deschner2007-10-121-2/+8
| | | | | | | Jeremy, please have a look. Guenther (This used to be commit 4dfda879a3ad44be7008702b9fbefe3858436118)
* Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2007-10-106-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)
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter2007-10-104-213/+302
| | | | (This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
* r25592: Allow to set sec_info for registry security descriptor queries.Günther Deschner2007-10-101-8/+16
| | | | | Guenther (This used to be commit 09e10d1d2936fd8c841de2a3323a1d0a1f6bd815)
* r25526: Fix usage output.Günther Deschner2007-10-101-5/+5
| | | | | Guenther (This used to be commit 31a0bf7b8cae3322a379dc147be6493441c2f13d)
* r25525: Add "net rpc registry getsd <keyname>" to display security descriptors.Günther Deschner2007-10-101-0/+83
| | | | | Guenther (This used to be commit 550ae11ad1243c4c2af68345349c96d38a5e1ef8)
* r25499: Fix rpc_file_list_internalsVolker Lendecke2007-10-101-0/+3
| | | | (This used to be commit da5736f2103be2229cc3d4421c68f33b3242fa6d)
* r25481: Fix some typos, don't panic as non-root on net getdomainsidVolker Lendecke2007-10-102-4/+13
| | | | | Thanks to Karolin Seeger <ks@sernet.de> (This used to be commit 5ae4b2739853e2cd91e839909eb868dbb56be431)
* r25472: Fix the interfaces code to detect IPv6 interfaces, using theJeremy Allison2007-10-101-2/+2
| | | | | | | | new standard getifaddrs() and freeifaddrs() interfaces. Currently we only return IPv4 af_families. Needs fixing for binds to IPv6 but this has to be careful work. Jeremy. (This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
* r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.Gerald Carter2007-10-102-3/+3
| | | | | | | The translate_name() used by cli_session_setup_spnego() cann rely Winbindd since it is needed by the join process (and hence before Winbind can be run). (This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)
* r25402: BUG 4997 (3.2 only): Fix enumration level for smbtreeGerald Carter2007-10-101-1/+0
| | | | (This used to be commit f387e0f256e3f8a8c4a67f7fcc847a9dabaff8da)
* r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,Gerald Carter2007-10-102-3/+3
| | | | | and client fixes. Patch from Todd Stetcher <todd.stetcher@isilon.com>. (This used to be commit 8304ccba7346597425307e260e88647e49081f68)
* r25314: Add HKEY_CURRENT_USER to reg_hive_key().Günther Deschner2007-10-101-0/+3
| | | | | Guenther (This used to be commit 693b3c26c0643028e861b78068c2bcda0add1105)
* r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam2007-10-102-22/+22
| | | | | | | | | | the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
* r25239: fix cut-n-paste bug in code with LIBUNWIND supportStefan Metzmacher2007-10-101-4/+0
| | | | | metze (This used to be commit ff94d055760b16786d1a998e251d487fb886a64c)
* r25201: Fight those red bars...Michael Adam2007-10-101-182/+183
| | | | (This used to be commit cc4599fdc1fb9aa51f6a4487cb1aa78a5556757a)
* r25200: Fix a debug message.Michael Adam2007-10-101-1/+1
| | | | (This used to be commit f1f4758e2c40a470c19b4b738f79ec5807522909)
* r25198: Change net_rpc_join_ok() to return NTSTATUS for betterMichael Adam2007-10-102-14/+25
| | | | | | | error propagation. Michael (This used to be commit 5a16da2185f07d1f48fabd93a7a6b8f2d6b91089)
* r25197: Change net_make_ipc_connection() and net_make_ipc_connection_ex() toMichael Adam2007-10-105-49/+72
| | | | | | | return NTSTATUS to allow for better error propagation. Michael (This used to be commit 46093004a788dae83a4ddb888ca5d72f555c236c)
* r25143: rename public functions from winbind_client.hStefan Metzmacher2007-10-101-10/+10
| | | | | | | | | | | | | init_request => winbindd_init_request free_response => winbindd_free_response read_reply => winbindd_read_reply write_sock => winbind_write_sock read_sock => winbind_read_sock close_sock => winbind_close_sock(void) metze (This used to be commit 8a95d7a7edcfa5e45bccc6eda5c45d9c308cb95d)
* r25055: Add file_id_string_tosVolker Lendecke2007-10-101-1/+1
| | | | | This removes file_id_string_static and file_id_string_static2 (This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
* r25040: Add "net sam rights"Volker Lendecke2007-10-101-4/+136
| | | | | | | | Not strictly in the SAM, but close enough. This command acts directly on the local tdb, no running smbd required This also changes the root-only check to a warning (This used to be commit 0c5657b5eff60e3c52de8fbb4ce9346d0341854c)
* r25019: Fix coverity bug #105, run #332. Use of uninitialized variable.Jeremy Allison2007-10-101-6/+8
| | | | | Jeremy. (This used to be commit a58de8cee51c1396a2607ee743c92d58d7703547)
* r24951: Warn if "os level" > 255Volker Lendecke2007-10-101-0/+4
| | | | | Thanks to Karolin Seeger <ks@sernet.de> (This used to be commit 3abf06efc1286090caf380eb685e90ba7f412748)
* r24943: Some stackframesVolker Lendecke2007-10-109-6/+24
| | | | (This used to be commit cddb9f11d5fafcd3797cb242775c37f0c04d4f15)
* r24853: Rename function as Jerry asked.Rafal Szczesniak2007-10-102-5/+5
| | | | | | | s/net_use_upn_machine_account/net_use_krb_machine_account/ rafal (This used to be commit 86af9fedad71697f22cc739518340f7753b8f9da)
* r24845: Fix a segfault in smbcontrol when called with parameters but no ↵Michael Adam2007-10-101-3/+5
| | | | | | | extra args. Michael (This used to be commit f1bbf9bc18fc615a5660674f8346b4a7bed50044)
* r24843: Add a "validate-cache" control message to winbindd.Michael Adam2007-10-101-0/+44
| | | | | | | | | | | | So there is a new subcommand "smbcontrol winbindd validate-cache" now. This change provides the infrastructure: The function currently returns "true" unconditionally. The call of a real cache validation function will be incorporated in subsequent changes. Michael (This used to be commit ef92d505c04397614cb0dd5ede967e9017a5e302)
* r24828: Give smbcontrol an initial talloc stackframe.Michael Adam2007-10-101-1/+6
| | | | (This used to be commit 55020b07b5568104091352fd3ae21e2b29e34501)
* r24827: Give smbstatus an initial talloc stackframe.Michael Adam2007-10-101-14/+24
| | | | | | | | Rewrite main() so as to exit only at a single point where the stack frame is freed, too. Michael (This used to be commit dbe38995ec6d2251562a3b10e750bbd681008e16)