0
votes
0answers
48 views

How can I set quotas (space limitation) for samba users?

I configured samba server in CentOS 6. It will be working fine. The windows users share the files through samba. I want to set space limitation for samba users.
1
vote
1answer
66 views

Mounting cifs: “Operation not supported”

Unlike the similar question, I cannot even connect with smbclient. The samba share works fine in windows and automagically works, but in Linux I can't mount it at all and the error message is ...
2
votes
1answer
50 views

Samba write permission problem

I use Samba to share printers, files, etc. But I have a problem. The place to share not writable. Writable is only user directory. I attach the smb.conf file. smb.conf # # Smb.conf file by PepinCZ ...
1
vote
2answers
214 views

mount.cifs fails while smbclient succeeds

I'm trying to mount a NetApp CIFS share to one of our servers and I keep getting "Permission Denied" printed to stderr and NT_STATUS_WRONG_PASSWORD printed to the running dmesg. root@xxxehpvld05 ~ $ ...
1
vote
0answers
56 views

Mounting windows share using mount -t cifs

All, I have a SUSE SLES 11 box running samba. I am running this command: mount -t cifs //ip/dir1/dir2 /mnt/backups -o username=user,password=pwd,domain=domain Which works and mounts the drive ...
0
votes
1answer
87 views

Samba no longer allowing different guest account per share

I sure hope I don't make a fool of myself with this but here goes... I've updated Samba from 3.0.33 to 3.6.9 (well, upgraded my OS and this update came with it) and have found certain features I ...
1
vote
2answers
379 views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
4
votes
1answer
1k views

Changing a file's “Date Created” and “Last Modified” attributes to another file's

I'm using merge cap to create a merge pcap file from 15 files. For the merged file, I have changed the name to that of the first of the 15 files. But I would also like to change the merged file's ...
1
vote
1answer
113 views

File copied from Win7 to Linux ext4 are empty/corrupted

Problem: User on Win7 machine. Copy a simple text file from Win7 local drive, through samba, to Linux ext4 dir. The content of copied file on ext4 dir is empty when user open it. Only 1 user has ...
-1
votes
1answer
63 views

I had a folder full of files, then I used “sudo mount” to mount a Windows samba share. Where did the files go? [duplicate]

I'm using a raspberry pi. I didn't think mounting a samba share to a folder full of files would do anything - I thought it would copy the files to the samba share. Now the files are gone from this ...
2
votes
0answers
53 views

rsyslog.conf only partly honored

I followed this description on how to enable audit for Samba (entry of Aug 10, 2009) and wanted to get all additionally enabled logging in a special log file (/var/log/samba/log.audit). The mentioned ...
1
vote
1answer
290 views

How does Linux winbindd determine available domain controller?

We are actually in preparation of taking down one of our three domain controller (Win2k3). They are all serving the same domain. Actually we still see connections incoming from Debian (5/6/7) Servers ...
1
vote
2answers
306 views

How do I grep a file in a smb mount point without using mount or fstab?

I don't have permission to mount a smb share with the mount command or by using /etc/fstab, but I'm able to use the smb protocol in Nautilus (smb://10.1.1.1/share), for example ... s Is it possible to ...
2
votes
1answer
140 views

Allow file manipulation but block folder/subfolder manipulation?

I have an Ubuntu file server (samba) sharing a folder structure with a Windows 7 computer classroom. All users use the same user/pass to access the folders and have read/write permissions. I would ...
1
vote
1answer
907 views

How to change SAMBA default port on centos?

I need to change the port numbers of samba. Our ISP is blocking the ports 445 and 139. So I need to run samba in a different port. Please help me to do that.
1
vote
1answer
132 views

Fedora and Samba on VirtualBox

I have Linux Fedora 18 installed as a VM Guest. Trying to share directories from the Linux VM Guest box to the Windows 7 Host. (NOTE: VirtualBox is installed on Windows 7, and the Linux virtual ...
1
vote
1answer
50 views

Filepath: use same filepath on unix and winodws

I am working on application which work on both unix and windows environment. I have mapped my unix drive on windows using samba. On cygwin: ls -l /remote /remote -> //samba1 when I try ...
0
votes
0answers
465 views

FreeRadius/Samba/Winbind “reading winbind reply failed” error

I'm trying to set up FreeRadius (on debian 7, samba 3.6.6) to authenticate with AD, and I've successfully joined the the radius machine to the domain (server 08 r2). I can successfully run wbinfo ...
3
votes
2answers
3k views

How to mount a windows/samba windows share under Linux?

Under Linux (Ubuntu 12.04) I want to mount a windows share / windows partition named //winshared on the network. I do not know the IP or anything else. On one Ubuntu system, I am able to mount a ...
4
votes
1answer
283 views

Windows Changes File Permissions in Samba File Shares

I have mounted an external USB drive that is used for file shares on CentOS. All of the clients access the shares are Windows XP or 7. Within Windows, I use the "Manage your credentials" feature in ...
0
votes
1answer
148 views

File sharing between RHEL 5 and Windows 7

I am trying to setup the SAMBA service to share file between RHEL 5 and Windows 7. I have both the operating systems in the same machine. I tried to setup as discussed in this link. I checked the ...
1
vote
2answers
232 views

Linux - Windows 8 - Samba - Can see dir and contents but not create

have the following setup Raspberry pi with samba installed and running Windows 8 machine that can see the samba share, access the proper DIR, see all contents In the smb.conf file, at the base of ...
2
votes
0answers
2k views

Permission denied when Ubuntu is attempting to mount to a remote Windows share folder

Fellow guys, I encountered the error when I's mounting my Ubuntu server to a remote Windows share folder, the following is the error on terminal after I typed command line 'mount -a': mount ...
0
votes
0answers
447 views

RUN WIN CLI commands from linux ( WINEXE )

my target is to run windows command from linux ( WINEXE ) I search and find the wine tool ( this tool can run WIN command from the linux machine I have Linux machine version red-hat3 I take the ...
1
vote
1answer
149 views

Copy file from cifs mount when a file is changed

I have a windows XP machine, and on this i'm running a weather station. The software updates several files in a folder. This folder is mounted via samba on the webserver(debian) I wan't to monitor ...
1
vote
2answers
3k views

How would I mount a linux shared folder on another linux system?

What I'm trying to do is to share my VM development web server's /www folder, to make it more convenient to transfer the HTML, PHP and web documents I have made to test on the web server. Would I ...
1
vote
1answer
91 views

Samba: Sharing some folders without duplicate?

I keep all my Photos on my Share: //COMPUTERNAME/Photos In the Photos share, it contains all the years folders follow by album name, example: //COMPUTERNAME/Photos/2012/New York/ ...
2
votes
2answers
629 views

Prevent creating directories but allow creating files

I have a directory shared through Samba. I want users to be able to create/modify/delete files but not create/erase directories. I haven't found a way to do it. Maybe with SELinux? But how?
0
votes
2answers
521 views

Why could mount.cifs mount an empty folder?

gentoo, kernel 3.7.10 samba 3.6.12 SMB/CIFS server: Windows Server 2003 3790 Service Pack 2 I've encountered the situation when mount.cifs behaves differently from smbclient program. The following ...
1
vote
1answer
79 views

lp command can’t open samba url

I have a Linux host with Samba installed and a Windows server with some Files. Samba is set up correctly and works just fine. I can show PDFs from the Windows server with evince ...
1
vote
2answers
1k views

[mntent]: line 15 in /etc/fstab is bad

it works fine mounting manually from the cli but when running sudo mount -a after editing the fstab im getting errors. It seems right to me, any one have a suggestion. my fstab is: # ...
1
vote
1answer
663 views

Deleting Non-empty Directory with smbclient

How can I remove a non-empty directory with smbclient? I have tried the following: 1) rm Result: NT_STATUS_NO_SUCH_FILE listing [dir_path] 2) recurse;rm Result: No Error but also nothing ...
4
votes
2answers
143 views

Where did 47gigabytes of space go?

Clean installation od Debian squeeze 6.0.6 x64 on intel atom 230, with 3 HDDs, with 3x500GB. df -h shows : datastore size used free % mounted /dev/md0 917G 909M 870G ...
2
votes
0answers
207 views

Samba: system group mapping

I have w2008R2 PDC and Linux server with samba and winbind. Now I'd like to add some domain users to Unix adm group in AD. Let's say I have adm group defined in AD, and every user from this group ...
3
votes
0answers
386 views

How to set up an encrypted directory to be mounted only during samba access?

(This is not about restricting client access, for which ext3 permissions do the trick) I'd like to encrypt the data on my NAS drive (Buffalo LinkStation Pro with SSH access enabled, if that matters) ...
2
votes
2answers
380 views

SMB Mount To Windows Server Appears to Lock up. Any Ideas?

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
1
vote
2answers
254 views

Program to manipulate Samba shares (net.exe equivalent)

Is there an equivalent to the NET.exe suite for linux systems with which I can do net view queries for example?
0
votes
2answers
3k views

Winbind PAM.D AD Groups, CentOS 5, Allow Only?

I'm attempting to create a configuration, where users in specified AD groups can log in. I'm having trouble stopping every AD user from logging in. I've been doing this though /etc/pam.d/sshd/ but ...
3
votes
4answers
506 views

Active Directory Domain with SAMBA or Other Tool

Can I create a domain using SAMBA and set up Active Directory with SAMBA on it? And by this I mean no windows servers involved. I would also like to be able to log in from a Windows machine. ...
3
votes
2answers
3k views

Is there a command in Linux to query a hostname from WINS server

Someone suggested the command nmblookup. But when I ran this command, it issued the following error. $ nmblookup -U 10.140.8.106 -R 'name' querying name on 10.140.8.106 name_query failed to find name ...
2
votes
1answer
2k views

How do I define a samba share so that every user can only see its own home?

I would like to make every user's home directory from Debian machine to be available by its owner only (using Samba) but for now (with default Samba configuration) I can access other users /homes. ...
1
vote
2answers
7k views

How do I install Samba on Red Hat Linux?

I have just downloaded the samba-3.6.1.tar.gz file from the Samba website and want to install Samba on my RedHat Linux machine, I have extracted the contents of the samba-3.6.1.tar.gz folder but ...
1
vote
0answers
200 views

Getting Samba on suse to work with NTFS drives [closed]

For a server with samba. I've just added (to the server, just shoved it in) an ntfs drive with some stuff and I want to access it through win7 (home edition). After a small struggle I've managed to ...
0
votes
2answers
363 views

Why Samba needs the VFS module?

I came across this picture when learning samba. I am confused with the VFS module in this image. Why we need this VFS module in samba server instead of passing directly the intend system call to ...
4
votes
0answers
769 views

Automounting not working correctly for CIFS shares; weird results

I followed the guide on this page to get samba shares working via autofs: http://www.howtoforge.com/accessing_windows_or_samba_shares_using_autofs Servers and Configuration My Samba server (remote) ...
1
vote
1answer
406 views

Excessive Samba messages in logs, how to mediate?

Samba is constantly spewing messages into the logs that are of no use. How can I mitigate these messages so that log reporting softwere (logcheck) does not have to report them. The cause of the ...
5
votes
3answers
5k views

How to cd to a Windows file share?

At work, I spend a lot of time manipulating files on a networked computer that's running SME Server (but that's set up for Windows filesharing, if that somehow makes a difference). I have been ...
3
votes
1answer
2k views

Connect Windows printer to Linux machine via samba

How can I connect my Windows printer to a Linux (RHEL5) box via samba? I'm looking for a clear configuration file
10
votes
1answer
922 views

Permission bits not being enforced on samba share

I have a problem where permission bits are not being enforced on a samba share using a Linux client. I have samba configured on the server to force a certain user, group and permission bits and this ...
4
votes
1answer
1k views

Default username for Samba share that is not the user name on the client system

When mounting a Samba share the user name is defaulting to the user name from the client machine rather than the "User Name" field from the earlier "Connect to Server" dialogue. Accessing a Samba ...