[Herefordshire] Samba

Malcolm Herbert mherbert at redhat.com
Tue Mar 29 22:31:59 BST 2005


not an samba expert (just read the O'Reilly book a few times), to mount
a Windows share to Linux


1. start by checking that you can browse the shares on the remote, my
home network gives the following response from browsing an XP
Professional box (not mine :-)

boot #> smbclient -L //192.168.100.20
Password:
                                                                                
        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       Remote IPC
        print$         Disk      Printer Drivers
        SharedDocs     Disk
        Printer2       Printer   hp deskjet 5100 series
        Printer        Printer   Microsoft Office Document Image Writer
session request to 192.168.100.20 failed (Called name not present)
session request to 192 failed (Called name not present)
                                                                                
        Server               Comment
        ---------            -------
 
        Workgroup            Master
        ---------            -------

2. Therefore, should be able to mount SharedDocs

    mount -t smbfs //192.168.100.20/SharedDocs /mnt 

3. This is simple given that there is no password protection (by default
with WinXP :-), so something like

    mount -t smbfs -o username=xxxxx,password=xxxxx
//192.168.100.20/SharedDocs /mnt

might be needed. 

4. If you have a Windows PDC (ie Netbios rather than AD), you have to
join the Linux box to the Windows Domain, using the "net join" command

let me know any specifics and I'll see if i can help

Malcolm



On Tue, 2005-03-29 at 22:05, Matt Stone wrote:
> Hi folks, just wondering, are there any bods on here that are a bit handy
> with samba?
> 
> I'm having some problems mounting a windows share to samba and can't seem to
> find anything helpful on google :(
> 
> Any takers?
> 
> Cheers
> Matt
> 
> 
> _______________________________________________
> Herefordshire mailing list
> Herefordshire at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/herefordshire
-- 
-----------------------------------------------------------
Dr Malcolm Herbert
Manager, Client Development             GPS, Red Hat Europe
m: +44 7720 079845   w: people.redhat.com/mherbert
GPG ID:  C051F446
GPG FPR: 68AD CBDD 8EEB 63ED 0802  4B8E A5B3 EB72 C051 F446
-----------------------------------------------------------




More information about the Herefordshire mailing list