Volker Lendecke
5f205ab48d
Make base64_encode_data_blob return a talloced string
2007-11-09 15:12:30 +01:00
Volker Lendecke
814bed029e
Remove the silly "user_socket_options" global variable
...
This is better done with a 'lp_do_parameter(-1, "socket options", ..);
2007-11-09 15:11:54 +01:00
Volker Lendecke
0ee8968272
pstring removal
2007-11-09 15:11:27 +01:00
Volker Lendecke
9f9c933c16
Fix dbwrap debug output
2007-11-09 15:10:14 +01:00
Stefan Metzmacher
0dc2d7ec01
make test: try to get a more portable way to get UID and GID
...
metze
2007-11-09 14:36:20 +01:00
Karolin Seeger
e811b9f3bb
Fix typo
2007-11-09 12:11:30 +01:00
Stefan Metzmacher
c148e91fde
use samba4's librpc/ndr/uuid.c
...
metze
2007-11-09 11:51:20 +01:00
Michael Adam
a0d595c227
The FSF has moved around a lot. This fixes their Mass Ave address.
...
This adapts r23801 / 87c91e4362c51819032bfbebbb273c52e203b227
to files just added by cherry-pick.
Michael
2007-11-09 11:20:01 +01:00
Michael Adam
1b6cf93992
Find and fix more GPL2 -> GPL3.
...
Jeremy.
This adapts r23780 / c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f
for files added by cherry-pick.
2007-11-09 11:20:00 +01:00
Michael Adam
78a2344fe7
r23714: This script allows for adding lists of users (or other objects)
...
to lists of groups (or aliases). Useful for creating large test
scenarios.
Michael
(cherry picked from commit b3e5082e105f6eaeed51e9a42d525d811e7155ee)
2007-11-09 11:19:58 +01:00
Michael Adam
852570059c
r23711: Refactor the actual creation of object into its own small function.
...
Michael
(cherry picked from commit 26349c0b173e8baf6fa43deb39cb2bfdb31bf18e)
2007-11-09 11:19:57 +01:00
Michael Adam
79414f8bfa
r23706: Add a script to create domainusers,-groups and -aliases.
...
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)
2007-11-09 11:19:56 +01:00
Stefan Metzmacher
8ad4287cca
make test: start winbindd
...
metze
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
bb125f3e08
we don't have build-farm specific tests anymore
...
metze
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
fc98c19048
remove faked_create_user() BUILD_FARM hack as we have nss_wrapper now
...
metze
2007-11-09 09:53:02 +01:00
Stefan Metzmacher
02cfd28362
make test: activate nss_wrapper for make test
...
metze
2007-11-09 09:53:02 +01:00
metze
e0c8c01650
nss_wrapper: hopefully a better fix for the solaris get*ent_r functions
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25873 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:53:01 +01:00
metze
350d6c19e3
nss_wrapper: revert solaris get*ent_r() functions
...
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
2007-11-09 09:53:01 +01:00
metze
17b449212a
nss_wrapper: set the destination pointer in the get*_r functions
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25871 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:53:01 +01:00
metze
95dfbd3a6c
libreplace: AC_VERIFY_C_PROTOTYPE() needs AC_LANG_SOURCE() to bring in confdefs.h
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25870 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:53:00 +01:00
metze
70ea441fe4
nss_wrapper: add solaris versions of getpwent_r and getgrent_r
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25868 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:53:00 +01:00
metze
77900d2ba0
libreplace: solaris has different prototypes for getpwent_r and getgrent_r
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:52:59 +01:00
metze
2451399acb
nss_wrapper: not all systems have get*_r calls
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25866 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:52:59 +01:00
metze
8e81dd7356
libreplace: check for nss passwd|group get*_r functions
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:52:59 +01:00
Stefan Metzmacher
9682792962
use nss_wrapper code in samba3 when --enable-nss-wrapper is given
...
metze
2007-11-09 09:52:58 +01:00
metze
28789e60cc
nss_wrapper: add nss_wrapper.pl
...
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
2007-11-09 09:52:58 +01:00
metze
6abc84a564
nss_wrapper: add support for groups and return EPERM in initgroups()
...
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
2007-11-09 09:52:57 +01:00
metze
36af3e864c
nss_wrapper: add support for passwd accounts
...
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
2007-11-09 09:52:57 +01:00
metze
0924b0c8de
nss_wrapper: add lib/nss_wrapper skeleton
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25834 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:52:56 +01:00
jelmer
4642af8026
Try to fix building dso's on hpux with gcc
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25886 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:31:26 +01:00
jelmer
ccb39b1844
Try to get some more flags right.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25880 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:30:28 +01:00
jelmer
81167d8f38
Add libreplace macro for soname flags.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25877 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:29:16 +01:00
jelmer
8d1f54f45d
Try to fix the build on some HPUX machines.
...
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25875 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-09 09:27:03 +01:00
Jeremy Allison
7646f4b284
More pstring/fstring removal.
...
Jeremy.
2007-11-08 19:00:10 -08:00
Jeremy Allison
7a1de5b44e
Remove more pstring/fstrings.
...
Jeremy.
2007-11-08 18:50:07 -08:00
Jeremy Allison
c21bc756e3
Remove unneeded variable.
...
Jeremy.
2007-11-08 18:01:00 -08:00
Jeremy Allison
ab8934844a
Fix case where we have no dns domain name. Return a talloc of "".
...
Jeremy.
2007-11-08 17:58:55 -08:00
Jeremy Allison
2a0173743d
Remove more fstring/pstring bad useage. Go talloc !
...
Jeremy.
2007-11-08 17:25:45 -08:00
Jeremy Allison
d9335456d2
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
2007-11-08 15:13:41 -08:00
Stefan Metzmacher
201800a4c9
sync the most parts of librpc/ndr with samba4
...
metze
2007-11-08 14:36:13 +01:00
Stefan Metzmacher
005909726e
add '_PUBLIC_' prototypes into proto.h
...
this makes merging samba4 code easier...
metze
2007-11-08 14:34:02 +01:00
Stefan Metzmacher
cfbdb133b9
add win_errstr() as wrapper of dos_errstr().
...
this makes merging stuff from samba4 easier
metze
2007-11-08 14:33:04 +01:00
Stefan Metzmacher
9a201fd4c8
we should not ignore convert_string_talloc() failures.
...
In all other places in ndr_string.c we already use False...
metze
2007-11-08 13:52:56 +01:00
Stefan Metzmacher
130de20d64
libreplace: we need to link to make sure the functions are available
...
metze
2007-11-08 12:20:16 +01:00
Michael Adam
f3d7627375
Try to fix the build on systems without struct sockaddr_storage type
...
(like hape - HPUX 11.00).
Michael
2007-11-08 11:46:18 +01:00
Jeremy Allison
6bf053a6a1
Constrain "min receivefile size" to max of BUFFER_SIZE
...
(128k). Add debug error messages so we can see why
writeX large is denied. Ensure we don't allow recvfile
writes on IPC$.
Jeremy.
2007-11-07 21:47:00 -08:00
Michael Adam
e398a8d7b6
Try to fix the build on irix.
...
There were two callers of set_smb_read_error() in irix_oplocks.c
not converted to the new prototype.
Michael
2007-11-07 22:28:26 +01:00
Jeremy Allison
48e0725cd6
Unify the name and addr cache for client_name to
...
make threading easier ultimately.
Jeremy.
2007-11-07 12:48:58 -08:00
metze
a0d0a06a9e
- check return value of ndr_push_set_switch_value()
...
- 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
2007-11-07 12:13:09 +01:00
metze
55d01b3f5b
use error and out logic
...
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25797 0c0555d6-39d7-0310-84fc-f1cc0bd64818
2007-11-07 12:13:09 +01:00