summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-12-09Fix connect(2) callers to use correct sockaddr size.James Peach4-7/+26
Some systems (eg Mac OSX 10.5) require the length passed to match the socket address family. This introduces sys_connect() that does the right thing, and replaces all uses oc connect(2) with sys_connect(). Note that there are some LGPL callers that still call connect(2) directly. (This used to be commit e1bfdc17c49da582cdf907e260301ab1946b2ed3)
2007-12-07Remove next_token - all uses must now be next_token_talloc.Jeremy Allison3-98/+22
No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
2007-12-07We don't need P_GSTRING or P_UGSTRING anymore.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 78dc75600099b5b3b5a8ecffec747a227ff51d70)
2007-12-07Don't build rpctorture anymore - not maintained. Just remove.Jeremy Allison3-35/+17
Remove all vestiges of pstring (except for smbctool as noted in previous commit). Jeremy (This used to be commit 4c32a22ac50ada3275d2ffba3c1aa08bee7d1549)
2007-12-07Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison2-24/+9
Don't build this for now. Jeremy. (This used to be commit 46b67fd82c795d1a34a1efca9e409c0f3fa4f3a2)
2007-12-06*Really* fix the no password -N opt :-).Jeremy Allison2-8/+1
Jeremy. (This used to be commit 187d8a94eae87a32432c7c295698517b6ae31523)
2007-12-06Fix the '-N' option.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b91b61b54f02f11d80fc25b268faa354fcd1f6e0)
2007-12-06Get closer to building with smbmount. Move parameter line changesJeremy Allison2-80/+131
into lib/util.c Jeremy. (This used to be commit 6ac5d81655927ba8eabea35adaae5adfcbb821c9)
2007-12-06Make cmdline_auth_info private to lib/popt_common.c. ProvideJeremy Allison1-14/+4
accessor functions. Jeremy. (This used to be commit 420195dd3e8b1b6771ab8be8bc974edaafc0cf8f)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison4-82/+136
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-05Compile fix to the automount support. Patch from GlaDiaC.Gerald (Jerry) Carter1-1/+1
(This used to be commit 487ab6e75e8b8d15f2a37e4ba4129eb2475d4c86)
2007-12-05Remove some globalsVolker Lendecke1-23/+50
(This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
2007-12-05Make share_info_db_init staticVolker Lendecke1-1/+1
(This used to be commit 111502d3a2901abcff25792bed3c4038a7592410)
2007-12-05Remove a static, and "signal_received" needs to be sig_atomic_tVolker Lendecke1-15/+18
(This used to be commit 8acd4a202f6b4518c2ce9cdd30f5dfb14b86c07c)
2007-12-04Ok, down to just the client/*.c code now.Jeremy Allison1-5/+0
Jeremy. (This used to be commit 7d3959f81a5439800b813ef052382e67424c90cd)
2007-12-04Remove pstring from automount lookups. Remove premature optimization.Jeremy Allison2-72/+60
Jeremy. (This used to be commit 6863fe51b5afea234b04b073d3e1b7608d60620e)
2007-12-04Remove tok pstring from util_str.cJeremy Allison1-2/+8
Do we even make rpctorture anymore ? Jeremy. (This used to be commit fecc3cc45af6145fad9a0570e6cae8422bd2443d)
2007-12-04pull_ascii_pstring is gone.Jeremy Allison1-6/+0
Jeremy. (This used to be commit 288aacce4b56d159218be311019cb951e5a232fd)
2007-12-04Allow STR_TERMINATE and -1 src_len for pull_ucs2_base_talloc().Jeremy Allison1-1/+7
Jeremy. (This used to be commit 063358d87ac9a1d948c8d4b6358e926dd14bb3ac)
2007-12-03Make strhex_to_str clear on string limits. Remove pstring from web/*.cJeremy Allison1-5/+9
Jeremy. (This used to be commit f9c8d62389f8cb47837e5360209936176537df13)
2007-12-03Change tdb_unpack "P" to return a malloc'ed string ratherJeremy Allison1-10/+9
than expect a pstring space to put data into. Fix the (few) callers. Jeremy. (This used to be commit 7722a7d2c63f84b8105aa775b39f0ceedd4ed513)
2007-12-03Fix wkssvc callers.Günther Deschner1-6/+3
Guenther (This used to be commit b734cd8aab163d794b969c4e1e721e81a8b4d44c)
2007-12-03Remove workaround for broken capabilites.h from lib/system.c - now in ↵Michael Adam1-18/+0
lib/replace. Michael (This used to be commit a3fbb5323222334c86c0dc360df8c6a39039bbe6)
2007-12-03Reformat configure checks for broken capabilities.h.Michael Adam1-16/+24
Michael (This used to be commit 834a16225a8fb905a8f870a17ba67670e622eccc)
2007-12-03Move check for broken system capabilites.h headers to lib/replace.Michael Adam1-0/+30
Michael (This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)
2007-12-03Add check for ppc statfs.h header to workaround for broken capabilities.h.Michael Adam1-1/+3
Taken from s3:lib/system.c Michael (This used to be commit 07e6cfdc626c2778292e5b0b338a35046c482cf9)
2007-12-02Fix some bogus uninitialized variable warningsVolker Lendecke1-2/+2
(This used to be commit 48a162b709cc14632fd02c4cd40aa8cfafc53324)
2007-11-30Fix restart after length count.Jeremy Allison1-1/+6
Jeremy. (This used to be commit fa8115f32bfd37f75c284ff0f6906dbc2af0f40c)
2007-11-30Avoid to include net prototypes, just reference user creds.Günther Deschner1-7/+16
Guenther (This used to be commit 09e01a47164702f67403e61bc478d1cb54f0508e)
2007-11-30Add header file for NetJoinDomain() and friends.Günther Deschner1-0/+29
Guenther (This used to be commit 7cea527e8712cde34378ae8b32aad1e4aab0c17b)
2007-11-30Add NetUnjoinDomain().Günther Deschner1-0/+74
Guenther (This used to be commit fd9d73ad44b0f0b3656a50a663b60aa26e7f7376)
2007-11-30Robustness-fixes for NetJoinDomain().Günther Deschner1-6/+13
Guenther (This used to be commit 2d5236cc37fe015ce9098a0ebe99cdc0ca3537ae)
2007-11-30Give NetJoinDomain() enough time to finish.Günther Deschner1-0/+6
Guenther (This used to be commit 7f021b3cb7845c6eb142668f66599886cd92182f)
2007-11-30domain_name is a ref pointer.Günther Deschner1-0/+5
Guenther (This used to be commit b350e482b9b211caf08c22c7528b51e47b4a5cce)
2007-11-30Add NetJoinDomain call.Günther Deschner1-0/+84
Guenther (This used to be commit 08a5a036ba97d1f4830d73e95b8369aa9e6683e8)
2007-11-30Add talloc versions of all the next_token() functions.Jeremy Allison1-3/+102
Now I can really start removing fixed length strings... Jeremy. (This used to be commit 0ae61e26547e594e94037d4474a008221e5df8cf)
2007-11-30Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit bf4881d7774681e22f270697c7623bde33c30fe0)
2007-11-29Fix memleak.Jeremy Allison1-0/+1
Jeremy. (This used to be commit ccacd170472869391bd1e5bc850b1467492b8fa3)
2007-11-29Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison1-3/+3
Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
2007-11-28Add a warning for a potential bug I've run intoVolker Lendecke2-0/+6
(This used to be commit 223352e32372f1b055298cfc6f2770043a845e3d)
2007-11-27Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison2-47/+44
Jeremy. (This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
2007-11-27Remove some staticsVolker Lendecke2-33/+15
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-26Fix bug 5055Volker Lendecke2-2/+2
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
2007-11-26Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit 9bf5ead4b2be57fa84e5b3137bfa0305a916f10f)
2007-11-261. lib/system.c (xattr code for Solaris) could not beTomoki AONO1-3/+6
built against c90 compilers. (declaration after statement.) Sample patch attached. (This used to be commit 102a247df99967f25dbaf40c9be2d48a8e15c64c)
2007-11-22Add a missing prototypeVolker Lendecke1-0/+1
(This used to be commit 89e2984a84951373d0e93fe06d0c69c8a62bc777)
2007-11-22Fix an uninitialized variableVolker Lendecke1-0/+1
(This used to be commit e8b866ad87476ef69c06993d255269ce9fba3121)
2007-11-22Fix a type-punned warningVolker Lendecke1-1/+1
(This used to be commit 4c992e4340eda31e686a2d2a8db6364aaa456c11)
2007-11-21Doh ! Don't use #else when #endif is needed.Jeremy Allison1-2/+1
Jeremy. (This used to be commit a04e916b89c901911ffc0a62e57a3ec87fe7ac28)
2007-11-21Add set_sockaddr_port function for winbindd.Jeremy Allison1-0/+13
Jeremy. (This used to be commit 4b47052694285a1d1d313dfd61bd17011d62948d)