Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I two shares on a network ran by samba, one works, one doesn't. One is just a read-only folder, and that's the one that works.
The one that doesn't work is the one I have write access and stuff like that in.
Here is.. most of the config file...
workgroup = BUSINESS
server string = Linux Pwnz
netbios name = Linux-Tech
guest account = nobody
load printers = no
log file = /var/log/samba.%m
max log size = 50
security = share
ssl CA certDir = /etc/ssl/certs
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
#============================ Share Definitions ==============================
comment = iso
browseable = yes
path = /home/enigx/iso/cd
guest ok = yes
public = yes
read only = yes
writable = no
comment = Shadow's Files
path = /home/shadow
valid users = shadow
public = no
writable = yes
I have a user named shadow
I did smbpasswd shadow <password>
Is something wrong with the settings?
Note: If I set the security to user, than iso doesn't work.. Dunno if that would make shadow work thuogh..
1. keep security at user level and not share level.
2. remove your shadow account from samba by using smbpasswd -d.
3. recreate the user by using smbpasswd -a [username]. Make sure you have created a linux user with the same ID first.
4. create a guest account for your ISO share and add by using smbpasswd -a (like #3).
5. restart service
6. check your connection & logs.
Check to see if you have username map = /etc/samba/smbusers or /etc/samba/private/smbusers set. by default, slack shouldn't but who knows... and if it has been uncommented, make sure to create the file and add yourself to it by inserting:
[linuxID] = [smbID]
OR commenting that line out with a semicolon.
and check to see if you have a lmhosts file in /etc/samba/private. if you do, list your machine that you'll be connecting from to the samba share. Make sure to update your /etc/hosts file to make sure it knows your machine's IP if you're not using DHCP.
and try something like this for your Home folder... this will map ALL Samba users to their respective home dirs on the linux box... put this in smb.conf in place of your [shadow] share.