summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed Linux capabilities handlingAndrew Tridgell2000-06-111-12/+0
| | | | | | I used a trick where CAP_LEASE isn't claimed until it is needed. This means we avoid a system call per setreuid(), and never call capset() unless a user tries to get a oplock on a file that they don't own
* Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell2000-06-112-0/+13
| | | | | I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour.
* parsing code for reply[open|close]printer in preparation of the eventJean-François Micouleau2000-06-102-1/+39
| | | | | | stuff. J.F.
* a first pass at Linux kernel oplocks supportAndrew Tridgell2000-06-101-4/+1
|
* continued the split of the kernel level oplocks code into a moreAndrew Tridgell2000-06-102-6/+21
| | | | | modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation.
* Fix from Elrond for hash table corruption. Should fix stat cache bug (IJeremy Allison2000-06-091-1/+1
| | | | | sincerely hope :-). Thanks elrond ! Jeremy.
* Luke, I am moving the code back into passdb/passdb.c, this the correctJeremy Allison2000-06-093-11/+7
| | | | | | | | | | | | | place to do this, not in smbd/passwd.c Please don't change this without asking first, I have run this past Andrew so talk to him (I'm on vacation next week). I also removed the g_newXXX macros. There are essentially a private C extension, not used anywhere else in the code, and add no functionality over malloc(XX) and make the code harder to understand (everyone knows what malloc does). Jeremy.
* do some standard_sub_advanced() in api_net_sam_logon on lp_logon_xxx().Jean-François Micouleau2000-06-091-0/+1
| | | | | | | and if you have unix realname=yes, you get the gecos name when locking the station. J.F.
* clean up oplock capability code ready for Linux codeAndrew Tridgell2000-06-091-385/+384
|
* dynamic allocation of NET_USER_INFO_3 gids.Luke Leighton2000-06-092-2/+10
| | | | | | | | | | jeremy, the intent is to call se_access_check() with usr-sid, grp-sid, array-of-group-rids (but array-of-group-sids would do). please do look at smbd/lanman.c's api_NetWkstaGetInfo, it will show you that we really do need to store the entire NET_USER_INFO_3 structure. then again, api_NetWkstaGetInfo is only used by win9x so who cares :)
* reverted jeremy's changes that removed NET_USER_INFO_3. will you pleaseLuke Leighton2000-06-092-386/+386
| | | | not just undercut work in progress, thank you.
* Change from "David S. Chappell" <David.Chappell@mail.cc.trincoll.edu>Jeremy Allison2000-06-081-1/+1
| | | | | | to make "printer driver file" a share parameter. This fits better with the new NT printing subsystem. Jeremy.
* include/smb.h: Removed NET_USER_3 struct from user struct. It doesn't belong ↵Jeremy Allison2000-06-082-386/+387
| | | | | | | | | | | | | there (yet) as there is no infrastructure for it. Replaced it with a dynamic array of group SIDs plus a user. passdb/passdb.c: Added setup_user_sids() function. This is where the lookup should be done, eventually calling winbind. smbd/password.c: Changed to call setup_user_sids(). Removed spurious DEBUG(0) statements. smbd/reply.c: Removed extra parameter to register_vuid(). Jeremy.
* added a NET_USER_INFO_3 struct to user_struct.Luke Leighton2000-06-082-402/+412
| | | | register_vuid fills it with constructed info.
* - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIXAndrew Tridgell2000-06-082-3/+4
| | | | - added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX
* Moved tdb functions that access parse structs into parse_prs.cJeremy Allison2000-06-081-2/+2
| | | | | to prevent builkd breaking. Jeremy.
* Cause printer SD's to be displayed correctly (full control).Jeremy Allison2000-06-081-2/+4
| | | | Jeremy.
* Memory leak fixes.Jeremy Allison2000-06-061-0/+2
| | | | Jeremy.
* Some tidyup fixes (memory leaks etc.). Still no progress with theJeremy Allison2000-06-051-0/+1
| | | | | | "no driver" issue. I'm banging my head against comparitive packet dumps right now... Jeremy.
* fixed the pack/unpack of the devicemodeAndrew Tridgell2000-06-041-2/+4
| | | | we were being bitten by uint16/uint32 mixups
* new protosAndrew Tridgell2000-06-031-2/+3
|
* More memory leak and PANIC action fixes.Jeremy Allison2000-06-021-1/+6
| | | | | This is *horrible* code :-(. Jeremy.
* More insure found memory leak and corruption fixes.Jeremy Allison2000-06-011-2/+5
| | | | Jeremy.
* Back to building. Now to test with insure.Jeremy Allison2000-06-012-8/+6
| | | | | Added some frees needed to stop memory leaks. Jeremy.
* Getting back to a compilable state (not there yet but close).Jeremy Allison2000-06-012-18/+12
| | | | | | | Added patches for random -> sys_random. Added set_effective_xxx patches for AFS code. Memory allocation changes in spoolss code. Jeremy.
* More stuff I cvan't afford to lose. I'm realizing how dependent I amJeremy Allison2000-06-012-2/+2
| | | | | on this bloody CVS link.... Jeremy.
* Working UNIX -> NT ACL mapper.Jeremy Allison2000-05-311-444/+405
| | | | Jeremy.
* Fixed LsaQueryInformationPolicy level 3 to return primary domain info.Matthew Chapman2000-05-292-1/+5
| | | | | | | Domain SID is saved in secrets.tdb upon joining domain. Added "Authenticated Users" and "SYSTEM" well-known SIDs (under NT Authority).
* make protoLuke Leighton2000-05-291-1/+13
|
* lp_server_role() + use in srv_reg.Luke Leighton2000-05-282-404/+444
|
* updated proto.hAndrew Tridgell2000-05-281-425/+384
|
* moved notif_y_table struct to spoolss_nt.c only used there.Luke Leighton2000-05-282-400/+396
| | | | | | #ifdef'd driver-code out with define RELIES_ON_SMBD_SPECIFIC_CODE because spoolssd doesn't link with smbd/*.c (find_service("print$") is not possible).
* getting and setting security descriptors on printers now worksAndrew Tridgell2000-05-271-384/+390
| | | | this needed some fixes in tdb_unpack(). Tim, you'll need to update
* fixed nttrans.cLuke Leighton2000-05-271-146/+113
|
* security descs in spoolss. needs parse_sec.c nttrans.c broken.Luke Leighton2000-05-275-515/+571
|
* Changed MS_DFS to WITH_MSDFS throughout.Shirish Kalele2000-05-263-9/+9
| | | | Fixed trans2 calls on IPC$ to let dfs referral calls through.
* new prototypesAndrew Tridgell2000-05-241-2/+3
|
* a fairly big change in spoolss.Andrew Tridgell2000-05-241-6/+5
| | | | | | | got rid of the forms, drivers and printers files in the nt drivers directory and instead use a single tdb note that this is _not_ all finished.
* Added the NETDFS pipe to allow remote administration of the msdfs symlinksShirish Kalele2000-05-185-2/+245
| | | | on the samba server.
* Fixed bug I introduced last night (sorry). Now truncate incoming prs_structJeremy Allison2000-05-171-0/+1
| | | | | | buffer size to exact size of incoming data to prevent read overruns into slop space. Jeremy.
* Synced up srv_samr with HP changes. Added error checking to original codeJeremy Allison2000-05-162-16/+91
| | | | | | - what a concept :-). All this code will be replaced with TNG stuff anyway, so not a big deal.... Jeremy.
* Removed extra unistr_to_dos prototype from msdfs/msdfs.cShirish Kalele2000-05-161-2/+0
|
* The new msdfs implementation that uses symlinks to point to otherShirish Kalele2000-05-162-24/+14
| | | | | | | | | | | | | | | | servers. Very intuitive. Removed the dfs map parsing code and tdb maintenance code (files msdfs/parse_dfs_map.c & msdfs/msdfs_tdb.c), dfs map loading and unloading calls (param/loadparm.c smbd/server.c). Added code to display msdfs format symlinks as directories in a transact2_findfirst/findnext. (smbd/trans2.c) Modified msdfs/msdfs.c to use the msdfs symlinks to create dfs referrals. Changed msdfs/README to reflect new operability.
* Added Shirish's reg changes to HEAD. Sync up with 2.2.0 backport.Jeremy Allison2000-05-152-31/+30
| | | | | Also added prs_xx error return checks to new code in rpc_parse/parse_reg.c Jeremy.
* addd grow_size to prs_struct so we know how much data is actually inAndrew Tridgell2000-05-151-1/+2
| | | | the buffer
* rebuilt protoAndrew Tridgell2000-05-121-3/+2
|
* Added unicode_to_dos_char() function to address converting single UNICODEJeremy Allison2000-05-121-0/+1
| | | | | characters to one or more DOS codepage characters. Jeremy.
* added spool_io_printer_driver_info_level_6()Andrew Tridgell2000-05-124-0/+74
| | | | | | thsi function and the associated header structure were autogenerated using a little awk based code geerator I wroe ths evening. I'll commit that next ...
* use "winbind separator" option for domain/user separator characterAndrew Tridgell2000-05-121-1/+1
|
* lib/util_unistr.c:Jeremy Allison2000-05-101-4/+2
| | | | | | | | | | libsmb/clilist.c: rpc_server/srv_spoolss_nt.c: smbd/trans2.c: Changed unistr_to_ascii to unistr_to_dos - do codepage conversion. msdfs/msdfs.c: Removed stub unistr_to_dos. libsmb/pwd_cache.c: Removed obfuscation functions as they don't do anything and don't add any security. Jeremy.