Re: [Samba] Mounting smbfs

2005-11-23 Thread Adam Nielsen
>missing codepage or other error

That rings a bell - there's a kernel option related to codepages:

---
Use a default NLS (SMB_NLS_DEFAULT)
...
The nls settings can be changed at mount time, if your smbmount
supports that, using the codepage and iocharset parameters.
---

I'm not sure if it'll help, but you could try looking into this
codepage option and see if that helps.

>  CIFS VFS: cifs_mount failed w/return code = -22

-22 rings a bell, are you 100% sure you've got permission to mount this
share?  What happens if you run "smbclient -L esotericVAIO" or even
"smbclient //esotericVAIO/Downloads"?

Cheers,
Adam.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mounting smbfs

2005-11-23 Thread Andreas Hasenack
Em Terça 22 Novembro 2005 19:42, Chuck Downing escreveu:
> sudo mount -t smbfs -o
> 
username=myusername,passwork=myuserpassword //esotericVAIO/Downloads 
/mnt/vaioDownloads
> 
> I get to following error message
> 
> mount: wrong fs type, bad option, bad superblock
> on //esotericVAIO/Downloads,
>missing codepage or other error
>In some cases useful info is found in syslog - try
>dmesg | tail  or so
> 
> 
> I see the following error message in dmesg 
> 
> smbfs: mount_data version 1919251317 is not supported
> 
> What does the dmesg mean?

I saw this same type of error message when the user in question had a high 
uidnumber (like a few million). I switched to CIFS and never looked back.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mounting smbfs

2005-11-22 Thread Adam Nielsen
> sudo mount -t smbfs -o

What OS is the machine?  If it's XP what happens if you use -t cifs
instead?

Cheers,
Adam.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Mounting smbfs

2005-11-22 Thread Chuck Downing
My error, I fat-fingered in the message only.  The command should be as below.


People,

When I try to mount a network share with the following command, using
kubuntu 5.10:

sudo mount -t smbfs -o
username=myusername,password=myuserpassword //esotericVAIO/Downloads 
/mnt/vaioDownloads

I get to following error message

mount: wrong fs type, bad option, bad superblock
on //esotericVAIO/Downloads,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so


I see the following error message in dmesg 

smbfs: mount_data version 1919251317 is not supported

What does the dmesg mean?

Thanks for your time.

Chuck Downing
Leadville, Colorado, USA


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Mounting smbfs

2005-11-22 Thread Chuck Downing
People,

When I try to mount a network share with the following command, using
kubuntu 5.10:

sudo mount -t smbfs -o
username=myusername,passwork=myuserpassword //esotericVAIO/Downloads 
/mnt/vaioDownloads

I get to following error message

mount: wrong fs type, bad option, bad superblock
on //esotericVAIO/Downloads,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so


I see the following error message in dmesg 

smbfs: mount_data version 1919251317 is not supported

What does the dmesg mean?

Thanks for your time.

Chuck Downing
Leadville, Colorado, USA


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mounting smbfs from a Solaris 7 box

2004-01-19 Thread Patrik Gustavsson

You can't, Solaris don't have the smbfs kernel driver.

/Patrik

On Wed, 2004-01-14 at 21:18, Knoll, Steve wrote:
> Has any Sun Solaris samba admin ever attempted to mount to a WindowsNT server?  
> Unfortunately after several attempts and some elaborate syntax I can not get this to 
> work.  I do not see that Sun supports smbfs as Linux does.  If anyone has any ideas 
> or tricks please drop me a line.
>  
> Thanks,
> 
> Steve Knoll 
> Intersil Corporation
> PAT Systems Group
> * (email) < mailto:[EMAIL PROTECTED]>
> * (voice) 1(321)729-5871
> * (fax) 1(321)729-1194 
> 
>  
-- 
"In a world without fences who needs Gates"
Patrik Gustavsson, Senior Technical Consultant
[EMAIL PROTECTED] Telephone: +46 60 671540
http://glen.swedenMobile: +46 70 3551040
SUN MICROSYSTEMS  Fax: +46 60 671550
--


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] mounting smbfs from a Solaris 7 box

2004-01-14 Thread Knoll, Steve
Has any Sun Solaris samba admin ever attempted to mount to a WindowsNT server?  
Unfortunately after several attempts and some elaborate syntax I can not get this to 
work.  I do not see that Sun supports smbfs as Linux does.  If anyone has any ideas or 
tricks please drop me a line.
 
Thanks,

Steve Knoll 
Intersil Corporation
PAT Systems Group
* (email) < mailto:[EMAIL PROTECTED]>
* (voice) 1(321)729-5871
* (fax) 1(321)729-1194 

 
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] mounting smbfs

2003-06-30 Thread Thierry Wouters
Hi all

I want to mount a smbfs file system in the /mnt/mountdir directory of my 
linux system.

My problem is that I can only mount it when I am logged as root, which 
means that only root has an r/w access to the mounted file system, 
whilst other users only have a read-only access. I've tried to change 
the permission and/or ownership of the mounted directory, but the system 
refused to do so.

When I tried to mount the filestyem under a user account, I had an error 
  message telling me that I needed smbmnt installed. I entered the 
following command as root:

smbmnt /mnt/mountdir -u myusername

...and now, there is something weird happening to this directory: It 
still exists but I can't enter it or remove it.

How can I undo the smbmnt command and what do I have to do to mount the 
smbfs file system so that users other than root can have a r/w access to 
it

Thanx in advance for your help

Thierry



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mounting smbfs...

2003-01-06 Thread Ronan Waide
On January 6, [EMAIL PROTECTED] said:
> On Mon, 2003-01-06 at 03:07, Ronan Waide wrote:
> 
> > noauto,user
> > only root can unmount these partitions after they've been mounted.
> 
>   You could try using the parameter "users", not "user" (the difference
> is only the letter 's').  This should allow a regular user to umount...

Yup, that works, but that allows *any* user to unmount. The original
poster didn't clarify the exact purpose of this mount, but I would
suspect that having someone else unmount your share isn't a good
thing.

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.

"The electronic universe shall be mine, all mine, once I've finished mowing
 the lawn of course." - Mal MacCarthy
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] mounting smbfs...

2003-01-06 Thread Ronan Waide
On January 6, [EMAIL PROTECTED] said:
> 
> Try sudo.  Put a line into sudoers that allows your users to only use the 
> command mount -t smbfs /// /home//music

For user-level mounts, try adding the 'user' flag to the fstab:

//pdc/d   /mnt/tmpsmbfs   noauto,user 0 0

This will prompt the user for their password, and use their unix
username to do the mount. Note, for reasons that are not entirely
clear to me, the user must own the mount point, and only root can
unmount these partitions after they've been mounted. I may look into
this if I get time, as user mounts don't normally behave like that
(the user who mounts can also unmount, and the user doesn't need to
own the mountpoint)

Cheers,
Waider.
-- 
[EMAIL PROTECTED] / Yes, it /is/ very personal of me.

"These drives do not respond to the disk query in 24 hours, considered here to
 be more than a reasonable response time." - BorderWare Knowledgebase
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] mounting smbfs...

2003-01-05 Thread mark
On Sunday 05 January 2003 22:18, Torger Åge Sinnes wrote:
> Hi.
>
> mount -t smbfs /// /home//music
>
> ...only thing is, I have to run the cmd as a regular user. The easiest
> thing would offcourse be to have i run at when booting, but i don't know
> how to do that. Any help to get from you guys? Another possibility would be
> to make the mount-cmd usable by regular users so that they could mount the
> shares themselves, but this also seems quite near impossible to do.
>

Try sudo.  Put a line into sudoers that allows your users to only use the 
command mount -t smbfs /// /home//music

Or put the command into /etc/rc.conf.local.  Or whatever your 
distribution/OS's equivalent of that is

Both of course assume that you do have root privlege on the machine in 
question...

mark

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] mounting smbfs...

2003-01-05 Thread M. D. Chappell
On Sun, 2003-01-05 at 22:18, Torger Åge Sinnes wrote:
> Hi.
> 
> I've been at it for a solid week nowtrying to figure out how to mount a 
> smbfs-resource at boot. See i need to do the following;
> 
> mount -t smbfs /// /home//music
> 
> So...any tips/idea?

Easy way is to mount it using the fstab (/etc/fstab)

try adding the following line 

////home//music  smbfs   
username=,password= 0,0

This would auto mount it on boot up, the username and password are
optional, uid (user it's mounted for), gid (group it's mounted for) and
all the other standard mount options are also available.  The users
option would allow users to mount/unmount/remount the share.
Don't worry about the 0,0 means, they're for the dump and fsck commands.


Mark

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] mounting smbfs...

2003-01-05 Thread M. D. Chappell
On Sun, 2003-01-05 at 22:18, Torger Åge Sinnes wrote:
> Hi.
> 
> I've been at it for a solid week nowtrying to figure out how to
mount a 
> smbfs-resource at boot. See i need to do the following;
> 
> mount -t smbfs /// /home//music
> 
> So...any tips/idea?

Easy way is to mount it using the fstab (/etc/fstab)

try adding the following line (it's meant to be just one line)

////home//music  smbfs
username=,password= 0,0

This would auto mount it on boot up, the username and password are
optional, uid (user it's mounted for), gid (group it's mounted for) and
all the other standard mount options are also available.  The users
option would allow users to mount/unmount/remount the share.
Don't worry about the 0,0 means, they're for the dump and fsck commands.


Mark

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] mounting smbfs...

2003-01-05 Thread Torger Åge Sinnes
Hi.

I've been at it for a solid week nowtrying to figure out how to mount a 
smbfs-resource at boot. See i need to do the following;

mount -t smbfs /// /home//music

...only thing is, I have to run the cmd as a regular user. The easiest thing 
would offcourse be to have i run at when booting, but i don't know how to do 
that. Any help to get from you guys? Another possibility would be to make the 
mount-cmd usable by regular users so that they could mount the shares 
themselves, but this also seems quite near impossible to do.

So...any tips/idea?

Best regards
Torger Åge Sinnes
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] mounting smbfs

2002-11-10 Thread Urban Widmark
On Thu, 7 Nov 2002, jason marshall wrote:

> I am having trouble mounting a smbfs mount in redhat 7.3.
> 
> I have read the man pages for mount,smbmount,smbmnt, but haven't had 
> much luck. I am thinking I am just getting the syntax wrong. If I wanted 
> to mount a system on my network with the ip address of 192.168.0.1, What 
> would the syntax be for this?
> 
> Any info would be of much help to me, Thank-You

mount -t smbfs -o ip=192.168.0.1 //servername/share /mnt/mntpoint

The rest depends on your setup.

/Urban

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] mounting smbfs

2002-11-07 Thread jason marshall
I am having trouble mounting a smbfs mount in redhat 7.3.

I have read the man pages for mount,smbmount,smbmnt, but haven't had 
much luck. I am thinking I am just getting the syntax wrong. If I wanted 
to mount a system on my network with the ip address of 192.168.0.1, What 
would the syntax be for this?

Any info would be of much help to me, Thank-You



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Mounting smbfs and Swedish Letters

2002-10-02 Thread Thomas Bork

Hi Johan,

> username=jopp,password=gurka,uid=jopp,codepage=cp850,isocharset=iso8859-1
   
 ^^
I think the option called iocharset...
  ^^

tom
__
Die clevere Geldreserve: der DiBa-Privatkredit. Funktioniert wie ein Dispo, 
ist aber viel gunstiger! Alle Infos: http://diba.web.de/?mc=021104

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Mounting smbfs and Swedish Letters

2002-10-02 Thread Johan Tufberg

Hi

I´m having trouble with the swedish letters å,ä & ö when mounting smbfs on
my Redhat 7.3 system ,kernel 2.4.18-3, samba version 2.2.3a-6.

When I have mount a filesystem containing swedish letters these letters
dissapears or are diplayed incorrectly.

When mounting I´m using this command:

mount -t smbfs -o
username=jopp,password=gurka,uid=jopp,codepage=cp850,isocharset=iso8859-1
//winntserver/dir //mnt/test

Is this a known problem or am I having a problem with understanding the
syntax of smbmount?

Best regards
/Johan Tufberg, webmaster USBE

_
[EMAIL PROTECTED], http://www.usbe.umu.se
Johan Tufberg, webmaster
Umeå School of Business and Economics
Umeå university, S-90187 Umeå, Sweden
+46-90-7866153 (office)
+46-90-7869720 (office fax)
_

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba