| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
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
|
|
|
|
|
| |
I had to modify sys_select() to not loop on EINTR. I added a wrapper
called sys_select_intr() which gives the old behaviour.
|
|
|
|
|
|
| |
stuff.
J.F.
|
| |
|
|
|
|
|
| |
modular form. In this pass I added oplock_irix.c and added a "struct
kernel_oplocks" that describes a kernel oplock implementation.
|
|
|
|
|
| |
sincerely hope :-). Thanks elrond !
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
and if you have unix realname=yes, you get the gecos name when locking the
station.
J.F.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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 :)
|
|
|
|
| |
not just undercut work in progress, thank you.
|
|
|
|
|
|
| |
to make "printer driver file" a share parameter. This fits better with
the new NT printing subsystem.
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
register_vuid fills it with constructed info.
|
|
|
|
| |
- added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX
|
|
|
|
|
| |
to prevent builkd breaking.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
| |
"no driver" issue. I'm banging my head against comparitive packet
dumps right now...
Jeremy.
|
|
|
|
| |
we were being bitten by uint16/uint32 mixups
|
| |
|
|
|
|
|
| |
This is *horrible* code :-(.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
Added some frees needed to stop memory leaks.
Jeremy.
|
|
|
|
|
|
|
| |
Added patches for random -> sys_random.
Added set_effective_xxx patches for AFS code.
Memory allocation changes in spoolss code.
Jeremy.
|
|
|
|
|
| |
on this bloody CVS link....
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
| |
Domain SID is saved in secrets.tdb upon joining domain.
Added "Authenticated Users" and "SYSTEM" well-known SIDs (under
NT Authority).
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
#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).
|
|
|
|
| |
this needed some fixes in tdb_unpack(). Tim, you'll need to update
|
| |
|
| |
|
|
|
|
| |
Fixed trans2 calls on IPC$ to let dfs referral calls through.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
on the samba server.
|
|
|
|
|
|
| |
buffer size to exact size of incoming data to prevent read overruns into slop
space.
Jeremy.
|
|
|
|
|
|
| |
- what a concept :-). All this code will be replaced with TNG stuff anyway,
so not a big deal....
Jeremy.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Also added prs_xx error return checks to new code in rpc_parse/parse_reg.c
Jeremy.
|
|
|
|
| |
the buffer
|
| |
|
|
|
|
|
| |
characters to one or more DOS codepage characters.
Jeremy.
|
|
|
|
|
|
| |
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 ...
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|