- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Samba setup + smb.conf
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 05:20 AM
07-05-2006 05:20 AM
Samba setup + smb.conf
I'm attempting to give certain users (not all) permission to write a file in a given directory. I've tried numerous smb.conf configurations to no avail. The closest I've come is being prompted for a uid and password, but I do not connect. I suspect that has something to do with the windows domain in which I'm in. Can anyone supply me with smb.conf stanza that will accomplish this? I'm not running winbind and would like Samba to handle all authentication. Any help would be greatly appreciated. thx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 06:07 AM
07-05-2006 06:07 AM
Re: Samba setup + smb.conf
Unix has something called users and groups.
Much more effective in this matter.
create group called project.
add all users permitted access to a group called project.
chmod 700 /project/
that last part is the filesytem or folder for the project.
You are done.
If you need a samba reference at all, you can give write permissions to the group the way you are trying now.
The problem may be limited to the chmod permissions on the samba share or its subfolders.
Could you post an example of what you tried in smb.conf and what the permissions are on the Samba share?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2006 07:16 AM
07-05-2006 07:16 AM
Re: Samba setup + smb.conf
If so, you can configure the samba to autheticate using the DC. Use the options
security = server
password server =
If the user/password given is correct then SAMBA will try to find a username in the /etc/passwd that match that user name for permissions checks. That means that for every windows user you must also have a user in your Unix. Then, configure the permissions for the share as you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 12:53 AM
07-06-2006 12:53 AM
Re: Samba setup + smb.conf
security = user
you have to add local users you want to use samba server to smbusers, using the smbpasswd command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 01:16 AM
07-06-2006 01:16 AM
Re: Samba setup + smb.conf
security = domain
security = ADS
You must join the samba server to the domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 01:24 AM
07-06-2006 01:24 AM
Re: Samba setup + smb.conf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2006 01:55 AM
07-06-2006 01:55 AM
Re: Samba setup + smb.conf
In light of your last response, my first response is the solution to this query.
Change user permissions to support your samba configuration.
Done.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com