Hello, I am trying to use Samba to let me mount windows network drives on an Ubuntu Dapper Server installation that I am using as a desktop. Using: testparm my smb.conf seems to be ok. Using smbclient -L GM.local -U username -p Gives me a full listing of all network drives, which again seems to be good. So now I try this: sudo mount -t smbfs -o username=username \//GM.local/DC4 /mnt/win_share/ Password: 25031: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed Then i tried the same command again: sudo mount -t smbfs -o username=username \//GM.local/DC4 /mnt/win_share/ cli_negprot: SMB signing is mandatory and we have disabled it. 25115: protocol negotiation failed SMB connection failed I seem to get different error messages for no apparent reason. If anyone can suggest a way for me to mount these network drives, please help. BTW - I can connect to the network folders using CIFS on my Mac, so I know that I have the correct settings (although I cant find the printers from my Mac) Thanks in advance Nick
Using an Ubuntu Server install as a desktop? Interesting . . . Anyway, are you certain the server is resolving the computer names to IP addresses? Regardless, here is the command you need. I just tested it on my Ubuntu 6.06 server and it works: mount -t smbfs -o lfs,username=your.domain.username,password=your.password //computer.or.server.name/share.name /local.path.you.are.mounting.to/subdirectory.if.you.want/ You can leave out the password if you want and enter it manually. Give this a shot and see what happens. Oh, make sure a firewall isn't blocking your connection on either end as well. Hope that helps. Aaron Kincer Nick Black wrote:> Hello, > > I am trying to use Samba to let me mount windows network drives on an > Ubuntu Dapper Server installation that I am using as a desktop. > > Using: > > testparm > > my smb.conf seems to be ok. > > Using > > smbclient -L GM.local -U username -p > > Gives me a full listing of all network drives, which again seems to be > good. So now I try this: > > > sudo mount -t smbfs -o username=username \//GM.local/DC4 /mnt/win_share/ > > Password: > 25031: tree connect failed: ERRDOS - ERRnosuchshare (You specified an > invalid share name) > SMB connection failed > > Then i tried the same command again: > > sudo mount -t smbfs -o username=username \//GM.local/DC4 /mnt/win_share/ > cli_negprot: SMB signing is mandatory and we have disabled it. > 25115: protocol negotiation failed > SMB connection failed > > I seem to get different error messages for no apparent reason. If > anyone can suggest a way for me to mount these network drives, please > help. > > BTW - I can connect to the network folders using CIFS on my Mac, so I > know that I have the correct settings (although I cant find the > printers from my Mac) > > > Thanks in advance > > Nick
(had to resend this with the right email address for the list) Forgot to tell you to use sudo of you aren't using the root account. So append sudo in front of that as you have in your other command. One more thing--the "lfs" option enables files greater than 2GB. smbclient chokes on them if you don't (at least in my experience). Nick Black wrote:> Hello, > > I am trying to use Samba to let me mount windows network drives on an > Ubuntu Dapper Server installation that I am using as a desktop. > > Using: > > testparm > > my smb.conf seems to be ok. > > Using > > smbclient -L GM.local -U username -p > > Gives me a full listing of all network drives, which again seems to be > good. So now I try this: > > > sudo mount -t smbfs -o username=username \//GM.local/DC4 /mnt/win_share/ > > Password: > 25031: tree connect failed: ERRDOS - ERRnosuchshare (You specified an > invalid share name) > SMB connection failed > > Then i tried the same command again: > > sudo mount -t smbfs -o username=username \//GM.local/DC4 /mnt/win_share/ > cli_negprot: SMB signing is mandatory and we have disabled it. > 25115: protocol negotiation failed > SMB connection failed > > I seem to get different error messages for no apparent reason. If > anyone can suggest a way for me to mount these network drives, please > help. > > BTW - I can connect to the network folders using CIFS on my Mac, so I > know that I have the correct settings (although I cant find the > printers from my Mac) > > > Thanks in advance > > Nick
Nick Black wrote:> sudo mount -t smbfs -o username=username \//GM.local/DC4 /mnt/win_share/...........................................^Is this '\' a typo? If it's in the command line you are actually emitting, it won't work. Cheersm Gary B-)