summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This should return the build to normallity.Andrew Bartlett2001-06-301-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
* Fixed the first locking error (test #8 found by locktest code fromJeremy Allison2001-06-304-17/+56
| | | | | Clarion locktest. Jeremy.
* Modified Makefile.in to work properly. Define BLDSHARED as a variable in the ↵Richard Sharpe2001-06-302-732/+742
| | | | makefile now.
* These changes cause the libsmbclient stuff to always build a non-shared ↵Richard Sharpe2001-06-292-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 ...
* Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.Jeremy Allison2001-06-294-0/+160
| | | | Jeremy.
* Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison2001-06-299-697/+750
| | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy.
* From JF....Jeremy Allison2001-06-293-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.
* Experimental support for joining a domain without creating an account inTim Potter2001-06-291-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.
* Removed another silly static array.Tim Potter2001-06-292-7/+18
|
* Win9x weirdness. When setting the named pipe handle state on a UnicodeTim Potter2001-06-291-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.
* Replaced memcpy() with memmove() to make safe_strcpy() safe for overlappingTim Potter2001-06-291-1/+1
| | | | source and destination.
* Use a logical cli_read(), removed the cli_read_one() hack.Jeremy Allison2001-06-292-126/+63
| | | | Jeremy.
* param/loadparm.c: Fix for bad volume label, found by TAKAHASHI MotonobuJeremy Allison2001-06-281-12/+6
| | | | | Samba Users Group Japan. Ensure same as in 2.2.x codebase. Jeremy.
* Added info to some of the debug messages to get a better handle on a problemChristopher R. Hertel2001-06-281-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 -)-----
* Properly instrument print_job_start()/print_job_end() so every fail caseJeremy Allison2001-06-281-4/+20
| | | | | logs a debug. We need this to track fail cases. Jeremy
* fixed guest account for build farm boxesAndrew Tridgell2001-06-282-2/+6
|
* temporarily made smbclient a non-error target so that builds will succeed ↵Andrew Tridgell2001-06-281-10/+6
| | | | when it fails. This will give richard a chance to fix problems without breaking the tree
* Syncup between 2.2 and HEAD.Jeremy Allison2001-06-271-17/+16
| | | | Jeremy.
* Jigger around with the tests a bit moreAndrew Bartlett2001-06-2714-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
* on sco2 socketpair_tcp needs a bindAndrew Tridgell2001-06-271-0/+9
|
* handle EISCONN in socketpair_tcpAndrew Tridgell2001-06-271-1/+2
| | | | this should get the auto-tests working on IRIX
* Add the generic funcions file for the basicsmb testsAndrew Bartlett2001-06-271-0/+21
| | | | Andrew Bartlett
* Added some missing entries to usage().Tim Potter2001-06-271-1/+7
| | | | Added -d option to set debug level.
* Added back the automatic build of libsmbclient.so in head.Richard Sharpe2001-06-271-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.
* Added doco for the -d parameter.Tim Potter2001-06-271-0/+10
|
* Fix a stupid typo ...Richard Sharpe2001-06-271-2/+2
|
* Changed some of the tests around, made failures for parts actualy countAndrew Bartlett2001-06-276-58/+65
| | | | Andrew Bartlett
* SGI compiler fixes.Herb Lewis2001-06-264-15/+9
| | | | Jeremy
* Add check for working AF_LOCAL sockets, which are borkenMartin Pool2001-06-265-601/+743
| | | | | on RH7.0 with _LARGEFILE64_SOURCE, and probably not present on non-Unix systems like VMS.
* Added the basic tests of smb functionality for HEADAndrew Bartlett2001-06-263-0/+82
| | | | | | This works with the new build farm system Andrew Bartlett
* Ensure we always have a valid pointer on unmarshalling an SD with zeroJeremy Allison2001-06-261-3/+7
| | | | | ace entries. Jeremy.
* Put an 0x in front of a hex number.Tim Potter2001-06-261-1/+1
|
* Fixed bug introduced by changeover of security descriptor code fromTim Potter2001-06-261-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.
* Always use DOMAIN\user first that this is the more specific case.Jeremy Allison2001-06-261-12/+17
| | | | Jeremy.
* fixed buildAndrew Tridgell2001-06-261-0/+1
| | | | don't rush commits :)
* fall back to "unsigned" for uint32 on systems that don't have oneAndrew Tridgell2001-06-261-1/+3
|
* Remove warning about trapdoor systems for non-root mode.Andrew Bartlett2001-06-261-0/+4
| | | | Andrew Bartlett
* Ensure numeric group or user names don't get misinterpreted.Jeremy Allison2001-06-251-4/+8
| | | | Jeremy.
* Added Andrew's pam password change stuff. Needs some testing but looks good !Jeremy Allison2001-06-252-88/+280
| | | | Jeremy.
* Fixed stupid typo that would stop trusted domains working.Jeremy Allison2001-06-251-4/+3
| | | | Jeremy.
* Cosmetic fixups found while playing with the server manager. Added supportTim Potter2001-06-253-1/+122
| | | | | | | | | | for NET_SRV_SET_INFO rpc call which is made when double-clicking on a computer in the server manager and changing the description. We always return NT_STATUS_NOPROBLEMO as NT doesn't seem to decode any error messages passed back. Maybe the changed comment string could be stored in a tdb and regurgitated instead of the "server string" smb.conf parameter?
* got rid of the date headers off all text docsAndrew Tridgell2001-06-2532-98/+0
|
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-2515-621/+682
| | | | instead of a define
* make sure we have BOOL in autoconf usage of util_sec.cAndrew Tridgell2001-06-251-0/+1
|
* added a -L option to smbpasswd to force it to run locally so we can test ↵Andrew Tridgell2001-06-251-3/+17
| | | | smbpasswd as non-root
* - make the regresison test mode code build in by default. This shouldAndrew Tridgell2001-06-255-46/+59
| | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something
* fixed errorSimo Sorce2001-06-241-5/+5
| | | | using wrong pointer to test and free s/str/s/
* Log debug before and after netbios names copied so we know if they've beenJeremy Allison2001-06-231-0/+3
| | | | | changed. Jeremy.
* uhm some pointer went wrongSimo Sorce2001-06-231-4/+4
|
* handle P_LIST parametersSimo Sorce2001-06-231-0/+25
|