summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2001-04-12Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn'tJeremy Allison1-13/+9
exist for printer. Rather than using pid for suffix, use a 16 byte random string. Created generate_random_str() function in genrand.c. Still needs more testing but this is the way to go. Jeremy. (This used to be commit 71a330987f990007beb16f00fc468107361b5e9d)
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-11Restrict dfs add and dfs remote to root at Shirish's advice.Jeremy Allison1-0/+16
Jeremy. (This used to be commit 9dd77c4fb1282d23cfbfd9d0ed790be62534e201)
2001-04-10Merged in missing break fix from Shirish.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 8ecf6c33673693ca64f99bd7fb26d3383658d86b)
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-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
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 Allison3-29/+98
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 Allison2-5/+57
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 Allison2-0/+71
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 Allison2-8/+69
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 Allison2-7/+176
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-04-03Missed forms update - my CVS mistake.Jeremy Allison1-21/+70
Jeremy. (This used to be commit 06dee898607ff2bf194d53fb55ad6d82e8f305e8)
2001-04-03test commit for jeremyAndrew Tridgell1-1/+1
(This used to be commit d747ab8ab37ca20635f99a9dff64a635461852a6)
2001-04-02include/ntdomain.h:Jeremy Allison1-3/+2
rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe that opened the handle may have been closed. We were dereferencing into something that had been closed. rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2. lib/replace.c: Don't do proto on setlinebuf as it differs between systems. Jeremy. (This used to be commit 887ef3e12dc56b89b2284d42b16a81f03e15110b)
2001-03-28rename of 16 new_smb_io functions to smb_io_* for consistency sakeGerald Carter1-23/+23
(merge from 2.2) (This used to be commit ea963a648b889da9e47661c61c7fafe13b277e75)
2001-03-27merge from 2.2.Gerald Carter2-26/+26
(This used to be commit 817258f1174d27d74e8b21ffb5f1384db2238007)
2001-03-23groupdb/mapping.c:Jeremy Allison1-1/+11
include/proto.h: Fix missing (void) in proto. rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that clash with users. smbd/posix_acls.c: Ensure default ACE's are sensible. utils/pdbedit.c: Fix from Simo Sorce. Jeremy. (This used to be commit 29414fe0d6665642d9b5f88a35e712426376c47f)
2001-03-23first pass of the new group mapping codeJean-François Micouleau2-58/+548
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-19reverted the rename of new_spoolss_io_r_enumprinterdrivers()Gerald Carter1-1/+1
(This used to be commit fd6bfe03f4454272bdce59c78ae7148a72caaf18)
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-16Added Michael Sweet's CUPS patch to call directly into the CUPS backend.Jeremy Allison3-3/+3
Parameterises the printing functions so other backends can be plugged directly in (this is a good thing :-). Jeremy. (This used to be commit c0345bbaed5d1aac777f1a33ff84ad1899f2ed6d)
2001-03-15renamed one of the enumprinterdrivers parsing functionsGerald Carter1-2/+2
for consistency sake. (This used to be commit cbce0c935099231af51a34460c6b331822fde213)
2001-03-15Tidyup return of zero-permissions (map to ACE_DENIED, GENERIC_ALL, Everyone).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0d6c7dedd261c15697a7781678fe6bed877b61f6)
2001-03-15Last tweak (I promise :-). Fallback to returning our SID if we're a domainJeremy Allison1-11/+6
member but can't get the domain sid. Jeremy. (This used to be commit 45e96777d0eeafbbf40759f02cd3f5e15b12c288)
2001-03-15Final ! Fix.Jeremy Allison1-2/+8
Jeremy. (This used to be commit 58dd295882a944934014a31c61eed35bf04fc2bd)
2001-03-15Last attempt at fix...Jeremy Allison1-1/+1
Jeremy. (This used to be commit f2680842d755aa77bc70e1c4329fd513c00fece6)
2001-03-15Return correct error message if we can't get the SID secret.Jeremy Allison1-2/+8
Jeremy. (This used to be commit c202ebe3b6aa413fa7b00ec6d1b3f123f1e1a55b)
2001-03-15Fixed a Dr. Watson when viewing permissions - we were missing the "standaloneJeremy Allison1-0/+2
server" case. Jeremy. (This used to be commit b318a754e7d8504072e8d968ee5fe581d105392f)
2001-03-15AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison6-16/+16
Jeremy. (This used to be commit 28a0bc5f5710aa732db662caa38f9da2138b5db2)
2001-03-13Move to a handle database per pipe name, not per pipe.Jeremy Allison3-40/+115
Jeremy. (This used to be commit a24b248a77ccac364832ff7d4df083d437caf9ed)
2001-03-13rpc_parse/parse_samr.c: Removed unneeded deubg.Jeremy Allison1-15/+10
rpc_server/srv_netlog_nt.c: Ensure we marshall a bad password return correctly to a w2k client. Jeremy. (This used to be commit 500c7bc0fed16713401643bdede67cc0c8044d52)
2001-03-13AS/U does setuserinfo2, level 0x12 when joining a domain - identical to ↵Jeremy Allison1-0/+5
setuserinfo level 0x12. Jeremy. (This used to be commit d4ad197f711d5c5f2f60083b396f6dd7e6eca8c0)
2001-03-13Fixed reading of strings from big-endian RPC clients.Jeremy Allison6-18/+18
Jeremy. (This used to be commit e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
2001-03-13Ensure we never return passwords from a user query.Jeremy Allison1-13/+62
Jeremy. (This used to be commit 37248e99e8b8d8a7e247d968b93a7d0cf5f63c8e)
2001-03-13Ensure we return the correct names/sids on query info. AS/U showed us whatJeremy Allison1-3/+20
we should return here. Jeremy. (This used to be commit d22c6067032e167d4558f4954c58d87404de6d9d)
2001-03-12Ok - we're now sending back policy handles to bigendian AS/U correctly.Jeremy Allison1-1/+10
Jeremy. (This used to be commit 67e09aea47b73e5a72aae638a58b56f2ef67f8af)
2001-03-12Looks like AS/U doesn't set the FIRST flag in a BIND packet.Jeremy Allison1-1/+5
Jeremy. (This used to be commit a8df5e04b5bc22aa4324e3b1b5dd78bf0e1c566f)
2001-03-11Moved cruft out of smb.h into ntdomain.h where it belongs. dc structJeremy Allison1-38/+48
now in pipe struct (where used) rather than user_struct. Secured machine account password changing in srv_netlog_nt.c - ensure that only the given machine can change its own password. May need to free this up later for NT admin tools, but this is a fail-safe secure position for now. Jeremy. (This used to be commit 46b12f2275dcd4b3114085160cd456441f9e921e)
2001-03-11Ensure we're checking for the "FIRST" flag in other types of PDU than "REQUEST"Jeremy Allison1-4/+6
(ie. BIND, BINDRESP and ALTERCONTEXT) - if we don't do this then we don't set the endianness flag correctly for these PDU's. Herb - this should fix the bug you reported to me today. Jeremy. (This used to be commit dde795154cdc33cb8d6f0dfe9ae2712f7f8be3a7)
2001-03-11Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison2-4/+4
system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)