[Samba] File permission problems after update from Samba 4 alpha 17 to Samba 4.0.5

2013-10-14 Thread X-Dimension
We had used Samba alpha 17 (included in Resara Server 1.2) for a long 
time and
has now migrate it to Samba 4.0.5 (Ubuntu + Zentyal 3.0 PPA) with NTVFS 
enabled .


Most things seems to work: DNS with Bind9_DLZ, domain join, user login 
and also GPO are still working fine :)

But we have trouble with file permissions now!
All domain users can't rename or delete their own files which they had 
created with Samba 4 alpha 17 before.

It looks like they only had 'read only' access to their files.
For example when the user peter@mydomain wants to rename/delete a file 
he had created before, then he
gets an error message like only peter@mydomain can rename this file or 
file is locked by peter@mydomain.


Our global section of /etc/samba/smb.conf looks like this:
--
[global]
interfaces = eth0
workgroup = MYDOMAIN
realm = mydomain.lan
netbios name = PDC
server string = PDC
server role = active directory domain controller
passdb backend = samba4
server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, 
winbind, ntp_signd, kcc, dnsupdate, smb
dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, 
netlogon, lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, 
eventlog6, backupkey, dnsserver, winreg, srvsvc

--
Because Samba 4 alpha 17 was using NTVFS, i thought it is the best idea 
to stay on NTVFS even on Samba 4.0.5.

But it looks, like i was wrong.

Thanks for any ideas that helps us to fix our permission problem.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] File permission problems

2005-09-09 Thread fluibgwef
Hi knowledgeable samba users,  
I had to upgrade from samba 2.2.0 on a suse linux server (7.2). Server died 
after two 2+ years of loyal services  - otherwise I would not have changed...
Now I have a samba 3.0.9-2.6 on suse 9.1. I can access the files only r-x, i.e. 
all files appear as read only. 
Trying to trouble shoot I have: 
- chmod-ed all the files of all the shares to 777
- in swat put the masks to 777 in the global section
- in swat put the masks to 777 in all the shares
It is a home office environment where I access the SMB server from XP and W2K 
stations. 
Is there anywhere else I should look at? 
thanks in advance, 
Dominique 

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File permission problems

2005-09-09 Thread Mogens Kjaer

[EMAIL PROTECTED] wrote:
Hi knowledgeable samba users,  
I had to upgrade from samba 2.2.0 on a suse linux server (7.2). Server died after two 2+ years of loyal services  - otherwise I would not have changed...
Now I have a samba 3.0.9-2.6 on suse 9.1. I can access the files only r-x, i.e. all files appear as read only. 


Have you moved the files and users from the old server?
Are the owner of the home directories the one you would expect, i.e.
does the user xyz own the directory /home/xyz:

ls -ld /home/xyz

(replace xyz with some real owners).

What does the command testparm write?

Mogens

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] file permission problems

2005-09-09 Thread fluibgwef
Hi knowledgeable samba users,  
I had to upgrade from samba 2.2.0 on a suse linux server (7.2). Server died 
after two 2+ years of loyal services  - otherwise I would not have changed...
Now I have a samba 3.0.9-2.6 on suse 9.1. I can access the files only r-x, i.e. 
all files appear as read only.
Trying to trouble shoot I have:
- chmod-ed all the files of all the shares to 777
- in swat put the masks to 777 in the global section
- in swat put the masks to 777 in all the shares
It is a home office environment where I access the SMB server from XP and W2K 
stations.
Is there anywhere else I should look at?
thanks in advance,
Dominique 

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] File permission problems

2005-09-09 Thread Mogens Kjaer

[EMAIL PROTECTED] wrote:

... chaotic quote removed ...

testparm lists section [data1], [data2], and [data3], but
they are not listed under services definitions?

How many users do you actually have? Do you have
any files under /home/user1, /home/user2, etc. for
these users?

If the owner of these files are not set correctly,
you should find the uid and gid in the /etc/passwd
file for these users and do a:

chown -R uid1.gid1 /home/user1

I guess that swat has changed the global settings
for create and directory mask, but you still have
to change the settings for the [homes] section.

Mogens

--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba