summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-10-23playing about, trying to SMBopenX a \PIPE\NETLOGON (should be a SMBopen)Luke Leighton6-47/+146
and then send a LSA_REQ_CHAL down it. (This used to be commit 473f21071fad603865358821b83df6b58c9a06a5)
1997-10-22client.c :Luke Leighton2-11/+26
send to \PIPE\ not \PIPE\NETLOGON. ipc.c : fstring name not being bzero'd caused problems when calling named_pipe(). (This used to be commit 2393c49b0509b8ce021f0acfba135219cd753cf9)
1997-10-22Makefile client.c :Luke Leighton9-144/+315
adding start of undocumented options to do NT domain logons, client-side. starting with LSA_REQCHAL. the code here happily crashes smbd: i'll investigate this further... :-) smbparse.c pipeutil.c lsaparse.c : moved some of the common make_xxxx() functions out of pipeutil.c so that the make_xxxx and (smb/lsa)_io_xxxx functions now sit together. makes sense, really... added a make_q_req_chal() function. restructured make_rpc_reply() and called it make_rpc_hdr(). created functions create_rpc_reply() and create_rpc_response(). pipenetlog.c pipentlsa.c pipesrvsvc.c calling new create_rpc_reply() function instead of old make_rpc_reply(). proto.h : usual. smb.h: added enum for RPC_PACKET_TYPE (This used to be commit b88ee3e16c6b671069f53ca2e9c5694ec8b1c030)
1997-10-22Makefile client.c clientutil.c clitar.c nmbsync.c :Luke Leighton7-1379/+422
redid the split that i did a year ago, taking the functions in client.c out into clientutil.c. guess what? we could now do encrypted password NetServerEnum2 calls in nmbd, if we wanted to. i can now use cli_call_api() to send to different pipes. i hope. pipenetlog.c: allow adding to users group _and_ to admin group. if adding to guest group, don't allow adding to users or admin as well. smb.h : added some pipe #defines (\PIPE\NETLOGON \PIPE\srvsvc ...) proto.h : usual. (This used to be commit 6ee065ce6e099acfc7e83ad399ef6e60b4c625c1)
1997-10-22loadparm.c :Luke Leighton9-110/+210
added "domain other sids" parameter pipenetlog.c : using "domain other sids" parameter in SAM Logon response. using new name_to_rid() function for r_uid and r_gid. pipentlsa.c : minor mods to do with new name_to_rid() function. pipesrvsvc.c : in the "net share enum" response, allocate some more space for the buffer. there can be only 32 share entries in the response anyway. this needs to be dealt with. pipeutil.c : modified name_to_rid() function to use new parameters "domain admin users" and "domain guest users", but will otherwise do unix uid + 1000. moved make_dom_gids() here. proto.h: the usual. smb.h smbparse.c : renamed sid_no to sid_rev_num in DOM_SID, and gid to r_gid in DOM_GID. util.c : moved make_dom_gids() from here. created char *unistrn2(uint16* uni_buffer, int max_len) (This used to be commit ec60e48d7982240b7755d246b2f1e8989467f66f)
1997-10-22shared memory code cleanups (partly preparing for a possible sysVAndrew Tridgell4-56/+68
shared memory implementation) (This used to be commit 8d1993c71a5d5d32636f62ba9b9a9009ec74d730)
1997-10-22Implemented asynchronous DNS lookups in nmbd.Andrew Tridgell8-107/+340
I realised this afternoon just how easy it is to add this, so I thought I'd implement it while the idea was fresh. nmbd forks at startup and uses a pipe to talk to its child. The child does the DNS lookups and the file descriptor of the child is added to the main select loop. While I was doing this I discovered a bug in nmbd that explains why the dns proxy option has been so expensive. The DNS cache entries in the WINS list were never being checked, which means we always did a DNS lookup even if we have done it before and it is in cache. I'm sure this used to work (I tested the DNS cache when I added it) so someone broke it :-( Anyway, the async DNS gets rid of the problem completely. I'll commit just the fix to the DNS cache bug to the 1.9.17 tree. You can disable async DNS by adding -DSYNC_DNS to the compile flags. (This used to be commit 178e27de0791c1ff3268cb456ed5c5efc9ac2a01)
1997-10-22updated tel no and email address for my entry.Luke Leighton1-2/+2
(This used to be commit da4b2bf466cfca31009e02f9b33227c0c4a048b2)
1997-10-22don't send any statistics in the node status replyAndrew Tridgell1-6/+2
(This used to be commit a5f52340a49bb2c4f2cdfa7b3c8b45cc5b0e9ec6)
1997-10-21preparing for release of 1.9.18alpha3Samba Release Account39-39/+39
(This used to be commit e4f6ec8c0e2c1ea055cdc811b19feccbc808fd0b)
1997-10-21WHATSNEW.txt: Updated for alpha3.Jeremy Allison3-4/+12
server.c: int16 -> uint16 fix for port comparisons in oplock code. Needed for Solaris. version.h: Updated to alpha3. Jeremy (jallison@whistle.com) (This used to be commit 2d9645e99ba30a5cce4372ff80d1bd26c516ac34)
1997-10-21The ubi_* modules are under LGPL, not standard GPL. This README explainsChristopher R. Hertel1-0/+15
that. (This used to be commit bc2834c2cc7bda0c1e780d160a73c8b71bfe467f)
1997-10-21preparing for release of 1.9.18alpha2Samba Release Account39-12/+93
(This used to be commit 27dbb81dd3ca44b45238d63f2ff3e8da429f9845)
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)