summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* renamed getfilepwent() and endfilepwent() to getfileent() and endfileent()Luke Leighton1999-07-136-18/+17
| | | | | | | 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)
* dfs parsed string length was being set explicitly to value "6", overwritingLuke Leighton1999-07-131-22/+21
| | | | | the correct length. (This used to be commit 5d1fad53c2bdfef63930e0b9d5cc460c9740066e)
* Jean-Francois Micouleau's rewrite of Nigel William's DFS supportLuke Leighton1999-07-122-0/+268
| | | | (This used to be commit e6116c40d4d0473a7412e82791afd9f44e4905a4)
* lengths of NT passwords when "encrypt passwords = no" can be completelyLuke Leighton1999-07-121-1/+1
| | | | | | | random. values seen can be as high as 18255. this fails the check of <= 24 which sets NT password length to 0, effectively ignoring it. the <= 24 was removed in reply_sesssetup_X. (This used to be commit 98d43b20dc4df72ddbfaeb34581222adc53d15dd)
* Jean-Francois Micouleau's rewritten DFS patch, originally written byLuke Leighton1999-07-1210-75/+381
| | | | | | 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)
* anon passwd connection: passlen=1; ntpasslen=0.Luke Leighton1999-07-111-3/+4
| | | | (This used to be commit 12ee037d44a603ce50982d5b90e08c30339de750)
* NULL pwdb_xxx_map_names() parameter can be passed here (which is a bugLuke Leighton1999-07-112-10/+12
| | | | | anyway!) (This used to be commit 91d5bda9ad22c922a918f0942dcbff04202b9991)
* Partial GNU readline support for rpcclient. Only command line historyTim Potter1999-07-091-0/+119
| | | | | and command completion implemented. (This used to be commit 795fa6a5185d9e245541a44a971a3fb588168c1e)
* When making anonymous connections, must pass pointers to real ntTim Potter1999-07-091-5/+5
| | | | | password and password length variables not constants. (This used to be commit 236022071f2f6df0c583fd88d9802d9b3ea6f73e)
* Put back in GNU readline support for smbclient accidentally trashed byTim Potter1999-07-096-448/+765
| | | | | tridge in the clientgen.c to clientutil.c conversion. (This used to be commit 26d66071fbac2c46445153c214bb13d587a67b49)
* Hived off string routines into a separate file.Tim Potter1999-07-092-19/+48
| | | | (This used to be commit 4929513f1376d72409c1e5a39f723d1d2bd81dc0)
* fixed problem with NULL ntpasswd parameters causing crash inLuke Leighton1999-07-081-9/+43
| | | | | | static cli_calc_session_pwds(). this code used to be inside cli_session_setup() itself and worked on non-NULL local variables. (This used to be commit 7aff19ba57fd91572da7cbe16f118d11226590e3)
* Ignacio Coupeau <icoupeau@unav.es> suggested modification to ldap search.Luke Leighton1999-07-081-1/+1
| | | | (This used to be commit 7d6337641703884a5c6914ca6e292d67ea0c803b)
* allow safe_strcpy() to pass 0 for max length of string, resulting in noLuke Leighton1999-07-081-0/+5
| | | | | effect. (This used to be commit 47e54d049a4de3c2154b1e5edc3234b88bcc065f)
* issues with pwdb_sam_map_names() and pwdb_smb_map_names() returning NULL.Luke Leighton1999-07-082-3/+20
| | | | | found by Bertl <bs@vpnet.at> (This used to be commit 389c17a225884b39d097dc0851a794d3669fdc31)
* use of dos_mkdir() in generate_sam_sid() should be unix mkdirLuke Leighton1999-07-071-1/+1
| | | | (This used to be commit 16371d8fe130f89bedebc63fdc4bf0f6f993f309)
* added debug reporting to pwdb_sam_map_names() and pwdb_smb_map_names()Luke Leighton1999-07-073-3/+9
| | | | (This used to be commit baab30815238a803badeafa1ed8f029d7782242f)
* oops, refused lm when ntlmv2 was true not false/auto. oops!Luke Leighton1999-07-071-1/+1
| | | | (This used to be commit 6b4b24d2208b1b076dfc2f7202917ca0acaeb398)
* using jeremy's sys_getpwnam() call in the more critical area: Get_Pwnam().Luke Leighton1999-07-063-114/+23
| | | | | | | 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)
* added jeremy's sys_getpwnam() and sys_getpwuid() routines from 2_0 tree.Luke Leighton1999-07-061-0/+57
| | | | (This used to be commit df756f37230bcc47ef6a2067b6ddd8a0e2a125d1)
* use of safe_cli_errstr() and cli_establish_connection().Luke Leighton1999-07-063-130/+115
| | | | (This used to be commit b60eb8c9fc61bf207ab3600eec3ca722403c4d19)
* reporting failure to accept ntlmv2 (only) with down-level protocols (LANMAN1Luke Leighton1999-07-061-3/+13
| | | | | and below). (This used to be commit be7b978249ddb5e2e94aa160a360fecbf51f016e)
* smb_password_ok() checking incorrectly whether lm password exists.Luke Leighton1999-07-061-13/+16
| | | | | when lmcompatibilitylevel=0x2 on nt sp4+ clients, lm# is not sent. (This used to be commit e655e68474dd0234b49c23a07d9cb8bdd8f6016a)
* oops, set password lengths to a boolean value.Luke Leighton1999-07-061-2/+2
| | | | (This used to be commit e6d43ddb1bdb249f93dca65180964a61d281935b)
* patch from michael stockman <pgmtekn-micke@algonet.se> to provide a staticLuke Leighton1999-07-061-15/+25
| | | | | | | struct passwd in _Get_Pwnam(). _Get_Pwnam() is responsible for malloc/ freeing the string pointers to this struct passwd, NOT the callers of _Get_Pwnam(). (This used to be commit 41f071642dce994335e0ef180fa2d2503e216393)
* many small bugs...Jean-François Micouleau1999-07-013-31/+59
| | | | | J.F. (This used to be commit bda429eb73fa3c0a6d59cf47a8285e3fc0cdae98)
* removed old code/comments.Luke Leighton1999-06-291-66/+0
| | | | (This used to be commit bc8c46bc088298d6247830b673790032e59d7f6a)
* smbclient modified to use cli_establish_connection(). smbclient thereforeLuke Leighton1999-06-293-63/+61
| | | | | | | now uses improved authentication. smbclient now "broken" for "scripts" based on DEBUG() output. cli_establish_connection() requires modification to support old scripts. (This used to be commit b0539d43407cb2b0bab7977908de09b21b145218)
* improving authentication code (tidyup).Luke Leighton1999-06-2919-267/+721
| | | | (This used to be commit ab1a6aa42db5217f025941fb5107436556bc23b7)
* use nmb_safe_namestr.Luke Leighton1999-06-241-3/+8
| | | | (This used to be commit de9a38b0bcb5adcb6e502f2200d3e84bdcbdfc48)
* safe string version of nmb_namestr.Luke Leighton1999-06-242-4/+14
| | | | (This used to be commit 250621b3cec5fc463d348432d1d0ff5fb59e7a29)
* safe string error reporting functions (found a potential buffer overflowLuke Leighton1999-06-248-74/+128
| | | | | of a pstrcpy into an fstring). (This used to be commit ac0060443de800fec9042b69b299ff2e9128a31c)
* debugging of NBT messages added.Luke Leighton1999-06-241-0/+3
| | | | (This used to be commit ceb20adb3c924818201fa8992e19e82f45b40710)
* #ifdef'd out hashed_getpwnam.Luke Leighton1999-06-241-0/+4
| | | | (This used to be commit 1d2557cc27b146aa88f70d4b973fd2178f90718b)
* Fixed most memory leak and big-endian bug in the spoolss code.Jean-François Micouleau1999-06-225-8/+363
| | | | | | | | 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)
* make protoTim Potter1999-06-131-1/+1
| | | | (This used to be commit 44f19b5062d0dc7beef8fa9a1c10c9ab6be5cae1)
* Return a (void *)0 instead of NULL in readdir64() wrapper.Tim Potter1999-06-131-2/+1
| | | | (This used to be commit d78224a7d27097fa00d9e2a7b02efd7383d833ff)
* Return a #error if no functions could be found to wrap around.Tim Potter1999-06-131-0/+43
| | | | (This used to be commit 36f9ce7993adc5a26e808842233108f28b8fdebf)
* Modified to cope with functions that return a const something.Tim Potter1999-06-131-1/+1
| | | | (This used to be commit 56738ec5263edba23d8337dde27e7da45ec06490)
* Moved code that changes the pw_passwd entry (i.e shadow password andTim Potter1999-06-1312-142/+100
| | | | | | | | | weird unixware stuff) into _Get_Pwnam() to fix a memory allocation bug. Note that the Get_Pwnam() function now returns a const struct passwd * as a hint to other developers not to change entries in the struct passwd. (This used to be commit 36d7cb4ccc42268e8e6a7b783c945d1853624958)
* Hived off debugging code from smb.h and put into debug.hTim Potter1999-06-132-91/+123
| | | | (This used to be commit afe5be3cf62b90100861e2433ea885f5d6f8708c)
* Use ${1+"$@"} instead of $*Alexandre Oliva1999-06-101-1/+1
| | | | | Reported by SATOH Fumiyasu <fumiya@cij.co.jp> (This used to be commit 6cd8d68965734ac24effde927c689f7d5202cde1)
* Fixing core dump bug with unix password sync, caused by a NULLMatthew Chapman1999-06-021-5/+7
| | | | | | | connection_struct in a call to OpenDir. JF, you fixed a similar bug in printing/nt_printing.c, I think your fix is incorrect as global configuration files should not go through a VFS. (This used to be commit 0e0c310a3ea102c61e74b604bcc793a82554a828)
* Some more BDC-related fixes, mainly to the NET_SAM_SYNC RPC with respectMatthew Chapman1999-06-026-78/+186
| | | | | | 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)
* Avoid a symbol conflict with /usr/include/sys/vfs.h under AIX.Tim Potter1999-05-111-0/+6
| | | | | Thanks to Steve Noyd Jones <noyd@u.washington.edu> (This used to be commit 117d369aed6576b5932d3f973a64ca8b6ed921dc)
* variation of random SMBtrans2. random delays in between reconnectionsLuke Leighton1999-05-071-10/+12
| | | | | | increased. size of large random buffer decreased. number of reconnection attempts increased. (This used to be commit 980a7b11f3dabce561a0ed02041695451bfeb391)
* the times in sam_user_info_23 may not be in the right orderLuke Leighton1999-05-071-0/+1
| | | | (This used to be commit 34e623d607b45bce09ab2f98f3735cfbf5538dbf)
* had to move day display names into lib/util, to get rpctorture to compile.Luke Leighton1999-05-073-5/+9
| | | | (This used to be commit 8c80742e4e5604bc667314e51c47924efd65df49)
* Fix compiler warning.Tim Potter1999-05-061-3/+104
| | | | | | | Added checks to panic if VFS functions are passed NULL pointers. This may expose some bugs that have been lurking about. Checks can be easily removed later. (This used to be commit c33c6330e3a2025f2fda0234635dfdd3acd04890)
* clean-up of cache-getpw-hash code needed (make proto showed up loadsLuke Leighton1999-05-062-13/+15
| | | | | of functions that should be static). (This used to be commit 06fce76e535f151ff819210faf39dd77b9fcae08)