Networking :: Unable To Share Files In SUSE 11.3 + Samba

Dec 10, 2010

My server info:
SUSE 11.3 , authenticated against LDAP, I am able to log in using LDAP credentials.
I did run smbpasswd -w password

After I configured the smb.conf file, I try to do this on the Terminal to make sure it will work in Windows machines but I got this error:

user@mybox:~> smbclient -L mybox.mydomain.com
Enter user's password: (I enter the user password here)
Connection to mybox.mydomain.com failed (Error NT_STATUS_CONNECTION_REFUSED)

so I went to /var/log/samba.log to check the error file, I got this :

Connection to LDAP server failed for the 1 try!
[2010/12/10 18:08:50.919813, 1] lib/smbldap.c:1330(another_ldap_try)
Connection to LDAP server failed for the 2 try!
[2010/12/10 18:08:52.133624, 1] lib/smbldap.c:1330(another_ldap_try)
Connection to LDAP server failed for the 3 try!

and it kept going on and on until I stop it.

Here is my smb.conf file, please take a look to see what I've done wrong here. I tried to to take out WORKGROUP in GLOBAL but there were error like " Work group name x.x.x.com is too long, so I put in WORKGROUP = etc.

[global]
workgroup = mybox
passdb backend = ldapsam:ldap://ldap.my domain.com:11389/
ldap suffix = dc=my domain,dc=com
name resolve order = wins bcast hosts
ldap machine suffix = ou=Computers
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap admin dn = "cn=sambaLabs2,ou=roles,dc=domain name,dc=com"
ldap ssl = start tls
server string = "my File Server"
security = user
log file = /var/log/samba.log
log level = 1
Max log size = 50
wins support = yes
wins server = my wins servers here
winbind enum users = no
winbind enum groups = no
unix extensions = no
wide links = yes
hosts deny = ALL
hosts allow = 192.168.
interfaces = lo eth0
bind interfaces only = true
browseable = No
read only = No
usershare allow guests = No

load printers = yes
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User


[homes]
comment = home directories
browseable = No
valid users = %S
read only = No
writable = yes
create mask = 0660
directory mask = 0770
inherit acls = Yes
inherit permissions = yes


[sharefolder]
path = /sharefolder
valid users = @users,%S
inherit acls = Yes
inherit permissions = yes

[printers]
path = /var/spool/samba
browsable = no
public = yes


[print$]
comment = Printer Drivers
path = /etc/samba/drivers
browsable = yes
guest ok = no
read only = yes
write list = root
force group = ntadmin
create mask = 0664
directory mask = 0775


Thank you in advance.

View 1 Replies


ADVERTISEMENT

SUSE / Novell :: Open SUSE 11.1 Mount Samba Share At Boot???

Jul 5, 2009

OK... I tried everything i could think of... but i still cannot get my Open SUSE 11.1 to mount my samba share at boot! I still don't understand the 11.1 boot sequence. can NE one help me... tell me what files to give you output from... Ty guys P.S. My shares originate from a Windows Server 2003 RC2 machine, and it's dns server doesn't work correctly... so my mount command is

mount -t //192.168.x.x/files/ /nET/ -o username=linux,password=xxxxxx
please let me know what other info you need... I don't have the internet, so it will be tommorow b4 i see this again!!! Thanks

View 2 Replies View Related

Ubuntu Networking :: Unable To See Samba Share From Client Machines?

Feb 15, 2010

I just set up an ubuntu 9.10 server (no desktop environment, command line only) and I'm unable to see my samba share. I followed these instructions. Here are the relevant parts of my smb.conf file: Quote:

workgroup = JASONGROUP
# I un-commented this
security = user

[code]....

View 9 Replies View Related

Ubuntu Networking :: 10.04 Unable To Mount Samba Version 3 Share?

Aug 3, 2010

I've just loaded a laptop with Ubuntu 10.04, and I am unable to mount a samba share from an older Red Hat server. The problem first occurred when I tried using "Places -> Network" or "Places -> Connect to server", and the server's log gives me something like this

[2010/08/03 15:40:38, 1] auth/auth_server.c:check_smbserver_security(363)
password server 10.100.1.2 rejected the password: NT_STATUS_LOGON_FAILURE
[2010/08/03 15:40:38, 2] auth/auth.c:check_ntlm_password(319)

[code]....

View 2 Replies View Related

Ubuntu Networking :: Samba - Share Files From Windows Machine

Jun 6, 2010

I am trying to see share files on my windows machine to my linux machine. I would like an answer to how to fix the problem. This is where i am at i am using my own network to learn who to use nmap properly. I ping my whole network with nmap -sS -O. Then i used nmblookup -a which gave me the infromation i needed. Then i run smbclient -L computername -I ip address -N

This will not show me the windows os this only show me my laptop. What can i change for this to show me the other computer on this network. The port i am wanting is open. I want to be able to mount the share files and move them to my computer i am going to use the commands put and get to move the files when i am able to get to the smb: >

[Code]...

View 6 Replies View Related

Ubuntu Networking :: Deleting Files Off A Samba Share From A Windows Box?

May 17, 2011

I'm trying to make my music directory, located on my Ubuntu box, available to all the windows clients (Windows 7, to be specific) located around the apartment. It seems to work fine, I can see and read from the shares from my windows box, but deleting files doesn't work, I just get a permission denied.I've tried being as lenient as I can in the smb.conf, as well as setting 777 on the affected files, nothing changes. I've read, from my various googling, that the octal file permissions aren't as important as the samba permissions. Okay fine, but how do I tell samba to ignore permissions and let everyone delete files? I've read that samba works with samba users, but again, I don't care about users, I just want a global share that anyone can connect to and read (and delete) files.

Here's my smb.conf file: http:[url]...As you can see, I've played around a bit with options, but I just can't seem to get anything to work.

View 4 Replies View Related

CentOS 5 Networking :: Get Samba To Share Files From Ntfs Drive?

Jun 12, 2009

The file permissions on the folder are RW for user,group and world.(umask=0000) My main problem is with SELinux, I've tried to audit2allow and that seemed to work, all I had to do then was chcon the directory and files to type samba_share_t but the tool fails with Operation Not Supported. Am I to assume you simply cannot share files from a mounted ntfs drive under SELinux? Because I've just spent 2 hours trying and I've just about ready to just give up and just go back to windows when I need to share those folders. There's no way i can copy the folder contents to my Linux partition, far too big for that. Has anyone EVER been able to do this? Do I have to disable SELinux to do it?

View 3 Replies View Related

Ubuntu Networking :: Unable To Access Samba Share From Windows Machine?

Jul 15, 2011

I am unable to access samba share from my windows machine. I am getting the following error

View 9 Replies View Related

Ubuntu Networking :: Samba Share : Get An Error Message "unable To Mount Location, Failed To Mount Windows Share"?

Jan 22, 2011

I have installed ubuntu 10.10 and the Samba addon to configure my shares to my Windows terminals.This is what I got

Firewall off (utf disabled)

Internal Sata /dev/sda1 (EXT4 FS)

External USB HDD /dev/sdb1 mounted at /media/SG1500GB (EXT4 FS)

I have two shares

1. //home/test - Which I can see and access with no problems (can't write to it though even though I set the share as writable?, but, I can read from it). This is available to everyone. My windows terminal can see this folder and access it. This is on my main 80GB internal drive /dev/sda1.

2. //media/SG1500GB/Music. I set this up for everyone full access and I can see it at all my Windows machines but,I can't get into the folder. Windows keeps giving me an error stating network path not found.I also try to access it via the Nautilus (Places/Network/system/music) and get an error message "unable to mount location, Failed to mount windows share". This drive is mounted per the disk utility.

View 4 Replies View Related

Ubuntu Networking :: Static IP Address To Share Files With Windows Using Samba?

Aug 30, 2010

I seem to remember I could just use DHCP given addresses when sharing from Windows to Windows, and they'd keep sharing even when the IPs changed.

View 9 Replies View Related

Networking :: MS Office Files Open In Read Only Mode From Samba Share?

May 17, 2011

I can not edit my own .ppt file from samba share. Current desktop OS is windows 7. Samba server having RHEL 5 with following samba packages installed.

Code:
libsmbclient0-3.5.6-43.el5
pam_smb-1.1.7-7.2.1
pam_smb-1.1.7-7.2.1
I can able to edit and save the file if I copy this file from samba to local system. But from Samba share it open in read only mode.

View 7 Replies View Related

Ubuntu Networking :: Unable To Share Files?

May 17, 2010

I cannot, in any way, share files between my Windows 7 and Ubuntu PCs. I have tried everything out there and nothing seems to work. I don't get why! I have samba installed, I have installed the apache2.2 packages and I have checked the network file sharing.

I can create shares with folders and I can see all the windows computers on the network (but can't access any of them).

I cannot view my Ubuntu computer from the Windows computer either.

View 4 Replies View Related

Ubuntu Networking :: Unable To Share Files With Others?

Sep 1, 2011

I live in an apartment that is shared with others. We all connect to the internet through the same router. I have files I would like to share with others but have been unable to figure out how to make folders public, or how to view public folders of others and get their files.

View 9 Replies View Related

Ubuntu Networking :: Unable To Open Workgroup And Share Files?

Feb 9, 2011

i am new using ubuntu 10.10 and so far i like it but the only thing i have problems is to be able to connect to the network i am running Windows 7 on the main pc and when i try to connect to the network (Click on Places, Network, Windows Network "icon appears" "right click on it" and get message Unable to mount location, "Failed to retrieve share list from server" i have try many solutions for the last 3 days but no luck can somebody i just want to share some music files and be able to connect to sound system and play the music

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Connection Is Working But Unable To Share Internet And Files

May 4, 2010

I wouldn't be posting this if I hadn't tried very hard for the past week to do this on my own, but alas, I failed. I have this two configurations:

Desktop:
- Ubuntu 9.10
- Connected to the internet though a wireless card
- Connected to "Laptop" via wired network with a crossover cable

Laptop:
- Dell latitude
- Ubuntu 9.10
- Connected to "Dektop" via wired network with a crossover cable

The wired connection is working, both computers are able to ping each other, but I haven't managed to share internet, nor files. I have tried many different ways, from setting the wired network to "Shared to other computers" to this guide in the Ubuntu Wiki. The best I could get was for the connection to work by setting the IPs manually, whatever else I try results in either nothing or in a not-working connection.

View 2 Replies View Related

Fedora Installation :: Samba / Network Folder And See Other Computers Shared Files And Share Files?

May 5, 2010

I am used to Ubuntus simple sharing with samba. Just install it, reboot and then share the files.Then do I klick on network folder and see all the shared files on the computers in the network.

How do I install it so I only need to go into network folder and see the other computers shared files.Then, how do I share files?

I hope it's not so difficult and that I have to change i config-files.

I am new to Fedora.

View 4 Replies View Related

Ubuntu Networking :: Samba And External Drive - Unable To Mount Location - Failed To Mount Windows Share - Dialog Box

May 25, 2010

I have been trying to share folders from my main PC which is running Ubuntu 10.04. I have been able to figure out Samba enough to get my a couple of folders shared, but I have been unable to share any folders which are on my external harddrive. After entering the path in my smb.conf file they appear on the network but I am unable to navigate to them. When trying to navigate to them through the network folder on the pc they are actually connected to I get an "Unable to mount location: Failed to mount windows share" dialog box. On the windows pc I am trying to share with I get, "Windows cannot acces \Josh-Desktop
ame of folder"

My smb.conf file looks like this:

That folders I cannot access are Music and Videos.

View 9 Replies View Related

Networking :: Samba Configuration - Cannot Mount Samba Share

Apr 26, 2011

Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:

setsebool -P samba_domain_controller on

Trying to connect to samba locally gives me this:

Code:

[tedward@hp-firegate ~]$ smbclient //192.168.0.1/storage -Utedafur
Password:
session setup failed: NT_STATUS_LOGON_FAILURE

[code]....

View 6 Replies View Related

OpenSUSE Network :: Unable To Share Folder With Suse 11.2?

Jan 11, 2010

I have a windows machine (in a domain) and I have created 2 Virtual Machines with Suse 11.2 installed on them.Now, I want to share a folder in windows to both Suse images. I am succesfully able to do that.I used: mount -t cifs -o user..... command to mount it at /mnt/win on my linux and succesfully able to work with it.

Now, I want a user in my Linux box (both Linux images)to be able to write to the shared folder in windows (actually both linux images will write to the shared folder but it is based on acquairing locks and releasing them to be able to use the shared folder on windows).

I tried etc fstab and lot other options but my efforts were in vain.Simply put - I need a user in my linux box (suse 11.2) to be able to write to a windows shared folder.

View 2 Replies View Related

General :: Unable To Mount Windows Share To SUSE 11.3

Aug 13, 2010

I'm pretty new to using Linux and I installed SUSE 11.3 on Sun Virtual Box to play around with it. I am trying to mount one of my Windows shares to my SUSE system and I'm getting an error "Mount error(13): Permission denied". I have made sure my Windows permissions are open, in fact I used a test share and added everyone and gave full control. Below is the command I tried to use to mount it.

mount -t cifs -o username=Nick //computername/share /mnt/temp

I pre-created the temp folder under mnt and I tried both my PC name and my ip address in the above command with the same error each time. I also tried using my pc name in my username string as well "username=pcname/Nick" and that did not work either. Can someone advise me why this error is occuring?

Kernel version: 2.6.34-12

Thanks,

Nick

View 1 Replies View Related

Server :: Unable To Mount Samba Share

Nov 11, 2010

I've began to work on getting my access control, set up properly on my server, and want to create a "my documents" folder for each user I add. I do not want it being part of the home directory and have read everything and still can't seem to get it to work. I've got a second drive that is mounted at /private on my server, with a folder that is underlying on it call users and groups. Then from there is has the exact unix username that I set up in Users and Groups. Ex. /private/user/gary . With Samba, I added the following code:

Code:

[My Documents]
guest ok = no
comment = %u's Documents

[code]....

I've tried using %u,%U,%S, and the normal username and of all of them, it will only work with the username. I've even used force user. added root to the valid users list and it still gives me access denied or the multiple connections to a single share with multiple user names prohibited but nothing is mounted on this share. On Webmin, it doesn't show any connections to the share. I'm rather at a stumped state in which is frustrating me, because I want to have this so when I go from my desktop to my laptop I have "My Documents" On either unit. Security on the server is set to User because I've searched to see if I can't find a way to make shares visible by a guest but read only to them and when I access them from my log in to make it read write using the "Share" option.

View 9 Replies View Related

General :: Cannot See Files On A Samba Share...

Mar 19, 2010

Ok, this is a complicated one, and possibly not entirely a linux question, but here goes-

I have a Synology server, set to backup to an external USB disk. As I understand it this disk is formatted as ext3.

The server recently crashed, so I need to get the data off the USB disk.

Weird thing 1: if I used an ext3 reader for Windows, then I can only see directories on the USB disk, no files. Yet if I mount it back on the (now crashed, but still just about bootable) Synology, then I can see all the files just fine.

Since I can see the files on Synology I figure the Windows ext3 reader is faulty. So I copy all the files to a spanky new QNAP NAS. Telnetting into the NAS I can see everything is present and correct and all the data is there. Great!

Weird thing 2: If I try to access the data via a Samba share, I can't see any of the files. Only directories!

Weird thing 3: I tried to make it all completely open by chown to my user and the "everyone" group, and then chmod uga+rxw *. This made no difference.

Weird thing 4: If I select "show hidden operating system files" in Windows then all the files appear.

Are there some weird "extra" permissions that Synology are using? If so how can I get rid of them? Anybody have an idea what is going on?

My worst case is I'll have to boot the Synology back up and copy the files via that, but I'd like to know whats going on. Oh and black mark to Synology here for making a backup that is hard to use on anything but the original system.

Thanks!

View 5 Replies View Related

Server :: Unable To Permanently Mount Samba Share

Nov 13, 2010

my samba server is working properly but i want to mount it permanently on linux (red hat) client.i have tried /etc/fstab and also autofs service but both are not working for me.

1. /etc/fstab i made the following entry in it //192.168.0.254/myshare /temp smbfs credentials=/root/pass 0 0 and when i use comman mount -a it shows "unknown filesystem smbfs" why this is so?

2. using autofs

my auto.master file is shown below

#
# $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $
#
# Sample auto.master file

[code]....

View 13 Replies View Related

Server :: Samba Share With AD2008 Unable To Write

Jun 29, 2010

I can map the share just fine, but cannot write, regardless of how open I make the permissions of the Samba share.

Share from testparm:

[student]
comment = Test share
path = /home/share/students
valid users = @students
admin users = DSSJCAdministrator
write list = @students
read only = No
create mask = 0770
force create mode = 0770
directory mask = 02770
force directory mode = 02770
directory security mask = 0775
guest ok = Yes

getfacl:

getfacl /home/share/students/
getfacl: Removing leading '/' from absolute path names
# file: home/share/students/
# owner: root
# group: students
user::rwx
group::rwx
group:students:rwx
mask::rwx
other::rwx

AD auth works fine with winbind, getent/wbinfo returns properly enumerated groups.

Unfortunately, the logs say:

[2010/06/29 11:17:32, 2] smbd/open.c:2447(open_directory)
open_directory: unable to create New folder. Error was NT_STATUS_ACCESS_DENIED

View 1 Replies View Related

Server :: Samba Share Not Showing Any Files

Nov 3, 2009

I have recently installed Fedora F11 with a Samba server. The smb.conf seems fine but I cannot see any of the files in the share from a Windows machine. I am probably missing something unbelievably simple but driving me nuts!

I can see the machine and share from windows

When logged in as the user fred I can see all the files in Linux - most are owed by fred.

smbuser:
Code:
# x_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
fred = fred
smb.conf:
Code:
[global]
workgroup = Workgroup
server string = Samba Server Version %v

netbios name = MachineName

hosts allow = 127. 192.168.0.
.........
[Docs]
comment = Main Documents
path = /mnt/documents
read only = no
browseable = yes
valid users = fred
.........
The other thing I find a bit odd is that
Code:
service smb restart
does not effect the way that the windows machine sees Samba. It appears that you need a full restart to get the changes to show properly.

Thanks,

Michael

View 2 Replies View Related

Ubuntu :: Unable To Access Samba Share By Hostname / Resolve This?

Apr 30, 2010

I got my server set up with 10.04, and with everything installed: DHCP, SSH, Samba, VBox, etc.

DHCP, SSH work fine, but I am having problems where I cannot ping the hostname of the machine.

It worked for a few minutes after I got everything installed and now it's not letting me connect via hostname. I can connect fine if I use the IP address. I cannot ping the machine by hostname unless I add it's IP address to the hosts file.

View 7 Replies View Related

General :: Unable To Mount Samba Share, DBus Error

Apr 14, 2010

Today when I try to mount a samba drive on my Ubuntu 10.04 server, which worked before, I now get the error message below:

DBus error org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)

Any ideas is much appreciate.

View 1 Replies View Related

Server :: Unable To Enable Write Access To Samba Share

Aug 14, 2010

Hi,

I'm pulling my hair out trying to figure out what is wrong with my Samba share. I have set up a directory /samba to serve up some movies, music, etc, on an Ubuntu 10.04 Server box. For now, I have given that directory 777 permissions, along with the subfolders:


Code:
drwxrwxrwx 4 michal michal 4096 2010-06-22 18:02 Apps
drwxrwxrwx 3 michal michal 4096 2010-06-22 19:02 Music
drwxrwxrwx 3 michal michal 4096 2010-08-14 19:27 Pics
drwxrwxrwx 5 michal michal 4096 2010-06-22 19:48 Video
This is how my smb.conf file looks like for this particular share:


Code:
[share1]
comment = share1
browsable = yes
path = /samba
write list = michal
Furthermore, I went ahead and mapped the Samba user to my Linux user account in /etc/samba/smbusers:


Code:
michal = "michal"
When I try to login from a Windows machine using michal as the username, I can see the folders, but I am unable to create new files on the share. Considering that the file system permissions are liberal on the share directory, I have no clue as to why I'm still getting denied write permission.

Any ideas? Thanks!

View 1 Replies View Related

General :: Samba Cannot Share Files - Not Accessible By WinXP

Nov 21, 2010

I used Samba to share some files. But when I try to share /home/username/download, it is not accessible by WindowsXP. But when I modified the dir to /opt/*. It is OK.

View 2 Replies View Related

Server :: Unable To Access Samba Share On CentOS 5.4 From Windows XP Or Vista

Jan 23, 2010

I can't be the first one with this problem. What am I missing?

I have setup Samba servers in the past, just none under SELinux. The last one I configured was a couple years ago, so I wouldn't doubt I'm a bit rusty.


---- Environment summary:
Clean server install of CentOS 5.4 includes SELinux
- lets call this 'server'
- updated samba to 3.0.33-3.15.el5_4.1

Client1 - Windows XP sp4 - WINS configuration uses 'server' noted above
Client2 - Windows Vista - WINS configuration uses 'server' noted above

---- What works / what doesn't ------
Clients can see the server (XP and vista) in network neighborhood.
The following does not work from windows (xp or vista)
net view
net view \server
net view \server-ip
net view \servershare

This does work on the server
smbclient -L \server
smbclient -L \server --user validuser
smbclient -L \client1 --user validuser


---- What I have configured and tried (config/output below) --------
firewall ports for samba are open
SELinux enforcing or permissive
file context is set on share
samba booleans are set

***firewall
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p udp --dport 139 -j ACCEPT

***SELinux mode/booleans
# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted

# getsebool -a | grep smb
allow_smbd_anon_write --> off
smbd_disable_trans --> on

# getsebool -a | grep samba
samba_domain_controller --> on
samba_enable_home_dirs --> on
samba_export_all_ro --> off
samba_export_all_rw --> off
samba_share_fusefs --> off
samba_share_nfs --> off
use_samba_home_dirs --> on
virt_use_samba --> off

***filesystem
# semanage fcontext -a -t samba_share_t �/share/photos(/.*)?�
# restorecon -R -v /share/photos

***Disks
]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 9920624 2070872 7337684 23% /
/dev/sda1 101086 19146 76721 20% /boot
tmpfs 1846656 0 1846656 0% /dev/shm
/dev/mapper/VolGroup00-xen
100791728 202540 95469188 1% /xen
/dev/mapper/VolGroup00-photo00
251981556 191716 238989840 1% /share/photos
/dev/mapper/VolGroup00-dmsdoc00
100791728 192256 95479472 1% /share/alfresco
none 1846656 104 1846552 1% /var/lib/xenstored



***smb.conf
[global]
workgroup = workgroup
netbios name = server
security = user
name resolve order = wins hosts lmhosts bcast
encrypt passwords = yes
hosts allow = 192.168.0.
hosts deny = 192.168.122.
interfaces = eth0
passdb backend = tdbsam
oslevel = 222
local master = yes
domain master = yes
preferred master = yes
cups options = raw
username map = /etc/samba/smbusers
wins support = yes
log level = 4
guest ok = yes

[photo]
comment = Photos
path = /share/photos
read only = yes
guest ok = yes

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved