summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
1999-07-22Moved a whole bunch of macros out of smb.h and into their own #includeTim Potter2-122/+156
file. (This used to be commit bf61fdace8cdf71dc3ab40795498a8bfd0d3b9a0)
1999-07-21BDC support.Luke Leighton2-5/+37
(This used to be commit 2331aa32ab36c3ee5fd8cfbe972e57299939e33d)
1999-07-18Make sure that the stamp file is newer than configure.inAlexandre Oliva1-1/+1
Not a problem unless --enable-maintainer-mode is specified, and, even then the probability of encountering a problem is minor, but so what? :-) (This used to be commit b0a59e90c543d9112c2049e3116493fb6e5bc76c)
1999-07-15more dfs stuff. this looks like it's going to be more appropriate to useLuke Leighton1-3/+8
the vfs tables. at the moment, i replaced all calls to unix_convert() with unix_dfs_convert(). this does the job, but it's not very nice. (This used to be commit 00d4aebce9f268a737ef9df9bdbe59f8fe831979)
1999-07-14code from bertl to allow remap of default built-in names to anything.Luke Leighton2-7/+6
parameter is "builtin rid file". Copyright 1999 Bertl <bp@vpnet.at> (This used to be commit 80d36778432d42eb265ed9428f27a27250ba5e08)
1999-07-13renamed getfilepwent() and endfilepwent() to getfileent() and endfileent()Luke Leighton1-2/+2
as they are generic "file line-by-line" reading routines. lines with "#" at the front are ignored (as comments). this code started out as the password file reading code. (This used to be commit ef6df590fdf65a6d94b343998bac3a4d48ae07e0)
1999-07-12Jean-Francois Micouleau's rewrite of Nigel William's DFS supportLuke Leighton1-0/+53
(This used to be commit e6116c40d4d0473a7412e82791afd9f44e4905a4)
1999-07-12Jean-Francois Micouleau's rewritten DFS patch, originally written byLuke Leighton2-6/+23
Nigel Williams. despite the data format being *exactly* the same as NT's, this still doesn't work yet. more work needed. (This used to be commit 270981960bb5aab52d2f8e494827101ece6729c4)
1999-07-09Put back in GNU readline support for smbclient accidentally trashed byTim Potter2-0/+12
tridge in the clientgen.c to clientutil.c conversion. (This used to be commit 26d66071fbac2c46445153c214bb13d587a67b49)
1999-07-09Hived off string routines into a separate file.Tim Potter2-19/+48
(This used to be commit 4929513f1376d72409c1e5a39f723d1d2bd81dc0)
1999-07-06using jeremy's sys_getpwnam() call in the more critical area: Get_Pwnam().Luke Leighton1-0/+3
made sure that hashed_getpwnam() has the copy-passwd-struct-wrapper around it, too. TODO: replace all calls of getpwnam() with sys_getpwnam(). (This used to be commit 436a89145524d3539b3a247f98c1e71f0616dd70)
1999-07-06use of safe_cli_errstr() and cli_establish_connection().Luke Leighton1-1/+1
(This used to be commit b60eb8c9fc61bf207ab3600eec3ca722403c4d19)
1999-06-29improving authentication code (tidyup).Luke Leighton3-26/+63
(This used to be commit ab1a6aa42db5217f025941fb5107436556bc23b7)
1999-06-24safe string version of nmb_namestr.Luke Leighton1-0/+1
(This used to be commit 250621b3cec5fc463d348432d1d0ff5fb59e7a29)
1999-06-24safe string error reporting functions (found a potential buffer overflowLuke Leighton1-0/+6
of a pstrcpy into an fstring). (This used to be commit ac0060443de800fec9042b69b299ff2e9128a31c)
1999-06-22Fixed most memory leak and big-endian bug in the spoolss code.Jean-François Micouleau2-4/+52
Also added addform/setform rpc api calls. Now I can add/change forms from the server property dialog box. Jean Francois (This used to be commit 8d73f83b6c112327a51c0df2e96a1866deb13c3a)
1999-06-13make protoTim Potter1-1/+1
(This used to be commit 44f19b5062d0dc7beef8fa9a1c10c9ab6be5cae1)
1999-06-13Hived off debugging code from smb.h and put into debug.hTim Potter2-91/+123
(This used to be commit afe5be3cf62b90100861e2433ea885f5d6f8708c)
1999-06-02Some more BDC-related fixes, mainly to the NET_SAM_SYNC RPC with respectMatthew Chapman2-21/+32
to alignment, missing fields, etc. - it should now work correctly. There is still the problem of decoding the private data field. (This used to be commit c3c25e762fbc30d5663323f23449c913f2ce4b0e)
1999-05-11Avoid a symbol conflict with /usr/include/sys/vfs.h under AIX.Tim Potter1-0/+6
Thanks to Steve Noyd Jones <noyd@u.washington.edu> (This used to be commit 117d369aed6576b5932d3f973a64ca8b6ed921dc)
1999-05-07the times in sam_user_info_23 may not be in the right orderLuke Leighton1-0/+1
(This used to be commit 34e623d607b45bce09ab2f98f3735cfbf5538dbf)
1999-05-06clean-up of cache-getpw-hash code needed (make proto showed up loadsLuke Leighton1-1/+2
of functions that should be static). (This used to be commit 06fce76e535f151ff819210faf39dd77b9fcae08)
1999-05-06added 2 more (unknown) NTLMSSP negotiation bitsLuke Leighton1-0/+2
(This used to be commit 0ddc301b690abfa5fafbf2eb9a65fefc1ef58afb)
1999-05-03Changed the RPC api definition now first arg is a pipe_structJean-François Micouleau4-5/+36
found some memory leak in the spoolss code. Jean Francois (This used to be commit 958591abd1645aaa459540a232231d380d879219)
1999-05-03Added a new command to rpcclient: eventlog <log> where <log> is System,Jean-François Micouleau1-0/+133
Security or Application. That's a crude equivalent to the eventviewer. Jean Francois (This used to be commit 66b4b896fbcabb964a427d0c0aa2f57997e0f6bb)
1999-05-01Adding "time" rpcclient command which displays the remote time.Matthew Chapman1-0/+4
Also added special "now" time to the "at" command, e.g.: at now /i cmd ; pops up a command prompt (This used to be commit f456dcf08ec96c631f5e6f2e857115d4bbf94d1b)
1999-05-01added server ntlmv2 false/auto/true parameter, defaults to off.Luke Leighton1-0/+1
(This used to be commit 209944dabc764c6ea0c471e7868306c7d8d020d4)
1999-04-30md5 and hmac_md5Luke Leighton4-0/+82
(This used to be commit 5777c1fb12edca8e57e9d5911428f70db2cf9a62)
1999-04-27rpc_parse/parse_misc.c : defined a new BUFFER5 structJean-François Micouleau5-0/+144
include/ntdomain.h : added rpc_spoolss.h include statement include/proto.h include/rpc_dce.h : added definition of RPC_ALTER_CONTEXT request & reply param/loadparm.c : 2 new options for NT printing support and some changes to initial values in the LPRNG case. rpc_parse/parse_prs.c : added prs_uint16s() rpc_parse/parse_rpc.c : added SYNT_SPOOLSS_V1 and code for the alter-context support. rpc_server/srv_pipe.c : alter-context support smbd/nttrans.c smbd/server.c include/rpc_misc.h Makefile.in include/smb.h Jean Francois (This used to be commit 4c515804b70254248e378a3f90f47e4c32639d29)
1999-04-27Adding RPC spoolss code support and some new low-level printing functions.Jean-François Micouleau2-0/+1515
Jean Francois (This used to be commit 9e8192cc674db7551569d23982877dd25c488b50)
1999-04-23Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman1-0/+155
command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration. (This used to be commit 568c40cc65e46590ba1e9850662934f1a28bd83d)
1999-04-23Adding scheduler control pipe (\atsvc), client-side routines, and rpcclientMatthew Chapman4-0/+43
command "at" (compatible with NT's "at" command - see rpcclient commit) - useful for remote NT administration. (This used to be commit cf30a472f702d7b50c3a85e2cf2f55b46a2bd452)
1999-04-20Make proto for VFS init changes and VFS fsync() stuff.Tim Potter1-7/+8
(This used to be commit fc53314032ddfb6c2baf128399f43b42316417eb)
1999-04-20Broke out vfs structures to separate header file.Tim Potter1-44/+11
Some cpp hackery to avoid redefining types used by vfs header file. Added a vfs_connection_struct to connection_struct so it can be freed when a VFS share is disconnected. (This used to be commit c72de36748aedb6b478fe32d18e77f85e34abfb0)
1999-04-20Broke out of smb.hTim Potter1-0/+131
Changed arguments to fsync() function to break dependency on connection_struct. (This used to be commit 373ffe77599275b5cb17fed90ca0737785133b54)
1999-04-11Trying to improve DC location & browsing performance for the average userMatthew Chapman1-0/+1
who doesn't know what an LMB or DMB is. * check_master_browser_exists now performs the check the first time around, so if there is indeed no master browser then Samba takes up the job much faster. * Upped default OS level to 32. There is no reason why some stupid little Windows box should become LMB instead of a Samba *server*. * "domain master" now defaults to "auto". Currently this attempts to become DMB iff Samba is the PDC (ala Windows NT). "preferred master" also defaults to "auto", which enables preferred master iff Samba is DMB. * lp_server_role now just returns the predetermined role, rather than working it out each time, since the server role is becoming very heavily used (esp for the BDC code). (This used to be commit 4a23a358b5ad8873acb7db11f27b87d2a016bec1)
1999-04-08Mainly BDC-related changes.Matthew Chapman3-8/+292
* Added SEC_CHAN_BDC * Fix for endianness problem reported by Edan Idzerda <edan@mtu.edu>. A BUFFER2 is really a "unibuf" in my terminology and we should treat it as such. * Added some more common NT structures (BIGINT, BUFHDR2, BUFFER4). * Added NET_SAM_SYNC (-> NetDatabaseSync2) RPC for account replication. Still experimental and incomplete, with a few too many NULL security descriptors lying around (must go look at Jeremy's SD code). Haven't worked out password encryption yet either. However, the XXX_INFO structures I've added to rpc_netlogon.h are quite nice as they give some insight into how these objects are stored in the SAM. (This used to be commit 74d6dec25d6b44e26d3895f789f1958d5f4639ee)
1999-04-08Always do a compile before CVS commit! )-:Tim Potter1-0/+1
(This used to be commit 0f37e900fa0744573754796916abf967fee05ea2)
1999-04-08Forgot about closedir() function for VFS. Hoo embarassing.Tim Potter1-0/+1
(This used to be commit c1cbe07c0391c36066b068fdd42bf1aa40259a5c)
1999-04-04Updated for VFS merge.Tim Potter1-6/+47
(This used to be commit f40a1339620f50a6127362b8156cc738dc9da5f5)
1999-04-04Added struct vfs_ops describing virtual filesystem operations.Tim Potter1-30/+77
Created constants for pstring and fstring lengths. (This used to be commit 6998bdbfa886de7feda96a6913024deb723ff13b)
1999-04-01new files needed by profiling codeAndrew Tridgell1-0/+32
(This used to be commit cae71af4536ff8bd15080f22f9a559f72ff44c68)
1999-04-01Ken McDonell from SGI was interested in adding some profilingAndrew Tridgell3-11/+24
capabilities to Samba so that Samba could talk to the SGI PCP (Performance Co-Pilot) apps. This change adds a profiling shared memory area and uses it to count two fairly trivial things, the number of uid switches and the number of SMB packets processes. To add more just edit include/profile.h and then increment it at the right place. I've also added a -P switch to smbstatus to dump the profile area. (This used to be commit ef3d61a80ad0b87c196a63ef2bd4fe8fc3863bd0)
1999-03-29added SamrQueryDomainInfo call info level 0x3 for kix32.exe supportLuke Leighton2-1/+10
(This used to be commit ac070dfd39bfa9b60680855585155ce528ab7691)
1999-03-25"User Manager" - create user + change password now work.Luke Leighton1-0/+1
next problem: user group adding not supported so an "access denied" message is reported instead of "ok" when a new user is created. (This used to be commit f5f61bd477b4910cb90675c926381342c30a5b16)
1999-03-25fixed issues with "Welcome to SAMBA Domain" for when admin user/pass isLuke Leighton1-1/+2
used to add workstation to domain. unix account db not modified: only SAM password db is used. (This used to be commit 129a9a4d4b74897ed753a697a3aed9b194c25568)
1999-03-25added SAMR_USER_INFO_24 info level to samr_set_userinfo. this is usedLuke Leighton2-0/+10
by "Welcome to SAMBA Domain". (This used to be commit 4aed18b5e1e2309c0f6931fbfdd604b01cb9498a)
1999-03-25SAM database "set user info".Luke Leighton4-47/+151
---------------------------- - removed DOM_RID4 - removed SAMR_UNKNOWN_32 - added SAMR_SET_USERINFO (opcode 0x32) - added level 0x1 to SAMR_QUERY_DOM_INFO (needed for create user) - fixed pwdb_gethexpwd() it was failing on XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - added mod_sam21pwd_entry() - preparing to call mod_sam21pwd_entry() - added "user session key" to user_struct.dc. this is md4(nt#) and is needed to decode user's clear-text passwords in SAMR_SET_USERINFO. - split code out in chgpasswd.c to decode 516 byte password buffers. (This used to be commit 2e58ed742435befe419aa366c4052019fede8c23)
1999-03-24removed 2 unnecessary args from make_uni_hdr.Luke Leighton1-2/+37
(This used to be commit f84dede27e16a5f02ee6d02fe2d16f2661c65470)
1999-03-24Fixed LSA Lookup Names. There were a few too many NULL pointers in aMatthew Chapman1-2/+4
negative response, which tended to crash lsass.exe. (This used to be commit 6d03f61d2536630968007958345cf44a42b03584)