Making a shortcut/link?
I recently compiled Samba and the service itself is expecting to find smb.conf in /usr/local/samba/lib/ but kinit and the net commands are expecting smb.conf to be in /etc/samba/.
I would like that /etc/samba/smb.conf point to /usr/local/samba/lib/smb.conf. How do I do that? Thanks! |
Assuming your real file is /usr/local/samba/lib/smb.conf you can create a symbolic link (a/k/a symlink) to /etc/samba/smb.conf:
ln -s /usr/local/samba/lib/smb.conf /etc/samba/smb.conf If the real file is /etc/samba.smb.conf instead then you just reverse the order in the above. |
Thanks a lot!
This is exactly what I wanted. |
All times are GMT -5. The time now is 01:11 AM. |