summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-07-02Fixed the nastiest locking bug to track down.... smb_pids are sent in theJeremy Allison6-23/+43
lockingX calls - use that instead of smb_pid in the packet. Jeremy. (This used to be commit a3925cb9c6303ce24e5fecad6c8f3a0ba78b9ee0)
2001-07-02Insure caught the fact that PTRDIFFs were being done between two unrelatedJeremy Allison2-5/+17
pointers. Jeremy. (This used to be commit 15c64199cb29e2fca6ee7353673dbb3f962e0e24)
2001-07-01"netbios aliases" and "interfaces" options change from P_STRING to P_LISTSimo Sorce3-24/+26
(This used to be commit db36ed1d80fcbee16d0a0b5f226e56961f3bf1ec)
2001-07-01Fix for building --with-profile for new vfscalls.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 33dc250ebb389f331cecf47101cf13c630be3a11)
2001-07-01cli_read() was reading too many bytes.Andrew Tridgell1-2/+1
(This used to be commit ba79d2a030b9ae087f0cc4248baa6cf6bee112fb)
2001-07-01- fix bug in reply_nt- fix bug in reply_nt1Simo Sorce1-4/+4
(This used to be commit 200110a3b4caeb0d8be87f02476af29165e35ada)
2001-06-30Make sure we compile with gcc by default.Richard Sharpe1-0/+1
(This used to be commit 93c45024cdbbf51322106e2a5961db8c09618833)
2001-06-30Add a static linking target to the examples Makefile so I can test out ↵Richard Sharpe1-1/+5
static linking ... (This used to be commit 9627bace72eb3be322f8895b055a31768e551136)
2001-06-30Ensure we return correct error on trying to unlock a region not locked.Jeremy Allison3-3/+12
Jeremy. (This used to be commit 015a077acc49e59179dc10256fd32166ee4623e2)
2001-06-30Fix another small problem with Makefile.in ... not doing the correctRichard Sharpe1-1/+1
check for whether or not we should build a shared library. (This used to be commit 09837044a2aa47a61d635316afa38645855db512)
2001-06-30This should return the build to normallity.Andrew Bartlett1-2/+1
When you update an #ifdef'ed function, also update its matching null function or all hell breaks loose on the build farm! Andrew Bartlett (This used to be commit 58b981a56f99bce0e98c9e1752c99a69e3cb2a25)
2001-06-30Fixed the first locking error (test #8 found by locktest code fromJeremy Allison4-17/+56
Clarion locktest. Jeremy. (This used to be commit 5c42845b5bb6fafd0ebf93fbdd23d9bf861da865)
2001-06-30Modified Makefile.in to work properly. Define BLDSHARED as a variable in the ↵Richard Sharpe2-732/+742
makefile now. (This used to be commit 332f646fdc25ae4fe3797ad6c85d4637f0dba0e3)
2001-06-29These changes cause the libsmbclient stuff to always build a non-shared ↵Richard Sharpe2-9/+15
library and to build a shared library only for the four OSes that we currently like. I will probably add HP/UX and AIX support based on the CUPS stuff soon ... (This used to be commit 9585529455ae4a3e9b4dafc5f16286fabb052809)
2001-06-29Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.Jeremy Allison4-0/+160
Jeremy. (This used to be commit 7079300da6dbd950e55dc5871851250d5a3717ff)
2001-06-29Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison9-697/+750
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
2001-06-29From JF....Jeremy Allison3-54/+126
hi jeremy, can you commit the following patch against HEAD. I can't do it right now Thanks Tim for me. He changed the SAM_DISPINFO_1 array without checking if he didn't break the server code. And he did. So on my way I cleaned info_1, 2, .. 5 it may break winbind. I leave to tim the pleasure to fix it ;-) jf. I added some talloc changes and checks for alloc fails. Jeremy. (This used to be commit 001e9b7b540f04c80ba65c879aaa41acddc86f3e)
2001-06-29Experimental support for joining a domain without creating an account inTim Potter1-23/+344
server manager first. Just use the -U parameter to smbpasswd when joining the domain: smbpasswd -r PDC -j DOMAIN -U administrator%password Should also work with domain users with the 'add workstation to domain' user right. (This used to be commit 937b96feaa276f8dd626f2d640f03dc4c55f48c6)
2001-06-29Removed another silly static array.Tim Potter2-7/+18
(This used to be commit 008628fb8ac9f92d984218f37fffdfa3cb9e3d62)
2001-06-29Win9x weirdness. When setting the named pipe handle state on a UnicodeTim Potter1-2/+10
server, Win9x only sends \PIPE instead of \PIPE\. Looks suspiciously like an off-by one bug in the Win9x dce/rpc pipe code. (This used to be commit b4a9079833c261705e18fdcaab752cb5292a078f)
2001-06-29Replaced memcpy() with memmove() to make safe_strcpy() safe for overlappingTim Potter1-1/+1
source and destination. (This used to be commit 30411d4004ce7062e73506d228ef402b99226eee)
2001-06-29Use a logical cli_read(), removed the cli_read_one() hack.Jeremy Allison2-126/+63
Jeremy. (This used to be commit 2999eab5abe86bf08e693800c01ad544f04e4d6c)
2001-06-28param/loadparm.c: Fix for bad volume label, found by TAKAHASHI MotonobuJeremy Allison1-12/+6
Samba Users Group Japan. Ensure same as in 2.2.x codebase. Jeremy. (This used to be commit 5a5d33b9464fe6289e55dbfd229d2859914b9293)
2001-06-28Added info to some of the debug messages to get a better handle on a problemChristopher R. Hertel1-24/+56
people are reporting regarding multiple responses to queries on <1D> names. There should only ever be one LMB but some users are seeing multiple replies to queries for the LMB name. This is probably due to nodes on the LAN that have NetBIOS over NetBEUI and/or IPX enabled. Previously, the debug message did not include the IP address associated with the name. It *did* include the source address of the packet, but in the examples I've seen all of these were the same, eg: [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (2) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (3) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (4) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 [2000/06/22 11:58:25, 0] nmbd/nmbd_namequery.c:query_name_response(93) query_name_response: Multiple (5) responses received for a query on subnet 129.130.10.136 for name NT.CIS.KSU.EDU<1d>. This response was from IP 129.130.10.24 Note that all of the above are reported as having come from 129.130.10.24. This should never happen. If 129.130.10.24 is a WINS server it should send a Negative Name Query Response for a <1D> name query (wierd but true). So, are all of the above coming from different systems, all of which think are the LMB? Are they all coming from one system that is, for some strange reason, replying five times to the same query? Anyway, I needed more info so I've changed the debug messages. Chris -)----- (This used to be commit 8f2f09af0a0a80cacef933ed500884e2c0b3f2fb)
2001-06-28Properly instrument print_job_start()/print_job_end() so every fail caseJeremy Allison1-4/+20
logs a debug. We need this to track fail cases. Jeremy (This used to be commit fe5cac150d7491a7dfdaf2a54998178bbfe5a303)
2001-06-28fixed guest account for build farm boxesAndrew Tridgell2-2/+6
(This used to be commit 0d112d7960353b33e9c5015c39a107a47e6f690d)
2001-06-28temporarily made smbclient a non-error target so that builds will succeed ↵Andrew Tridgell1-10/+6
when it fails. This will give richard a chance to fix problems without breaking the tree (This used to be commit 83d0dc4b53231b05588b7341540c0e4ba1f430b1)
2001-06-27Syncup between 2.2 and HEAD.Jeremy Allison1-17/+16
Jeremy. (This used to be commit 39d4131a4571c9c7a96bdc2f6cd6be80a6c330af)
2001-06-27Jigger around with the tests a bit moreAndrew Bartlett14-51/+120
We now test security=share, security=user, security=server for both the positive and negitive case (good/bad pw) and check that guest shares work for share level security. The server level security stuff seems to test positive without actualy contating a server (another LIBSMB_PROG based smbd) - I will need to look into that... Andrew Bartlett (This used to be commit 19fdc553d6ab06e53c21425468f86da56f4d9153)
2001-06-27on sco2 socketpair_tcp needs a bindAndrew Tridgell1-0/+9
(This used to be commit d8e5409ebb883844d9a1abc9840af1809957a444)
2001-06-27handle EISCONN in socketpair_tcpAndrew Tridgell1-1/+2
this should get the auto-tests working on IRIX (This used to be commit 87f90d48d857828a6ed12bdc58d0d881be45dfce)
2001-06-27Add the generic funcions file for the basicsmb testsAndrew Bartlett1-0/+21
Andrew Bartlett (This used to be commit b28baf71a7d947cfe8bda546f4e70194da0781da)
2001-06-27Added some missing entries to usage().Tim Potter1-1/+7
Added -d option to set debug level. (This used to be commit 9874df0c2242ee46182744eabae14829c3b5f21e)
2001-06-27Added back the automatic build of libsmbclient.so in head.Richard Sharpe1-1/+1
This is so I can find out what platforms it fails on. I will pull it again tomorrow if there are too many problems, like > 2 platforms that it fails to build on, but will pop it back in again as I resolve platforms. (This used to be commit cc72c44e53a36f3da135f4dc10a9391f65c8b6c7)
2001-06-27Added doco for the -d parameter.Tim Potter1-0/+10
(This used to be commit d8598efb5712c35cc0b59b4e232e3869077d11eb)
2001-06-27Fix a stupid typo ...Richard Sharpe1-2/+2
(This used to be commit 8a873b5dfb52393541c36fea0a5082771a6c8d63)
2001-06-27Changed some of the tests around, made failures for parts actualy countAndrew Bartlett6-58/+65
Andrew Bartlett (This used to be commit 56a881b2b4957912055fdf053ef37ca2ea3606b8)
2001-06-26SGI compiler fixes.Herb Lewis4-15/+9
Jeremy (This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
2001-06-26Add check for working AF_LOCAL sockets, which are borkenMartin Pool5-601/+743
on RH7.0 with _LARGEFILE64_SOURCE, and probably not present on non-Unix systems like VMS. (This used to be commit 8b0a5bc436fb44f5123d037b102f2d2c4d3287e8)
2001-06-26Added the basic tests of smb functionality for HEADAndrew Bartlett3-0/+82
This works with the new build farm system Andrew Bartlett (This used to be commit 542977bc4323e041512e91d7a38422e7abc4e5ae)
2001-06-26Ensure we always have a valid pointer on unmarshalling an SD with zeroJeremy Allison1-3/+7
ace entries. Jeremy. (This used to be commit 274c0f5028d41175222dfaaf446e3ed8f5687a5f)
2001-06-26Put an 0x in front of a hex number.Tim Potter1-1/+1
(This used to be commit a48d480ce986ff1c00f2c17f30f23723ce0bb044)
2001-06-26Fixed bug introduced by changeover of security descriptor code fromTim Potter1-1/+8
malloc() to talloc(). Previously, creating an ACL containing zero ACEs would return a non-NULL pointer to zero bytes of memory. The talloc() code would return a NULL pointer making the ACL a NULL ACL instead of an empty one. The difference is a NULL ACL allows all access and an empty ACL denies all access. We solve this by calling talloc(ctx, sizeof(SEC_ACE) * num_aces + 1). Heh. (This used to be commit 89eaaafe7d266788609fab6951fd912c441b3a26)
2001-06-26Always use DOMAIN\user first that this is the more specific case.Jeremy Allison1-12/+17
Jeremy. (This used to be commit 52143c08536a5f5d888b78b4769c06f7a0a2992b)
2001-06-26fixed buildAndrew Tridgell1-0/+1
don't rush commits :) (This used to be commit 442bf5cc9e6de7888f9a8cc06050f73ef880c4d9)
2001-06-26fall back to "unsigned" for uint32 on systems that don't have oneAndrew Tridgell1-1/+3
(This used to be commit 4d0c3167099f461b46fafaa3a35b14babbadcb93)
2001-06-26Remove warning about trapdoor systems for non-root mode.Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit b33000cdc0cafd4888c3f07c56050626743abd14)
2001-06-25Ensure numeric group or user names don't get misinterpreted.Jeremy Allison1-4/+8
Jeremy. (This used to be commit e88da9dcc79801028127bcbe328af001b58e653a)
2001-06-25Added Andrew's pam password change stuff. Needs some testing but looks good !Jeremy Allison2-88/+280
Jeremy. (This used to be commit e94957d548745649ce04423dc6f16bbe3dd4f869)
2001-06-25Fixed stupid typo that would stop trusted domains working.Jeremy Allison1-4/+3
Jeremy. (This used to be commit fa721b4adfbcac4827251b02f6af7f0b5211c104)