| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| | |
falling back to the UNIX calls on error. This should fix all problems with
smbd enumerating all users in all groups in all trusted domains via winbindd.
Also changed GETDC to query 1C name rather than 1b name as only the PDC
registers 1b.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
.cvsignore remove config.h - not in this directory
include/profile.h profile changes
lib/messages.c added message to return debug level
libsmb/clierror.c cast to get rid of compiler warning
libsmb/smbencrypt.c cast to get rid of compiler warning
profile/profile.c add flush profile stats changes for profile struct
rpc_parse/parse_samr.c fix for compiler warning
rpc_server/srv_samr.c cast to get rid of compiler warning
smbd/ipc.c profile stats
message.c profile stats
smbd/negprot.c profile stats
smbd/nttrans.c profile stats
smbd/trans2.c profile stats
utils/smbcontrol.c new flush stats command
|
| |
| |
| |
| |
| | |
This also updates the printing.tdb db version to 2.
Jeremy.
|
| |
| |
| |
| |
| | |
as part of print queue length processing.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
on exit. Needed to fix printing.tdb from groving to 300Mb+ if being
driven by smbclient clients that never ask for status... (effective
DOS attack :-).
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
a sam_user_info_24 doesn't have a uint16 at end
samr_create_user also creates the unix account now
samr_set_userinfo changes the password.
J.F.
|
| |
| |
| |
| | |
is conceptually flawed
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cleanup of create_user
cleanup of rid/sid mix in samr. now we only have sid.
some prs_align() missing in parse_samr.c
a small debug change in srv_pipe.c
You still can't change a user's password in this commit.
Will be availble in the next one.
J.F.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Jim McDonough
Infoprint Manager Development
Linux Technology Center
IBM Boulder
Jeremy.
|
| |
| |
| |
| |
| |
| | |
<neil.hoggarth@physiol.ox.ac.uk>
Jeremy.
|
| |
| |
| |
| |
| | |
Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
We now use our own vfs layer to do get/set acl calls (hurrah!).
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a conn struct depending on the call.
We need this to have a clean NT ACL call interface.
This will break any existing VFS libraries (that's why this is pre-release
code).
Andrew gets credit for this one :-) :-).
In addition - added Herb's WITH_PROFILE changes - Herb - please examine
the changes I've made to the smbd/reply.c code you added. The original
code was very ugly and I have replaced it with a
START_PROFILE(x)/END_PROFILE(x) pair using the preprocessor.
Please check this compiles ok with the --with-profile switch.
Jeremy.
|
| |
| |
| |
| |
| | |
above this layer.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
J.F.
|
| |
| |
| |
| |
| | |
mkdir high bits patch from Robert Dahlem" <Robert.Dahlem@gmx.net>.
jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| |
| | |
call in glibc 2.1.95. This hack only gets enabled if you define
GLIBC_HACK_FCNTL64
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
And we create the disabled account. That means we can create user and
trust accounts remotely !
ifdef out a return in passdb/smbpass.c. I think I didn't break any
security. Jeremy could you check if I didn't make any mistakes ???
J.F.
|
| |
| |
| |
| |
| |
| |
| | |
through the VFS. All file access/directory access code in smbd should now
go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl()
vfs_set_nt_acl() call API design.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
so renamed and tidy up of the server function.
J.F.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
notification as on NT.
Andrew, your message passing code is cool :-)
J.F.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
allows Samba to turn off the display of APW (hmmm. This should probably
be a share specific parameter, I'll fix that in another commit).
Also a few small changes to JF's code to fix compiler warnings about
missing return statements and also change '//' comments (C++) to /* .. */
comments (C).
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
It only sends notifies to one client. The broadcasting notify code will
code soon.
J.F.
|
| |
| |
| |
| |
| | |
will be needed soon.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Sync up lib/time.c from HEAD. Fix error return from cli_initialise().
Allow cli_trans to cope with a smbd "STATUS_BUFFER_OVERFLOW" return as
well as the old style ERRmoredata return (now smbcacls can get names
from a Samba server too). Fix memory leaks in smbcacls.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
Fixed many memory leaks in new parse_lsa.c code (TIM - ALWAYS USE INSURE !!!!).
Fixed smbcacls leaks.
Jeremy.
|
| |
| |
| |
| |
| | |
srv_lsa and new smbcacls fixes).
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
server and client
lsa_lookup_names() and lsa_lookup_sids().
Removed the special casing of SIDs in se_access_check. This is now done (correctly)
when the NT_USER_TOKEN is *created*.
Jeremy.
|
| |
| |
| |
| |
| | |
Added calls for smbcacls.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also, fix etags/ctags rules to work when srcdir != builddir
- updated configure
- compiler warning fixes from APPLIANCE_HEAD
(source/lib/util_sec.c source/smbd/vfs-wrap.c)
- tdb_chainlock() no longer returns a value.
(source/locking/locking.c source/tdb/tdbutil.c source/include/proto.h)
|
| |
| |
| |
| |
| |
| |
| |
| | |
a --with-spinlocks option to configure, this does mean the on-disk tdb
format has changed, so 2.2alphaX sites will need to re-create their
tdb's. The upside is no more tdb fragmentation and a +5% on netbench.
Swings and roundabouts....
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a single
statement after an 'if'. Tracking this down took 4 hours from my life and ANDREW I WANT
THEM BACK !!!!! :-).
include/smb.h smbd/password.c: Fixed the bug veritas reported with realloc of the validated_users
array growing without bounds. This is now a linked list as god (Andrew) intended :-).
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
written to transition from an old DOMAIN.MACHINE.MAC file to secrets.tdb.
printing/nt_printing.c: Fix case insensitive name lookups for driver files.
John - this should fix the Win9x/WinME problem correctly.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Added "hide local users" option. Added Andrew's changes for message
sending.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
messaging system as a notification mechanism, and the speed of notification
greatly exceeds the speed of message recovery, then you get a massively (>75Mb)
growing tdb. If the message is a simple notification, then the message is
static, and you only need one of them in transit to a target process at
any one time.
This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives.
If set to False, then before sending a message the sender checks the existing
message queue for a target pid for a duplicate of this message, and doesn't
add to it if one already exists.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
- stuff that got missed for virtual lp
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a byte range lock (write lock only, but Win2k breaks on read lock also so I
do the same) - if you think about why, this is obvious. Also fixed our client
code to do level II oplocks, if requested, and fixed the code where we would
assume the client wanted level II if it advertised itself as being level II
capable - it may not want that.
Jeremy.
|