Samba config -

2020-06-30 Thread Bob Goodwin
L am struggling with the configuration of the new server. Presently my problem is that I attempted to create a link an made an error, I do not understand perfectly what I have read! [root@smb bobg]# ln -s /home/share  /media/dd2 "# rm linkfile" is clear enough but, [root@smb bobg]# ll /media/

Re: Samba config -

2020-06-30 Thread Samuel Sieb
I do understand how they are connected, but your subject line really doesn't match the question. On 6/30/20 8:31 AM, Bob Goodwin wrote: L am struggling with the configuration of the new server. Presently my problem is that I attempted to create a link an made an error, I do not understand perf

Re: Samba config -

2020-07-02 Thread Bob Goodwin
On 2020-06-30 14:13, Samuel Sieb wrote: I do understand how they are connected, but your subject line really doesn't match the question. The part before the "->" is the name of the link.  The right side is the target.  "rm" as root will by default ask you if you're sure, unless you've chang

Re: Samba config -

2020-07-02 Thread Cameron Simpson
On 02Jul2020 16:28, Bob Goodwin wrote: >My problem is getting the smb server mounted on this computer. >Creating a working lie in /etc/fstab is the present problem, I can't do >much more without that. > >Presently I have been trying:  //192.168.50.149/home/share >/media/smb    cifs    defaults

Re: Samba config -

2020-07-02 Thread Bob Goodwin
On 2020-07-02 19:01, Cameron Simpson wrote: On 02Jul2020 16:28, Bob Goodwin wrote: My problem is getting the smb server mounted on this computer. Creating a working lie in /etc/fstab is the present problem, I can't do much more without that. Presently I have been trying:  //192.168.50.149/ho

Re: Samba config -

2020-07-03 Thread Bob Goodwin
On 2020-07-02 19:01, Cameron Simpson wrote: Here is a working cifs line from a client's fstab below, with names changed. All on one line of course. //cifsserver/sharename /mnt/mountpoint cifs uid=localusername,gid=localgroupname,credentials=/home/someuser/.smbcred,iocharset=utf8,n

Re: Samba config -

2020-07-03 Thread Cameron Simpson
On 03Jul2020 17:04, Bob Goodwin wrote: > have tried to incorporate my data in your sample fstab line: > >//192.168.50.149/home/share  /media/smb cifs >uid=bobg,credentials=/home/bobg/cred,iocharset=utf8,noperm,dir_mode=0775,file_mode=0664 > >0 0 > >My credential file: >[bobg@WS1 ~]$ cat /home/bo

Re: Samba config -

2020-07-03 Thread Bob Goodwin
On 2020-07-03 18:21, Cameron Simpson wrote: Obviously I still have something wrong somewhere. I may do better deleting everything and starting over ... Does /media/smb exist? Mount points need to exist before that are used. - Cameron _ ° [root@WS1 bobg]# ls -al /media total 28 drwxr-x

Re: Samba config -

2020-07-03 Thread Ed Greshko
On 2020-07-04 05:04, Bob Goodwin wrote: > However the end result fails in the same way as others I tried which I > thought would work but refuse to mount. > > [root@WS1 bobg]# mount //192.168.50.57/home/share  /media/smb > Password for bobg@//192.168.50.57/home/share: > mount error(2): No such fil

Re: Samba config -

2020-07-04 Thread Bob Goodwin
On 2020-07-03 19:12, Ed Greshko wrote: You have an entry in the fstab.  I set up my system to demonstrate.. This is "wrong". [root@meimei etc]# mount //192.168.1.1/myUSB/ /media/smb Password forroot@//192.168.1.1/myUSB/: mount error(13): Permission denied Refer to the mount.cifs(8) manual

Re: Samba config -

2020-07-04 Thread Samuel Sieb
On 7/4/20 4:35 PM, Bob Goodwin wrote: presently I have in 'etc/fstab   //192.168.50.149/home/share /media/smb    cifs    defaults,credentials=/home/bobg/cred   0 0 Which is adapted from a working line used previously in the old smb server. and then: [root@WS1 bobg]# mount //192.168.50.149/home

Re: Samba config -

2020-07-04 Thread Ed Greshko
On 2020-07-05 07:35, Bob Goodwin wrote: > I don't understand that? What do you get when you do... mount /media/smb ??? -- The key to getting good answers is to ask good questions. ___ users mailing list -- users@lists.fedoraproject.org To unsubscrib

Re: Samba config -

2020-07-04 Thread Bob Goodwin
On 2020-07-04 19:49, Samuel Sieb wrote: f you have the mount already defined in fstab, then you only use the destination directory in the mount command: "mount /media/smb ° [root@WS1 bobg]# mount /media/smb mount error(2): No such file or directory Refer to the mount.cifs(8) manual page (e.g.

Re: Samba config -

2020-07-04 Thread Ed Greshko
On 2020-07-05 07:57, Bob Goodwin wrote: > > > On 2020-07-04 19:49, Samuel Sieb wrote: >> f you have the mount already defined in fstab, then you only use the >> destination directory in the mount command: "mount /media/smb > ° > > [root@WS1 bobg]# mount /media/smb > mount error(2): No such file or

Re: Samba config -

2020-07-04 Thread Bob Goodwin
On 2020-07-04 20:05, Ed Greshko wrote: Why don't you comment out the fstab entry and try mount -o uid=bobg,credentials=/home/bobg/cred //192.168.50.149/home/share /media/smb . [root@WS1 bobg]# mount /media/smb mount: /etc/fstab: parse error at line 22 -- ignored mount: /media/smb: can't

Re: Samba config -

2020-07-04 Thread Ed Greshko
On 2020-07-05 08:15, Bob Goodwin wrote: > > > On 2020-07-04 20:05, Ed Greshko wrote: >> Why don't you comment out the fstab entry and try >> >> mount -o uid=bobg,credentials=/home/bobg/cred //192.168.50.149/home/share >> /media/smb > . > [root@WS1 bobg]# mount /media/smb > mount: /etc/fstab: p

Re: Samba config -

2020-07-04 Thread Samuel Sieb
On 7/4/20 5:15 PM, Bob Goodwin wrote: On 2020-07-04 20:05, Ed Greshko wrote: Why don't you comment out the fstab entry and try mount -o uid=bobg,credentials=/home/bobg/cred //192.168.50.149/home/share /media/smb . [root@WS1 bobg]# mount /media/smb mount: /etc/fstab: parse error at line

Re: Samba config -

2020-07-04 Thread Samuel Sieb
On 7/4/20 4:57 PM, Bob Goodwin wrote: On 2020-07-04 19:49, Samuel Sieb wrote: f you have the mount already defined in fstab, then you only use the destination directory in the mount command: "mount /media/smb ° [root@WS1 bobg]# mount /media/smb mount error(2): No such file or directory Refer t

Re: Samba config -

2020-07-04 Thread Ed Greshko
On 2020-07-05 14:10, Samuel Sieb wrote: > On 7/4/20 5:15 PM, Bob Goodwin wrote: >> >> >> On 2020-07-04 20:05, Ed Greshko wrote: >>> Why don't you comment out the fstab entry and try >>> >>> mount -o uid=bobg,credentials=/home/bobg/cred //192.168.50.149/home/share >>> /media/smb >> . >> [root@W

Re: Samba config -

2020-07-04 Thread Samuel Sieb
On 7/4/20 11:30 PM, Ed Greshko wrote: I get the feeling he may have an entry in fstab which spanned/spans 2 lines? Yes, I asked him to comment out the line and then just try the full command from the command line to eliminate an issue with /media/smb.  In a previous message he showed the full

Re: Samba config -

2020-07-05 Thread Bob Goodwin
On 2020-07-05 02:30, Ed Greshko wrote: I get the feeling he may have an entry in fstab which spanned/spans 2 lines? Yes, I asked him to comment out the line and then just try the full command from the command line to eliminate an issue with /media/smb.  In a previous message he showed the fu

Re: Samba config -

2020-07-05 Thread Ed Greshko
On 2020-07-05 19:23, Bob Goodwin wrote: > > > On 2020-07-05 02:30, Ed Greshko wrote: >> I get the feeling he may have an entry in fstab which spanned/spans 2 lines? >> >> Yes, I asked him to comment out the line and then just try the full command >> from the command line >> to eliminate an issue w

Re: Samba config -

2020-07-05 Thread Alexander Dalloz
Am 05.07.2020 um 13:23 schrieb Bob Goodwin: Well here is a copy of /etc/fstab, now with the extra lines 'commented out' I think, the way I always do it? [bobg@WS1 ~]$ cat /etc/fstab # # /etc/fstab # Created by anaconda on Tue Apr 28 17:29:19 2020 # # Accessible filesystems, by reference, are

Re: Samba config -

2020-07-05 Thread Bob Goodwin
On 2020-07-05 07:32, Ed Greshko wrote: Kindly remove that from your fstab. And then "execute" that command from the command line to -- . [root@WS1 bobg]# mount -o uid=bobg,credentials=/home/bobg/cred //192.168.50.149/home/share mount error(2): No such file or directory Refer to the mount.ci

Re: Samba config -

2020-07-05 Thread Ed Greshko
On 2020-07-05 22:00, Bob Goodwin wrote: > > > On 2020-07-05 07:32, Ed Greshko wrote: >> Kindly remove that from your fstab. >> >> And then "execute" that command from the command line to >> --  > . > [root@WS1 bobg]# mount -o uid=bobg,credentials=/home/bobg/cred > //192.168.50.149/home/share > mou

Re: Samba config -

2020-07-05 Thread Ed Greshko
On 2020-07-05 22:00, Bob Goodwin wrote: > I also uncommented to reestore the simpple fstab line I had been using I really, really wish you'd do precisely as asked.  This would avoid any confusion. I asked that all fstab entries be commented for this cifs mount.  I had a very good reason for th

Re: Samba config -

2020-07-05 Thread Bob Goodwin
On 2020-07-05 10:04, Ed Greshko wrote: You're missing the final parameter.  You didn't say where to mount!  I wrote this out You're missing /media/smb at the very end. . [root@WS1 bobg]# mount -o uid=bobg,credentials=/home/bobg/cred //192.168.50.149/home/share /media/smb mount error(2):

Re: Samba config -

2020-07-05 Thread Ed Greshko
On 2020-07-05 22:20, Bob Goodwin wrote: > > > On 2020-07-05 10:04, Ed Greshko wrote: >> You're missing the final parameter.  You didn't say where to mount!  I wrote >> this out >> You're missing /media/smb at the very end. > . > [root@WS1 bobg]# mount -o uid=bobg,credentials=/home/bobg/cred >

Re: Samba config -

2020-07-05 Thread Bob Goodwin
On 2020-07-05 02:11, Samuel Sieb wrote: On 7/4/20 4:57 PM, Bob Goodwin wrote: On 2020-07-04 19:49, Samuel Sieb wrote: f you have the mount already defined in fstab, then you only use the destination directory in the mount command: "mount /media/smb ° [root@WS1 bobg]# mount /media/smb mount

Re: Samba config -

2020-07-05 Thread Ed Greshko
On 2020-07-05 22:30, Bob Goodwin wrote: > Once more with all the fstab lines commented out. > > [root@WS1 bobg]# mount -o uid=bobg,credentials=/home/bobg/cred > //192.168.50.149/home/share /media/smb > mount error(2): No such file or directory > Refer to the mount.cifs(8) manual page (e.g. man mou

Re: Samba config -

2020-07-05 Thread Ed Greshko
On 2020-07-05 22:36, Ed Greshko wrote: > Check the settings on 192.168.50.149 Also, what do you get when you do smbclient -L 192.168.50.149 -U bobg You will be prompted for your smb password on the remote system. Example for my working system [egreshko@meimei ~]$ smbclient -L 192.168.1

Re: Samba config -

2020-07-05 Thread Bob Goodwin
On 2020-07-05 10:48, Ed Greshko wrote: Check the settings on 192.168.50.149 Also, what do you get when you do smbclient -L 192.168.50.149 -U bobg You will be prompted for your smb password on the remote system. . [bobg@WS1 ~]$ smbclient -L 192.168.50.149 -U bobg Enter SAMBA\bobg's pass

Re: Samba config -

2020-07-05 Thread Ed Greshko
On 2020-07-06 00:46, Bob Goodwin wrote: > > > On 2020-07-05 10:48, Ed Greshko wrote: >>> Check the settings on 192.168.50.149 >> Also, what do you get when you do >> >> smbclient -L 192.168.50.149 -U bobg >> >> You will be prompted for your smb password on the remote system. > . >> [bobg@WS1 ~]

Re: Samba config -

2020-07-05 Thread Cameron Simpson
On 05Jul2020 10:20, Bob Goodwin wrote: >On 2020-07-05 10:04, Ed Greshko wrote: >>You're missing the final parameter.  You didn't say where to mount!  I wrote >>this out >>You're missing /media/smb at the very end. >. >[root@WS1 bobg]# mount -o uid=bobg,credentials=/home/bobg/cred >//192.168.