1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

19506 Commits

Author SHA1 Message Date
Volker Lendecke
d52002c1c9 r15104: Implement Samba4's tdb_name().
Volker
2007-10-10 11:16:23 -05:00
Volker Lendecke
0a2f1ed5e9 r15103: Okay, looking closer: Samba4 tdb not exporting u32 is a bug in samba4's
tdb. tdb_open_ex needs it. Can someone from samba4 tell me how this should be
handled?

Thanks,

Volker
2007-10-10 11:16:23 -05:00
Volker Lendecke
0a1665a1b7 r15102: u32 is a tdb-only thing that's not exported by samba4 tdb. Replace by uint32.
Volker
2007-10-10 11:16:23 -05:00
Volker Lendecke
b9c6e3f556 r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring does not
have the timeout argument in Samba4. Add a new routine
tdb_lock_bystring_with_timeout.

Volker
2007-10-10 11:16:23 -05:00
Volker Lendecke
d3d388180d r15098: Make smbclient -L use RPC to list shares, fall back to RAP. This should list
long share names.

Volker
2007-10-10 11:16:23 -05:00
Lars Müller
27044d23ff r15094: Replace ; by # where we have a comment and remove superfluous spaces at
the end of lines.
2007-10-10 11:16:22 -05:00
Lars Müller
74fa3a2554 r15093: Align to the last winbind changes. 2007-10-10 11:16:22 -05:00
Jeremy Allison
8272a5ab06 r15088: Remove all time() and gettimeofday() calls out of the mainline
packet processing code. Only do these when needed (ie. in the
idle timeout code). We drop an unneccessary global here too.
Jeremy.
2007-10-10 11:16:22 -05:00
Gerald Carter
77fb19c45d r15086: Get defensive about creating user accounts when winbindd
fails (but is present).
2007-10-10 11:16:22 -05:00
Jeremy Allison
23dcff4d50 r15084: Try and squeeze more out of the non-read/write code path.
Jeremy.
2007-10-10 11:16:22 -05:00
Jeremy Allison
1c99aed563 r15083: Using talloc with destructors is nice and all, but in this
case it's in a performace critical path and it *hurts* us.
Go back to plain malloc/free with an explicit destructor
call.
Jeremy.
2007-10-10 11:16:22 -05:00
Günther Deschner
e32c4f6f6e r15080: As discussed with Jerry, remove the CAP_LIBS again (we don't need that
handling anymore when we remove $(LIBS) from pam_winbind again.

Also make sure to build our own copy of iniparser with -fPIC.

Guenther
2007-10-10 11:16:21 -05:00
Gerald Carter
7d5adcf3a7 r15074: Remove -lcap from pam_winbind (not needed)
Temporary linking fix for --with-included-iniparser
(gd will do a proper fix later).
2007-10-10 11:16:21 -05:00
Gerald Carter
b68e66d5c4 r15072: Last bit of 32/64 bit portabilities fixes for winbind
clients and aservers.  Strange compiler-fu on 64-bit
SLES9 says sizeof(time_t) == 4 but the memory alignment
is on 8 bytes.  Change time_t to uint32 to fix alignment.
Remove 'char **gr_mem' from struct winbindd_gr since
it was not being used.
2007-10-10 11:16:01 -05:00
Volker Lendecke
066f69fe88 r15068: Fix a shadowed variable warning 2007-10-10 11:16:00 -05:00
Jeremy Allison
2f8b527dcf r15060: The brlock code gets called a lot. Ensure we keep the
key around while we're using it - saves many calls to
locking_key() (now deleted).
Jeremy.
2007-10-10 11:16:00 -05:00
Günther Deschner
01e46b8c6e r15058: Add sample pam_winbind.conf file.
Guenther
2007-10-10 11:16:00 -05:00
Gerald Carter
a95d11345e r15053: fix portabilities issues between 32-bit winbind clients and a 64-bit winbindd server 2007-10-10 11:16:00 -05:00
James Peach
256a19d722 r15047: Add support for using libunwind to generate a backtrace. This is
primarily intended for ia64 systems where libunwind knows more about
the different ways of walking the stack that just about anything else.
2007-10-10 11:16:00 -05:00
James Peach
1d5e4830d3 r15046: Fix bug #3490 reported by Jason Mader. Do not continue to check for LDAP
and AD requirements if --without-ldap and --without-ads have been given
to configure.
2007-10-10 11:15:59 -05:00
Günther Deschner
3ff278b852 r15044: Fix the build. (void returning non-void).
Guenther
2007-10-10 11:15:59 -05:00
Günther Deschner
5ae22cf46b r15043: Only build our copy of iniparser when the system doesn't have one.
Guenther
2007-10-10 11:15:59 -05:00
Günther Deschner
0fed66926f r15041: Adding rpc client calls to manipulate auditing policies on remote CIFS
servers. Also add a new "net rpc audit" tool. The lsa query infolevels
were taken from samb4 IDL, the lsa policy flags and categories are
partly documented on msdn. I need to cleanup the double
lsa_query_info_policy{2}{_new} calls next.

Guenther
2007-10-10 11:15:59 -05:00
Günther Deschner
41b79ee80c r15040: Stripping the parametric options in pam_winbind and use
/etc/security/pam_winbind.conf as config file for the PAM module by
default.

Guenther
2007-10-10 11:15:59 -05:00
Volker Lendecke
fc6effcd9c r15039: Fix an uninitialized variable. I _think_ this should default to
PAM_SUCCESS. Günther, could you take a look?

Thanks,

Volker
2007-10-10 11:15:59 -05:00
Günther Deschner
6f668ce673 r15038: Replace all code in pam_winbind that relied on access to samba
internals, mostly with the code that was in pam_winbind before.

Also switch from using loadparm to use iniParser to read the new
pam_winbind options from a configuration file. That still uses the old
(parametric) option names which will be replaced next (as iniParser does
not support parametric options).

Guenther
2007-10-10 11:15:58 -05:00
Günther Deschner
6658e0a988 r15037: Adding iniParser (http://ndevilla.free.fr/iniparser/), a free inifile
parsing library under the MIT licence.

This is required to have a configuration ini-file for pam_winbind
without using loadparm in the next step.

Guenther
2007-10-10 11:15:58 -05:00
Volker Lendecke
efc833dcba r15035: It seems that many preprocessors do not like comments in macro args.. 2007-10-10 11:15:58 -05:00
Volker Lendecke
8b3e87184a r15034: Attempt to make the build farm happy 2007-10-10 11:15:58 -05:00
Jeremy Allison
1217ed392b r15030: On a performace hunt... Remove as many extraneous
memset's as possible.
Jeremy.
2007-10-10 11:15:58 -05:00
Jeremy Allison
44b0d856ae r15028: Fix logic error checking valid args to POSIX lock
call.
Jeremy.
2007-10-10 11:15:57 -05:00
Jeremy Allison
15f39a4c72 r15026: Fix warning until POSIX locking finished.
Jeremy.
2007-10-10 11:15:57 -05:00
Jeremy Allison
a64976b944 r15025: Fix exit_server_cleanly call.
Jeremy.
2007-10-10 11:15:57 -05:00
Jeremy Allison
13c3abf031 r15022: Fix core dumps on normal server exit.
Jeremy.
2007-10-10 11:15:57 -05:00
Jeremy Allison
dc6a13da33 r15020: Fix issue with samba4 netbench torture tester,
it sends break replies to "break to none from level2"
requests and it shouldn't. Just don't log a debug
level zero message.
Jeremy.
2007-10-10 11:15:57 -05:00
Jeremy Allison
08e52ead03 r15018: Merge Volker's ipc/trans2/nttrans changes over
into 3.0. Also merge the new POSIX lock code - this
is not enabled unless -DDEVELOPER is defined.
This doesn't yet map onto underlying system POSIX
locks. Updates vfs to allow lock queries.
Jeremy.
2007-10-10 11:15:57 -05:00
Jeremy Allison
b1bbe56831 r15012: Fix bug #2715. Fix suggested by ISHIKAWA Tomonori <toishika@fsi.co.jp>
No need to null terminate early, pull_ascii_fstring will do this.
Jeremy.
2007-10-10 11:15:56 -05:00
Volker Lendecke
ba41c62b8b r15011: Fix bug # 2413. net rpc info can't reliably work anonymously anymore.
Volker
2007-10-10 11:15:56 -05:00
Volker Lendecke
0a7d4f1ab1 r15009: Add a check for NULL 2007-10-10 11:15:56 -05:00
Andrew Tridgell
e73ee08c84 r15007: fixed usage of cli_list() in smbwrapper so it compiles. This doesn't get smbwrapper really working again, but at least it will help Timur Bakeyev in his question to make it work 2007-10-10 11:15:56 -05:00
Jeremy Allison
68d100830c r15005: Fix printf args to remove warnings.
Jeremy.
2007-10-10 11:15:55 -05:00
Gerald Carter
1e0b79e591 r15003: patch based on code from Arkady Glabek <aglabek@centeris.com> to ensure that global memory is freed when unloading pam_winbind.so (needs more testing on non-linux platforms) 2007-10-10 11:15:55 -05:00
Jeremy Allison
7769b678f2 r14989: Fix from Mathias Dietz <MDIETZ@de.ibm.com>. EPERM can be
a valid return from getting an xattr. Don't disable if
we get it.
Jeremy.
2007-10-10 11:15:55 -05:00
Jeremy Allison
c88af597d0 r14986: Fix OS/2 directory delete bug found by kukks.
(Thanks a lot for all your hard work on this).
We were caching the results of *all* directory
scans, not just the results that match the
client wildcard. This actually made no sense,
as only matches on the client wildcard can be
returned to the client and so might need to
be searched for in the cache. This fixes the
directory cache to only cache entries that we
return to the client.
Jeremy.
2007-10-10 11:15:55 -05:00
Jeremy Allison
3cd5c3df0d r14954: Fix #3569 based on William Jojo's work. AIX also
has the linear posix locking issue which causes
CLEAR_IF_FIRST to cause performance problems.
As we know we're in a daemon architecture with
long-lived parent we can avoid this in the Samba
case. Add a comment explaining this.
Jeremy.
2007-10-10 11:15:55 -05:00
Günther Deschner
87293802f3 r14940: Remove pam_winbind's ability to create home directories on it's own.
Guenther
2007-10-10 11:15:54 -05:00
Jim McDonough
1953f63903 r14931: Fix #1374: can't join an OU with name that contains '#'
I had to eliminate "\" as an OU path separator, because it is the escape
char in LDAP.  We still accept "/", but using the escape char is just
not a good choice.
2007-10-10 11:15:54 -05:00
Lars Müller
59175ee522 r14923: Return False in the case a parametrical option is not configured in
the config file.

For a "somesettings: foo = " we still return an empty line.
2007-10-10 11:15:54 -05:00
Lars Müller
b228474be0 r14922: Use BOOL for the returned value. 2007-10-10 11:15:54 -05:00
James Peach
ffe1a2e23f r14900: Separate words in error message. 2007-10-10 11:15:53 -05:00