summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_srvsvc_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2001-07-04The big character set handling changeover!Andrew Tridgell1-5/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-02Fixed extra file_free calls - my fault :-(.Jeremy Allison1-2/+0
Jeremy. (This used to be commit 2f8b84bda040edc87a7af29c3a281cf335e392cb)
2001-07-02This fix from Eelco Vriezekolk <eelco@nexus.com.na> is for a SIG11 bug where weAndrew Bartlett1-2/+0
would always file_free(fsp) twice, once in close_file and once afterwoulds. The bug was reported in SAMBA_2_2, but a code inspection shows it to be in HEAD as well. (Unfortunetly I don't have the facilites to actualy check this, but the change is quite simple, makes sence and compiles). Andrew Bartlett (This used to be commit 5d3f622375842961a79536d36ee6f6ad508b91f1)
2001-06-26SGI compiler fixes.Herb Lewis1-1/+1
Jeremy (This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
2001-06-25Cosmetic fixups found while playing with the server manager. Added supportTim Potter1-0/+22
for NET_SRV_SET_INFO rpc call which is made when double-clicking on a computer in the server manager and changing the description. We always return NT_STATUS_NOPROBLEMO as NT doesn't seem to decode any error messages passed back. Maybe the changed comment string could be stored in a tdb and regurgitated instead of the "server string" smb.conf parameter? (This used to be commit d936ffedd90fe442f990c9ac2e172877f28d7230)
2001-06-22Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),Jeremy Allison1-4/+4
we need to close with close_file(). Jeremy. (This used to be commit 5b2ffd160f3b4b9607bb6fd6db1644af9254ad9e)
2001-06-19Only try and open a directory if we get EISDIR.Jeremy Allison1-4/+8
Jeremy. (This used to be commit 5b1245f80357f585ef3b24704e5ef34ef71e232f)
2001-06-19rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.Jeremy Allison1-1/+1
utils/smbcacls.c: Set enum correctly. Jeremy. (This used to be commit 66f959e0ffb0cd385167a34c7db3f4959eaf1d7f)
2001-06-18Added "Jim McDonough" <jmcd@us.ibm.com> patches for directory supportJeremy Allison1-6/+16
for Win9x. Jeremy. (This used to be commit 70194b194e0ca4b0f4f9c1eece9176415f9bb928)
2001-06-16Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.Jeremy Allison1-0/+167
Jeremy. (This used to be commit 5690ec77c87475f1fd2e854cda594eb996d6fd04)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-05-02Remove embedded '/*' in comment.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 9a85dc9cdbc6409e25a528be4be960d4eb3ac117)
2001-05-01fixed comment-in-commentAndrew Tridgell1-1/+1
(This used to be commit 4c456c82642649a6dfaadf578488119d195c5b6b)
2001-05-01Added code from "Nigel Williams" <nigel@veritas.com> (yes, the same famousJeremy Allison1-1/+130
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 9b3dd801765fad28c0f9d58e5af2537cfccdd4ee)
2001-04-13Merge of Andrew's changes in 2.2.Jeremy Allison1-5/+5
Jeremy. (This used to be commit fc76681812b1469208ad6c8847afdfc68bc6db49)
2001-04-13As Andrew suggested, make smbrun return a fd for a deleted file which can thenJeremy Allison1-3/+3
be read. Jeremy. (This used to be commit e7d59d6de89a5fdd201e4b5c6072dab08b1519db)
2001-04-11Fix for core dump in security = share code with new share security db.Jeremy Allison1-3/+11
Jeremy. (This used to be commit 20b13bafdff2fd7be9219ed164e7fe91b597298d)
2001-04-10passdb/pass_check.c: Ensure second check is done only if given username is ↵Jeremy Allison1-7/+11
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 3c4c649951464be51541d5890afb997e3ecfcd23)
2001-04-10Use message system to notify when smb.conf is updated.Jeremy Allison1-7/+20
Jeremy. (This used to be commit ae9eda5c3c3bbfc8ec795b43ab18dc492e5fdcf6)
2001-04-09Removed "read only" arg as it isn't useful.Jeremy Allison1-33/+2
Jeremy. (This used to be commit 6b75d79c4bcfb8333aaf1ed61cf8bd022e498f75)
2001-04-09Tidy up return codes for server manager.Jeremy Allison1-6/+21
Jeremy. (This used to be commit b4cbdcb644066e132d5c806ae4f45d6a05276beb)
2001-04-09Get/Set of SD's on shares now works. Correctly ensure scripts exist beforeJeremy Allison1-12/+15
calling. Jeremy. (This used to be commit aae44ee41f2f133524e37f72b46b63ce6ddb192b)
2001-04-09Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.Jeremy Allison1-1/+47
Jeremy. (This used to be commit 04976c32f319531e16d890797b45a76dab64f370)
2001-04-09Ensure Everyone/All access is mapped correctly to file generic perms to allowJeremy Allison1-1/+5
anonymous IPC access. Jeremy. (This used to be commit 2f34e144c53d6be911de96298c55c34d08c4733f)
2001-04-09Added set/get SD's on shares. Check before tcon.Jeremy Allison1-17/+142
Jeremy. (This used to be commit 036b1a8b09fe6a7cca83d631624145574acad7f2)
2001-04-08Added per-share security tdb. Tidied up many slprintfs (need -1 on length).Jeremy Allison1-60/+198
Jeremy. (This used to be commit d786191bc116c17a3f53a1c272d969942b7e5d25)
2001-04-07Fixed up the "add" command - although not SD's yet. Now for the SD db andJeremy Allison1-19/+74
the "change" command. Jeremy. (This used to be commit bdec63bedbeabb9d74d68a7f03254acc291df76b)
2001-04-07Added 3 params to manipulate shares. "add share command/change share command/Jeremy Allison1-13/+82
delete share command". Implemented "delete" - more work to come on add and change. Jeremy. (This used to be commit 2e6b1759e14456421066ee131af70a495f862f2b)
2001-04-06Implemented stub function for NET_SHARE_DELETE. Now to implement the realJeremy Allison1-4/+25
internals to support server manager. Jeremy (This used to be commit 3512ba1f655d5588db87f1afa1d12f599ad7b74a)
2001-04-06Added stub function for NET_SHARE_ADD. Once this is implemented to call a hookJeremy Allison1-0/+40
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 a2cd5f2ba11164a17622b96374ab43070f9ed691)
2001-04-06NT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass theJeremy Allison1-6/+9
server manager tests :-). Ensure we don't set a return level on set as server manager barfs.... Jeremy. (This used to be commit cb66e78c181878809e367f4f03f3b4c31cb4b8e1)
2001-04-06We can now use server manager to look at Samba shares. NT still expects a ":"Jeremy Allison1-8/+38
in the path though.... I'm looking into it. Jeremy. (This used to be commit a152c2c59a9a8972a3c73287e26e4de2f49c2d65)
2001-04-04I know we're supposed to be feature frozen, but I couldn't resist this... :-).Jeremy Allison1-7/+145
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 3bfd155ba78798c50588904d4ea3389f50f8abb6)
2001-03-17fix this in rpc calls as wellAndrew Tridgell1-2/+2
- ADMIN$ is an IPC share, not a disk share (This used to be commit d039d84164fa15ba242b03fdadfab2e259ca6b65)
2001-03-15AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison1-1/+1
Jeremy. (This used to be commit 28a0bc5f5710aa732db662caa38f9da2138b5db2)
2001-03-13Fixed reading of strings from big-endian RPC clients.Jeremy Allison1-1/+1
Jeremy. (This used to be commit e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-2/+3
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-02-27Hmmm. I thought I'd added these files to CVS head.....Jeremy Allison1-0/+866
Jeremy. (This used to be commit d573700a9218bce8efd21f0be70afec6b460f8b9)