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

22035 Commits

Author SHA1 Message Date
Jeremy Allison
71aa8a1ec2 r22573: Fix old bug mixing free() and talloc_free()
when the add_sid_to_array_XX code was moved
from malloc to talloc. Found running valgrind
and rpcclient. Needs merging for 3.0.25 final.
Jeremy.
(This used to be commit 8af56dbd00)
2007-10-10 12:19:45 -05:00
Jeremy Allison
4ab6a8ebb7 r22564: Move the _strict -> _zeronull functions into lib/util.c
and out of talloc at tridge's request.
Jeremy.
(This used to be commit da78488b86)
2007-10-10 12:19:45 -05:00
Volker Lendecke
e26dee48f0 r22561: Fix a memleak in lanman.c: Nobody would free the session_list.
Volker
(This used to be commit 5d428400f7)
2007-10-10 12:19:45 -05:00
Steve French
a01c1968b5 r22560: Clean up frees of realloc memory in mount.cifs (thanks to Alex for
reminding me how to use Valgrind).
(This used to be commit 4616c29b9f)
2007-10-10 12:19:45 -05:00
Jeremy Allison
9263287a36 r22555: Ensure our paranoid malloc functions return NULL on
size == 0 so we have a known behavior.
Jeremy.
(This used to be commit 27c0f29708)
2007-10-10 12:19:44 -05:00
Volker Lendecke
2724ce625c r22554: Fix an assumption that TALLOC_ARRAY(.., 0) != NULL.
Volker
(This used to be commit 1f15a8f371)
2007-10-10 12:19:44 -05:00
Volker Lendecke
2a5eee9de5 r22553: Fix the build
(This used to be commit 561f3c67f4)
2007-10-10 12:19:44 -05:00
Jeremy Allison
0fbbf8440a r22543: Fix bad call to talloc_strict (too few args).
Should fix build farm breakage.
Jeremy.
(This used to be commit efb43432b0)
2007-10-10 12:19:44 -05:00
Jeremy Allison
12ba88574b r22542: Move over to using the _strict varients of the talloc
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
(This used to be commit f6fa3080fe)
2007-10-10 12:19:44 -05:00
Jeremy Allison
fdc0b87083 r22541: Added talloc_size_strict macro.
Jeremy.
(This used to be commit fcbfa2c991)
2007-10-10 12:19:43 -05:00
Jeremy Allison
f3cf873c81 r22540: Added _strict varients of the macro calls - added
prototypes.
Jeremy.
(This used to be commit 06b47f3d72)
2007-10-10 12:19:43 -05:00
Jeremy Allison
c07643fa18 r22539: Added _strict varients of the talloc calls to
return NULL on size == 0 varients.
Jeremy.
(This used to be commit 1283da1bf8)
2007-10-10 12:19:43 -05:00
Michael Adam
b851e8eb87 r22537: Use a (more speaking) macro when there is one.
(This used to be commit 2eec760154)
2007-10-10 12:19:43 -05:00
Volker Lendecke
322ca3b933 r22533: Use lib functions where we have them
(This used to be commit dc18ab2f34)
2007-10-10 12:19:43 -05:00
Michael Adam
59ac1167a6 r22529: Add implementation of HP-UX ACLs in the new vfs-module framework.
(This used to be commit aef5aad678)
2007-10-10 12:19:42 -05:00
James Peach
7159de5065 r22527: note the svn location of samba-docs on svnanon.samba.org
(This used to be commit e13f1c608f)
2007-10-10 12:19:42 -05:00
Steve French
3e2f29eefd r22526: Support deep tree mounts after share (instead of having to specify
prepath)
(This used to be commit 0548dea6c7)
2007-10-10 12:19:42 -05:00
Günther Deschner
3e8283cf7c r22524: Fix memleak.
Guenther
(This used to be commit e55c52f654)
2007-10-10 12:19:42 -05:00
Günther Deschner
0d1c821700 r22511: Remove unused LDAPMessage.
Guenther
(This used to be commit 31a193b02a)
2007-10-10 12:19:41 -05:00
Gerald Carter
0ecd719499 r22509: Fix some memory corruption caused by calling free()
on talloc()'d memory when adding/removing members
from Local Groups.
(This used to be commit bade93ef9d)
2007-10-10 12:19:41 -05:00
James Peach
3dff331a1d r22507: Wrap the method of obtaining sockets to listen on.
(This used to be commit e027322b76)
2007-10-10 12:19:40 -05:00
Alexander Bokovoy
f4affb4382 r22505: Fix build
(This used to be commit cc38ffb9a4)
2007-10-10 12:19:40 -05:00
Jim McDonough
70806db06a r22504: Fix bug Jerry found during his tutorial. Sorry :-(
Allows authorized users (e.g. BUILTIN\Administrators members) to
set attributes on an account, particularly "user cannot change
password".

add become_root() around updating attributes, after checking that
access has been granted.
(This used to be commit b1ab360519)
2007-10-10 12:19:40 -05:00
Jeremy Allison
2ad66881df r22502: Fix bug #4536 - delete symlinks to a directory correctly.
Jeremy.
(This used to be commit dcc6517d9d)
2007-10-10 12:19:40 -05:00
Michael Adam
b93f78025d r22496: reg_enumvalue should return WERR_NO_MORE_ITEMS instead of
WERR_BAD_FILE when all items have been successfully enumerated.
Besides seeming the reasonable code to return,
this is what I have seen from w2k3, w2k, wxp.
(This used to be commit e09e0d642d)
2007-10-10 12:19:39 -05:00
James Peach
c620832983 r22495: Create wrapper to hide the details of obtaining a set of sockets
to listen on.
(This used to be commit 29a16b2acb)
2007-10-10 12:19:39 -05:00
Jeremy Allison
0845fa4085 r22493: Fix horrible memory corruption bug with CIFS POSIX open/mkidr.
Found by SteveF + valgrind :-). Jerry - essential for rc3.
Jeremy.
(This used to be commit b01c1c4618)
2007-10-10 12:19:39 -05:00
Jeremy Allison
4742fa9366 r22492: Add objectid code.
Jeremy.
(This used to be commit d3df922038)
2007-10-10 12:19:39 -05:00
Jeremy Allison
7d859f04f2 r22491: Fix the build (3.0.25 and 3.0 are different here).
Jeremy.
(This used to be commit c34c291194)
2007-10-10 12:19:38 -05:00
Jeremy Allison
1ddcc5c06a r22490: Fix a couple of bugs found whist investigating CSC Vista issues.
Ensure we correctly NULL out allocation size fields. Allow
QFILEINFO on pipes (Vista bug ?). Jerry - don't automatically
merge for 3.0.25.
Jeremy.
(This used to be commit a275778152)
2007-10-10 12:19:38 -05:00
Michael Adam
992fac30a5 r22489: Add a deletedomgroup command to rpcclient (samr).
Corresponding to deletedomuser.

Michael
(This used to be commit 9775de56b8)
2007-10-10 12:19:38 -05:00
Günther Deschner
3ab204936e r22484: Check for the talloc_strdup to succeed.
Guenther
(This used to be commit 38b4fddf5d)
2007-10-10 12:19:38 -05:00
Günther Deschner
678ca586f0 r22483: Attempt to fix the build.
Guenther
(This used to be commit db499b515b)
2007-10-10 12:19:38 -05:00
Jeremy Allison
5e7174a2c8 r22481: Move check for non-mappable SIDs to after sid_to_uid,
sid_to_gid mapping, add LocalSystem to non-mappable
list.
Jeremy.
(This used to be commit 805f01464f)
2007-10-10 12:19:38 -05:00
Günther Deschner
2e0a7fc223 r22480: Remove accidentially comitted getpeereid hunks again.
Guenther
(This used to be commit 3ef6181696)
2007-10-10 12:19:38 -05:00
Günther Deschner
1ee9650a1d r22479: Add "net ads keytab list".
Guenther
(This used to be commit 9ec76c5427)
2007-10-10 12:19:37 -05:00
Gerald Carter
b9c4009037 r22473: Correct fix for setting a default compat tdb idmap backend.
Previous code would always fill in "idmap backend = tdb"
even if you defined idmap domains.  My fault.  I should
have tested the original patch more before committing.
(This used to be commit a60c3f6a5a)
2007-10-10 12:19:37 -05:00
Günther Deschner
655d2b5200 r22468: Fixing implicit declaration of krb5_set_default_tgs_ktypes (which is hidden by
KRB5_PRIVATE in MIT and doesn't exist on Heimdal).

Guenther
(This used to be commit 664db1cff6)
2007-10-10 12:19:37 -05:00
Günther Deschner
31982beaab r22467: Adding configure check for -Werror-implicit-function-declaration and use it in
-enable-developer.

Guenther
(This used to be commit 750156337e)
2007-10-10 12:19:36 -05:00
Günther Deschner
2713a9ca0e r22466: Fix build warning.
Guenther
(This used to be commit d6f259e918)
2007-10-10 12:19:36 -05:00
Günther Deschner
53ac6a5abf r22465: Last attempt to fix the build before dinner.
Guenther
(This used to be commit f6ade770bd)
2007-10-10 12:19:36 -05:00
Stefan Metzmacher
c5a93fd897 r22464: remove double code and use a function
metze
(This used to be commit aa28bcc466)
2007-10-10 12:19:35 -05:00
Günther Deschner
04724b8451 r22463: Add prototype.
Guenther
(This used to be commit 4984af2c66)
2007-10-10 12:19:35 -05:00
Günther Deschner
fa2756c944 r22461: Use ranged LDAP queries in lookup_usergroups_member() and start to optinmize
lookup_groupmem(). In the later, at least try to avoid those massive LDAP
dn_lookups by looking in the cache before.

Guenther
(This used to be commit eb1566869c)
2007-10-10 12:19:35 -05:00
Günther Deschner
56f6336fd4 r22460: Adding a generic ads_ranged_search() function.
Guenther
(This used to be commit b8828ea251)
2007-10-10 12:19:35 -05:00
Günther Deschner
8040fec0ac r22459: Adding ads_get_dn_from_extended_dn(), in preparation of making ranged LDAP
queries more generic. Michael, feel free to overwrite these and the following.

Guenther
(This used to be commit 0475b8eea9)
2007-10-10 12:19:35 -05:00
Volker Lendecke
2541e0d590 r22458: Fix a comment
(This used to be commit f5ccec4228)
2007-10-10 12:19:34 -05:00
Gerald Carter
da158ad6a2 r22447: Patch from Ying Li <ying.li2@hp.com> to default tdb idmap
plugin when neither idmap domains nor idmap backend have
been defined.
(This used to be commit 2fa12753da)
2007-10-10 12:19:34 -05:00
Gerald Carter
026852b47a r22444: * Validate a SID before trying to convert it to a uid/gid via the public
winbindd interface

* Add nss_info/*so files to the RHEL/Fedora packaging
(This used to be commit 1787fcb8c1)
2007-10-10 12:19:34 -05:00
James Peach
821bf2bd72 r22441: Add automatic dependency tracking. The dependency generation is
toolchain independent, but since there's no portable method for
doing makefile includes, we can actually use the dependencies with
GNU make. It's easy to add this for other makes, but I don't have
any to test.

This also moves as much m4 as possible into the m4 directory where
no-one has to look at it. AFAICT, there's no way to hide depcomp
in there too, which is unfortunate.
(This used to be commit aa14900f82)
2007-10-10 12:19:34 -05:00