summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagsamba-1.9.18alpha7cvs2svn Import User1997-10-290-0/+0
|\ | | | | 'release-1-9-18alpha7'.
* | preparing for release of 1.9.18alpha7Samba Release Account1997-10-2941-40/+43
| |
* | updated to current version number.Samba Release Account1997-10-291-1/+1
| |
* | called dump_data() from show_msg().Luke Leighton1997-10-291-25/+6
| |
* | ipc.c :Luke Leighton1997-10-292-4/+34
| | | | | | | | | | | | | | | | bind ack should contain \PIPE\pipename not just pipename. ntclientpipe.c : sanity in bind ack: pipe name checks; transfer syntax checks; reason checks.
* | split ntclient.c down into appropriate modules.Luke Leighton1997-10-297-979/+1142
| |
* | damn. We need root privilages to do semaphore operations even if weAndrew Tridgell1997-10-292-28/+44
| | | | | | | | | | | | | | | | | | | | have done the semget() as root. The problem is that become_root() and unbecome_root() are so slow! I've provided two options. The default is to set the semaphores (but _not_ the shared memory) world writeable so that a become_root() isn't needed. Otherwise you can define SECURE_SEMAPHORES and pay the performance penalty.
* | - don't allow locking to initialise twiceAndrew Tridgell1997-10-291-1/+5
| | | | | | | | - check that it is initialised before de-initialising it!
* | clean up the hash entry code a bit. Got rid of lp_shmem_hash_size()Andrew Tridgell1997-10-296-97/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and made it private to the 2 shmem implementations. Added new shmops->hash_size() function. Added code to handle the IPC system limits by looping decreasing the size of the resources (semaphores and shared memory) that we request until we get under the system limits, which can be quite low on some systems! Added checks that the creator of the IPC objects is root. Otherwise we would be open to a security hole where someone pre-creates the shared memory segment and attaches.
* | added frag field to make_rpc_hdr() functionLuke Leighton1997-10-294-6/+7
| |
* | byteorder.h :Luke Leighton1997-10-2912-62/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added mode for printing debug array data as chars not uint8/16/32s. only really useful for (uint8) strings or (uint16) unicode strings lsaparse.c smbparse.c smb.h : rpc bind and rpc bind ack structures and parsing and creation functions. ipc.c pipes.c pipenetlog.c pipentlsa.c pipesrvsvc.c : using rpc bind / bind ack parsing routines instead of incorrect use of api_LsarpcTNP1 function. ntclient.c : creation of do_rpc_bind() function. THAT'S IT, FOLKS!
* | Utility code to produce printer definition files from MS files.Jeremy Allison1997-10-281-0/+301
| | | | | | | | | | Part of code to support Windows 95 automated printer driver installs. Written by Jean-Francois Micouleau <Jean-Francois.Micouleau@utc.fr>.
* | Added "printer driver location", "printer driver file" parameters.Jeremy Allison1997-10-281-0/+49
| | | | | | | | Jeremy.
* | Adding PRINTER_DRIVER.txt docs.Jeremy Allison1997-10-282-5/+20
| |
* | Adding Windows 95 printer driver code donated by Jean-Francois.Micouleau@utc.fr.Jeremy Allison1997-10-284-6/+145
| | | | | | | | | | | | | | | | | | New program, make_printerdef, plus two new parameters : [global] "printer driver file" [local] "printer driver location" Jeremy.
* | mention that Perl is required for build scriptsHerb Lewis1997-10-281-0/+1
| |
* | removing Makefile and adding perl script to generate it form source treeHerb Lewis1997-10-282-757/+24
| |
* | tired of updating Makefile - use perl script to generate it nowHerb Lewis1997-10-281-0/+1
| |
* | Adding printer drivers patch from Jean-Francois MicouleauJeremy Allison1997-10-281-0/+74
| | | | | | | | | | | | <Jean-Francois.Micouleau@utc.fr>. We can expand on this after we have tested it out. Jeremy.
* | smb.h smbparse.c pipeutil.c :Luke Leighton1997-10-288-97/+456
| | | | | | | | | | | | | | | | | | added bind and bind ack structures and parsing functions. restructured rpc header stuff. ntclient.c pipenetlog.c pipentlsa.c pipesrvsvc.c : having to deal with restructuring above.
* | enable sysv ipc and fast share modes on OSF1Andrew Tridgell1997-10-281-0/+1
| |
* | need includes.h to compile on some systems (eg. sunos4)Andrew Tridgell1997-10-281-0/+1
| |
* | fix for broken sunos4 includes (doesn't have SHM_R)Andrew Tridgell1997-10-281-0/+4
| |
* | fix castAndrew Tridgell1997-10-281-1/+1
| |
* | define semun for broken solaris sysvipcAndrew Tridgell1997-10-281-0/+8
| |
* | lower the default hash size if SEMMSL isn't definedAndrew Tridgell1997-10-282-4/+6
| |
* | define USE_SYSV_IPC on sunos4Andrew Tridgell1997-10-281-0/+1
| |
* | define USE_SYSV_IPC on a bunch more systems.Andrew Tridgell1997-10-281-9/+8
| | | | | | | | Needs some testing though.
* | SYSV IPC implementation of fast share modes.Andrew Tridgell1997-10-286-319/+973
| | | | | | | | | | | | | | | | | | | | | | | | | | It will try sysv IPC first, then if that fails it will try mmap(), then after that it will try share files. I have defined USE_SYSV_IPC for Linux, Solaris and HPUX at the moment. Probably a lot more could have it defined. In fact, the vast majority of systems support it. Need autoconf again :-) It should actually be faster than the mmap() version, and doesn't need any lock files. This means the problem of the share mem file being on a NFS drive will be gone.
* | refuse pathworks type R connect (patch from Stephen Tweedie)Andrew Tridgell1997-10-281-24/+39
| |
* | added LSA_Q_CLOSE and LSA_R_CLOSE (also to smb.h). implemented in smbclient.Luke Leighton1997-10-276-19/+280
| | | | | | | | | | | | | | updated Query Info Policy to report domain name and domain sid for info levels 3 and 5. fixed bug in dom_sid_to_string (idauths decoded wrong). fixed bug in DOM_SID: subauths are 32 bit not 16.
* | Fixed bug where we are a WINS server but not a domain masterJeremy Allison1997-10-271-1/+1
| | | | | | | | | | browser. We were doing a name query instead of a name status. Jeremy.
* | Fixed ntclient.c so it would compile.Jeremy Allison1997-10-271-1/+1
| | | | | | | | Jeremy.
* | preparing for release of 1.9.18alpha6Samba Release Account1997-10-2740-39/+42
| |
* | spelling mistakeSamba Release Account1997-10-271-3/+1
| |
* | updated to indicate reported success with NT 3.51 as well as NT 4.0Luke Leighton1997-10-271-2/+2
| |
* | updated header to 1.9.18alpha6Samba Release Account1997-10-271-4/+6
| |
* | added LSA Query Info Policy.Luke Leighton1997-10-275-19/+143
| | | | | | | | | | fixed a problem with byte ordering (doing an SIVAL of the setup parameters which was _also_ being done in the creation of the SMB header. oops).
* | checks against file handle in api_fd_reply(). i don't know what errorLuke Leighton1997-10-271-6/+18
| | | | | | | | | | message should be returned, so i just let it fall through to sending an "api_unsupported"
* | documented LSA Open Policy Query.Luke Leighton1997-10-271-21/+192
| |
* | added LSA Open Policy query and response processing to smbclientLuke Leighton1997-10-276-1/+286
| |
* | change the default file permissions on the SHARE_MEM_FILE* toAndrew Tridgell1997-10-277-47/+76
| | | | | | | | | | | | | | | | 0644. smbstatus now gets only read permission on the share files and does no locking. also get rid of some unnecessary umask(0) calls. smbd always runs with umask(0)
* | also disable read prediction in 1.9.18Andrew Tridgell1997-10-274-2/+20
| |
* | Fixed 2 oplock bugs:Andrew Tridgell1997-10-272-18/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) the oplock macros in smb.h used | where they should have used &. This means that smbd thought that all clients were always requesting oplocks. This would have _really_ confused smbclient and smbfs when they started receiving async oplock break requests when they don't even know what an oplock is! 2) an oplock break request from a client can be embedded in a normal lockingX request, and will be if the client has batched any lock requests internally. The smbd code assumed that all oplock break requests had num_locks==num_ulocks==0 which is not true. The only thing special about a oplock break request with num_locks==num_ulocks==0 is that no reply is sent. Otherwise it is processed as a normal locking request in addition to the oplock break processing. These two fixes get the MS mail system in Win98 working on a Samba 1.9.18 network drive. Andrew
* | added mention of compile-time experimentational NT Domain code.Luke Leighton1997-10-271-0/+2
| |
* | hooray. hooray some more. hooray a lot. got the client-side working.Luke Leighton1997-10-264-121/+238
| | | | | | | | | | | | | | | | Q/R LSA_REQ_CHAL; Q/R LSA_AUTH2; Q/R LSA_SAMLOGON; Q/R LSA_SAMLOGOFF. the last (non-essential right now) bit is the LSA_SRV_PWSET. the next stage is to do LSA_OPENPOLICY; add the pipe binds (missing right now); then we can test against an NT Server.
* | added -U option to nmblookup. This is similar to -B except that itAndrew Tridgell1997-10-261-5/+11
| | | | | | | | | | forces the client to send a unicast instead of a broadcast netbios packet. This is useful for diagnostics.
* | fix some casting errors in smbencrypt and some multiply-defined errorsAndrew Tridgell1997-10-264-12/+6
| | | | | | | | | | | | in clientutil.c (Luke, you can't just copy a global variable declaration from one file to another, you need to declare one of them extern)
* | The browse synchronisation code in nmbsync.c now uses the clientgen.cAndrew Tridgell1997-10-264-159/+160
| | | | | | | | | | | | | | | | | | | | | | | | code, which means we don't have to link with a fake getpass routine and we don't have a whole pile of global variables that really have nothing to do with nmbd and were there to keep the client code happy. The code should function identically to what it did before (hopefully it was correct) The only thing that now uses the horrible clientutil.c code is smbclient.
* | preparing for release of 1.9.18alpha5Samba Release Account1997-10-2541-40/+43
| |