[Herefordshire] Samba

Andrew Hodgson andrew at hodgsonfamily.org
Tue Mar 29 22:52:43 BST 2005


Hi,

I have mounted shares on my W2k3 box, but wanted to join the box to the
domain to possibly avoid continuious password prompts.  Any suggestions?


Thanks.
Andrew.

-----Original Message-----
From: herefordshire-bounces at mailman.lug.org.uk
[mailto:herefordshire-bounces at mailman.lug.org.uk] On Behalf Of Malcolm
Herbert
Sent: 29 March 2005 22:32
To: Matt Stone; Herefordshire Linux Users Group.
Subject: Re: [Herefordshire] Samba

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
-----------------------------------------------------------


_______________________________________________
Herefordshire mailing list
Herefordshire at mailman.lug.org.uk
http://mailman.lug.org.uk/mailman/listinfo/herefordshire



More information about the Herefordshire mailing list