1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

23868 Commits

Author SHA1 Message Date
Michael Adam
7559fc08c2 Fix the build: correct prototype.
Adapt prototype of smb_get_nt_acl_nfs4() in the header file, too.

Michael
(This used to be commit a2949fd7a567ba3357024c9e4a8429733009dde4)
2007-11-13 15:49:40 +01:00
Volker Lendecke
15953b82eb Make [f]get_nt_acl return NTSTATUS
(This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)
2007-11-13 15:47:01 +01:00
Jeremy Allison
9441d1ba87 More pstring removal from smbd/*.c
Jeremy.
(This used to be commit 01663c2312467ceebeb2e2fb1aa432ad96c626e5)
2007-11-12 18:12:26 -08:00
Jeremy Allison
d5791deefa Remove pstrings from lanman.c
Jeremy.
(This used to be commit 7bfd25c75602e25da73710261a54da8e0feea133)
2007-11-12 17:59:18 -08:00
Jeremy Allison
79266500cd Remove all pstrings from smbd/chgpasswd.c.
Jeremy.
(This used to be commit eaf14c701b08e9eff5b94bf57af68cb29142d7fc)
2007-11-12 15:02:50 -08:00
Jeremy Allison
86558e0376 Fix bug #5073. Allow "delete readonly = yes" to correctly
override deletion of a file. Fix from David Shaw <dshaw@jabberwocky.com>
Jeremy.
(This used to be commit 5d1d650d192d4782421b5c3c2be1b632d4318279)
2007-11-12 11:39:35 -08:00
Jeremy Allison
d068bc64b6 Three more pstring removals.
Jeremy.
(This used to be commit c15819b75751a1e15cfed2ef94dae10ee72d769c)
2007-11-11 21:46:52 -08:00
Jeremy Allison
91c1933e67 Remove a pstring.
Jeremy.
(This used to be commit c0412b5d13546f388b615a073e82e7730e01d731)
2007-11-11 21:45:55 -08:00
Volker Lendecke
6069670f1b Some pstring removal
Hi!

Feel free to push :-)

Volker

From 7fae6b3709a973bd0a5a13d3f5c880c61d5e35de Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sun, 11 Nov 2007 15:28:59 +0100
Subject: [PATCH] Remove some static pstrings
(This used to be commit c3a66b4ee97a902c5cf43c3bb145541849a029ed)
2007-11-11 21:34:40 -08:00
Volker Lendecke
7e9d639ed1 Cosmetic fix
Do directory vs file open before entering open_file_stat
(This used to be commit cd62122916defbfb57468c3b82a60b766fc4652e)
2007-11-11 23:45:02 +01:00
Jeremy Allison
a084eae039 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit b9d79fb509a6c59fdd73b016be5f4da3435c7789)
2007-11-11 13:18:22 -08:00
Volker Lendecke
63d141d4e8 Remove a static fstring
Feel free to push :-)

Volker
(This used to be commit f213556f50de4a28b5c5d2e1e762013837feb722)
2007-11-11 13:16:58 -08:00
Volker Lendecke
50d9b94f6f Remove a static fstring
I'm not sure why this used to be static, to me it seems that every time this
variable is overwritten. I just don't see how name_status_find() could return
true and not overwrite name. Can someone please review this and potentially
check it in?

Thanks,

Volker
(This used to be commit 329c688e4a9e69b71996fd1b0eee2202a849f3f5)
2007-11-11 13:14:06 -08:00
Volker Lendecke
f976f5e067 Convert ctdb_conn.c to enum ndr_error_code
Fix the build
(This used to be commit 432d0e9cb2370e52f7d4cb58d2da747e526403e8)
2007-11-11 09:12:37 +01:00
Volker Lendecke
c046a2f527 Add ndr_errstr
(This used to be commit e3b36073f1fc994b102a5bdf321b9dd519288420)
2007-11-11 09:12:30 +01:00
Jeremy Allison
2b3c44e4fb Always define PATH_MAX. Makes code simpler (removes
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)
2007-11-10 22:31:34 -08:00
Jeremy Allison
41ae2a0a17 Remove last pstring from sesssetup.c
Jeremy.
(This used to be commit 9ed12bfc48fe7f9b1863a9dd88e881974083053c)
2007-11-10 15:36:47 -08:00
Jeremy Allison
54d65bfb9a Fix the build when realpath doesn't take null
as a last arg.
Jeremy.
(This used to be commit 63125225383f512f43002b9a92569d4b8f1b63bd)
2007-11-10 15:02:08 -08:00
Jeremy Allison
acc0218f13 Remove pstring from service.c.
Jeremy.
(This used to be commit cdd9e5cc8366cf0be4dc31f793fc0e5be6f63c3e)
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 52fe04df8e8c08126afe61d509fc1d3cb676e327)
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 c2645d2164c05976a98bafed980b6029baf89977)
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 95530073de6d5b112391312bed373229af1824b0)
2007-11-09 21:23:16 +01:00
Stefan Metzmacher
08ace73dbb rerun make idl
metze
(This used to be commit 53a636828d2ba01603401086f4a5f72f9b5ea214)
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 42590e917af464f894bf4eb1490f0d1075b2c10e)
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 b1b8088cafa3ebbc94d700c7a029a2b74b7652ed)
2007-11-09 21:23:14 +01:00
Stefan Metzmacher
1c87d79199 prepare changes in ndr code
metze
(This used to be commit 9ba00e7c167fb871a3d9acbd9fc5ce4e935d92c2)
2007-11-09 21:23:14 +01:00
Volker Lendecke
1a11cdf3f2 Sanitize smbcacls slightly
(This used to be commit 9c57628dbd79d3d28f20d5d1ab62a68ae683d46e)
2007-11-09 15:21:58 +01:00
Volker Lendecke
0fb6a301d9 Fix some warnings
(This used to be commit df42038f8801ca65ed7d44f7ae26640e2d840dba)
2007-11-09 15:17:35 +01:00
Volker Lendecke
8a2e7a52c0 nss_wrapper: Fix some warnings
(This used to be commit b401450e8409c19d12d944c61e5553ed3334bc11)
2007-11-09 15:16:59 +01:00
Volker Lendecke
637f9d9bf0 Fix some warnings
(This used to be commit 0a1f524e8cce9bbe4fd10467c1f64f7a8862d298)
2007-11-09 15:16:26 +01:00
Volker Lendecke
333d83e1ee Add some comments
(This used to be commit fc58f2f45ab93ecea855e1dc07b6fdccce041c8d)
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 5f205ab48d8ac3b7af573ea0be1ce095ab835448)
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 814bed029efa391e664ac432d0d68dfeab26381f)
2007-11-09 15:11:54 +01:00
Volker Lendecke
9e5ef9a874 pstring removal
(This used to be commit 0ee896827215a24e70a4ac6bde5ded13f9497296)
2007-11-09 15:11:27 +01:00
Volker Lendecke
95b9e23095 Fix dbwrap debug output
(This used to be commit 9f9c933c16abacb2d0aa7bc7faa5b1ddac61b0e5)
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 0dc2d7ec010610c4bdab8eb6d488295a0259fbc9)
2007-11-09 14:36:20 +01:00
Karolin Seeger
c402ec1bd8 Fix typo
(This used to be commit e811b9f3bbf614f76e628755dafd358769b8a58b)
2007-11-09 12:11:30 +01:00
Stefan Metzmacher
84df457860 use samba4's librpc/ndr/uuid.c
metze
(This used to be commit c148e91fdedd20cfb737465dffc86ed6fa7d7c02)
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 / 87c91e4362c51819032bfbebbb273c52e203b227
to files just added by cherry-pick.
Michael
(This used to be commit a0d595c2277d2f754cdb0c85119fdc130d86f7ea)
2007-11-09 11:20:01 +01:00
Michael Adam
57d6b313df Find and fix more GPL2 -> GPL3.
Jeremy.

This adapts r23780 / c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f
for files added by cherry-pick.
(This used to be commit 1b6cf93992fbe338dff83a9f904ec9dfc422e242)
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 b3e5082e105f6eaeed51e9a42d525d811e7155ee)
(This used to be commit 78a2344fe7ed53e9927e189fa4d465652731deab)
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 26349c0b173e8baf6fa43deb39cb2bfdb31bf18e)
(This used to be commit 852570059c974bc6c06f893e4bf5e76674e4ec00)
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 8b81fbb7d998eda65978a772f2194b4a3de467f9)
(This used to be commit 79414f8bfa9cce1b4543b3cf5d6ea65651fc0769)
2007-11-09 11:19:56 +01:00
Stefan Metzmacher
702d227433 make test: start winbindd
metze
(This used to be commit 8ad4287cca5393a7fef148365aef2e2377c29280)
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 bb125f3e084a99125e92cc6c3aceb7f2b66db678)
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 fc98c1904865608509a01911afa46de74873ef41)
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 02cfd283627bd8f10d7beb8d43cead35dd867346)
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 e0c8c01650b2aa0a1ab491c9800b8aa575bf4185)
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 350d6c19e3e933804ce7234f21ef008c74894e2e)
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 17b449212a2f68262a95b0ebaabb377cc9a8dcc9)
2007-11-09 09:53:01 +01:00