I posted basically this problem yesterday with no response, but I have some new information so here's a rego. I mount a solaris box which is sharing files with pc-netlink I use the following line in my fstab //machinename/Share /mnt/machinename/share smbfs credentials=/etc/fstabpwds/username,ro,user 0 0 And it mounts fine, I can access all the directories, and most of the files. Some of the files however are problematic. Namely, I can't copy them or open them or use them in anyway. If I try to cp them, the process never ends and the resulting file grows until it takes up all the space on the destination drive. If it's a text file, and I try to cat it, the process hangs. An ls -l of the file does show the proper file size. I have smbfs 3.0.10-1 installed. I'm running Linux version 2.6.8-1-386 (joshk@trollwife) (gcc version 3.3.5 (Debian 1:3.3.5-2)) #1 Connecting to the same share via a Smbclient //machinename/Share Allows me to navigate to, and get the files just fine. Accessing these shares from Windows boxes works just fine. I'm completely stumped, and this is a show stopper for rolling out a new server, so if anyone has any ideas, please let me know.
Hi Rob, On Wed, Jan 12, 2005 at 01:12:15PM -0600, Rob Brenart (TT) wrote:> I posted basically this problem yesterday with no response, but I have some > new information so here's a rego. > > I mount a solaris box which is sharing files with pc-netlink > > I use the following line in my fstab > > //machinename/Share /mnt/machinename/share smbfs > credentials=/etc/fstabpwds/username,ro,user 0 0 > > And it mounts fine, I can access all the directories, and most of the files. > > Some of the files however are problematic. Namely, I can't copy them or open > them or use them in anyway. If I try to cp them, the process never ends and > the resulting file grows until it takes up all the space on the destination > drive.This is a known issue. You can workaround it by using with the (undocumented) "oldattr" option. Please give use feedback if it that helps for you. Guenther -- Guenther Deschner Samba Team SerNet GmbH - Goettingen gd@samba,org gd@sernet.de -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20050112/a159ad5a/attachment.bin
(Sorry Guenther, I accidentally replied to you personally early, my mistake) Adding the oldattr option did not work, adding the oldattr option and removing user from my fstab did do the trick. Thank you so much! -----Original Message----- From: Guenther Deschner [mailto:gd@samba.org] Sent: Wednesday, January 12, 2005 1:46 PM To: Rob Brenart (TT) Cc: 'samba@lists.samba.org' Subject: Re: [Samba] smbfs pc-netlink problem Hi Rob, On Wed, Jan 12, 2005 at 01:12:15PM -0600, Rob Brenart (TT) wrote:> I posted basically this problem yesterday with no response, but I havesome> new information so here's a rego. > > I mount a solaris box which is sharing files with pc-netlink > > I use the following line in my fstab > > //machinename/Share /mnt/machinename/share smbfs > credentials=/etc/fstabpwds/username,ro,user 0 0 > > And it mounts fine, I can access all the directories, and most of thefiles.> > Some of the files however are problematic. Namely, I can't copy them oropen> them or use them in anyway. If I try to cp them, the process never endsand> the resulting file grows until it takes up all the space on thedestination> drive.This is a known issue. You can workaround it by using with the (undocumented) "oldattr" option. Please give use feedback if it that helps for you. Guenther -- Guenther Deschner Samba Team SerNet GmbH - Goettingen gd@samba,org gd@sernet.de
Hi all, As per suggested i added a windbind seperator comment in my samba.conf file and followed that up with "adminin user=<Domain+Some AD user". I expected this to give that AD user full control over the share (read , write , execute) however, if that user tries to create a file in that direcotry he still gets accessed is denied. Right now i have the share owned by a unix user (because i dont know of any why to have it owned by an AD user) non root with 755 as the permissions on all the folders. How do i go about giving and ADS user the ability to create files and folders in that directory without changing the rights to 777 for all files and folders? Thanks, R.
Possibly Parallel Threads
- Not working with intel macs (PR#8608)
- Samba 4.5.3 on HP UX IA64 : smbclient - tree connect failed: NT_STATUS_CONNECTION_DISCONNECTED
- Samba, Kerberos, Autofs: Shares get disconnected
- Samba, Kerberos, Autofs: Shares get disconnected
- cli_rpc_pipe_open_schannel_with_creds: rpc_pipe_bind failed with error NT_STATUS_RPC_PROTOCOL_ERROR