1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

17316 Commits

Author SHA1 Message Date
Simo Sorce
6ca54f00f6 r5176: Warn the user that print command is ignored when using cups libraries
(This used to be commit 1424612047)
2007-10-10 10:55:32 -05:00
Gerald Carter
9dbb5769fe r5174: ensure that we consistently use the current_user_info.smb_name vs. smb_name when parsing smb.conf and reloading config files
(This used to be commit be537eaebe)
2007-10-10 10:55:31 -05:00
Jeremy Allison
eed0e6875b r5166: From James Peach - remove minor C99-isms.
Jeremy.
(This used to be commit 54ac409d4f)
2007-10-10 10:55:31 -05:00
Gerald Carter
c1b9243c28 r5165: BUG 2295: always use get_local_machine_name() rather than digging in the gloval variable 'local_machine'
(This used to be commit 6a6e4af46a)
2007-10-10 10:55:31 -05:00
Jim McDonough
92bbd3151d r5163: Fix bugzilla 2062:
turn off broadcast for all 390 NICs.
(This used to be commit d159a5013e)
2007-10-10 10:55:31 -05:00
Gerald Carter
90446e7e4b r5162: BUG 2264: remove shutdown and abortshurn commands from rpcclient since they are stable in 'net rpc' (to avoid fixing portability bugs)
(This used to be commit 0a1f9703a1)
2007-10-10 10:55:30 -05:00
Jeremy Allison
021011f900 r5160: First cut at refactoring of directory code to handle non-wildcard
directory match more efficiently. Passes RAW-SEARCH under valgrind but needs more
testing (which I'll do later today :-).
Jeremy.
(This used to be commit 0b04dd9d0c)
2007-10-10 10:55:30 -05:00
Gerald Carter
b75ebde786 r5159: BUG 2262: add support to detect *freebsd6* (same as *freebsd5* currently)
(This used to be commit d6c7de2408)
2007-10-10 10:55:30 -05:00
Gerald Carter
6fd5918b06 r5158: BUG 2263: patch from Timur Bakeyev <timur@com.bat.ru> to guard base64_encode_data_blob() against empty blobs
(This used to be commit 17239d609f)
2007-10-10 10:55:30 -05:00
Gerald Carter
6c6e231f15 r5157: BUG 2266: conditionally include rpc/nettype.h to work around missing header onf FreeBSD4
(This used to be commit 314da60473)
2007-10-10 10:55:30 -05:00
Jeremy Allison
c1d7588c74 r5154: Tidy up interface a little.
Jeremy.
(This used to be commit a38eeb765f)
2007-10-10 10:55:29 -05:00
Jeremy Allison
784adfbcbb r5152: Restructure the directory handling code, stop using void * pointers
that just allow the wrong pointer to be assigned :-) and make the
interface more consistent. Fix the FreeBSD directory problem. Last
thing to do is to add the "singleton" directory concept from James
Peach's code.
Jeremy.
(This used to be commit cfa8150fd9)
2007-10-10 10:55:29 -05:00
Gerald Carter
f35a9c5af6 r5150: consolidate the samr_make.*obj_sd() functions to share code
(This used to be commit 5bd03d5926)
2007-10-10 10:55:29 -05:00
Gerald Carter
7ff184334d r5140: (a) fix problem with enumerating domain trusts in security = ads; (b) fix a segfault in rpcclient's dsenumdomtrusts
(This used to be commit 558525abf1)
2007-10-10 10:55:29 -05:00
Gerald Carter
df52925865 r5132: netscape DS 5.2 schema update from Richard Renard <rrenard@idealx.com>
(This used to be commit 33ac88c6a7)
2007-10-10 10:55:29 -05:00
Gerald Carter
12ce2c5aca r5131: BUG 2290: don;t call mkversion.sh since we don't have it in this directory
(This used to be commit 2ddcb64381)
2007-10-10 10:55:28 -05:00
Volker Lendecke
3924332071 r5127: Fix Bug 2289 -- thanks to jason@ncac.gwu.edu
(This used to be commit 8c35c3bf2e)
2007-10-10 10:55:28 -05:00
Volker Lendecke
c23c9bfd67 r5125: Fix bug 2113 -- thanks to jason@ncac.gwu.edu
(This used to be commit 0c205bcc86)
2007-10-10 10:55:28 -05:00
Tim Potter
2eab58d3fd r5112: Fix for shared object creation in examples. Bugzilla #2058.
(This used to be commit 8e5db6f08c)
2007-10-10 10:55:15 -05:00
Tim Potter
e7eb70928c r5111: Fix up changed prototype for setsampwent pdb function.
(This used to be commit 3317482020)
2007-10-10 10:55:15 -05:00
Jeremy Allison
91bf6cb6bf r5100: We should only care about case-sensitivity when *reading* an incoming
filename, not returning one. Makes us pass one more Samba4 RAW-SEARCH test.
Jeremy.
(This used to be commit 228d1e1649)
2007-10-10 10:55:15 -05:00
Volker Lendecke
d225b74b6d r5098: Next round build-fixing
(This used to be commit 175ec3ed51)
2007-10-10 10:55:15 -05:00
Volker Lendecke
0dc388a837 r5096: Attempt to fix the build
(This used to be commit 5f34139b68)
2007-10-10 10:55:14 -05:00
Jeremy Allison
7171515a01 r5082: Don't blindly copy question rr_type and class, set correctly as required
by rfc1002.
Jeremy.
(This used to be commit 422fb43dda)
2007-10-10 10:55:14 -05:00
Jeremy Allison
e03b7d30d5 r5077: Use correct type for rr record on negative name query reply.
Jeremy.
(This used to be commit 86c5548d27)
2007-10-10 10:55:14 -05:00
Jeremy Allison
22923f7d2d r5076: Ensure that WINS negative name query responses and WACK packets
use the correct RR type of 0xA instead of reflecting back what
the query RR type was (0x20). See rfc1002 sections 4.2.14 and
4.2.16.
Jeremy.
(This used to be commit ab8c924004)
2007-10-10 10:55:13 -05:00
Jeremy Allison
e612109ace r5069: Ensure we return the correct errors for old-style search requests.
Jeremy.
(This used to be commit ef73dfe0d6)
2007-10-10 10:55:13 -05:00
Jeremy Allison
8ac31b5034 r5066: A couple of small fixes from James Peach @ SGI.
Jeremy.
(This used to be commit 9d131e9419)
2007-10-10 10:55:13 -05:00
Jeremy Allison
de728fa81a r5063: Shamelessly steal the Samba4 logic (and some code :-) for directory
evaluation. This stops us from reading the entire directory into
memory at one go, and allows partial reads. It also keeps almost
the same interface to the OpenDir/ReadDir etc. code (sorry James :-).
Next I will optimise the findfirst with exact match code. This speeds
up our interactive response for large directories, but not when a
missing (ie. negative) findfirst is done.
Jeremy
(This used to be commit 0af1d2f6f2)
2007-10-10 10:55:13 -05:00
Gerald Carter
575ff39625 r5060: BUG 2286: fix typoe on sambaConfig oc definition
(This used to be commit e2ce048654)
2007-10-10 10:55:13 -05:00
Günther Deschner
26dcc2aa74 r5058: Due to the fragileness how windows reacts on unmapped sids sometimes,
don't leave administator-sid unmapped. Simply return "Administrator"

Guenther
(This used to be commit 168ddf31d1)
2007-10-10 10:55:13 -05:00
Gerald Carter
962a5c9552 r5056: * correct STANDARD_RIGHTS_WRITE_ACCESS bitmask define
* make sure to apply the rights_mask and not just the saved
  bits from the mask in access_check_samr_object()
* allow root to grant/revoke privileges (in addition to Domain
  Admins) as suggested by Volker.

Tested machine joins from XP, 2K, and NT4 with and without
pre-existing machine trust accounts.  Also tested basic file
operations using cmd.exe and explorer.exe after changing the
STANDARD_RIGHTS_WRITE_ACCESS bitmask.
(This used to be commit c0e7f7ff60)
2007-10-10 10:55:12 -05:00
Gerald Carter
6441450e93 r5046: mark 'winbind enable local accounts' and testprns as depcrecated
(This used to be commit 17bc42b4c2)
2007-10-10 10:55:12 -05:00
Gerald Carter
3bb69bc8ef r5029: after talking to Rob, ensure that we set the NETIOSNAME.domainname
as the longname in the published printer information since this
is what we will have used when we joined the domain.

More testing on this tomorrow.
(This used to be commit d64fd1116d)
2007-10-10 10:55:12 -05:00
Gerald Carter
091f4bcda5 r5028: * check acb_info mask in _samr_create_user instead of the last character
of the user name
* fix some access_mask checks in _samr_set_userinfo2 (getting join from
  XP without being a member of domain admins working)
(This used to be commit 04030534ff)
2007-10-10 10:55:12 -05:00
Gerald Carter
a98e668058 r5020: bumping the 3.0 tree to 3.0.12pre1 since there will not be a full sync for the 3.0.11rc1 release
(This used to be commit c0e292e491)
2007-10-10 10:55:12 -05:00
Gerald Carter
46d8ff2320 r5015: (based on abartlet's original patch to restrict password changes)
* added SE_PRIV checks to access_check_samr_object() in order
  to deal with the run-time security descriptor and their
  interaction with user rights

* Reordered original patch in _samr_set_userinfo[2] to still
  allow root/administrative password changes for users and machines.
(This used to be commit f9f9e6039b)
2007-10-10 10:55:12 -05:00
Jeremy Allison
02c25a2683 r5014: Split out the request to send an async level II oplock break into a
new function to make it clear when it's called. Remove async parameter
that had been overloaded into request_oplock_break.
Inspired by work from Nadav Danieli <nadavd@exanet.com>.
Jeremy.
(This used to be commit 05697fb502)
2007-10-10 10:55:11 -05:00
Gerald Carter
f0df38a4e8 r5012: fix segfault caused by using a ipp_t * after calling cupsDoRequest()
(This used to be commit 0ac3c4c5a2)
2007-10-10 10:55:11 -05:00
Jeremy Allison
d728056203 r5002: Ensure we can't remove a level II oplock without having the
shared memory area locked. This need to be in 3.0.11. Pointed
out by Nadav Danieli <nadavd@exanet.com>.
Jeremy.
(This used to be commit 47ed16aefb)
2007-10-10 10:55:11 -05:00
Gerald Carter
51813e3bc5 r5000: 5000th post! w00tsvn diffsvn diff :-)
(This used to be commit 41d247d964)
2007-10-10 10:55:11 -05:00
Gerald Carter
e512799c00 r4996: sync up copytights with trunk
(This used to be commit 8946efe102)
2007-10-10 10:55:11 -05:00
Gerald Carter
33b789f321 r4995: fail set_privileges() if 'enable privileges = no' to prevent confused admins who never read what I write :-)
(This used to be commit 1d7a636e0e)
2007-10-10 10:55:11 -05:00
Günther Deschner
a548e710d8 r4994: Patch from abartlet:
When migrating account policies to ldapsam, handle the fact that an
admin might have changed the default location of the sambaDomain-object
after installation.

Guenther
(This used to be commit 78c3c71274)
2007-10-10 10:55:11 -05:00
Günther Deschner
23f558535e r4989: Display failed LDAP-server-uri.
Guenther
(This used to be commit d433c7b476)
2007-10-10 10:55:10 -05:00
Günther Deschner
de87569cfb r4988: After speaking with Jerry, remove old lp_admin_users to
administrator-sid mapping completely.

Guenther
(This used to be commit 4cbe37ecd5)
2007-10-10 10:55:10 -05:00
Andrew Bartlett
2ea185b3ab r4976: Try to scare people off from trying to write authentication modules
that only acheive as much as 'security=server' does.

Andrew Bartlett
(This used to be commit fb694f2b1a)
2007-10-10 10:55:10 -05:00
Günther Deschner
9b1e5a7118 r4972: Fix a warning and some debugging-outputs.
Guenther
(This used to be commit 1eabfa050b)
2007-10-10 10:55:10 -05:00
Jeremy Allison
c24c328a9e r4970: Fix for bug 2092, allowing fallback after kerberos and allow
gnome vfs to prevent auto-anonymous logon.
Jeremy.
(This used to be commit 843e85bcd9)
2007-10-10 10:55:10 -05:00
Volker Lendecke
d1b7d109fa r4967: Not being in any domain local groups is obviously valid...
Volker
(This used to be commit 78975ab9a9)
2007-10-10 10:55:10 -05:00