Linefeed Feed
2006-Jul-09 21:32 UTC
[Samba] Migrating to Samba File Server- WERR_ACCESS_DENIED, Access Denied
Hi all, I want to replace my Windows 2000 file server with Redhat Enterprise 4. I have configured SAMBA as a domain member file server. It works without any problem. When I try to copy files/folder from Windows file server to Redhat server via the ways below, I prompt "access denied" message. At linux: net rpc migrate share ... Error message: WERR_ACCESS_DENIED At windows file server: scopy or permcopy (Windows 2000 Resource Kit tools) Error message: Access denied. I couldn't find any solution on the WEB. Do you have any clue or trick for this weird problem? It is very urgent for me. Thanks, _________________________________________________________________ Sohbet ve eglence, web kamera ve sesli sohbet Messenger'de. messenger.msn.com/?mkt=tr&DI=3490&XAPID=2584
Linefeed Feed
2006-Jul-10 07:10 UTC
[Samba] Re:Migrating to Samba File Server- WERR_ACCESS_DENIED, Access Denied
Hi all, I have tried Robocopy. It seems Ok. I can copy files and folders with permissions using Robocopy as seen below. robocopy source destination /COPY:S Even though Robocopy seems Ok, please answer the question about scopy,permcopy and net rpc migrate usage problem which gives message "WERR_ACCESS_DENIED, access denied" My current problem is about copied permissions. I have some folders on my NT file server. NTFS permissions are allowed except Full Control for some users. When I copy folders with permissions from NT box to Linux box, the folders get "rwx" ACL for the users. When I check these ACLs at Windows Explorer, Full Control permission seems allowed. My questions are: 1)howto copy permissions without Full Control permission allowed. 2)If a user creates a folder in those copied folders, It gets full control permission on the new folder ( Ok. I see it. Because the user has "rwx" ACL and is owner of the folder.) I want user not to have Full Control on files or folders. It is possible on Windows with "Modify" permission. How to assign users "Modify" permission for the folders placed at Linux file server. Thanks for prompt responses, _________________________________________________________________ Sadece sohbet ile yetinmeyin - eglneceye de doymak için Messenger'i tercih edin! messenger.msn.com/?mkt=tr&DI=3490&XAPID=2584
Rob Tanner
2006-Jul-10 21:17 UTC
[Samba] Migrating to Samba File Server- WERR_ACCESS_DENIED, Access Denied
I finally resolved my WERR_ACCESS_DENIED using rpcclient setdriver command, and maybe my resolution can help you. I'm using security=ads and winbind for full integration with Active Directory on the Windows 2003 server that acts as the domain controller, and the peculiarities of the problem as I was experiencing it are due to that security mode. If you're not using that mode, then the solution below probably does not apply. In order to actually write anything the user had to be explicitly allowed in smb.conf in the form of DOMAIN\username and I had to authenticate as the user DOMAIN\username and, of course, the password. When I tried plain old "root" and the root password, I still got the WERR_ACCESS_DENIED error and only when I switched to DOMAIN\username was I successful. -- Rob Linefeed Feed said the following on 07/09/2006 02:19 PM:> Hi all, > I want to replace my Windows 2000 file server with Redhat Enterprise > 4. I have configured SAMBA as a domain member file server. It works > without any problem. When I try to copy files/folder from Windows file > server to Redhat server via the ways below, I prompt "access denied" > message. > > At linux: > net rpc migrate share ... > Error message: WERR_ACCESS_DENIED > > At windows file server: > > scopy or permcopy (Windows 2000 Resource Kit tools) > Error message: Access denied. > > I couldn't find any solution on the WEB. > > Do you have any clue or trick for this weird problem? > > It is very urgent for me. > > Thanks, > > _________________________________________________________________ > Sohbet ve eglence, web kamera ve sesli sohbet Messenger'de. > messenger.msn.com/?mkt=tr&DI=3490&XAPID=2584 >-- Rob Tanner UNIX Services Manager Linfield College, McMinnville OR
Linefeed Feed
2006-Jul-10 23:20 UTC
[Samba] Migrating to Samba File Server- WERR_ACCESS_DENIED, Access Denied
Hi Rob, Firstly,Thanks for your response In my smb.conf, admin users = DOMAINNAME\Administrator I'll try rpcclient setdriver command. Did you see my another message which has same subject,about copying permissions? If not, I would like you check it and share your opinion? Regards, _________________________________________________________________ Hava durumunu bizden ögrenin ve evden öyle çikin! msn.com.tr/havadurumu