Florian Lorenzen
2003-Jan-16 11:59 UTC
[Samba] No access to root-level of shares on NT4 SP6 with Samba 2.2.2 on FBSD-4.7
Hi all, I've got a strange problem with my German NT4 SP6 and my FreebSD-4.7 Samba 2.2.2 server running as a PDC. I connect to several shares on the Samba-machine by linking them to drive letters. I can browse them but I can not copy anything to the root-level of the share, neither directories nor files. The error message is on the NT4-box is: BLA kann nicht kopiert werden: Der Zugriff wurde verweigert. Stellen Sie sicher, da? der Datentr?ger weder voll noch schreibgesch?tzt ist und die Datei gerade nicht verwendet wird. As I said, I have German NT. In English this is more or less: BLA can not be copied: Access was denied. Make sure that the device is neither full nor write-protected and that the file is not currently in use. This happens when I try to copy to the root-level of the linked drive, e. g. G: (\\claire\public), and also when using the network-neighbourhood-browser. I can create directories in the top-level and copy anything into deeper levels of the file-hierarchy. Thus, there is not a permission-problem, neither on Unix-level nor on Samba filemasks. This problem does not happen on a Win98 machine on the same net, also using the Samba server as PDC. Everything else (profiling, domain control etc.) is working fine. Under some file-browsing dialogs (mainly in older programs) I even cannot open the network-drive to dive into deeper directories. This is all in all very strange to me, because everything else is working fine. Does anyone know, where the problem is? On the NT- or on the Samba-machine? And how this can be solved. Help is appreciated, Florian
Florian Lorenzen
2003-Jan-16 12:18 UTC
[Samba] No access to root-level of shares on NT4 SP6 with Samba 2.2.2 on FBSD-4.7
Hi all, I've got a strange problem with my German NT4 SP6 and my FreebSD-4.7 Samba 2.2.2 server running as a PDC. I connect to several shares on the Samba-machine by linking them to drive letters. I can browse them but I can not copy anything to the root-level of the share, neither directories nor files. The error message is on the NT4-box is: BLA kann nicht kopiert werden: Der Zugriff wurde verweigert. Stellen Sie sicher, da? der Datentr?ger weder voll noch schreibgesch?tzt ist und die Datei gerade nicht verwendet wird. As I said, I have German NT. In English this is more or less: BLA can not be copied: Access was denied. Make sure that the device is neither full nor write-protected and that the file is not currently in use. This happens when I try to copy to the root-level of the linked drive, e. g. G: (\\claire\public), and also when using the network-neighbourhood-browser. I can create directories in the top-level and copy anything into deeper levels of the file-hierarchy. Thus, there is not a permission-problem, neither on Unix-level nor on Samba filemasks. This problem does not happen on a Win98 machine on the same net, also using the Samba server as PDC. Everything else (profiling, domain control etc.) is working fine. Under some file-browsing dialogs (mainly in older programs) I even cannot open the network-drive to dive into deeper directories. This is all in all very strange to me, because everything else is working fine. Does anyone know, where the problem is? On the NT- or on the Samba-machine? And how this can be solved. Help is appreciated, Florian
Florian Lorenzen
2003-Jan-17 13:57 UTC
[Samba] No access to root-level of shares on NT4 SP6 withSamba2.2.2 on FBSD-4.7
Hi John, connecting with smbclient is without trouble. But setting o+x does not change anything except for the error message: When trying to copy a file to G:\ (\\claire\public) NT says BLA cannot not be copied, a file of name BLA already exists. When trying to move a file to G: (\\claire\public) NT says G:\ cannot be created. Rott-directory (internal error). As said, I've got German NT, thus error-messages are translated and not original Microsoft English NT error-texts. Seems to me that there is some trouble with the NT and not with the Samba. Florian John H Terpstra wrote:> > On Fri, 17 Jan 2003, Florian Lorenzen wrote: > > Florian, > > Suggest you try setting the 'x' bit on others at the directory top level. > I know this is clutching at straws, but hang, got to try something. > > Also, you might try to see if you can create a directory using smbclient > to connect to the share root. > > - John T. > > > Hi John, > > > > this is my smb.conf-file: > > > > # /usr/local/etc/smb.conf > > # > > # $Id: smb.conf,v 1.1 2002/11/28 17:53:45 root Exp $ > > # > > > > [global] > > workgroup = ossa6 > > netbios name = claire > > server string = File-services on claire. > > hosts allow = 192.168.0.0/255.255.255.0 > > max log size = 0 > > security = user > > encrypt passwords = yes > > smb passwd file = /usr/local/etc/smbpasswd > > socket options = TCP_NODELAY > > interfaces = 192.168.0.1/255.255.255.0 > > os level = 64 > > preferred master = yes > > domain master = yes > > domain logons = yes > > local master = yes > > logon drive = x: > > logon home = \\%L\%u\profile > > logon path = \\%L\%u\profile > > logon script = logon.bat > > wins support = yes > > client code page = 850 > > load printers = yes > > printcap = /etc/printcap > > > > [netlogon] > > browseable = no > > path = /usr/local/etc/netlogon > > writeable = no > > > > [homes] > > comment = %u's home directory. > > browseable = no > > writeable = yes > > hide dot files = yes > > veto files = /.*/network trash folder/ > > delete veto files = yes > > create mask = 660 > > directory mask = 770 > > > > [public] > > path = /shares/public > > writeable = yes > > browseable = yes > > create mask = 660 > > directory mask = 770 > > write list = @wg > > hide dot files = yes > > veto files = /.*/network trash folder/ > > delete veto files = yes > > > > [software] > > path = /shares/software > > writeable = yes > > browseable = yes > > create mask = 660 > > directory mask = 770 > > write list = @wg > > hide dot files = yes > > veto files = /.*/network trash folder/ > > delete veto files = yes > > > > [printers] > > path = /var/spool/samba > > printable = yes > > printing = BSD > > browseable = yes > > > > > > And this is what ls says about the shares: > > > > claire:/shares # ll > > total 8 > > drwxrws--- 9 root wg 512 17 Jan 01:52 public > > drwxrws--- 10 root wg 512 16 Jan 22:44 software > > > > claire:/home # ll > > total 16 > > drwxrws--- 12 einar einar 1024 17 Jan 01:50 einar > > drwxrws--- 20 florian florian 1024 17 Jan 01:50 florian > > drwxrws--- 3 maria maria 512 28 Nov 21:15 maria > > drwxrws--- 5 mldonkey wg 512 16 Jan 08:43 mldonkey > > > > > > But I don't really think, that it's a permission-problem, because it > > works for the Win98 machine and I can create directories in the > > top-level. I just cannot copy or move files (e. g. via drag&drop) to the > > top-level. And some file-browsing dialogs, older ones (there are still > > some like in old Win3.x) do not let me open something like G: > > (\\claire\public). > > > > But perhaps, you have a clue, thanks in advance, > > > > Florian > > > > > > John H Terpstra wrote: > > > > > > Florian, > > > > > > What are the permissions on the root of the share? > > > > > > What are your settings on the share definition (in your smb.conf file)? > > > > > > - John T. > > > > -- > John H Terpstra > Email: jht@samba.org