1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

23700 Commits

Author SHA1 Message Date
Jeremy Allison
acc0218f13 Remove pstring from service.c.
Jeremy.
(This used to be commit cdd9e5cc83)
2007-11-10 14:43:39 -08:00
Jeremy Allison
6c25260ec1 Remove more static fstring/pstrings. Fix socket option
set on wrong fd (-1).
Jeremy.
(This used to be commit 52fe04df8e)
2007-11-09 15:09:16 -08:00
Stefan Metzmacher
f9578af966 ndr: change NTSTAUS into enum ndr_err_code (samba3 callers)
lib/messages_local.c
rpc_client/ndr.c
smbd/notify_internal.c
utils/net_rpc_registry.c

metze
(This used to be commit c2645d2164)
2007-11-09 21:23:16 +01:00
metze
5290ea864e ndr: change NTSTAUS into enum ndr_err_code (ndrdump)
librpc/tools/ndrdump.c

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25919 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 95530073de)
2007-11-09 21:23:16 +01:00
Stefan Metzmacher
08ace73dbb rerun make idl
metze
(This used to be commit 53a636828d)
2007-11-09 21:23:15 +01:00
Stefan Metzmacher
909b03d3c6 ndr: change NTSTAUS into enum ndr_err_code (samba3 handwritten stuff)
ndr_misc.c
ndr_sec.h
ndr_sec_helper.c
librpc/ndr/sid.c

metze
(This used to be commit 42590e917a)
2007-11-09 21:23:15 +01:00
metze
427b48a92c ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/

metze

git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25916 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit b1b8088caf)
2007-11-09 21:23:14 +01:00
Stefan Metzmacher
1c87d79199 prepare changes in ndr code
metze
(This used to be commit 9ba00e7c16)
2007-11-09 21:23:14 +01:00
Volker Lendecke
1a11cdf3f2 Sanitize smbcacls slightly
(This used to be commit 9c57628dbd)
2007-11-09 15:21:58 +01:00
Volker Lendecke
0fb6a301d9 Fix some warnings
(This used to be commit df42038f88)
2007-11-09 15:17:35 +01:00
Volker Lendecke
8a2e7a52c0 nss_wrapper: Fix some warnings
(This used to be commit b401450e84)
2007-11-09 15:16:59 +01:00
Volker Lendecke
637f9d9bf0 Fix some warnings
(This used to be commit 0a1f524e8c)
2007-11-09 15:16:26 +01:00
Volker Lendecke
333d83e1ee Add some comments
(This used to be commit fc58f2f45a)
2007-11-09 15:14:00 +01:00
Volker Lendecke
62b97b0156 Make base64_encode_data_blob return a talloced string
(This used to be commit 5f205ab48d)
2007-11-09 15:12:30 +01:00
Volker Lendecke
e63bcdd720 Remove the silly "user_socket_options" global variable
This is better done with a 'lp_do_parameter(-1, "socket options", ..);
(This used to be commit 814bed029e)
2007-11-09 15:11:54 +01:00
Volker Lendecke
9e5ef9a874 pstring removal
(This used to be commit 0ee8968272)
2007-11-09 15:11:27 +01:00
Volker Lendecke
95b9e23095 Fix dbwrap debug output
(This used to be commit 9f9c933c16)
2007-11-09 15:10:14 +01:00
Stefan Metzmacher
515eef851f make test: try to get a more portable way to get UID and GID
metze
(This used to be commit 0dc2d7ec01)
2007-11-09 14:36:20 +01:00
Karolin Seeger
c402ec1bd8 Fix typo
(This used to be commit e811b9f3bb)
2007-11-09 12:11:30 +01:00
Stefan Metzmacher
84df457860 use samba4's librpc/ndr/uuid.c
metze
(This used to be commit c148e91fde)
2007-11-09 11:51:20 +01:00
Michael Adam
62fcfe988c The FSF has moved around a lot. This fixes their Mass Ave address.
This adapts r23801 / 87c91e4362
to files just added by cherry-pick.
Michael
(This used to be commit a0d595c227)
2007-11-09 11:20:01 +01:00
Michael Adam
57d6b313df Find and fix more GPL2 -> GPL3.
Jeremy.

This adapts r23780 / c2f7ab1c17
for files added by cherry-pick.
(This used to be commit 1b6cf93992)
2007-11-09 11:20:00 +01:00
Michael Adam
a113515420 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 b3e5082e10)
(This used to be commit 78a2344fe7)
2007-11-09 11:19:58 +01:00
Michael Adam
cc4541def0 r23711: Refactor the actual creation of object into its own small function.
Michael
(cherry picked from commit 26349c0b17)
(This used to be commit 852570059c)
2007-11-09 11:19:57 +01:00
Michael Adam
67e79219da 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 8b81fbb7d9)
(This used to be commit 79414f8bfa)
2007-11-09 11:19:56 +01:00
Stefan Metzmacher
702d227433 make test: start winbindd
metze
(This used to be commit 8ad4287cca)
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
f56e82ff81 we don't have build-farm specific tests anymore
metze
(This used to be commit bb125f3e08)
2007-11-09 09:53:03 +01:00
Stefan Metzmacher
fdc27be1be remove faked_create_user() BUILD_FARM hack as we have nss_wrapper now
metze
(This used to be commit fc98c19048)
2007-11-09 09:53:02 +01:00
Stefan Metzmacher
cfec6c3083 make test: activate nss_wrapper for make test
metze
(This used to be commit 02cfd28362)
2007-11-09 09:53:02 +01:00
metze
c4a20912b1 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
(This used to be commit e0c8c01650)
2007-11-09 09:53:01 +01:00
metze
39d65a9f50 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
(This used to be commit 350d6c19e3)
2007-11-09 09:53:01 +01:00
metze
29832ab0fe 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
(This used to be commit 17b449212a)
2007-11-09 09:53:01 +01:00
metze
f54458939d 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
(This used to be commit 95dfbd3a6c)
2007-11-09 09:53:00 +01:00
metze
673d502ba3 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
(This used to be commit 70ea441fe4)
2007-11-09 09:53:00 +01:00
metze
05206ce0c2 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
(This used to be commit 77900d2ba0)
2007-11-09 09:52:59 +01:00
metze
90d034f7cf 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
(This used to be commit 2451399acb)
2007-11-09 09:52:59 +01:00
metze
ca2ced5c23 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
(This used to be commit 8e81dd7356)
2007-11-09 09:52:59 +01:00
Stefan Metzmacher
8322aa6977 use nss_wrapper code in samba3 when --enable-nss-wrapper is given
metze
(This used to be commit 9682792962)
2007-11-09 09:52:58 +01:00
metze
7c43422e1b 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
(This used to be commit 28789e60cc)
2007-11-09 09:52:58 +01:00
metze
419c600897 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
(This used to be commit 6abc84a564)
2007-11-09 09:52:57 +01:00
metze
d2397d7b1b 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
(This used to be commit 36af3e864c)
2007-11-09 09:52:57 +01:00
metze
6fb510d3f3 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
(This used to be commit 0924b0c8de)
2007-11-09 09:52:56 +01:00
jelmer
745b458cee 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
(This used to be commit 4642af8026)
2007-11-09 09:31:26 +01:00
jelmer
2c50c6143b 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
(This used to be commit ccb39b1844)
2007-11-09 09:30:28 +01:00
jelmer
c0511ba7d3 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
(This used to be commit 81167d8f38)
2007-11-09 09:29:16 +01:00
jelmer
b26cc8be3d 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
(This used to be commit 8d1f54f45d)
2007-11-09 09:27:03 +01:00
Jeremy Allison
3f006ca95a More pstring/fstring removal.
Jeremy.
(This used to be commit 7646f4b284)
2007-11-08 19:00:10 -08:00
Jeremy Allison
5f4693d8f8 Remove more pstring/fstrings.
Jeremy.
(This used to be commit 7a1de5b44e)
2007-11-08 18:50:07 -08:00
Jeremy Allison
7f97c6b96c Remove unneeded variable.
Jeremy.
(This used to be commit c21bc756e3)
2007-11-08 18:01:00 -08:00
Jeremy Allison
214bb0f119 Fix case where we have no dns domain name. Return a talloc of "".
Jeremy.
(This used to be commit ab8934844a)
2007-11-08 17:58:55 -08:00