All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: auto.net-like script for smbfs?
       [not found] <20020128221855.A28232@pingu.tti>
@ 2003-12-01  6:07 ` Ian Kent
  2003-12-01 21:52   ` Soyoung Park
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Kent @ 2003-12-01  6:07 UTC (permalink / raw)
  To: Christoph Bugel; +Cc: autofs

On Mon, 28 Jan 2002, Christoph Bugel wrote:

>
> Is there a script that uses smbclient -L or something to
> figure out the available shares on a given windows smb host,
> similar to the auto.net script that uses showmount to figure
> out the available mountpoints for a given NFS host?

No. Not yet.

>
> The goal is to have a /smb directory that will function just
> like my NFS /net directory..
>
> currently I have auto.misc with the line
> *  -fstype=smbfs,username=guest,password= ://&/c
> But not all shares are called "C". I guess there is no
> catch-all solution for the password thing, but maybe someone
> has written the script for finding the shares?

No. I have never been able to satisfactorily use SMB shares in a 'real'
domain environmnet. I have tried enough to not want do any more.

-- 

   ,-._|\    Ian Kent
  /      \   Perth, Western Australia
  *_.--._/   E-mail: raven@themaw.net
        v    Web: http://themaw.net/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: auto.net-like script for smbfs?
  2003-12-01  6:07 ` auto.net-like script for smbfs? Ian Kent
@ 2003-12-01 21:52   ` Soyoung Park
  2003-12-02  1:14     ` Ian Kent
  0 siblings, 1 reply; 3+ messages in thread
From: Soyoung Park @ 2003-12-01 21:52 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs, Christoph Bugel

Ian Kent wrote:

>On Mon, 28 Jan 2002, Christoph Bugel wrote:
>
>  
>
>>Is there a script that uses smbclient -L or something to
>>figure out the available shares on a given windows smb host,
>>similar to the auto.net script that uses showmount to figure
>>out the available mountpoints for a given NFS host?
>>    
>>
>
>No. Not yet.
>
>  
>
>>The goal is to have a /smb directory that will function just
>>like my NFS /net directory..
>>
>>currently I have auto.misc with the line
>>*  -fstype=smbfs,username=guest,password= ://&/c
>>But not all shares are called "C". I guess there is no
>>catch-all solution for the password thing, but maybe someone
>>has written the script for finding the shares?
>>    
>>
>
>No. I have never been able to satisfactorily use SMB shares in a 'real'
>domain environmnet. I have tried enough to not want do any more.
>
>  
>
i'm a little confused.

i've gotten smb mount to work w/ autofs, but not used any script.

what i did was:

1. create a share dir in my window machine for file share access
2. add an auto.smb file w/ line 
"-fstype=smbfs,username=username,password=password:\\path" and
3. motify auto.master to include auto.smb

and i was copying files across smb w/ the smb folder auto mounted.

the windows machine had to be password protected.

hope this helps.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Re: auto.net-like script for smbfs?
  2003-12-01 21:52   ` Soyoung Park
@ 2003-12-02  1:14     ` Ian Kent
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Kent @ 2003-12-02  1:14 UTC (permalink / raw)
  To: Soyoung Park; +Cc: autofs, Christoph Bugel

On Mon, 1 Dec 2003, Soyoung Park wrote:

> >
> i'm a little confused.
>
> i've gotten smb mount to work w/ autofs, but not used any script.
>
> what i did was:
>
> 1. create a share dir in my window machine for file share access
> 2. add an auto.smb file w/ line
> "-fstype=smbfs,username=username,password=password:\\path" and
> 3. motify auto.master to include auto.smb
>
> and i was copying files across smb w/ the smb folder auto mounted.
>
> the windows machine had to be password protected.
>

I got the impression that someone was talking about using the anonymous
share (no passwords) which is rearly avaialble in most places.

-- 

   ,-._|\    Ian Kent
  /      \   Perth, Western Australia
  *_.--._/   E-mail: raven@themaw.net
        v    Web: http://themaw.net/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-02  1:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20020128221855.A28232@pingu.tti>
2003-12-01  6:07 ` auto.net-like script for smbfs? Ian Kent
2003-12-01 21:52   ` Soyoung Park
2003-12-02  1:14     ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.