Re: smbmount

From: Java Jive (java_at_evij.com)
Date: 08/10/05


Date: Wed, 10 Aug 2005 21:08:44 +0100

Not quite encountered this exact problem before but I'm guessing that you
need either:

1) Add a user with the same logon credentials as you use under Linux to
the Windows PC or its controlling domain

... or ...

2) Use Samba user translation (this certainly works for connections
incoming to Samba, but I'm less sure about outgoing) - so that, for
example, root gets mapped to Administrator. Eg: sample smbusers file:

    # This file allows you to map usernames from the clients to the server.
    # Unix_name = SMB_name1 SMB_name2 ...
    #
    # Cf. section 'username map' in the manual page of smb.conf for more
    # information.

    !root = Administrator

HTHs

"BP" <berndp@gmail.com> wrote in message
news:1123609542.111154.230820@g44g2000cwa.googlegroups.com...
> Hello,
> I try to connect my linux box to a windows share. On linux I am logged
> in as root, the windows XP machine is on a domain, however I have
> shared out a directory and I have a test user establish. I run:
>
> smbmount //172.16.20.108/Share /mnt/windows -o
> sername=test,password=Ali99cia26
> 1674: session request to 172.16.20.108 failed (Called name not present)
> 1674: session request to 172 failed (Called name not present)
>
> On windows I see the session being established.
>
> On linux I see:
> [root@localhost mnt]# mount
> ...
> //172.16.20.108/Share on /mnt/windows type smbfs (0)
>
> BUT when I try to access /mnt/windows I get PERMISSION DENIED!
>
> WHY????
>
> Does anybody know why this is?
>
> Thx,
> -Bernd
>



Relevant Pages

  • Re: New To Linux
    ... A file can be user root and group root, but when yo uhave a look you will ... The concept behind Linux IS confusing for someone accustomed to windows, ... execute, delete). ... In windows you are always an Administrator unless you use explicitely the ...
    (alt.os.linux.suse)
  • Re: What is seen in Local Network ? (newbie)
    ... That's because Linux doesn't communicate with SMB ... Windows. ... YaST is pretty comprehensive. ... If you run YaST as a normal user, it should ask you for root password ...
    (alt.os.linux.suse)
  • Re: virusscanner
    ... Are there good virusscanners for Linux, ... box than you are on a Windows machine. ... email in which the virus was transmitted. ... Log in as root to download the "virus" ...
    (alt.os.linux.suse)
  • Re: Future of IT in Lebanon
    ... working knowledge of Indian programmers DNA, nor of their intuitive Java ... > So Longhorn is not an experiment and Linux is an experiment? ... another chapter in the Windows story, and the Microsoft marketing machine is ... > application opens, Check the about, it says Microsoft Visual Basic 6.3. ...
    (soc.culture.lebanon)
  • Re: New To Linux
    ... > A file can be user root and group root, but when yo uhave a look you will ... > The concept behind Linux IS confusing for someone accustomed to windows, ... > User Read write execute ... > In windows you are always an Administrator unless you use explicitely the ...
    (alt.os.linux.suse)