summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-10-21WHATSNEW.txt: Preparing for 1.9.18alpha2 release.Jeremy Allison4-100/+180
smb.conf.5: Added 'bind interfaces only' parameter. version.h: Updated to 1.9.18alpha2. Jeremy (jallison@whistle.com) (This used to be commit 7221e19d5ef4a242ce29d3148957c3e481456934)
1997-10-21chgpasswd.c:Jeremy Allison3-73/+154
includes.h: SCO changes. server.c: Added code in open_sockets to allow 'bind interfaces only' to work as documented. Jeremy (jallison@whistle.com) (This used to be commit 46ac5928d9069af1dc60e9724f38e228dd578937)
1997-10-21loadparm.c :Luke Leighton6-4/+100
added "domain admin users" parameter added "domain guest users" parameter these two complement the "domain groups" parameter. the "domain groups" parameter should be for your own groups, and well-known aliases. util.c : added ability to do "domain groups = power_users admin_users backup_ops" which are well-known RID aliases, not well-known RID groups. pipenetlog.c : combine the "domain admin users"; "domain guest users" and "domain groups" parameters to give an array of RID groups to include in the SAM Logon response. ipc.c smb.h : moved REALLOC() into smb.h added RID #defines. proto.h: usual. (This used to be commit f2554f231d1f59f30224adcc02b2b3ca4c24e0dd)
1997-10-21damn, I spelt EACCES wrong.Andrew Tridgell1-1/+1
actually it's wrong in the linux man page for utime ... (This used to be commit 267b56de10a20c25faee69cf4b6b6c02887ebe9c)
1997-10-21check for EPERM or EACCESS in file_utime()Andrew Tridgell1-1/+6
(This used to be commit afd7592ffd74fbc77f4b177b007291df95f418ef)
1997-10-21don't check lp_alternate_permissions() in the new utime workaroundAndrew Tridgell1-14/+12
code. lp_alternate_permissions() is intended only to affect the display of file permissions, not what you can actually do with the files. (This used to be commit 454802d5922bf2b2c6df1f084e183611937ee5fb)
1997-10-21fix the order of become_uid() and become_gid() in become_root(). ThisAndrew Tridgell2-9/+2
was a harmless bug but left log entries code cleanup in reply_lanman2() (This used to be commit 8e90e1ef276c4cc362e32985c2845fc4c5108273)
1997-10-21Updating an entry.PaulSamba Release Account1-4/+1
(This used to be commit 1b056ddd9a787de902639b2ed85fe3953a750562)
1997-10-21add a note on how to map usernames with spaces in themAndrew Tridgell1-0/+8
(This used to be commit 708399e23461f2cce869038ab99d5e5bb54e4a62)
1997-10-21added a note about which netbios name is use in server level securityAndrew Tridgell1-0/+5
(This used to be commit f02672439554159ee49412731978286865418588)
1997-10-21prototype updatesAndrew Tridgell1-10/+25
(This used to be commit 2b976cb7ecf50c118bd15923f6500bb8d2e058b7)
1997-10-21some cleanups in the clientutil.c code.Andrew Tridgell2-32/+46
I'm actually hoping to remove this module completely once we convert nmbd to using the new (much cleaner) clientgen.c smbclient now also reports if it connects as a guest user (This used to be commit 3af8d855facfc436cb4b64fa58aca8c056a5348e)
1997-10-21rewrote the password server code using the new clientgen.c clientAndrew Tridgell4-253/+217
interface The new code uses a source netbios name equal to the Samba servers name, not the client name. It also uses NetWkstaUserLogon to do a full network logon. This means it will honour the servers logon restrictions (such as login times etc). (This used to be commit 11de90f972f6d83974425e80014f54e15d495413)
1997-10-21This is a set of generic SMB client routines. I needed this in a hurryAndrew Tridgell1-0/+673
to fix the password server code, so I didn't use SMBlib. This code is fairly generic and uses a "struct cli_state" to hold the client state. (This used to be commit 3a0b5f06f42efdb522f1c5d3d9a4b4afabe03b40)
1997-10-21get rid of the KEEP_PASSWORD_SERVER_OPEN defineAndrew Tridgell1-4/+0
(This used to be commit ed484d4501e855f467ce2b3cfa63855acfe5e516)
1997-10-21add some debug infoAndrew Tridgell1-0/+2
(This used to be commit b22fa0d7e3d1158112e03f93a22232e719fe6003)
1997-10-20Adding make_smbcodepage.1 man page.Jeremy Allison3-1/+187
Updated smb.conf with dos filetimes. Jeremy (jallison@whistle.com) (This used to be commit c4a4a9016ea5654c5d945a935e60d4f1f3b073e5)
1997-10-20loadparm.c: Changed 'interfaces only' parameter to 'bind interfaces only'. AddedJeremy Allison9-42/+95
'dos filetimes' parameter for UTIME fix. locking_shm.c: Fixed typo (sorry Andrew :-). namepacket.c: Changed lp_interfaces_only() to lp_bind_interfaces_only(). proto.h: The usual. reply.c: Made filetime calls use new file_utime call (wrapper for sys_utime). server.c: Made filetime calls use new file_utime call (wrapper for sys_utime). system.c: Added Andrew's sanity checks to times in sys_utime(). time.c: Moved set_filetime() to server.c. Made null_mtime() global. trans2.c: Made filetime calls use new file_utime call (wrapper for sys_utime). Jeremy (jallison@whistle.com) (This used to be commit 41a1d81c112a82ad2ae1b3c4ee81051f133ce1ed)
1997-10-20added "domain groups" parameter, allowing you to specify the groups thatLuke Leighton4-3/+41
the user belongs to. it would be nice to know exactly what the domain groups _are_.... (This used to be commit c6e37d8db0cd89a84a54a0cedfeacf50fb3f7a4c)
1997-10-20added description of parameters:Luke Leighton1-2/+75
domain sid domain groups logon drive logon path (This used to be commit 6d67eddcdffd26b0fa7f97ed3fa08ec002566367)
1997-10-20added copyright to headers.Luke Leighton2-1/+4
(This used to be commit 38287a59ae1d4053d4cd2f53a141a5c826c21efd)
1997-10-20NTDOMAIN.txt:Luke Leighton2-0/+1186
describes how to set up samba as an NT PDC. it includes debugging assisting info. it is expected that this document turn into a user's document, rather than a debugger's document. cifsntdomain.txt : this is the "NT Domain Authentication (draft)" white paper, current version. if anyone think it's a bad idea to put a copy of this in here, i'm quite happy to remove it. (This used to be commit 8964b0ad56804b119d39ed3a72a6cf0fb578a22e)
1997-10-20Added DNS Proxy, Printing, [netlogon] share modes = no.John Terpstra1-1/+12
(This used to be commit 7b3340c78dd9654d6f8e04196be6cd9e826daaf6)
1997-10-20updated briefly to mention NT domain support as working, but experimental.Luke Leighton1-32/+40
(This used to be commit 9dc6fa1869b5be3c3032b6f7a1b3195292927040)
1997-10-20removed home_share from user_info structure.Luke Leighton1-4/+0
(This used to be commit c59b8cee4721eeeb79f07f48ac17492530d4cdb1)
1997-10-20util.c password.c :Luke Leighton6-78/+75
added automount_server() function which, if -DAUTOMOUNT is in use, returns the server name of the NIS auto.map entry. otherwise, it returns local_server. added use of automount_server() for a new substitution %N for NIS home server. this defaults, via automount_server(), to the same functionality as %L if -DAUTOMOUNT is not used. removed vuser->home_share. moved code that grabbed the servername into the separate function automount_server(). loadparm.c : created "logon drive" (default of "") created "logon home" (default of "\\%N\%U") changed default of "logon path" from NULL to "\\%N\%U\profile". ipc.c pipenetlog.c : use lp_logon_drive(), lp_logon_home() and lp_logon_path() in their now easier-to-use form (don't have to check if *lp_logon_path() and manually substitute a default of \\%L\%U and do a standard_sub_basic() on the result, because the default automatically does this. (This used to be commit c6c28a4c3c9010ff9d5eac4bad091189a786d5a0)
1997-10-20Fixed Upper/Lower case typos.John Terpstra1-1/+1
(This used to be commit 53a8a6ced58429886fef019a56c9059e0dcb6622)
1997-10-20a major share modes reorganisation.Andrew Tridgell8-1760/+1927
The shares modes code is now split into separate files. The shared memory implementation is in locking_shm.c. The slow implementation is in locking_slow.c It is all controlled by a struct share_ops structure that has function pointers to the implementation of all the functions needed by a share modes implementation. An initialisation function sets up this structure. This will make adding new implementations easy and clean. This also allowed me to get rid of the ugly code in smbstatus. Now status.c links to the locking code and calls methods in share_ops. I also renamed some things and generally organised things in a much cleaner fashion. Defines and structures specific to each implementation have been moved to the appropriate file and out of smb.h. (This used to be commit 65ab9adaa0d356b8041ed8a507ea52117f2a284e)
1997-10-20casting cleanupsAndrew Tridgell5-18/+18
(This used to be commit ab849a97821c9e1f199eea8ea2ec477687bed947)
1997-10-20I am removing these from the source code in preparation for anAndrew Tridgell2-130/+0
upcoming 1.9.18alpha release. We can't release with this code in there as it currently stands as it might breach ITAR export restrictions in the US. I've discussed ways around this with Jeremy and we can put the code back in with appropriate modifications once it is needed. Note that this code isn't actually used in Samba yet, so removing it has no effect. If anyone wants the code then look in ~samba-bugs/arcfour/ or grab it from the CVS attic. (This used to be commit 426cd6b2ded4725186a9262f13a327d8cf94364b)
1997-10-20move calls to smbhash() inside smbdes.c (for legal reasons)Andrew Tridgell3-12/+25
(This used to be commit 9dfab27da3634539e99eb48c85dd5a64212e7005)
1997-10-19update the timestamp on config files in our linked list when we noticeAndrew Tridgell1-4/+4
they have changed, otherwise we keep reading them again and again (This used to be commit 38c07fa932488542dbb687f8e0eca192d5f38a8e)
1997-10-19debugging the srvsvc Net Share Enum. some padding issues; some string lengthLuke Leighton3-5/+13
issues. it works! (This used to be commit 80523a3e83191c9e0b930fc71bd502a94a6f1b19)
1997-10-19creating NetShareEnum parsing / reply creation. compiles, but untested.Luke Leighton3-25/+163
(This used to be commit 0a191ee5047b2c81c7adb0554c39ec43d8690230)
1997-10-19Makefile :Luke Leighton5-44/+285
added srvparse.o and pipesrvsvc.o smb.h : mods to the Net Share Enum stuff srvparse.c : Net Share Enum parsing support. more srvsvc pipe parsing to go here... pipenetlog.c util.c: modified standard_sub_basic() so that you can set a global boolean and use a different string for the %U username substitution. proto.h: the usual. (This used to be commit 22b86b6499b2680d16cb4180a736b4e750147409)
1997-10-19added the following structures:Luke Leighton1-0/+67
SH_INFO_1 SH_INFO_1_STR SHARE_INFO_1_CTR SRV_Q_NET_SHARE_ENUM SRV_R_NET_SHARE_ENUM the share info1 container can handle a maximum of 32 shares. the share info1 string structures contain two unicode strings, with 1024 uint16 characters _each_. we're going to _have_ to dynamically allocate the unicode strings, else we'll run out of stack space. rapidly. (This used to be commit e8bedb18bf249d2f06834b0f151ea22df86e2602)
1997-10-19Added comment submitted by Frank Varnavas.John Terpstra1-1/+31
(This used to be commit 7d8c0b60f19fb503619e3bdcde7aaa144e56dcd4)
1997-10-19pipes.c pipesrvsvc.c :Luke Leighton2-80/+113
moved stub srvsvc pipe function into separate file, in preparation for further work. (This used to be commit 2f2d18cc9474e1b40765a67242659be7c63a9936)
1997-10-19add a section on encryption and change the formatting a bitAndrew Tridgell1-103/+108
(This used to be commit cdf4aa565302df07b0232c52506ab77be968f80d)
1997-10-18put the NT_STATUS_ALLOTTED_SPACE_EXCEEDED error in instead of 0x99.Luke Leighton1-1/+2
whatever that means. (This used to be commit ce54f3a7a965b0a9f888dc45d6f4633609d5ca08)
1997-10-18Fixed small typo.John Terpstra1-1/+1
(This used to be commit 2b15116a9ab48381445a6b7fb4352f71bf8860c0)
1997-10-18After talking with Andrew added "interfaces only" parameter thatJeremy Allison3-19/+13
turns off the filtering on the broadcast socket by default. Jeremy (jallison@whistle.com) (This used to be commit db9aad07481f48c0fe2108d4ab0b2bc9b632816c)
1997-10-17.cvsignore: Added make_smbcodepageJeremy Allison16-236/+454
interface.c: Added is_local_net(). locking.c: Added Fix for zero length share files from Gerald Werner <wernerg@mfldclin.edu> plus a race condition fix for the fix. nameannounce.c: Made function static. namedbresp.c: extern int ClientDGRAM removed - not used. namedbserver.c: extern int ClientDGRAM removed - not used. namedbsubnet.c: Added code to make sockets per subnet. namepacket.c: Added code to read from all sockets & filter. nameresp.c: extern int ClientDGRAM removed - not used. nameserv.c: Indentation tidyup :-). nameserv.h: Added sockets to struct subnet. nameservresp.c: Improved debug message. nmbd.c: Changed to terminte on listen_for_packets exiting. nmbsync.c: extern int ClientDGRAM & ClientNMB removed - not used. proto.h: The usual. util.c: Fixed debug message. Jeremy (jallison@whistle.com) (This used to be commit 6904c2de080b2a9702800e9e4126386ced20569d)
1997-10-17add a note about running testparm after modifying smb.confAndrew Tridgell1-0/+3
(This used to be commit 92e7092af1daf9349ca9fb00cd27c0ddc21b37d9)
1997-10-17put the new example config file in here as wellAndrew Tridgell1-128/+116
(This used to be commit b75580a6bd5a5607f6901915ae0f5357015bd274)
1997-10-17Simply moved the #include for ubi_dLinkList.h from within dir.c toChristopher R. Hertel2-2/+1
includes.h. More consistent with current practice. (This used to be commit cb51c860b352fb9d07fb3298d0317274ba6c9925)
1997-10-17make_unihdr() was setting the length to 1/2 the required value.Luke Leighton1-2/+2
(This used to be commit 4c99a083b9555b1ccf16faf0d4c1fba8f52bbb6a)
1997-10-17pipenetlog.c lsaparse.c smb.h :Luke Leighton4-71/+90
SAM logon sorting. too many buffer pointers. added in the missing switch value (value of 3). dealing with the buffer pointers to the user info structure in a slightly different way. (This used to be commit 7993e17c9a1edddae6407d3f12790c461def705a)
1997-10-17smbparse.c smb.h :Luke Leighton5-6/+21
uni_max_len and uni_str_len are the other way round, in UNIHDR. util.c : increased the show_msg() data size from 256 bytes to 512 bytes: the LSA SAM Logon response can be about 500 bytes long. pipenetlog.c : forgot to set the authoritative field to 1. (This used to be commit 71c6678cd7ffe30a5da27766cf99147e1921feae)
1997-10-17set the wrong info level (0x0C00 0000 instead of 0xC000 0000) so thatLuke Leighton1-1/+1
nt got confused and thought that the server password had been set instead of refused. this is for the SRV_PWSET response. (This used to be commit f9fbcad42ec20da56466054e1984e391d03b3204)