summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-11-09Try to fix building dso's on hpux with gccjelmer1-1/+5
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 4642af8026f086488672a51a0ecce2603e65f4ce)
2007-11-09Try to get some more flags right.jelmer1-4/+4
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit ccb39b18448376b094680fa927c60159cc5ec566)
2007-11-09Add libreplace macro for soname flags.jelmer1-0/+41
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 81167d8f38e11423bcde5305f9e77ec268b0cf2e)
2007-11-09Try to fix the build on some HPUX machines.jelmer1-3/+1
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8d1f54f45d9b8278e5e031d016b1e7b44d3b1a22)
2007-11-08More pstring/fstring removal.Jeremy Allison1-11/+16
Jeremy. (This used to be commit 7646f4b284403c18b22ca5cc7de4a57ba571183e)
2007-11-08Remove more pstring/fstrings.Jeremy Allison1-56/+43
Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
2007-11-08Remove unneeded variable.Jeremy Allison1-6/+3
Jeremy. (This used to be commit c21bc756e36581d3adc770bc2b773b5cf9bf11d0)
2007-11-08Fix case where we have no dns domain name. Return a talloc of "".Jeremy Allison1-0/+2
Jeremy. (This used to be commit ab8934844a8ae08657769ce1787c32f14a7eb745)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison3-35/+38
Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
2007-11-08Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-1/+1
v3-2-test (This used to be commit d9335456d23271a4b15b97d24f1b263700a3b9df)
2007-11-08libreplace: we need to link to make sure the functions are availableStefan Metzmacher1-1/+1
metze (This used to be commit 130de20d646fe14f494b021a98d6855c7b5b2a1a)
2007-11-07Unify the name and addr cache for client_name toJeremy Allison1-21/+31
make threading easier ultimately. Jeremy. (This used to be commit 48e0725cd6bb976ca799e6b8464c94aeffb1672b)
2007-11-06Fix tdbtorture build.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c14db81be5212dfa6fbcf8bfdcf725d7db3376ca)
2007-11-06Fix const warning.Jeremy Allison1-1/+1
Jeremy. (This used to be commit ecc2555197860ae56726724ec824fc149d2d831c)