[Samba] Samba share to access windows folders in linux.

Steve Simeonidis SSimeonidis at computerpower.edu.au
Wed Nov 17 07:11:27 GMT 2004


As far as I know you can not mount a folder/dir that
is not shared.

In this case create a new share for abcd_Linux_dev and mount it
as

smbmount '//a.b.c.d/abcd_Linux_dev' '/root/pqrs/LinuxDev' -o
username=abcd/<domain>,uid=abcd,gid=abcd

may be I'm wrong :-)

-----Original Message-----
From: Divya B Sridhar [mailto:disridha at cisco.com]
Sent: Wednesday, 17 November 2004 5:48 PM
To: Steve Simeonidis; 'Eric Lester'; samba at lists.samba.org
Subject: RE: [Samba] Samba share to access windows folders in linux.


Yes Steve. 
All folders until abcd_Linux_dev are shared. But pls note that the
subsequent folders inside this folder are not shared. But that should not
matter I guess.
Any other possible reason?

Thanks,
Divya.

-----Original Message-----
From: Steve Simeonidis [mailto:SSimeonidis at computerpower.edu.au] 
Sent: Wednesday, November 17, 2004 12:16 PM
To: Divya B Sridhar; Eric Lester; samba at lists.samba.org
Subject: RE: [Samba] Samba share to access windows folders in linux.


Are you sure abcd_Linux_dev is a share?

Thanks

-----Original Message-----
From: samba-bounces+ssimeonidis=computerpower.edu.au at lists.samba.org
[mailto:samba-bounces+ssimeonidis=computerpower.edu.au at lists.samba.org]O
n Behalf Of Divya B Sridhar
Sent: Wednesday, 17 November 2004 5:25 PM
To: 'Eric Lester'; samba at lists.samba.org
Subject: RE: [Samba] Samba share to access windows folders in linux.


Hi,

I just now got how to do it. It looks like we have to specify only until
CCViews rather than specifying CCViews/abcd/abcd_Linux_dev in the command
below. However, I am not sure how we can access until abcd_Linux_dev.

smbmount '//a.b.c.d/CCViews/abcd/abcd_Linux_dev' '/root/pqrs/LinuxDev' -o
username=abcd/<domain>,uid=abcd,gid=abcd

The command gives the error:
21896: tree connect failed: ERRDOS - ERRnosuchshare (You specified an
invalid share name) if a complete path is given. Anyone knows how to do it?
Because, I do not want to see all the folders under CCViews, rather I want
to see only those under abcd_Linux_dev.

Thanks,
Divya.


-----Original Message-----
From: Eric Lester [mailto:eflester at gmail.com] 
Sent: Wednesday, November 17, 2004 11:48 AM
To: Divya B Sridhar
Subject: Re: [Samba] Samba share to access windows folders in linux.


Maybe this is stupid, but I'll take a shot at it -- have you tried without
the /<domain>?

EL


On Wed, 17 Nov 2004 11:03:45 +0530, Divya B Sridhar <disridha at cisco.com>
wrote:
> Hi,
> I am trying to access folders on a windows system on a linux system
> using the command,
> 
> smbmount '//a.b.c.d/CCViews/abcd/abcd_Linux_dev' '/root/pqrs/LinuxDev'
> -o username=abcd/<domain>,uid=abcd,gid=abcd
> 
> This prompts for a password and I give the correct domain password
> here. It gives me the error:
> 21896: tree connect failed: ERRDOS - ERRnosuchshare (You specified an 
> invalid share name)
> 
> However, if I try to access some other folder other than the folders
> under CCViews(highlighted above) on the same machine, I am able to 
> make the samba share. (Note that CCViews is a folder having clearcase 
> views of different people)
> 
> Any help is greatly appreciated.
> 
> Thanks,
> Divya.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


-- 
 Proof by Scope: The proof of this theorem is beyond the
scope of this book.
-- Jonathan Young, PhD.

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



More information about the samba mailing list