summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-09Find and fix more GPL2 -> GPL3.Michael Adam2-2/+2
Jeremy. This adapts r23780 / c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f for files added by cherry-pick. (This used to be commit 1b6cf93992fbe338dff83a9f904ec9dfc422e242)
2007-11-09r23714: This script allows for adding lists of users (or other objects)Michael Adam1-0/+167
to lists of groups (or aliases). Useful for creating large test scenarios. Michael (cherry picked from commit b3e5082e105f6eaeed51e9a42d525d811e7155ee) (This used to be commit 78a2344fe7ed53e9927e189fa4d465652731deab)
2007-11-09r23711: Refactor the actual creation of object into its own small function.Michael Adam1-7/+10
Michael (cherry picked from commit 26349c0b173e8baf6fa43deb39cb2bfdb31bf18e) (This used to be commit 852570059c974bc6c06f893e4bf5e76674e4ec00)
2007-11-09r23706: Add a script to create domainusers,-groups and -aliases.Michael Adam1-0/+155
This is done via rpc client. The main purpose is to be able to fill a domain controller with a large number of users / groups easily. A the object names are built as <prefix><num> where number ranges from a given start number counting up until a given number of objects has been created. In a next step, I will submit scripts to add (many) users to a group and to add a user to (many) groups. Michael (cherry picked from commit 8b81fbb7d998eda65978a772f2194b4a3de467f9) (This used to be commit 79414f8bfa9cce1b4543b3cf5d6ea65651fc0769)
2007-11-09make test: start winbinddStefan Metzmacher3-1/+71
metze (This used to be commit 8ad4287cca5393a7fef148365aef2e2377c29280)
2007-11-09we don't have build-farm specific tests anymoreStefan Metzmacher1-4/+1
metze (This used to be commit bb125f3e084a99125e92cc6c3aceb7f2b66db678)
2007-11-09remove faked_create_user() BUILD_FARM hack as we have nss_wrapper nowStefan Metzmacher2-85/+0
metze (This used to be commit fc98c1904865608509a01911afa46de74873ef41)
2007-11-09make test: activate nss_wrapper for make testStefan Metzmacher2-5/+30
metze (This used to be commit 02cfd283627bd8f10d7beb8d43cead35dd867346)
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-09use nss_wrapper code in samba3 when --enable-nss-wrapper is givenStefan Metzmacher3-1/+4
metze (This used to be commit 96827929626a528bb3e1ec8366aef58c174d67e1)
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 Allison6-76/+81
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 Allison3-2/+4
Jeremy. (This used to be commit ab8934844a8ae08657769ce1787c32f14a7eb745)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison11-83/+106
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 Allison11-236/+422
v3-2-test (This used to be commit d9335456d23271a4b15b97d24f1b263700a3b9df)
2007-11-08sync the most parts of librpc/ndr with samba4Stefan Metzmacher4-228/+382
metze (This used to be commit 201800a4c960d4f2afeb6cc760ac303df76d5e36)
2007-11-08add '_PUBLIC_' prototypes into proto.hStefan Metzmacher1-2/+2
this makes merging samba4 code easier... metze (This used to be commit 005909726e0121a549abf625a3b443f3a6964d84)
2007-11-08add win_errstr() as wrapper of dos_errstr().Stefan Metzmacher1-0/+6
this makes merging stuff from samba4 easier metze (This used to be commit cfbdb133b998a704c6c167b9b4b56370f4ff666d)
2007-11-08we should not ignore convert_string_talloc() failures.Stefan Metzmacher1-1/+1
In all other places in ndr_string.c we already use False... metze (This used to be commit 9a201fd4c81509eb8a93087a38bb0fda69dfd7e4)
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-08Try to fix the build on systems without struct sockaddr_storage typeMichael Adam1-0/+1
(like hape - HPUX 11.00). Michael (This used to be commit f3d762737540476bab7da1bf6db047b66f53d9ae)
2007-11-07Constrain "min receivefile size" to max of BUFFER_SIZEJeremy Allison2-3/+28
(128k). Add debug error messages so we can see why writeX large is denied. Ensure we don't allow recvfile writes on IPC$. Jeremy. (This used to be commit 6bf053a6a17749a3bc73c8cc5fd490aa5f93b763)
2007-11-07Try to fix the build on irix.Michael Adam1-2/+2
There were two callers of set_smb_read_error() in irix_oplocks.c not converted to the new prototype. Michael (This used to be commit e398a8d7b60127001d309c2fd0b1f13337f9b46d)
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-07- check return value of ndr_push_set_switch_value()metze1-1/+8
- fix memory leaks in error pathes metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25798 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit a0d0a06a9e39ea4fd07e9381f4b3397f403ab79d)
2007-11-07use error and out logicmetze1-3/+7
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25797 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 55d01b3f5b55cab3228270c0f6c164f11b0803f5)
2007-11-07use NT_STATUS_HAVE_NO_MEMORY()metze1-3/+1
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25796 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit be1f2f1abf15b34f8ab08d9e63637962fa762853)
2007-11-07use NDR_CHECK()metze1-4/+3
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25794 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 91ccaa8e70f1665bd759a80363cda9605399464e)
2007-11-07check the return value of ndr_push_set_switch_value()metze1-1/+1
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25793 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit aa155b2c2936c0e9996eda0a21f137773270343a)
2007-11-07use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()metze1-16/+6
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25792 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit f3dde8c7b73b619a54814bc6a862fa917455b624)
2007-11-07the return value of ndr_pull_set_switch_value() should be checkedmetze1-2/+2
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25779 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 1563a08cb07738c11ea7b68ba9e814885060b0b7)
2007-11-07use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macrosmetze1-22/+10
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25778 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit b542eaf825aa42b53f08c73e2b86ee9fafb33256)
2007-11-07add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directlymetze2-3/+10
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25777 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 52c422f4d7f8549a11d637de1abceabc1ae86497)
2007-11-07create ndr_pull_union_blob_all() and match the logic of the struct fnsmetze1-4/+20
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25774 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 8ed241532a069c4207945d5f1ceb1ec817ba7976)