Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | split all the change notify code out into a separate module | Andrew Tridgell | 2000-06-12 | 4 | -409/+439 |
| | | | | | | | | smbd/notify.c. All the data structures are now private to that module. this is in preparation for Linux kernel support for change notify (coming soon to a CVS tree near you) | ||||
* | a better test for oplocks being enabled in this kernel | Andrew Tridgell | 2000-06-11 | 1 | -1/+18 |
| | |||||
* | fixed Linux capabilities handling | Andrew Tridgell | 2000-06-11 | 2 | -33/+39 |
| | | | | | | 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 testing | Andrew Tridgell | 2000-06-11 | 16 | -79/+166 |
| | | | | | 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 event | Jean-François Micouleau | 2000-06-10 | 3 | -1/+126 |
| | | | | | | stuff. J.F. | ||||
* | a first pass at Linux kernel oplocks support | Andrew Tridgell | 2000-06-10 | 6 | -26/+212 |
| | |||||
* | continued the split of the kernel level oplocks code into a more | Andrew Tridgell | 2000-06-10 | 7 | -429/+436 |
| | | | | | modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation. | ||||
* | continued the split of the kernel level oplocks code into a more | Andrew Tridgell | 2000-06-10 | 4 | -782/+617 |
| | | | | | | | | | modular form. In this pass I added oplock_irix.c and added a "struct kernel_oplocks" that describes a kernel oplock implementation. I also removed the maintainence mode from the Makefile. It was causing too much trouble. If someone really likes it they can keep a patch around to enable it themselves. | ||||
* | (Correct) fix for desired_access being zero in map_share_mode(). | Jeremy Allison | 2000-06-09 | 1 | -12/+12 |
| | | | | Jeremy. | ||||
* | Fix from Elrond for hash table corruption. Should fix stat cache bug (I | Jeremy Allison | 2000-06-09 | 2 | -3/+11 |
| | | | | | sincerely hope :-). Thanks elrond ! Jeremy. | ||||
* | Luke, I am moving the code back into passdb/passdb.c, this the correct | Jeremy Allison | 2000-06-09 | 7 | -70/+65 |
| | | | | | | | | | | | | | 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 Micouleau | 2000-06-09 | 3 | -5/+18 |
| | | | | | | | and if you have unix realname=yes, you get the gecos name when locking the station. J.F. | ||||
* | untiltime should be 0 by default to cover the whole 24 hours. | Jean-François Micouleau | 2000-06-09 | 1 | -3/+3 |
| | | | | J.F. | ||||
* | clean up oplock capability code ready for Linux code | Andrew Tridgell | 2000-06-09 | 6 | -559/+559 |
| | |||||
* | the Linux F_GETLEASE value has changed | Andrew Tridgell | 2000-06-09 | 1 | -1/+1 |
| | |||||
* | some templates needed for the new aparser stuff | Andrew Tridgell | 2000-06-09 | 2 | -0/+27 |
| | |||||
* | split some of the irix kernel oplocks code into a function | Andrew Tridgell | 2000-06-09 | 1 | -68/+74 |
| | |||||
* | free NET_USER_INFO_3 gids when vuser invalidated. | Luke Leighton | 2000-06-09 | 1 | -0/+4 |
| | |||||
* | dynamic allocation of NET_USER_INFO_3 gids. | Luke Leighton | 2000-06-09 | 4 | -30/+63 |
| | | | | | | | | | | 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 :) | ||||
* | started adding support for relative, plus options for autoalignment | Andrew Tridgell | 2000-06-09 | 17 | -42/+421 |
| | | | | so the same parser generator can be uses for cifs and rpc | ||||
* | reverted jeremy's changes that removed NET_USER_INFO_3. will you please | Luke Leighton | 2000-06-09 | 5 | -415/+444 |
| | | | | not just undercut work in progress, thank you. | ||||
* | Change from "David S. Chappell" <David.Chappell@mail.cc.trincoll.edu> | Jeremy Allison | 2000-06-08 | 3 | -9/+11 |
| | | | | | | to make "printer driver file" a share parameter. This fits better with the new NT printing subsystem. Jeremy. | ||||
* | Fix for map_share_mode to allow desired access of zero map to stat open. | Jeremy Allison | 2000-06-08 | 1 | -0/+11 |
| | | | | Jeremy. | ||||
* | include/smb.h: Removed NET_USER_3 struct from user struct. It doesn't belong ↵ | Jeremy Allison | 2000-06-08 | 5 | -442/+445 |
| | | | | | | | | | | | | | 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. | ||||
* | Again, just syncronizing. The a function name was changed in the sll | Christopher R. Hertel | 2000-06-08 | 4 | -27/+51 |
| | | | | | module but none of Samba uses it directly. The macros are used instead so the change is hidden. Good. | ||||
* | Bringing these up to date with what I've got on my site. The fixes include | Christopher R. Hertel | 2000-06-08 | 6 | -77/+165 |
| | | | | | | | the change that prevents 'insure' from becomming confused and issuing leak reports. Some minor speed fixes. That sort of thing. Chris -)----- | ||||
* | added a NET_USER_INFO_3 struct to user_struct. | Luke Leighton | 2000-06-08 | 5 | -406/+452 |
| | | | | register_vuid fills it with constructed info. | ||||
* | added se_access_check. | Luke Leighton | 2000-06-08 | 3 | -1/+282 |
| | |||||
* | make_sec_acl was passed pointer to static array ace[2], oops. | Luke Leighton | 2000-06-08 | 1 | -1/+1 |
| | |||||
* | - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIX | Andrew Tridgell | 2000-06-08 | 6 | -161/+226 |
| | | | | - added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX | ||||
* | Moved tdb functions that access parse structs into parse_prs.c | Jeremy Allison | 2000-06-08 | 3 | -32/+30 |
| | | | | | to prevent builkd breaking. Jeremy. | ||||
* | Cause printer SD's to be displayed correctly (full control). | Jeremy Allison | 2000-06-08 | 4 | -11/+15 |
| | | | | Jeremy. | ||||
* | Fixing get/set of security descriptors. | Jeremy Allison | 2000-06-07 | 8 | -19/+45 |
| | | | | | | Removed ugly hack for NT printing. Fixed up tdb parse stuff memory leaks. Jeremy. | ||||
* | Memory leak fixes. | Jeremy Allison | 2000-06-06 | 4 | -2/+19 |
| | | | | Jeremy. | ||||
* | fixed sizeof() typo | Andrew Tridgell | 2000-06-06 | 1 | -4/+4 |
| | |||||
* | fixed!! | Andrew Tridgell | 2000-06-06 | 1 | -10/+27 |
| | | | | | | | | yipee! the damn "device settings cannot be displayed" error is gone. We needed to supply a default set of forms. I've added A4 and Letter by default. | ||||
* | Create elements in default, not in read. | Jeremy Allison | 2000-06-06 | 2 | -3/+10 |
| | | | | Jeremy. | ||||
* | Some tidyup fixes (memory leaks etc.). Still no progress with the | Jeremy Allison | 2000-06-05 | 5 | -20/+37 |
| | | | | | | "no driver" issue. I'm banging my head against comparitive packet dumps right now... Jeremy. | ||||
* | simple increment bug in uniarray_2_dosarray | Andrew Tridgell | 2000-06-05 | 1 | -0/+1 |
| | |||||
* | don't ue nasty /proc/locks hack by default | Andrew Tridgell | 2000-06-05 | 1 | -2/+2 |
| | |||||
* | added locktest2 | Andrew Tridgell | 2000-06-05 | 2 | -0/+636 |
| | | | | | | | | | this uses 16 open file descriptors on 2 servers, with each server accessed both via POSIX call and SMB calls. The idea is to test NFS/SMB locking interaction. Unfortunately the NT NFS locking implementation is so badly broken that we don't have anything to test against | ||||
* | Forgot attr entry for private dir. | Tim Potter | 2000-06-05 | 1 | -0/+1 |
| | |||||
* | Updated samba appliance example. | Tim Potter | 2000-06-05 | 5 | -67/+289 |
| | |||||
* | fixed a off by one bug in ntforms read from the database | Andrew Tridgell | 2000-06-05 | 1 | -1/+1 |
| | |||||
* | Copied across NT_Security documentation from 2.0 | Tim Potter | 2000-06-05 | 3 | -0/+850 |
| | |||||
* | Someone wrote a man page for smbspool - how nice! | Tim Potter | 2000-06-05 | 3 | -0/+261 |
| | |||||
* | added -O (use oplocks) option to locktest | Andrew Tridgell | 2000-06-05 | 1 | -1/+8 |
| | |||||
* | we no longer need the code to cope with setprinter having corrupted | Andrew Tridgell | 2000-06-04 | 1 | -6/+0 |
| | | | | data | ||||
* | no space was being reserved for the security descriptor in the parse | Andrew Tridgell | 2000-06-04 | 1 | -3/+8 |
| | | | | buffer | ||||
* | sec_desc_size() needs to handle a null secdesc | Andrew Tridgell | 2000-06-04 | 1 | -2/+5 |
| |