- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba and share not writeable
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
Discussions
Discussions
Forums
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
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
тАО09-29-2005 02:51 AM
тАО09-29-2005 02:51 AM
I have a few shares setup on an HPUX system. I have the security level at DOMAIN. The directories that are shared are set to 775 and the owned by Bob and the group ABC. Everyone can access the shares and see the files within the shares. What I need though is all users who belong to the unix group ABC to be able to write as well, but not anybody else. When anyone comes in through Samba, they don't come in as "Bob" or group "ABC", but "other" and therefore only get rx rights.
TIA,
Sally
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2005 11:23 PM
тАО09-29-2005 11:23 PM
Re: Samba and share not writeable
I think, the users get a guest login, which is mapped to the UNIX-user 'other'.
Check for the correct authentication in smb.conf . If there are only few users, that access the shares, a smbpasswd file is sufficent.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2005 11:28 PM
тАО09-29-2005 11:28 PM
Re: Samba and share not writeable
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 04:07 AM
тАО10-04-2005 04:07 AM
Re: Samba and share not writeable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 04:18 AM
тАО10-04-2005 04:18 AM
Re: Samba and share not writeable
That said, what you could do is create 2 shares - point to the same location - one read only and the other write....then add the appropiate users to each share.
[shareW]
path = /myshare
valid users = NTDOM+user1, NTDOM+user2
force user = bob
force group = abc
[shareR]
path = /myshare
valid users = NTDOM+user5, NTDOM+user6
read only = yes
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 04:47 AM
тАО10-04-2005 04:47 AM
Re: Samba and share not writeable
write list is where its at...
write list (S)
This is a list of users that are given read-write access to a service. If the connecting user is in this list then they will be given write access, no matter what the read only option is set to.
[shareW]
path = /myshare
valid users = NTDOM+user1, NTDOM+user2, NTDOM+user5, NTDOM+user6
force user = bob
force group = abc
read only = yes
write list = NTDOM+user1, NTDOM+user2
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 05:31 AM
тАО10-04-2005 05:31 AM
Re: Samba and share not writeable
S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 07:23 AM
тАО10-04-2005 07:23 AM
Solutionvalid users = NTDOM+NTGROUP1
Course, sset NTDOM to you NT omain name and set NTGROUP1 to the actual group name...
Also, set the winbind separator in the Global section of smb.conf:
winbind separator = +
winbind enum users = No
winbind enum groups = No
Can you post your smb.conf file as well as a snippet from the logs of those trying to connect?
/var/opt/samba/log.ip or log.userntworkstation
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:27 AM
тАО10-04-2005 08:27 AM
Re: Samba and share not writeable
[global]
workgroup = ABC
netbios name = SERVERA
server string = samba
security = DOMAIN
map to guest = Bad User
password server = PWSERVER
syslog = 0
log file = /var/opt/samba/log.%m
max log size = 1000
wins server = winsserver
idmap uid = 10000-200000
idmap gid = 10000-200000
winbind separator = +
winbind enum users = No
winbind enum groups = No
short preserve case = No
dos filetime resolution = Yes
[TESTDIR]
comment = test Samba
path = /usr/local/admin/sambatest
valid users = foo.ca+GROUP-GISK
force group = GISK
read only = yes
write list = foo.ca+GROUP-GISK
LOG SNIPPET:
[2005/10/04 11:21:23, 1] smbd/service.c:make_connection_snum(648)
workstation (10.x.x.x) connect to service TESTDIR initially as user WORKGROUP\me (uid=10000, gid=10000) (pid 15187)
[2005/10/04 11:21:23, 0] smbd/service.c:set_current_service(50)
chdir (/usr/local/admin/sambatest) failed
[2005/10/04 11:21:23, 0] smbd/service.c:set_current_service(50)
chdir (/usr/local/admin/sambatest) failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 08:33 AM
тАО10-04-2005 08:33 AM
Re: Samba and share not writeable
It seems to put me in some generic group because of the idmap (I think). So even though I say only users of that particular group can write, and I am a member of that group, judging by the logs I am uid 10000 and gid 10000...rather than the proper group from winbind.