summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* a prootype program for querying/setting a security decsriptor on aAndrew Tridgell2000-12-031-0/+233
| | | | | | remote machine it is by no means complete, expect more commits soon
* - added client support for nttrans callsAndrew Tridgell2000-12-032-0/+282
| | | | - added a cli_ function for querying a security descriptor on a remote file
* split the RPC_PARSE object into two pieces. The first is included asAndrew Tridgell2000-12-031-5/+18
| | | | | part of LIBSMB and the latter is used by parts of samba that know about the pwd backends
* Added print_freelist command.Jeremy Allison2000-12-022-0/+38
| | | | Jeremy.
* change the split threahold for the free list to prevent freelistAndrew Tridgell2000-12-021-1/+1
| | | | fragmentation
* fixed messaging bug - use strlen() instead of sizeof() in key lengthAndrew Tridgell2000-12-021-2/+2
|
* Allow zero length smb.conf files.Tim Potter2000-12-011-2/+0
|
* Run configure script using dirname of $0. This allows configure.developerTim Potter2000-12-011-1/+1
| | | | to be run when the build directory != source directory.
* Use lp_codepagedir() instead of CODEPAGEDIR when loading the unicode map.Tim Potter2000-12-011-2/+3
| | | | Found by Joseph Cheek <joseph@cheek.com>
* Code to read & return POSIX ACLs as NT ACLs. Close to test on Linux.Jeremy Allison2000-12-011-74/+95
| | | | Jeremy.
* Keep syncing up POSIX ACL work...Jeremy Allison2000-11-301-110/+111
| | | | Jeremy.
* Work in progress, doesn't compile. Adding the POSIX ACL mapping....Jeremy Allison2000-11-301-22/+198
| | | | Jeremy.
* alignment issues.Jean-François Micouleau2000-11-292-28/+35
| | | | | | I hate that job ... J.F.
* First Release of the DocBook 'source'.David Bannon2000-11-283-0/+1816
|
* include/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as ↵Jeremy Allison2000-11-283-62/+87
| | | | | | | | | | 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.
* PDC docs, made from DocBook source, comments ?David Bannon2000-11-284-0/+5879
|
* Ran DFS on Linux and found that readlink() on Linux does not append NULShirish Kalele2000-11-281-1/+3
| | | | to the link read. So add a NUL..
* passdb/secrets.c passdb/smbpassfile.c smbd/server.c : Actually *use* the codeJeremy Allison2000-11-275-32/+37
| | | | | | | 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.
* Fixed messaging so main smbd can get lib/message.c messages.Jeremy Allison2000-11-271-0/+8
| | | | Jeremy.
* Removed unnessesary init.Jeremy Allison2000-11-271-1/+1
| | | | Jeremy.
* fixed a potential locking deadlock in tdbAndrew Tridgell2000-11-271-1/+1
|
* This should fix Office failing to print to "FILE:".Jeremy Allison2000-11-241-3/+3
| | | | Jeremy.
* Tar fixes from Craig Barratt craig@arraycomm.com.Jeremy Allison2000-11-222-2/+4
| | | | Jeremy.
* o fixed logon script problems (wrong len in reply to net_sam_logon forGerald Carter2000-11-223-9/+10
| | | | | | | | | | | | | | | | | | a few strings). I was the one who broke it obviously. o changed a few more defaults in the smbpasswd backend with respect to times. Now the logon time becomes '0' and the pass_can_change_time is set ot the same as pass_last_set_time o change Get_Pwnam() call in local_lookup_name to sys_getpwnam() as it did not seem necessary to try case permutations in the username. Tim, I think this was your code, so you might want to double check me. -- jerry
* Free talloc'ed memory from the main smbd. Patch from Rich Bollinger, Elliott ↵Jeremy Allison2000-11-221-0/+3
| | | | | | Company Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2000-11-221-4/+4
| | | | - Add code to test equivalence of private data in NT_DEVICEMODE
* ADDPRINTERDRIVER info level 6 fix - this is dynamic dependingJeremy Allison2000-11-221-7/+9
| | | | | on a field in the struct - that's why it was so hard to find. Jeremy.
* Don't forget to convert into UNIX character set before callingJeremy Allison2000-11-211-1/+1
| | | | | winbindd. Jeremy.
* combined 2 if statments which used the same conditionGerald Carter2000-11-211-3/+5
| | | | -- jerry
* make protoGerald Carter2000-11-211-16/+32
|
* Another large patch for the passdb rewrite.Gerald Carter2000-11-2112-869/+902
| | | | | | | | | | | | | | | | | | | | | | | | | | | | o added BOOL own_memory flag in SAM_ACCOUNT so we could use static memory for string pointer assignment or allocate a new string o added a reference TDB passdb backend. This is only a reference and should not be used in production because - RID's are generated using the same algorithm as with smbpasswd - a TDB can only have one key (w/o getting into problems) and we need three. Therefore the pdb_sam-getpwuid() and pdb_getsampwrid() functions are interative searches :-( we need transaction support, multiple indexes, and a nice open source DBM. The Berkeley DB (from sleepycat.com seems to fit this criteria now) o added a new parameter "private dir" as many places in the code were using lp_smb_passwd_file() and chopping off the filename part. This makes more sense to me and I will docuement it in the man pages o Ran through Insure-lite and corrected memory leaks. Need for a public flogging this time Jeremy (-: -- jerry
* Fix for off-by-one StrnCpy.Jeremy Allison2000-11-211-1/+1
| | | | Jeremy.
* Fix for updating of print queues changed from a local box. Essentially,Jeremy Allison2000-11-214-21/+54
| | | | | | this makes sure that the change messages sent to ourselves are handled synchronously w.r.t. other smb packets incoming. Jeremy.
* Fix from John Reilly for equivalence tests.Jeremy Allison2000-11-172-77/+80
| | | | Jeremy.
* we don't need the separate lp_status() connection records any moreAndrew Tridgell2000-11-171-12/+0
|
* fixed the problem with messages not getting throughAndrew Tridgell2000-11-173-37/+28
| | | | | | | | | | the problem had nothing to do with being your own pid, it was instead a problem with IPC$ connections not being registered in the connections database and an incorrect test for -1 in the messaging code. These changes also mean that IPC$ shares now show up in smbstatus. That is probably a good thing.
* Fix for memory leak when adding driver.Jeremy Allison2000-11-174-12/+14
| | | | Jeremy.
* support smbcontrol sending messages to itself (for testing purposes)Andrew Tridgell2000-11-171-0/+2
|
* save and restore errno in selectAndrew Tridgell2000-11-171-1/+5
|
* Delete queue on empty.Jeremy Allison2000-11-171-2/+7
| | | | Jeremy.
* John Reillys fix for de-registering broadcast names (NT doesn't do this).Jeremy Allison2000-11-171-0/+4
| | | | Jeremy.
* Fix for incorrect break using wrong offset when updating a form.Jeremy Allison2000-11-171-6/+4
| | | | Jeremy.
* the duplicate checking code will cause unaligned accesses on non-intelAndrew Tridgell2000-11-171-4/+4
| | | | processors. Fixed.
* use process_exists() not kill(pid, 0)Andrew Tridgell2000-11-171-1/+1
|
* Fix for a problem with the new messaging system. If a sender is using theJeremy Allison2000-11-169-36/+99
| | | | | | | | | | | | | | 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. Also added code into msgtest.c to test this. Jeremy.
* Fix for plaintext passwords from Pat Sandfort @ HP.Jeremy Allison2000-11-161-3/+6
| | | | Jeremy.
* Fix from Jim McDonough @ IBM for OS/2 clients.Jeremy Allison2000-11-162-0/+11
| | | | Jeremy.
* Changes from APPLIANCE_HEAD:David O'Neill2000-11-161-0/+2
| | | | - add empty README file for vlp. Blame Tim. =)
* Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison2000-11-1614-165/+360
| | | | | | | | | 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.
* Uninitialized memory read fixes.Jeremy Allison2000-11-151-3/+7
| | | | | open_file_shared takes a DOS pathname, not a UNIX one. Jeremy.