[Samba] Can't compiling over CIFS Shares

Bruno MACADRE bruno.macadre at univ-rouen.fr
Mon Oct 5 10:44:00 MDT 2009


Jonathon Doran a écrit :
> Quoting Bruno MACADRE <bruno.macadre at univ-rouen.fr>:
> 
>> Volker Lendecke a écrit :
>>> On Mon, Oct 05, 2009 at 04:30:41PM +0200, Bruno MACADRE wrote:
>>>> Hi,
>>>>
>>>>     My problems with Samba continue... I'm very disappointed, i've
>>>> never
>>>> had as problems with Samba before (on my old server with Gentoo/Samba
>>>> 3.0.23...).
>>>>
>>>>     So the new problem is : When a student want to compile a C
>>>> program into
>>>> his home (mounted in CIFS), the produced executable can't be executed
>>>> "./tst: cannot execute binary file". Tried on ubuntu-9.04 with
>>>> mount.cifs 3.2.3 and mount.cifs 3.4.2.
>>>
>>> Isn't this more a problem with linux cifs rather than Samba
>>> on the server? The mount.cifs version has only minor
>>> relevance on the behaviour of the in-kernel module.
>>>
>>> Volker
>> Maybe,
>>
>> Actually my kernel is 2.6.28-15-generic (basic ubuntu-desktop kernel).
>> I'll try another kernel and tell you what's happened
> 
> Another kernel seems overkill, and slow.  This sounds like a problem
> with mounting options to me.  What was the command-line or the fstab
> entry for this filesystem?  Perhaps we can see something wrong there.

Like described in my previous message, my mounting options are very simple :

In my pam_mount.conf.xml the mount is like that :
<volume user="*" fstype="cifs" server="SERVER_IP" path="%(USER)"
mountpoint="~"
options="exec,nodev,nosuid,domain=MY-DOMAIN,charset=utf8,acl" />

But even if i do a simple mount like this :
mount -t cifs -ousername=user //SERVER_IP/user REP


and when i compile into REP files produced are corrupted...


-- 

Bruno MACADRE
-------------------------------------------------------------------
 Ingénieur Systèmes et Réseau     | Systems and Network Engineer
 Département Informatique         | Department of computer science
 Responsable Réseau et Téléphonie | Telecom and Network Manager
 Université de Rouen              | University of Rouen
-------------------------------------------------------------------
Coordonnées / Contact :
	Université de Rouen
	Faculté des Sciences et Techniques - Madrillet
	Avenue de l'Université - BP12
	76801 St Etienne du Rouvray CEDEX

	Tél : +33 (0)2-32-95-51-86
	Fax : +33 (0)2-32-95-51-87
-------------------------------------------------------------------



More information about the samba mailing list