1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-12 21:58:10 +03:00

17610 Commits

Author SHA1 Message Date
Jeremy Allison
3fb8308072 r6120: Added "volume" command to smbclient that prints out the volume name and
serial number.
Jeremy.
(This used to be commit c69623072e4112a4719867ea4809f5145b3cb64c)
2007-10-10 10:56:23 -05:00
Günther Deschner
acd9ef30f3 r6117: Close handles after group-creation as well.
Guenther
(This used to be commit f41f1437e7682ecd7e381357fa2acc74ad970fe7)
2007-10-10 10:56:23 -05:00
Simo Sorce
b1d8753aed r6116: update debian changelog
(This used to be commit d0e5e48ad3c50ab8dbb6b647e3b0f81f08712012)
2007-10-10 10:56:22 -05:00
Volker Lendecke
be70aa7614 r6110: Close handles on user creation. This allows easy mass creation of users with
rpcclient.

Volker
(This used to be commit 1a56a4fd3e09361e44c8ff4666bd6091db0b945d)
2007-10-10 10:56:22 -05:00
Derrell Lipman
fbc611f431 r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more complete libsmbclient testbrowse utility
(This used to be commit 15736b97c837a16d9c009b8bff18b31429ccbe83)
2007-10-10 10:56:22 -05:00
Jeremy Allison
fa787af520 r6106: Fix bug #2551. It turns out that the incoming flags2 flag FLAGS2_LONG_PATH_COMPONENTS
determines if a reply is uppercased on a SMBsearch request, not the protocol level.
This could clear up quite a few hacks going forward I think.
Jeremy.
(This used to be commit 8c64cd368fdd2c5a4b361904855c135ade3f449e)
2007-10-10 10:56:22 -05:00
Jeremy Allison
717845f109 r6104: Update dos filetimes to default yes for Office 2000.
Jeremy.
(This used to be commit d1ff66f6cde844bf0312747c50b402e81846891f)
2007-10-10 10:56:22 -05:00
Steve French
5d64af716d r6103: Update list of mount options for mount.cifs
(This used to be commit 6efd6225fab93c3f31f09f6bbf6d032024650501)
2007-10-10 10:56:21 -05:00
Derrell Lipman
0411d1a735 r6102: add support for opening a file for write with O_APPEND in libsmbclient
(This used to be commit 542922cb2e5c8e7522f14492418686c339f0a5a4)
2007-10-10 10:56:21 -05:00
Jeremy Allison
202c7b4571 r6092: This much const causes the compiler on Fedora Core 2
to throw up.
Jeremy.
(This used to be commit 051f0ed8075a3616484888ab22d68ca11aa1dd36)
2007-10-10 10:56:21 -05:00
Jeremy Allison
e0c51ee41f r6090: Patch to fix sys_select so it can't drop signals if another fd
is ready to read. Patch from Mark Weaver <mark-clist@npsl.co.uk>.
The only question is, how did we miss this for so long..... :-).
Jeremy.
(This used to be commit fb4052ce3a5e585897e478092a7ab5a2ec83e37b)
2007-10-10 10:56:21 -05:00
Jeremy Allison
780b1eedab r6082: Fix for bugid #2541. Fixes from Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Jeremy.
(This used to be commit 057e4bf641674473f1ac1e0fbe936b4f2506e013)
2007-10-10 10:56:21 -05:00
Volker Lendecke
e84ead0cfd r6080: Port some of the non-critical changes from HEAD to 3_0. The main one is the
change in pdb_enum_alias_memberships to match samr.idl a bit closer.

Volker
(This used to be commit 3a6786516957d9f67af6d53a3167c88aa272972f)
2007-10-10 10:56:20 -05:00
Gerald Carter
0aa89db947 r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
* add some backwards compatibility to 'net rpc rights list'
* verify privilege name in 'net rpc rights privileges <name>' in order
  to give back better error messages.
(This used to be commit 0e29dc8aa384dfa6d2495beb8a9ffb5371e60a13)
2007-10-10 10:56:20 -05:00
Jeremy Allison
404fa5636d r6069: Fix for bug #2541. Ensure we recognise LANMAN2.1 as OS/2 and select LANMAN2
protocol, ensure the EA size is always correctly set on a query for a file with no EA's.
Jeremy.
(This used to be commit d6ad1f8df05e16152d9c95df56e612fde288d3b4)
2007-10-10 10:56:20 -05:00
Jeremy Allison
e2204e24ba r6067: Patch from Marcel Müller <mueller@maazl.de> - fix OS/2 EA_FROM_LIST
info level.
Jeremy.
(This used to be commit e15c36e9497b5e92c0f743a522cd0adb96d22295)
2007-10-10 10:56:20 -05:00
Jeremy Allison
10fe0ae721 r6063: Fix for bug #2533 - ensure SMBsearch unsets UNICODE flags2 bit as this SMB is
DOS codepage only.
Jeremy.
(This used to be commit 56cc756b9d14db23b2640c347f729fa90dad9b6a)
2007-10-10 10:56:20 -05:00
Gerald Carter
78a3af6233 r6062: work around autoconf setting the CFLAGS="-g -O2" by default in AC_CACHE_CHECK
(This used to be commit 605dd5b97c09fd3e6bc09eefa78ef333201c0b7c)
2007-10-10 10:56:19 -05:00
Jeremy Allison
9dba957880 r6060: It's not quite accurate to say not having write access causes a group
entry never to match - it matches but if doesn't grant access is recorded
so the "other" entry isn't subsequently checked.
Fix the algorithm.
Jeremy.
(This used to be commit e3c7d08bb68f51bc05768467feb0af896a059e91)
2007-10-10 10:56:19 -05:00
Jeremy Allison
83c61f2ace r6057: Don't put the assert in the wrong place :-).
Jeremy.
(This used to be commit 6609b209f513f0859040686a88ee6c7106c06008)
2007-10-10 10:56:19 -05:00
Jeremy Allison
1ca7ec3472 r6055: Fix algorithm. If any of the primary or supplementary group ids match
a "allow" entry of GROUP or GROUP_OBJ, then access is allowed. It doesn't
terminate on the first match. Added debug to show where the match occured
(or didn't).
Jeremy.
(This used to be commit 81fb3372867fa66a092841222e02bd1c104b2d19)
2007-10-10 10:56:19 -05:00
Jeremy Allison
a5433c4bf7 r6053: Fixup dfs path with the new wildcard parser code split out.
Jeremy.
(This used to be commit e831cef618d55c362e8d3a8a4c2b9f2ed7d4d7bd)
2007-10-10 10:56:19 -05:00
Gerald Carter
66e8ed2632 r6051: finish off
net rpc service stop
        net rpc service start
        net rpc service pause
        net rpc service resume
(This used to be commit a7fb2c50b07a7d9965675272a71f42beba92acfe)
2007-10-10 10:56:19 -05:00
Jeremy Allison
fcfa75b2fc r6049: Ensure "dos filetime" checks file ACLs correctly. May fix Excel "read-only"
issue.
Jeremy.
(This used to be commit 80e788143a6c3d973d3b8e57d91ca5c4a83605b2)
2007-10-10 10:56:18 -05:00
Jeremy Allison
27b84e5e55 r6048: Split out the check_path_syntax into a findfirst/next/wildcard version.
The semantics are different with wildcards.
Jeremy.
(This used to be commit f8b67159fc1c8224a7caf41409b2654846f34a2d)
2007-10-10 10:56:18 -05:00
Gerald Carter
dbb5a1fdab r6046: $ net -S block -U % -W VALE rpc service status spooler
spooler service is SVCCTL_RUNNING.
Configuration details:
        Service Type         = 0x110
        Start Type           = 0x2
        Error Control        = 0x1
        Tag ID               = 0x0
        Executable Path      = C:\WINNT\system32\spoolsv.exe
        Load Order Group     = SpoolerGroup
        Dependencies         = RPCSS/
        Start Name           = LocalSystem
        Display Name         = Print Spooler
(This used to be commit b921bf568835042a43bb0bcb2abd9d36c9d2e43f)
2007-10-10 10:56:18 -05:00
Jeremy Allison
445a9729f0 r6044: Ensure the old search calls always ask mask_match to translate
patterns like ????????.??? - even if using an NT1 protocol.
Matches W2K3 behavior.
Jeremy.
(This used to be commit 67f6473f50f3284b9ccbe6f983f23cd42b3b7c9f)
2007-10-10 10:56:18 -05:00
Gerald Carter
0a11209325 r6041: cleaning up output from 'rpc service list'
(This used to be commit 7f02ba6646d5c9685250b8ee6e45c9723d748143)
2007-10-10 10:56:18 -05:00
Gerald Carter
9d009834a6 r6040: finish out 'net rpc service list'
(This used to be commit 42588ba50cb1b47a00f3e0bed33ca3431eb8af14)
2007-10-10 10:56:18 -05:00
Gerald Carter
eb1adc527b r6039: add CLI_DO_RPC macro for cookie cutter code; no new functionality to 'net rpc service'
(This used to be commit 759affb1e1aa59fcb878b4dee781aa362b3e7e1c)
2007-10-10 10:56:18 -05:00
Gerald Carter
259d44dbb2 r6038: adding more flesh to 'net rpc service'
open and close the service control manager.

Also experimenting with ideas for cli_xxx() interface.
(This used to be commit 4da89ef17b8c4644b97b923cebfe8e446b508b4d)
2007-10-10 10:56:17 -05:00
Gerald Carter
987fd2ed97 r6037: little cleanup of unused vars and unnecessary codepaths
(This used to be commit 167f7d3caa84e612cf3af0095536734dc7c3ad29)
2007-10-10 10:56:17 -05:00
Gerald Carter
abde8c438d r6036: patch from Lin Li <linl@xandros.com> to ensure trusted domains are initialized whenenumerating users and groups
(This used to be commit 105a63c207e8d2b03a30dec2b8b55b92047cba80)
2007-10-10 10:56:17 -05:00
Simo Sorce
91e6894031 r6034: Check only once
(This used to be commit 5a4274371cdbbd278d8aaa922f3e5f51a3cb5aec)
2007-10-10 10:56:16 -05:00
Gerald Carter
2e3ce1d534 r6029: adding files necessary to support 'net rpc service' functions; will fill in tomorrow
(This used to be commit 6bbd61cfd1ca2dbe8d96d894f90f263b8f24571f)
2007-10-10 10:56:16 -05:00
Jeremy Allison
143bf1202c r6022: Fix for bug #2533. Incorrect dir listings from OS/2 clients.
Jeremy.
(This used to be commit cf8949f684ee9adcd35d56d923b2f5733efc05ac)
2007-10-10 10:56:16 -05:00
Jeremy Allison
5415480d7e r6020: Never do NT status codes with protocols before NT1 as we don't get client caps.
Jeremy.
(This used to be commit 4868e4202775c1c0a60828e0c6f6fa23cf8346e1)
2007-10-10 10:56:16 -05:00
Simo Sorce
899ade0e62 r6016: Give access only to root and Domain Users
(This used to be commit d3557ed4b7c4d58a50cc6041c06cc4eff5ef659a)
2007-10-10 10:56:16 -05:00
Gerald Carter
5d1cb8e79e r6014: rather large change set....
pulling back all recent rpc changes from trunk into
3.0.  I've tested a compile and so don't think I've missed
any files.  But if so, just mail me and I'll clean backup
in a couple of hours.

Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.

I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
(This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221)
2007-10-10 10:56:15 -05:00
Jeremy Allison
920745f0df r6009: Add privillage check for SE_DISK_OP (is this the right privilage?)
before allowing users to shut down any sessions.
Simo - please check security before allowing state changes. Please
review this change.
Jeremy.
(This used to be commit 51beba71d4d5d3d259e567b65b1694d862814fe9)
2007-10-10 10:56:15 -05:00
Simo Sorce
bece9417d2 r6004: Let's make server manager able to kill a user session.
This will send a shutdown command to the right process by pid read from the sessions list.
(This used to be commit 5d3d025db757f7d48f241142a60a93214f2b47ea)
2007-10-10 10:56:15 -05:00
Jeremy Allison
8b6a50cf3e r6001: Oops. Checing the wrong tagtype - should have been SMB_ACL_GROUP, not SMB_ACL_MASK.
Fix bug #2521.
Jeremy.
(This used to be commit 21e3cf2f8f6129324ebb799f959f8d2afe0285d2)
2007-10-10 10:56:15 -05:00
Gerald Carter
97978aa865 r5994: proper fix for smbclient and win98 file servers; check the WCT value in the tcon&X reply before setting the cli_state->dfsroot flag
(This used to be commit d3822d889dbc0812335e9242566256a0f88bc00d)
2007-10-10 10:56:14 -05:00
Gerald Carter
a49c567d4a r5993: compiler warning fix
(This used to be commit 4e8b868e6e29513a0c4c1b8992a502d5b6cf2c3d)
2007-10-10 10:56:14 -05:00
Jeremy Allison
7478d77b31 r5991: Fixup last entry offset correctly for level 260.
Should fix bug found by Derrell.Lipman@UnwiredUniverse.com.
Jeremy.
(This used to be commit 5ded615679e346d1ea155cde3413396d3e3c3a6b)
2007-10-10 10:56:14 -05:00
Jeremy Allison
a17af5920a r5981: Hack to fix DFS code to work with Win98 server. JERRY PLEASE REVIEW THIS !
I don't think this is correct - it just happens to work and fix bug #2530
to return all the files.
Jeremy.
(This used to be commit 1ee180a6dd7f8d787396f359a8ff3ed25433357b)
2007-10-10 10:56:14 -05:00
Jeremy Allison
19996e23c3 r5979: Don't crash when talking to a Win98 server (bugid #2530 - not a fix
buy just prevent the crash).
Jeremy.
(This used to be commit 9d5ef800b6d3da54a5c733cff70306ac052ddd23)
2007-10-10 10:56:14 -05:00
Jeremy Allison
656140bf4b r5975: Re-arrange code and comments to make more sense.
Jeremy.
(This used to be commit 08616ad80d96d1b7b558eec036bafb4bf3663942)
2007-10-10 10:56:14 -05:00
Jeremy Allison
47f58beb28 r5973: Fix up overwrite of last 2 bytes on clilist (could cause coredump).
Jeremy.
(This used to be commit b0de2d761f6697ca1f4859ba098af6162ab42027)
2007-10-10 10:56:14 -05:00
Günther Deschner
bf42736251 r5971: Check for the correct cli-struct when copying files.
Good catch from Lars Mueller <lmuelle@suse.de>.

Guenther
(This used to be commit 90e2383bc50e8312ad37f5869630130e0cd6ae78)
2007-10-10 10:56:13 -05:00