summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-11-20More trivial pstring removal.Jeremy Allison2-1/+20
Jeremy. (This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-11-19Remove more pstring. Unify talloc_sub functions to makeJeremy Allison1-89/+41
them a better match for replacing string_sub. Remove more unused code. Jeremy. (This used to be commit ae7885711f504f1442335f09088cbe149a7e00f9)
2007-11-19Start to remove some of the pstring functions we'reJeremy Allison2-34/+23
no longer using. Jeremy. (This used to be commit c21e9bdc1059268adbd14207e74097349676439e)
2007-11-16Fix an implicit cast warning.Michael Adam1-1/+1
Michael (This used to be commit d2c7417393e58de12b5747b9d6c19aea3c343ea5)
2007-11-15Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison2-2/+6
Jeremy. (This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
2007-11-16Fix the build on RHEL5, when libcap-devel is installed.Michael Adam1-0/+9
The /usr/include/sys/capability.h defines _LINUX_TYPES_H which prevents /usr/include/linux/types.h from being parsed (when included afterwards). Thus certain types are undefined that are for instance needed in /usr/include/linux/dqblk_xfs.h. This breaks the build of lib/sysquotas_xfs.c. This commit adds a configure check and a workaround for this. Michael (This used to be commit 11bcdf780e164659b89a66e24edc27e89da7619a)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison10-218/+370
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-15alpha_strcpy includes the space for the terminating nul.Jeremy Allison1-3/+6
Jeremy. (This used to be commit b3ed3f7e4e40c4f78d4c347411c75de81979455f)
2007-11-14Remove smbldap_get_single_pstring() and all pstringsJeremy Allison2-12/+22
from pdb_ldap.c. I don't have an LDAP passdb setup here, so I'm going to need some help on testing this. Jeremy. (This used to be commit 00760451b6c2b65f3a8a9187789ca4f270b622a2)
2007-11-12Remove all pstrings from smbd/chgpasswd.c.Jeremy Allison1-20/+44
Jeremy. (This used to be commit eaf14c701b08e9eff5b94bf57af68cb29142d7fc)
2007-11-11Remove a pstring.Jeremy Allison1-4/+11
Jeremy. (This used to be commit c0412b5d13546f388b615a073e82e7730e01d731)
2007-11-11Convert ctdb_conn.c to enum ndr_error_codeVolker Lendecke1-12/+13
Fix the build (This used to be commit 432d0e9cb2370e52f7d4cb58d2da747e526403e8)
2007-11-10Always define PATH_MAX. Makes code simpler (removesJeremy Allison3-5/+14
a bunch of #defines). Remove pstring from msdfs.c. Jeremy. (This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)
2007-11-09Remove more static fstring/pstrings. Fix socket optionJeremy Allison2-116/+209
set on wrong fd (-1). Jeremy. (This used to be commit 52fe04df8e8c08126afe61d509fc1d3cb676e327)
2007-11-09ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)Stefan Metzmacher1-8/+8
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-09nss_wrapper: Fix some warningsVolker Lendecke1-1/+1
(This used to be commit b401450e8409c19d12d944c61e5553ed3334bc11)
2007-11-09Add some commentsVolker Lendecke1-3/+3
(This used to be commit fc58f2f45ab93ecea855e1dc07b6fdccce041c8d)
2007-11-09Make base64_encode_data_blob return a talloced stringVolker Lendecke2-4/+5
(This used to be commit 5f205ab48d8ac3b7af573ea0be1ce095ab835448)
2007-11-09Remove the silly "user_socket_options" global variableVolker Lendecke2-3/+1
This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
2007-11-09Fix dbwrap debug outputVolker Lendecke2-5/+6
(This used to be commit 9f9c933c16abacb2d0aa7bc7faa5b1ddac61b0e5)
2007-11-09remove faked_create_user() BUILD_FARM hack as we have nss_wrapper nowStefan Metzmacher1-77/+0
metze (This used to be commit fc98c1904865608509a01911afa46de74873ef41)
2007-11-09nss_wrapper: hopefully a better fix for the solaris get*ent_r functionsmetze1-0/+28
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25873 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit e0c8c01650b2aa0a1ab491c9800b8aa575bf4185)
2007-11-09nss_wrapper: revert solaris get*ent_r() functionsmetze1-62/+0
This was the wrong approach, as in future lib/replace should hide this special solaris stuff. metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25872 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 350d6c19e3e933804ce7234f21ef008c74894e2e)
2007-11-09nss_wrapper: set the destination pointer in the get*_r functionsmetze1-2/+10
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25871 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 17b449212a2f68262a95b0ebaabb377cc9a8dcc9)
2007-11-09libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in ↵metze1-2/+2
confdefs.h metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 95dfbd3a6c22ff6381c8b220b06ec3a5cf59c06b)
2007-11-09nss_wrapper: add solaris versions of getpwent_r and getgrent_rmetze1-0/+62
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25868 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 70ea441fe46d75162adc6c4b055a9fd5fab00342)
2007-11-09libreplace: solaris has different prototypes for getpwent_r and getgrent_rmetze1-0/+32
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 77900d2ba03455412ad645e757ba468ca90453fb)
2007-11-09nss_wrapper: not all systems have get*_r callsmetze1-0/+20
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25866 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 2451399acb9dbba6b02935f6a1d02e2b56b499ef)
2007-11-09libreplace: check for nss passwd|group get*_r functionsmetze1-0/+2
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8e81dd7356eb8422284a93bfc9b55ed1523c8208)
2007-11-09nss_wrapper: add nss_wrapper.plmetze1-0/+265
This script will be used to add|delete passwd|group entries metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25837 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 28789e60cc59a3e7a42500ebb78c472093be6b12)
2007-11-09nss_wrapper: add support for groups and return EPERM in initgroups()metze1-15/+356
The NSS_WRAPPER_GROUP envvar should point to the /etc/group style file. Note: NSS_WRAPPER_PASSWD and NSS_WRAPPER_GROUP both need non-empty values to enable NSS Wrapper support. metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25836 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 6abc84a564682f2b3dda314b5a08816ef99ac517)
2007-11-09nss_wrapper: add support for passwd accountsmetze1-14/+567
The NSS_WRAPPER_PASSWD envvar should point to the /etc/passwd style file. metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25835 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 36af3e864c2698b2f4ffd1bc3c873f1e4f8b718b)
2007-11-09nss_wrapper: add lib/nss_wrapper skeletonmetze4-0/+374
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25834 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 0924b0c8de70c0b84785cf6885f6aab325fc9b8e)