The owner of a folder (userid gdunn01) is unable to make any changes to it (rename / delete) through Samba despite being listed as having read/write perms. I'm using winbind for username mapping. I feel like I'm missing something simple. ma21cab5# wbinfo -t checking the trust secret via RPC calls succeeded ma21cab5# ls -ld asdfas/ drwxr-xr-x 2 gdunn01 Domain Users 512 Jun 22 08:50 asdfas/ ma21cab5# pw usershow gdunn01 gdunn01:*:155737:10513::0:0::/home/HARRIS/gdunn01:/bin/csh ma21cab5# smbstatus Samba version 3.0.22 PID Username Group Machine ------------------------------------------------------------------- 37921 gdunn01 Domain Users dev-gdunn (137.237.160.74) Service pid machine Connected at ------------------------------------------------------- IPC$ 37921 dev-gdunn Thu Jun 22 09:42:35 2006 data 37921 dev-gdunn Thu Jun 22 08:50:31 2006 Locked files: Pid DenyMode Access R/W Oplock SharePath Name ---------------------------------------------------------------------------------------- 37921 DENY_NONE 0x100001 RDONLY NONE /mnt/data foo Thu Jun 22 08:50:33 2006 ma21cab5# smbcacls //ma21cab5/data foo/asdfas -U gdunn01 Password: REVISION:1 OWNER:HARRIS\gdunn01 GROUP:HARRIS\Domain Users ACL:HARRIS\gdunn01:ALLOWED/0/FULL ACL:HARRIS\Domain Users:ALLOWED/0/READ ACL:\Everyone:ALLOWED/0/READ ACL:\CREATOR OWNER:ALLOWED/11/FULL ACL:\CREATOR GROUP:ALLOWED/11/ ACL:\Everyone:ALLOWED/11/ # Global parameters [global] workgroup = HARRIS server string = Samba server security = DOMAIN allow trusted domains = No show add printer wizard = No wins server = 137.237.90.45 log file = /var/log/samba/log.%m max log size = 50 dns proxy = No ldap ssl = no idmap backend = rid:HARRIS=10000-900000 idmap uid = 10000-900000 idmap gid = 10000-900000 template shell = /bin/csh winbind use default domain = yes winbind enum users = No winbind enum groups = No [data] comment = 210GB RAID5 path = /mnt/data read only = No ma21cab5# smbd -V Version 3.0.22 ma21cab5# uname -a FreeBSD ma21cab5.inscriber.local 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Mon Mar 28 19:24:46 EST 2005 root@ma21cab5.inscriber.local:/usr/obj/usr/src/sys/GENERIC i386
> PID Username Group Machine > ------------------------------------------------------------------- > 37921 gdunn01 Domain Users dev-gdunn (137.237.160.74)> ma21cab5# smbcacls //ma21cab5/data foo/asdfas -U gdunn01 > ACL:HARRIS\gdunn01:ALLOWED/0/FULLIt looks like you're connected as "gdunn01" but only "HARRIS\gdunn01" is allowed write access (assuming HARRIS is your domain and not your PC's name) - i.e. these appear to be two separate users. When I run smbstatus it lists usernames as DOMAIN\user, so unless they've changed this in 3.0.22 that could be the problem. You can also try running "chmod 777 /mnt/data" to allow full access to the share. If you then create a file through Samba, check its permissions and see if it's owned by the user you expect. Cheers, Adam.