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

23726 Commits

Author SHA1 Message Date
Michael Adam
c45970529c Fix bug #5083 (and duplicate bug #5084).
Make solarisacl_sys_acl_get_fd() return a result
when there is one (thereby fixing a memleak).

Thanks to Markus Zell for reporting this.

Michael
(This used to be commit 242fc0099c)
2007-11-15 11:08:53 +01:00
Jeremy Allison
51b46147f2 Remove smbldap_get_single_pstring() and all pstrings
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 00760451b6)
2007-11-14 16:05:42 -08:00
Jeremy Allison
d07eabcb44 Remove pstring from auth/*
Jeremy.
(This used to be commit 72c19d114b)
2007-11-14 10:37:18 -08:00
Jeremy Allison
7a3ece4145 Remove pstring from param/
This was a little tricky..... I'll watch the
build farm.
Jeremy.
(This used to be commit d6e2519c67)
2007-11-13 18:42:42 -08:00
Jeremy Allison
e2eaf24f7b Remove all pstring from groupdb/
Jeremy.
(This used to be commit 6959c5c7e3)
2007-11-13 15:00:48 -08:00
Michael Adam
8ab992524a Fix potential orphaned open files.
Calling can_access_file could lead to orphaned open files
when SMB_VFS_GET_NT_ACL returned ENOSYS (not implemented).

Michael
(This used to be commit f4f700cf0c)
2007-11-13 23:26:38 +01:00
Jeremy Allison
052efa9a33 Remove last pstring from smbd/*.c
Jeremy.
(This used to be commit f1680bada9)
2007-11-13 12:51:31 -08:00
Michael Adam
b2f942cfe2 Fix build of the zfs_acl module.
There was one caller of smb_get_nt_acl_nfs4() forgotten
in the change of return value.

Michael
(This used to be commit 4d3e84a3b3)
2007-11-13 15:50:14 +01:00
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 a2949fd7a5)
2007-11-13 15:49:40 +01:00
Volker Lendecke
15953b82eb Make [f]get_nt_acl return NTSTATUS
(This used to be commit dcbe1bf942)
2007-11-13 15:47:01 +01:00
Jeremy Allison
9441d1ba87 More pstring removal from smbd/*.c
Jeremy.
(This used to be commit 01663c2312)
2007-11-12 18:12:26 -08:00
Jeremy Allison
d5791deefa Remove pstrings from lanman.c
Jeremy.
(This used to be commit 7bfd25c756)
2007-11-12 17:59:18 -08:00
Jeremy Allison
79266500cd Remove all pstrings from smbd/chgpasswd.c.
Jeremy.
(This used to be commit eaf14c701b)
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 5d1d650d19)
2007-11-12 11:39:35 -08:00
Jeremy Allison
d068bc64b6 Three more pstring removals.
Jeremy.
(This used to be commit c15819b757)
2007-11-11 21:46:52 -08:00
Jeremy Allison
91c1933e67 Remove a pstring.
Jeremy.
(This used to be commit c0412b5d13)
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 c3a66b4ee9)
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 cd62122916)
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 b9d79fb509)
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 f213556f50)
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 329c688e4a)
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 432d0e9cb2)
2007-11-11 09:12:37 +01:00
Volker Lendecke
c046a2f527 Add ndr_errstr
(This used to be commit e3b36073f1)
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 e203ba2227)
2007-11-10 22:31:34 -08:00
Jeremy Allison
41ae2a0a17 Remove last pstring from sesssetup.c
Jeremy.
(This used to be commit 9ed12bfc48)
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 6312522538)
2007-11-10 15:02:08 -08:00
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