RE: [SLUG] Browsing Windows from Linux - More - Better?

From: Clay, John (John.Clay@lfr.com)
Date: Mon Aug 19 2002 - 12:57:41 EDT


Thanks Matt;

"$ smbclient -L pdc" does indeed list the domain sharenames, servers. The
command required a password, not a username though. That seems odd.

If the share info is available via smbclient, then how come nautilus won't
show them in the browser?

John

> -----Original Message-----
> From: Matt [mailto:matt@sandmcomputers.com]
> Sent: Monday, August 19, 2002 11:20 AM
> To: SLUG
> Subject: RE: [SLUG] Browsing Windows from Linux - More - Better?
>
>
> On Mon, 2002-08-19 at 10:20, Clay, John wrote:
> > I then ran: # smbpasswd -r tlh-file-print -j lfrg-tlh
> >
> > The samba box was added to the nt domain.
> >
> > I'm logged onto samba as root and a root account exists on the pdc.
> >
> > I fire up nautilus and can see computers on the network but
> still can't
> > drill down into the pdc (tlh-file-print) and see the shares.
> >
> > "# nmblookup -A tlh-file-print" returns info on the status
> of the pdc.
> >
> > Any more ideas as to how to resolve this?
> >
>
> The following command should list all shares on the pdc as well as the
> computer browse list from the entire domain.
> $ smbclient -L pdc
>
> > Also, aside from browsing to a share, how does one "map" a
> share in linux?
>
> To mount a Windows share:
> $ smbmount //<remote_nt_box>/share /path/to/linux_directory \
> -o username=<nt_username>
> Password: <nt_password>
> OR
> $ mount -t smbfs -o username=<nt_username> //<remote_nt_box>/share \
> /path/to/linux_directory
> Password: <nt_password>
>
> The linux directory must already exist. For example, I usually create
> directories on the local linux filesystem that correspond with the nt
> servers and shares.
> /domain/server_name1/share1
> /domain/server_name1/share2
> /domain/server_name2/share1
> etc.
>
> I then mount the Windows shares against the existing directories:
> $ smbmount //pdc/share1 /domain/pdc/share1 -o username=<nt_username>
>
> Then all you have to do is browse to the local directory to access the
> remote share -- similar to mapping a local drive on a native Windows
> box. Unmounting the directories can be done with the umount
> or smbumount
> commands.
>
> Matt
>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:30:05 EDT