summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2002-11-25Instead of walking the entire group database, grabbing all members of eachAndrew Bartlett2-10/+38
group, testing for membership etc, use the already calculated NT_USER_TOKEN. (which is initgroups() based) So far we only fill out the 'domain' groups - we need to fill out the 'other sids' as well, and we possibly need to filter the list for 'domain groups' only (the old code did that), but Win2k doesn't seem to mind this for now. I also need to find out what the magic '7' is about. Fortunetly JF is in town, so I'll grill him tomorrow :-). Andrew Bartlett (This used to be commit 7e846e7387247f8bc2b07a1a1006014c6978143b)
2002-11-20Spelling fix.Tim Potter1-1/+1
(This used to be commit 43cd6e5a702bb1004b36a5845e0765851395ebf2)
2002-11-20more %U fixes for headAndrew Tridgell1-0/+1
(This used to be commit ea3787d819df14f8b451780a55d2bf76dc4030ef)
2002-11-18formatting fixGerald Carter1-35/+35
(This used to be commit 6ce20a61a85f129d42c06844d51f4b2b35b41869)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison8-54/+36
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-11fix for CR 601. Only call addprinter command when the port, driver, ↵Gerald Carter1-2/+8
comment, or location field changed (This used to be commit c6d45216f6d3573fb2342f4d3aa3a50415924674)
2002-11-10First cut of fix for changenotify on a print server handle. Use the ↵Jeremy Allison1-11/+29
connections tdb with an snum of -1 and a special printername. Jeremy. (This used to be commit 940b04ddfa87acc939911e3fe76496e3c4675632)
2002-11-09deldriver fixGerald Carter1-0/+6
(This used to be commit f20de1f9b0dcac15fbf968e6d5d5af2fdd5fbda1)
2002-11-09re-enable ffpcn on print server handleGerald Carter1-1/+1
(This used to be commit e87829b4942237de542d21051092fee069a9c73d)
2002-11-08Make it easier to track things down here - add some debugs on failure.Andrew Bartlett1-0/+2
(This used to be commit 62ee7b7dc08e7be261211de8f85b8e9be4df7b54)
2002-11-07Merge of scalable printing code fix... Needs testing.Jeremy Allison1-7/+31
Also tidied up some of Richard's code (I don't think he uses the compiler flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like I do :-) :-). Jeremy. (This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
2002-10-25PURGE_PRINTER fix from APP_HEADGerald Carter1-2/+0
(This used to be commit 8af12875b0608b83187e4156843e37097de4cd13)
2002-10-23Reverted a fix from Volker (sorry). We need to move this fix to the correctJeremy Allison1-0/+3
place. Jeremy. (This used to be commit e46e38beabe8ae5b1ba1941dcffecbc89165ce2a)
2002-10-23Debug level 12 is a typo.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 4d9b205362997f897be4739efd52ee2cfde4c6cb)
2002-10-23First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison1-1/+1
This is not 100% the same as what SuSE shipped in their Samba, there is a crash bug fix, a race condition fix, and a few logic changes I'd like to discuss with Andreas. Added Andreas to (C) notices for posix_acls.c Jeremy. (This used to be commit a81d700ae9c82d4b7ea631ab7862162a2ed3d512)
2002-10-22Fix for systems that allow more than 65536 open files per process.Jeremy Allison1-4/+0
Jeremy. (This used to be commit ff537f10a0c0b6b1d9055eb776d1e8a9864e8363)
2002-10-21Same segfault as in add_groupmem.Volker Lendecke1-5/+10
Volker (This used to be commit 1f702dcd2ced6f64a619e3ddbb570f41f7f0986b)
2002-10-21This moves the group mapping API into the passdb backend.Volker Lendecke3-19/+19
Currently this calls back to mapping.c, but we have the framework to get the information into LDAP and the passdb.tdb (should we? I think so..). This has received moderate testing with net rpc vampire and usrmgr. I found the add_groupmem segfault in add_aliasmem as well, but that will be another checkin. Volker (This used to be commit f30095852fea19421ac8e25dfe9c5cd4b2206f84)
2002-10-19Fix full_name for info23 as well. Thanks, Andrew.Volker Lendecke1-1/+1
Volker (This used to be commit 382c444225fae54ae577baae8948a64a843a2afc)
2002-10-19This fixes some bugs for NT4 usrmgr.exeVolker Lendecke2-8/+22
Volker (This used to be commit 32d6bcf3acefc77873a7241cc0c7e26241a65301)
2002-10-16fix from APP_HEAD to commit a re-init'd printer to diskGerald Carter1-0/+6
(This used to be commit 64a159144483457887df2c6d779e6a139dfc6d1f)
2002-10-15merge from app_head to use GMT in job submission notificationGerald Carter1-1/+1
(This used to be commit b130c681d2e8e6dcabe8cfd85dd718a294b04233)
2002-10-12Nice *big* patch from metze.Andrew Bartlett3-74/+101
The actual design change is relitivly small however: It all goes back to jerry's 'BOOL store', added to many of the elements in a SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into ldap. This was a great win for admins, and this patch follows in the same way. This patch extends the concept - we don't store values back into LDAP unless they have been changed. So if we read a value, but don't update it, or we read a value, find it's not there and use a default, we will not update ldap with that value. This reduced clutter in our LDAP DB, and makes it easier to change defaults later on. Metze's particular problem was that when we 'write back' an unchanged value, we would clear any muliple values in that feild. Now he can still have his mulitivalued 'uid' feild, without Samba changing it for *every* other operation. This also applies to many other attributes, and helps to eliminate a nasty race condition. (Time between get and set) This patch is big, and needs more testing, but metze has tested usrmgr, and I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly flawed ;-). The same system will be introduced into the SAM code shortly, but this fixes bugs that people were coming across in production uses of Samba 3.0/HEAD, hence it's inclusion here. Andrew Bartlett (This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
2002-10-09print job properties fix from APP_HEAD. a null devmode is not a failure.Gerald Carter1-11/+5
(This used to be commit b507dba452ecbd96ec95242f761501d0c5e0d7b5)
2002-10-09add_printer_hook() fix from APP_HEADGerald Carter1-6/+17
(This used to be commit 94201672a5c3cffd145e9f04a3ddd0d17a57e73b)
2002-10-08merge from APP_HEADGerald Carter1-7/+1
* s/driverlocation/comment * detect native mode domain and enumerate local groups Also * Added sendfile stats from SAMBA_2_2 (This used to be commit 764b58e2c0b3179cffe157c0ab58761b156b8423)
2002-10-08Third part of my fix for usrmgr. Assuming automagic mappingVolker Lendecke1-1/+1
only in parts of srv_samr_nt is not good. This is soo broken. :-) Volker (This used to be commit 74e4a3479f380b320daa0d46c0ba4daa9f98c18f)
2002-10-06try to put every security descriptors related definitions in the same file.Simo Sorce3-46/+44
also try to uniform names to a clean scheme. first part. (This used to be commit a123e05877caf90c28980be2d84b1d0b46e4fd21)
2002-10-04Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison1-1/+1
MAX_PRINT_JOBS in a queue. Jeremy. (This used to be commit bb58a08af459b4abae9d53ab98c15f40638ce52b)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter2-10/+33
from APP_HEAD (This used to be commit 38c9e4299845fd77cc8629945ce2d259489f7437)
2002-10-02Missing break meant getprintprocessordirectory always returned UNKNOWN_LEVEL.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 1b283b649f68890b0aa450aa1ac90f1e8031a6fd)
2002-09-30Second part of my fix -- incorrect merge.Volker Lendecke1-1/+1
(This used to be commit 2613d3a48a8d60c3db38406a1abd943dbe0b7d09)
2002-09-29We have to hand out info on Builtin here as well. They are stored inVolker Lendecke1-1/+1
group mapping not as local, but as WKN_GRP. Volker (This used to be commit cb05dcab2de117ea4db54af313a05905cd5a0d0a)
2002-09-27It turns out that Windows allows delete printer on a handleJeremy Allison1-0/+14
opened by an admin user, then used on a pipe handle created by an anonymous user..... but they're working on security.... riiight ! Jeremy. (This used to be commit 322d8b4c83439261cfd2ff79b557bddb1e784660)
2002-09-27Check for security on delete printer was reversed...Jeremy Allison1-5/+5
Jeremy. (This used to be commit 0d27cc909b4489b54e57481bd8a9494fb077dc3d)
2002-09-26Patch from "Kai Krueger" <kai@kruegernetz.de> to get some more of our accessAndrew Bartlett1-4/+15
control bits right on the SAMR pipe. Andrew Bartlett (This used to be commit e87948c777b59592b130da081ef5d25600455d29)
2002-09-26Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> to do a *much*Andrew Bartlett2-78/+346
better job of working with usrmgr. Previously we were blanking out entires, and all sort of mischif. The new patch (which I've now had a chance to test/modify) also takes care not to expand % values (ie we go \\%L\%U -> \\server\user, we don't want to store \\server\user back) and to correctly notice 'not set' compared to 'null string' etc. Andrew Bartlett (This used to be commit ab878b6cc4132594fc33f78aeebf0d8b7266c150)
2002-09-25merge from APP_HEADGerald Carter1-0/+2
(This used to be commit 930c6710fe076b52ad21addf5fcda834f85e15a9)
2002-09-23Ok, what's this? Samba as a PDC wants to authenticate a user coming inVolker Lendecke1-2/+2
to a native NT member server. If the logoff time in the samlogon reply is set to something else but infinity, the tree connect to the member server comes back with 'bad uid'. In my traces, NT PDC sends 0x7fff.. always. Weird, but true. I would really like others to double-check this. If you have questions regarding the setup, feel free to ask! Thanks! Volker (This used to be commit 066b163bde9419d32fe8ffe00c1841107357c138)
2002-09-23Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)Volker Lendecke1-4/+8
When creating a group you have to take care of the fact that the underlying unix might not like the group name. This change gets around that problem by giving the add group script the chance to invent a group name. It then must only return the newly created numerical gid. Volker (This used to be commit b959419ed38e66a12b63cad3e5fbfa849f952acc)
2002-09-19trivial comment fixVolker Lendecke1-2/+2
(This used to be commit 9d6331524089d76c5832b9ba001fb0e8a05f39d7)
2002-09-18printjob merge from APP_HEAD regarding device modesGerald Carter1-63/+93
(This used to be commit aa52351384abace54a89c9fbfa5e4c31a8464c91)
2002-09-11merge from APP_HEAD for GetJob()Gerald Carter1-15/+23
(This used to be commit 3524a4a348686ae5144a744696606123e4a66622)
2002-09-11DelPrinterDrvEx() fix from APP_HEADGerald Carter1-10/+12
(This used to be commit 7841753a03f7fdbd2f7f22e1b184dc1891118283)
2002-09-11Merge the cli_shutdown change from 2_2. All except one call toVolker Lendecke1-0/+1
attempt_netbios_... assumed that cli_shutdown was _not_ called on error anyway... Volker (This used to be commit f0c741594f0dad2da16b1d5692dd56a48b4157f1)
2002-09-10removed warning about shadowed globalsGerald Carter1-5/+5
(This used to be commit 8021bbbd0c5fad6db45a4c862848ea667cad0b79)
2002-09-10AbortPrinter() fix merged from APP_HEAD.Gerald Carter1-3/+21
(This used to be commit 97ede49e1271fa00c6ffdf9e6e3c2330ea935461)
2002-09-10change notify merge from APP_HEADGerald Carter1-75/+265
(This used to be commit b5227f0a645fdf2358fcb880f22e4662efdfe8e3)
2002-09-09Actually, I think Jerrys patch was incorrect as it didn't everJeremy Allison1-40/+8
add the printing msg flag, only remove it. Also, we already refcount the printer backchannel connection to add the connection tdb flag just before after we register/deregister the notification message handler. Jerry please check ! Jeremy. (This used to be commit c45364ae82e06364cbb11545d1262032e12a21b1)
2002-09-07merge of printer change notify fix from APP_HEADGerald Carter1-8/+40
(This used to be commit 6a53a9cb7c56927423dea125c65d66605fae566f)