SAMBA configuration - Machine name
Paul Howarth
paul at city-fan.org
Fri Mar 17 08:26:21 UTC 2006
On Fri, 2006-03-17 at 01:11 -0600, Mike McCarty wrote:
> Craig White wrote:
> > actually, service smb restart isn't truly necessary because samba
> > automatically re-reads it's config files on some regular basis (perhaps
> > once per minute or so) but it helps speed things along if nothing
> > else...and of course, once you have a 'connection' established, even
> > changing and restarting smb service isn't going to change things for
> > those connections.
> >
> > You might want to verify that a pointless connection doesn't already
> > exist from client to server...'smbstatus'
> >
> > Craig
> >
> >
> >
> # smbstatus
>
> Samba version 3.0.10-1.fc2
> PID Username Group Machine
> -------------------------------------------------------------------
>
> Service pid machine Connected at
> -------------------------------------------------------
> tmp 11998 amd586 Fri Mar 17 00:54:27 2006
>
> No locked files
>
> Only thing is, I can't connect to my home directory. MSCLIENT
> complains that the syntax isn't correct. Apparently it can
> only handle one level of directory...
>
> JMCCARTY at AMD586 Q:\NET> net use * \\presario-1\home\jmccarty ?
> Enter password:
> The syntax is incorrect.
>
> So, it doesn't like the multiple levels.
>
> However, I added a soft link /jmccarty -> /home/jmccarty which
> I shared only to my user jmccarty, and it works just fine to
> let me access my home directory.
You have a [homes] share in your smb.conf. This should result in a share
of [username], which maps to username's home directory, when user
username is connecting.
So try:
net -U jmccarty use * \\presario-1\jmccarty
(or whatever the MS-DOS client uses to specify a username when
connecting)
Paul.
More information about the fedora-list
mailing list