LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2010, 11:04 AM   #1
kernelzack
LQ Newbie
 
Registered: Jun 2009
Distribution: Centos
Posts: 25

Rep: Reputation: 15
Samba Windows Users


Hello,

I have a question regarding setting up samba on a windows network. I am not a domain admin so I can not use winbind, I also can not join the Linux box to the AD domain. I want to have a group of users in a windows group to have write access to a samba share. I know that I can sync the usernames and passwords on the linux box to the same that exist in AD and all will be well. The problem is, I only have all the usernames that belong to the group in question. Is there a way to customize samba to allow a user to login to the system with a valid username and record the password somehow for later use? i.e. the first time a user logs into the share it prompts for username and password, If the username exists it will save the password for that user. Or is there a way to get this to work without using winbind? I need to somehow get this group of users over to the linux box.


Thanks.
 
Old 03-05-2010, 05:02 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,145
Blog Entries: 6

Rep: Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832Reputation: 1832
workgroup= same as windows workgroup

server string= whatever you call it

# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = share

share will make the shares available to all I think. No authentication necessary. I did that on a home BSD server. The windows box's just see it as Samba Server in their net neighborhood and open it like any windoze shares.

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
;hosts allow = 172.16.1. 172.16.1. 127.

So read up on how to setup your smb.conf

Edit: You'll have to give them permission to your shares of course.
 
Old 03-07-2010, 06:58 PM   #3
kernelzack
LQ Newbie
 
Registered: Jun 2009
Distribution: Centos
Posts: 25

Original Poster
Rep: Reputation: 15
Thank you for the reply. SOrry i should have been more clear, I need a group of users to have write access to this share and another group read access. I believe security = user is the only way to achieve this. In security = share you can not implement the "write list" option. I think i may have found a solution but it requires the user to register their ldap usernames.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows users can not delete files from Samba rushenas Linux - Software 1 01-05-2008 04:13 AM
copying windows users to samba kool_kid Red Hat 2 09-25-2007 01:58 PM
Problems accessing Windows with SAMBA (group users) Micro420 Linux - Networking 3 06-15-2006 10:37 PM
samba file share with windows users Peds222 Linux - Software 6 08-22-2003 12:07 PM
samba, and users, and windows, OHH MY! tengofamilia Linux - Networking 1 01-27-2003 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration