Results 1 to 10 of 33

Thread: problems connecting ubuntu smb client to windows 7 server

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Beans
    33

    Angry problems connecting ubuntu smb client to windows 7 server

    Hi all, I am trying to connect my ubuntu 10.10 client to my windows 7 file/print server. I can browse to my windows network via places->network. I can see my windows servers. When I double click on them, I am prompted with username, domain, and password. After I enter these, I am continually prompted for my password. I know that I have my username/domain/password correct (I use them from other windows machines to connect.)

    I have also tried to connect to a server with the following:
    server: 192.168.1.5
    share: Media (I know this exists with the appropriate capitalization)
    folder: <blank>
    user name: jordan
    domain name: THOMPCO
    (prompts for a password later, and I enter my password on the server)

    Here is what I get from nmblookup:
    Code:
    jordan@surfer:~$ nmblookup -A 192.168.1.5
    Looking up status of 192.168.1.5
    	ANDREA          <00> -         B <ACTIVE> 
    	THOMPCO         <00> - <GROUP> B <ACTIVE> 
    	ANDREA          <20> -         B <ACTIVE> 
    	THOMPCO         <1e> - <GROUP> B <ACTIVE> 
    
    	MAC Address = 00-24-8C-63-5C-BA
    Code:
    jordan@surfer:~$ nmblookup andrea
    querying andrea on 172.16.158.255
    querying andrea on 192.168.1.255
    192.168.1.5 andrea<00>
    192.168.112.1 andrea<00>
    192.168.171.1 andrea<00>
    I made this fix on the windows 7 box (and rebooted it):
    http://ttcshelbyville.wordpress.com/...os-over-tcpip/

    I tried this also:
    jordan@surfer:~$ smbclient -L 192.168.1.5 -Ujordan% -WTHOMPCO
    Anonymous login successful
    Domain=[THOMPCO] OS=[Windows 7 Professional 7600] Server=[Windows 7 Professional 6.1]

    Sharename Type Comment
    --------- ---- -------
    Error returning browse list: NT_STATUS_ACCESS_DENIED
    session request to 192.168.1.5 failed (Called name not present)
    session request to 192 failed (Called name not present)
    session request to *SMBSERVER failed (Called name not present)
    NetBIOS over TCP disabled -- no workgroup available
    Any help would be MOST welcome
    Jordan

  2. #2
    Join Date
    Feb 2009
    Beans
    33

    Re: problems connecting ubuntu smb client to windows 7 server


  3. #3
    Join Date
    Feb 2009
    Beans
    33

    Angry Re: problems connecting ubuntu smb client to windows 7 server


  4. #4
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,818

    Re: problems connecting ubuntu smb client to windows 7 server

    Howdy,

    In my experience, the error messages returned by a Windows server tell you exactly what is wrong, if you can just figure out what exactly they mean...

    Anonymous login successful:
    Why does the Windows machine think you are logging in as Anonymous?

    NT_STATUS_ACCESS_DENIED:
    Anonymous does not have permission to access the share.

    Sooooooo....
    Are you sure that your user name is jordan and not JORDAN or Jordan or some such?


    See this:
    http://www.aeronetworks.ca/howtos/Li...Directory.html

    Note that Ubuntu ships with Likewise, which you can use instead of Samba winbind in the above howto.

  5. #5
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: problems connecting ubuntu smb client to windows 7 server

    Windows 7 is NOT a server OS, and in my own experience, is the WRONG OS to try to force into that role.

    XP machines COULD be used as file servers (I am doing that myself) because they were a lot more flexible in permissions.

    Win7, in contrast, has tightened up permissions so much that it is extremely hard to get it to function as a file server.

    If you really want a file server, you would do better either (1) going back to XP, of (2) using a REAL server OS.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  6. #6
    Join Date
    Feb 2009
    Beans
    33

    Re: problems connecting ubuntu smb client to windows 7 server

    Hi Herman,
    thanks very much for your reply.

    I am trying to connect to a windows 7 business machine that happens to be sharing some directories and printers. I am not trying to connect to a specialized server of any kind.

    I tried all of the combinations of my username I could think of, as you suggested. I still get the same results.

    I didn't think that Windows usernames and domains were case sensitive, but they may be on the unix side, for some reason.

    If it is a clue, when I remote desktop to this machine, I need to use the machine name (andrea) instead of the workgroup name (thompco) for the domain. Of course I have tried this

    Thanks for your help,
    Jordan

  7. #7
    Join Date
    Feb 2009
    Beans
    33

    Re: problems connecting ubuntu smb client to windows 7 server

    Sorry - looks like we doubled.

    Unfortunately, that is what I have. I may eventually change it to be an Ubuntu server, but I need to get my feet a lot more wet with this first

    Windows 7 is fulfilling its role nicely for the other windows clients that communicate with it for now. So it is what it is for now.

    Are you saying that it is impossible for Ubuntu to communicate with Windows 7 in this fashion?
    Last edited by jordanthompson; October 31st, 2010 at 04:41 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •