summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fix to allow smbd to call winbindd if it is running for all group enumeration,Jeremy Allison2000-10-131-9/+20
| | | | | | | | | | | | | | | | 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.
| * changes to sync with 2.2. treeHerb Lewis2000-10-111-7/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .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
| * Fix for growing printing.tdb by adding check on job creation.Jeremy Allison2000-10-112-0/+2
| | | | | | | | | | This also updates the printing.tdb db version to 2. Jeremy.
| * Remove lpq as root fix - do this in print_job_start insteadJeremy Allison2000-10-111-1/+0
| | | | | | | | | | as part of print queue length processing. Jeremy.
| * Fixes to periodically scan printing.tdb in idle time and occasionallyJeremy Allison2000-10-101-0/+1
| | | | | | | | | | | | | | 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 netlogon enum trust query doesn't have a function_code at end.Jean-François Micouleau2000-10-103-4/+1
| | | | | | | | | | | | | | | | 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.
| * got rid of tdb_writelock() and instead lock a chain. tdb_writelock()Andrew Tridgell2000-10-101-3/+2
| | | | | | | | is conceptually flawed
| * added samr_set_user_info and info_2.Jean-François Micouleau2000-10-072-31/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Integrated support for NT and OS/2 lpq parsing. Code fromJeremy Allison2000-10-071-1/+1
| | | | | | | | | | | | | | | | | | Jim McDonough Infoprint Manager Development Linux Technology Center IBM Boulder Jeremy.
| * Fix for yp_get_default_domain from Neil Hoggarth ↵Jeremy Allison2000-10-071-0/+1
| | | | | | | | | | | | <neil.hoggarth@physiol.ox.ac.uk> Jeremy.
| * Fix for printf attribute from Mattias Gronlund <Mattias.Gronlund@sa.erisoft.se>Jeremy Allison2000-10-063-4/+5
| | | | | | | | | | Added "codepage directory" patch from Peter.Polkinghorne@brunel.ac.uk Jeremy.
| * Added Herb's fixes to HEAD.Jeremy Allison2000-10-063-6/+13
| | | | | | | | Jeremy.
| * Proto update. Also fix from John Reilly @ HP for not showing APW with W2K.Jeremy Allison2000-10-061-0/+1
| | | | | | | | Jeremy.
| * Herb's warning fixes. Also the POSIX locking fix.Jeremy Allison2000-10-065-27/+67
| | | | | | | | | | We now use our own vfs layer to do get/set acl calls (hurrah!). Jeremy.
| * Inlined many of the vfs_XXX calls as macros for speed.Jeremy Allison2000-10-062-7/+41
| | | | | | | | Jeremy.
| * Restructuring of vfs layer to include a "this" pointer - can be an fsp orJeremy Allison2000-10-065-250/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Vector get_nt_acl/set_nt_acl via vfs. POSIX ACL support should be addedJeremy Allison2000-10-052-11/+95
| | | | | | | | | | above this layer. Jeremy.
| * Herb's fixes for profiling & compiler warnings.Jeremy Allison2000-10-052-4/+2
| | | | | | | | Jeremy.
| * someone forgot to update proto.h :-)Jean-François Micouleau2000-10-051-1/+2
| | | | | | | | J.F.
| * utf-8 and EUC3 patch from Hiroshi Miura Samba User Group Japan staff.Jeremy Allison2000-10-033-3/+576
| | | | | | | | | | mkdir high bits patch from Robert Dahlem" <Robert.Dahlem@gmx.net>. jeremy.
| * Memleak fix for cache code.Jeremy Allison2000-10-021-1/+0
| | | | | | | | Jeremy.
| * new prototypesAndrew Tridgell2000-09-291-0/+3
| |
| * added a hack to get 64 bit locking working with the broken fcntl()Andrew Tridgell2000-09-291-0/+13
| | | | | | | | | | call in glibc 2.1.95. This hack only gets enabled if you define GLIBC_HACK_FCNTL64
| * fixed samr_create_user(). we now correctly parse the query and the reply.Jean-François Micouleau2000-09-281-6/+4
| | | | | | | | | | | | | | | | | | | | 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.
| * Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector themJeremy Allison2000-09-272-5/+21
| | | | | | | | | | | | | | 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.
| * samr unknown 0x32 is in fact samr create user.Jean-François Micouleau2000-09-272-11/+11
| | | | | | | | | | | | so renamed and tidy up of the server function. J.F.
| * fixed IRIX compiller error messageHerb Lewis2000-09-261-1/+1
| |
| * broadcast printer notify message to all clients. We now have printerJean-François Micouleau2000-09-262-345/+349
| | | | | | | | | | | | | | | | notification as on NT. Andrew, your message passing code is cool :-) J.F.
| * added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton2000-09-262-344/+363
| |
| * Changes from John Reilly to add a parameter "show add printer wizard" thatJeremy Allison2000-09-261-9/+1
| | | | | | | | | | | | | | | | | | 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.
| * printer notify code.Jean-François Micouleau2000-09-252-3/+43
| | | | | | | | | | | | | | It only sends notifies to one client. The broadcasting notify code will code soon. J.F.
| * Some code moved back from TNG - updates to LSA stuff. Not yet used butJeremy Allison2000-09-202-3/+25
| | | | | | | | | | will be needed soon. Jeremy.
* | Fixup the lsa_io_r_lookup_names call not to need an external TALLOC_CTX.Jeremy Allison2000-12-141-3/+1
| | | | | | | | | | | | | | | | 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.
* | Raft of fixes - many of these will be merged into HEAD/appliance-head.Jeremy Allison2000-12-142-13/+78
| | | | | | | | | | | | Fixed many memory leaks in new parse_lsa.c code (TIM - ALWAYS USE INSURE !!!!). Fixed smbcacls leaks. Jeremy.
* | Merges from appliance-head (for the printing fix) and from HEAD (for theJeremy Allison2000-12-133-9/+30
| | | | | | | | | | srv_lsa and new smbcacls fixes). Jeremy.
* | Merged in Tim's changes: Removed static limit of MAX_LOOKUP_SIDS in rpc ↵Jeremy Allison2000-12-122-9/+16
| | | | | | | | | | | | | | | | | | 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.
* | file_lines_load/file_lines_pload can now optionally do a unix_to_dos() on read.Jeremy Allison2000-12-071-2/+2
| | | | | | | | | | Added calls for smbcacls. Jeremy.
* | - Fix Makefile.in so that clisecdesc.o is in SMBCACLS_OBJ, not LIBSMB_OBJDavid O'Neill2000-12-061-8/+3
| | | | | | | | | | | | | | | | | | 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)
* | Changed to sourceforge tdb code. This includes spinlocks (so we now haveJeremy Allison2000-12-053-7/+24
| | | | | | | | | | | | | | | | 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.
* | Syncup of smbcacls from HEAD. Removal of C++ comments.Jeremy Allison2000-12-042-3/+20
| | | | | | | | Jeremy.
* | Fixes merged back from HEAD.Jeremy Allison2000-12-021-0/+1
| | | | | | | | Jeremy.
* | include/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as ↵Jeremy Allison2000-11-282-2/+6
| | | | | | | | | | | | | | | | | | | | 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.
* | passdb/secrets.c passdb/smbpassfile.c smbd/server.c : Actually *use* the codeJeremy Allison2000-11-271-13/+15
| | | | | | | | | | | | | | 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.
* | preparing for release of 2.2.0-alpha1Samba Release Account2000-11-231-1/+1
| |
* | Raft of changes to sync up with most things in appliance head.Jeremy Allison2000-11-171-6/+7
| | | | | | | | | | | | Added "hide local users" option. Added Andrew's changes for message sending. Jeremy.
* | Memory leak fix when adding a driver.Jeremy Allison2000-11-171-1/+2
| | | | | | | | Jeremy.
* | Fix for a problem with the new messaging system. If a sender is using theJeremy Allison2000-11-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix from Jim McDonough @ IBM for OS/2 clients.Jeremy Allison2000-11-161-0/+1
| | | | | | | | Jeremy.
* | Changes from APPLIANCE_HEAD:David O'Neill2000-11-161-1/+6
| | | | | | | | - stuff that got missed for virtual lp
* | Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison2000-11-162-3/+5
| | | | | | | | | | | | | | | | | | 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.