Here is my smb.conf =================================================================== [global] workgroup = AD realm = AD.COLORADO.EDU password server = dc11.ad.colorado.edu dc12.ad.colorado.edu security = ads winbind separator = + idmap config AD:readonly = yes encrypt passwords = yes passdb backend = smbpasswd hosts allow = 128.138. log level = 10 log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). # max log size = 50 [homes] guest ok = no writeable = yes [tmp] path = /tmp writeable = yes ================================================================ when I log in with smbclient it logs in fine and authenticates via the ad properly and it maps my UID properly fine but I cannot remove or rename files. Altough I am able to upload files. The contents of log.moxz (moxz is the machine name) when I login is in the attachment called "log.login" the contents of the same file (log.moxz) when I try to rename the file is in the attachment called "log.rename" and here are it looks like from the command line =================================================================== moxz:~>ls -l k -rwxr--r-- 1 elatov pitserver 54 Jul 24 08:10 k moxz:~>getent passwd elatov elatov:x:17227:150:Karim Elatov,,, :/home/pitserver/elatov:/bin/tcsh moxz:~>smbclient //moxz/elatov Enter elatov's password: Domain=[AD] OS=[Unix] Server=[Samba 3.4.0] smb: \> rename k j NT_STATUS_ACCESS_DENIED renaming files \k -> \j ================================================================= If I do the same thing with on the /tmp share then it works fine it looks like this ================================================= moxz:~>ls -l /tmp/a -rwxr-xr-x 1 elatov pitserver 165 Jul 25 13:29 /tmp/a moxz:~>smbclient //moxz/tmp Enter elatov's password: Domain=[AD] OS=[Unix] Server=[Samba 3.4.0] smb: \> rename a b smb: \ ====================================================================== as you can see no error was produced. here is the info about my machine =========================================== moxz:~>uname -X System = SunOS Node = moxz.colorado.edu Release = 5.10 KernelID = Generic_141415-05 Machine = i86pc BusType = <unknown> Serial = <unknown> Users = <unknown> OEM# = 0 Origin# = 1 NumCPU = ============================ I am really stumped as to why the ad mapping is properly getting set but yet I get an "access denied error". Any help is much appreciated. Thanks -Karim
Created attachment 4472 [details] Samba logs of my successful login This is the first attachment
Created attachment 4473 [details] samba logs of when it fails to rename a file this is second attachment
I've also observed the same problem on Ubuntu 8.04 running Samba 3.0.28a. I cannot rename top-level directories or files on a Samba share, and I also cannot delete files in the top level of the share. However, I can rename and delete directories and files that exist in a subdirectory of the Samba share.
sorry for the lack of feedbakc but this is not a bug, please consult one of the options from https://www.samba.org/samba/support/ if this is still an issue for you.