Andrew Tridgell
e51cc47cec
fixed comment-in-comment
...
(This used to be commit 4c456c8264
)
2001-05-01 04:02:15 +00:00
Jeremy Allison
8bd2a11c86
Added code from "Nigel Williams" <nigel@veritas.com> (yes, the same famous
...
Nigel Williams who did NIS/GINA !) to implement add/modify/delete shares
for Win2k. Needs testing as I made a few mods to the original code.
Jeremy.
(This used to be commit 9b3dd80176
)
2001-05-01 01:01:19 +00:00
Jeremy Allison
2ef68c7e92
Merge of Andrew's changes in 2.2.
...
Jeremy.
(This used to be commit fc76681812
)
2001-04-13 19:12:06 +00:00
Jeremy Allison
50e78a9ac8
As Andrew suggested, make smbrun return a fd for a deleted file which can then
...
be read.
Jeremy.
(This used to be commit e7d59d6de8
)
2001-04-13 00:37:00 +00:00
Jeremy Allison
0ca9f5c023
Fix for core dump in security = share code with new share security db.
...
Jeremy.
(This used to be commit 20b13bafdf
)
2001-04-11 21:19:25 +00:00
Jeremy Allison
6d96224f81
passdb/pass_check.c: Ensure second check is done only if given username is all in caps.
...
rpc_server/srv_srvsvc_nt.c: Added "CONFIGFILE" arg to scripts so path to smb.conf is given.
Jeremy.
(This used to be commit 3c4c649951
)
2001-04-10 19:43:14 +00:00
Jeremy Allison
a9f6e205fc
Use message system to notify when smb.conf is updated.
...
Jeremy.
(This used to be commit ae9eda5c3c
)
2001-04-10 01:44:45 +00:00
Jeremy Allison
e796a35a8b
Removed "read only" arg as it isn't useful.
...
Jeremy.
(This used to be commit 6b75d79c4b
)
2001-04-09 20:12:53 +00:00
Jeremy Allison
7130bb0dcf
Tidy up return codes for server manager.
...
Jeremy.
(This used to be commit b4cbdcb644
)
2001-04-09 18:03:02 +00:00
Jeremy Allison
7fba7a0e82
Get/Set of SD's on shares now works. Correctly ensure scripts exist before
...
calling.
Jeremy.
(This used to be commit aae44ee41f
)
2001-04-09 17:10:06 +00:00
Jeremy Allison
2b9e23855e
Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.
...
Jeremy.
(This used to be commit 04976c32f3
)
2001-04-09 08:00:19 +00:00
Jeremy Allison
33706e48f0
Ensure Everyone/All access is mapped correctly to file generic perms to allow
...
anonymous IPC access.
Jeremy.
(This used to be commit 2f34e144c5
)
2001-04-09 07:03:28 +00:00
Jeremy Allison
9d6dd97624
Added set/get SD's on shares. Check before tcon.
...
Jeremy.
(This used to be commit 036b1a8b09
)
2001-04-09 06:36:38 +00:00
Jeremy Allison
607d5d508d
Added per-share security tdb. Tidied up many slprintfs (need -1 on length).
...
Jeremy.
(This used to be commit d786191bc1
)
2001-04-08 20:01:51 +00:00
Jeremy Allison
8e9d11f014
Fixed up the "add" command - although not SD's yet. Now for the SD db and
...
the "change" command.
Jeremy.
(This used to be commit bdec63bedb
)
2001-04-07 18:46:47 +00:00
Jeremy Allison
950f1d9605
Added 3 params to manipulate shares. "add share command/change share command/
...
delete share command". Implemented "delete" - more work to come on add and
change.
Jeremy.
(This used to be commit 2e6b1759e1
)
2001-04-07 00:36:38 +00:00
Jeremy Allison
97cf9d3a3d
Implemented stub function for NET_SHARE_DELETE. Now to implement the real
...
internals to support server manager.
Jeremy
(This used to be commit 3512ba1f65
)
2001-04-06 18:25:17 +00:00
Jeremy Allison
3874261774
Added stub function for NET_SHARE_ADD. Once this is implemented to call a hook
...
function (same for NET_SHARE_DELETE and NET_SHARE_SET) we will be able to manage
the shares section in smb.conf via NT server manager........
This should enhance the friendliness of Samba in NT-only shops by an order of
magnitude.
Jeremy.
(This used to be commit a2cd5f2ba1
)
2001-04-06 17:41:47 +00:00
Jeremy Allison
68c8638b36
NT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass the
...
server manager tests :-). Ensure we don't set a return level on set as
server manager barfs....
Jeremy.
(This used to be commit cb66e78c18
)
2001-04-06 02:12:07 +00:00
Jeremy Allison
529f7c07f5
We can now use server manager to look at Samba shares. NT still expects a ":"
...
in the path though.... I'm looking into it.
Jeremy.
(This used to be commit a152c2c59a
)
2001-04-06 01:39:12 +00:00
Jeremy Allison
852242a1b5
I know we're supposed to be feature frozen, but I couldn't resist this... :-).
...
I worked out and added the per-share get/set RPCs for security descriptors.
Currently this code returns Everyone, full access on get and permission denied
on set, but backending this with a tdb and checking it on tconX (to give full NT
semantics for security on shares) is now an excersise for the reader... :-).
Jeremy.
(This used to be commit 3bfd155ba7
)
2001-04-04 23:42:17 +00:00
Andrew Tridgell
abb1833173
fix this in rpc calls as well
...
- ADMIN$ is an IPC share, not a disk share
(This used to be commit d039d84164
)
2001-03-17 14:07:10 +00:00
Jeremy Allison
4ab6182a0f
AS/U on a sparc now joins and authenticates against a Samba PDC !
...
Jeremy.
(This used to be commit 28a0bc5f57
)
2001-03-15 00:49:13 +00:00
Jeremy Allison
0ef2179d23
Fixed reading of strings from big-endian RPC clients.
...
Jeremy.
(This used to be commit e7ecb9410f
)
2001-03-13 01:44:05 +00:00
Jeremy Allison
da3053048c
Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR
...
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
(This used to be commit 0be41d5158
)
2001-03-11 00:32:10 +00:00
Jeremy Allison
dbc5cace14
Hmmm. I thought I'd added these files to CVS head.....
...
Jeremy.
(This used to be commit d573700a92
)
2001-02-27 18:22:39 +00:00