Samba problem - mounting fails

Share your success stories with others

Moderator: Pablo

Samba problem - mounting fails

Postby tar1827 » Mon Dec 17, 2012 1:12 am

Well, after a week of searching this forum and around the net, I'm looking for some help troubleshooting this problem.

I have Samba running on my Fedora 17 box (oudebok) which successfully shares the home directory of three users and also a public area called "/fileshare" which has most of my media files (except MythTV recordings). I have been able to access these directories from my two windoze computers as well as my MythTV backend (mythserver). Also, before it died, my old frontend (mythfront) running Mythdora was able to access "/fileshare." I liked being able to use MythMusic to play audio files that were stored on "/fileshare" and everything was working well.

Now that I have introduced MiniMyth, I cannot access "/fileshare" from the new MM frontend (mythviewer). I have tried putting the command in the MM config file, but that actually prevents the system from booting properly. When I try manually, I get various errors. I'd like to try to add one of my regular users to the MM box, but I can't see how to do it (useradd is an unknown command). Likewise, I cannot run "smbclient" or "testparm" on the MM box because they are not recognized commands. So the short version is: what do I need to do to make this work? Samba is definitely working on all other computers on the network. I've run out of things to try based upon my searches here and around the internet.

Code: Select all
[meister@oudebok tftpboot]$ ssh tdmyth@mythserver
tdmyth@mythserver's password:
Last login: Sun Sep 23 16:56:02 2012 from 172.16.1.100
[tdmyth@mythserver ~]$ su -
Password:
[root@mythserver ~]# mount -t cifs -o guest //172.16.1.209/fileshare /mnt/fileshare
[root@mythserver ~]# ls /mnt/fileshare
Computer  EmergencyBackup  lost+found  Media  upload  XtraBackups
[root@mythserver ~]# exit
logout
[tdmyth@mythserver ~]$ exit
logout
Connection to mythserver closed.
[meister@oudebok tftpboot]$ telnet MythViewer
Trying 172.16.1.202...
Connected to MythViewer.
Escape character is '^]'.
MythViewer login: root
BusyBox v1.20.2 (2012-07-22 03:24:55 PDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
root@MythViewer:~ # mkdir /mnt/fileshare
root@MythViewer:~ # mount -t cifs -o guest //172.16.1.209/fileshare /mnt/fileshare
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
root@MythViewer:~ # smbclient
-ash: smbclient: not found
root@MythViewer:~ # testparm
-ash: testparm: not found
root@MythViewer:~ # exit
Connection closed by foreign host.


And from the /var/log/messages on the MM frontend (mythviewer):
Code: Select all
Dec 16 18:38:15 (none) auth.info login[2260]: root login on 'pts/0'                                                           
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: could not allocate des crypto API                                           
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication                                         
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2                                               
Dec 16 18:39:22 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2                                       
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: could not allocate des crypto API                                           
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication                                       
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2                                               
Dec 16 18:39:42 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2                                       
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: could not allocate des crypto API     
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2       
Dec 16 18:40:13 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2 
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: could not allocate des crypto API                                   
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication                   
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2                         
Dec 16 18:40:22 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2       
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: could not allocate des crypto API                                           
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication                                         
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2                                               
Dec 16 18:40:45 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2                 
Dec 16 18:54:11 (none) auth.info login[2333]: root login on 'pts/0'                     
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: could not allocate des crypto API               
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: Error -2 during NTLM authentication         
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: Send error in SessSetup = -2                           
Dec 16 18:54:58 (none) user.err kernel: CIFS VFS: cifs_mount failed w/return code = -2         
Dec 16 23:55:40 (none) daemon.info udhcpc[509]: Sending renew...                                         
Dec 16 23:55:40 (none) daemon.info udhcpc[509]: Lease of 172.16.1.202 obtained, lease time 3600


Please let me know what else I need to try to make this work or to troubleshoot further.
Thank you!
-Tom-
tar1827
New Member
 
Posts: 6
Joined: Sat Dec 01, 2012 8:37 pm

Re: Samba problem - mounting fails

Postby Pablo » Mon Dec 17, 2012 1:38 am

Based on what I have found on this is caused by the lack of the ecb kernel driver being included. I have add the ecb driver and it will be in the next build.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
Pablo
Site Admin
 
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla

Re: Samba problem - mounting fails

Postby tar1827 » Mon Dec 17, 2012 5:19 am

Thank you, Paul. I should have posted my question before I spent 5 hours trying to figure it out today and several hours earlier in the week! Oh well, that's what I get for being a perpetual newbie. :D
tar1827
New Member
 
Posts: 6
Joined: Sat Dec 01, 2012 8:37 pm

Re: Samba problem - mounting fails

Postby Pablo » Fri Dec 21, 2012 1:01 am

All of us are perpetual newbies. When we forget that is when we stop exploring and learning.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.
Pablo
Site Admin
 
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla


Return to HowTos

Who is online

Users browsing this forum: No registered users and 1 guest

cron