Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
users and samba ... can't figure out what I am doing wrong
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dyouden72
n00b
n00b


Joined: 30 Oct 2008
Posts: 2

PostPosted: Thu Oct 30, 2008 5:34 pm    Post subject: users and samba ... can't figure out what I am doing wrong Reply with quote

I inherited a gentoo Samba server at my new job.
The people who set up the system are long gone, and no one here seems to know anything about linux.
I am attempting to add new users but am having a strange issue.
I add the new user and add them to the main user group "staff" and give them samba passwords. I create user folders for the new users, using "chmod 775" and "chown" to grant ownership of the folder to the user.
There is a shared folder called "public" that they can then access and store/share files.
But here's the thing .....
There is also a "homes" directory that previous users have private folders on (folders that only they can access) and, although I have set up folders for the new users in the "homes" directory as well, I cannot seem to get them to access "private" folders like the previous users do.
There must be something I am missing along the way....but what?
I create folders (mkdir /homes/user)
create the user (useradd -a staff -p password -d /homes/user username)
give the user a samba password (smbpasswd -a username)
give folder ownership (chmod 775 /homes/user)(chown /homes/user username)
.. so, the user can access the public folder, but not their own private one?

What is this poor newbie doing wrong?
Back to top
View user's profile Send private message
dyouden72
n00b
n00b


Joined: 30 Oct 2008
Posts: 2

PostPosted: Thu Oct 30, 2008 6:11 pm    Post subject: omg...I can't believe I was that stupid Reply with quote

Never mind ....
I was attempting to map the share on the windows machine using \\Server\homes\username instead of \\Server\username

Sheeesh....I feel stupid for even posting.... :oops:
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6639
Location: The soundosphere

PostPosted: Mon Nov 03, 2008 3:22 am    Post subject: Reply with quote

Nah... we all done the stupid schtick. It ain't no big deal. :D
_________________
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum