Fedora :: Log Into The Samba Server From Smbclient?
Jan 18, 2010
i'm trying to log into the samba server from smbclient but i'm still having this error message:
[root@gab gab]# smbclient -L alain
Enter gab's password:
Connection to alain failed (Error NT_STATUS_CONNECTION_REFUSED)
[root@gab gab]#
View 1 Replies
ADVERTISEMENT
Jan 14, 2010
My OS is F11 and i've two systems; i'm running Samba server on one system and i've login on the client system and trying to login to the Samba server using smbclient but it's not working.Can someone give me the command to login to the Samba server using smbclient!
View 1 Replies
View Related
Apr 13, 2010
How come I can access samba share, and windows workgroup computer and don't have any samba package installed? Sudo aptitude show smbclient says not installed. Sudo aptitude show samba says not installed.
View 2 Replies
View Related
Feb 18, 2009
I am trying to mount a samba share using an fstab entry
//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0
The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this
username=********
password=********
View 5 Replies
View Related
Jun 1, 2010
I've installed the latest Fedora 13 flavour, yum update completed, yum install samba -y
all installed fine.
yum list grep samba shows samba-13 installed however when type smbclient as root it returns
"Command Not Found" and returns me to bash.
yum remove samba
reboot
yum install samba
still nothing
smb[tab] returns : smbd, smbusers and 3 others but none that are smbc*. I'm kinda stuck for my windows shares at this point.
smbd i presumed was the deamon so i triggered that but smbclient still cant be found and when i ran smb(something) status it stated that the samba service was up and running.
users list is configured but i believe this is an issue with the command.
View 3 Replies
View Related
Feb 8, 2010
I need to know is there any way to record or tracking or make logging if when user samba delete files or folders i can know that, cause sometimeon samba server some users complain they lost files, though i have daily backup and i can restore their files, i just want to know if or maybe some other users in one group accidentally move or delete the files.
View 1 Replies
View Related
Oct 8, 2009
I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:
===============================================================
[2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42)
INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)
[code]....
View 3 Replies
View Related
Oct 20, 2010
I would like to configure an access to folder
/fileserver
for two services : Samba and VSFTPD
How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.
My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)
View 1 Replies
View Related
Sep 23, 2010
I'm having some trouble getting samba to work properly. I'm following this tutorial [URL] when I run
Code: sudo smbclient -L localhost I receive the following: Code: Enter root's password: Anonymous login successful Domain=[SAMBA] OS=[Unix] Server=[Samba 3.4.7]
tree connect failed: NT_STATUS_END_OF_FILE I'm lost!
View 3 Replies
View Related
Jun 20, 2010
I can't get the samba server to work on a Fedora 13 system. First of all, I've activated the "smb" service. After this, since I couldn't find any samba configuration tool in Gnome, I switched to KDE and launched Menu - Computer - System Settings - Advanced - Samba. I typed in my workgroup and netbios name and added a share (2nd tab). Then I added my user name to the blank list "samba users" (4th tab), which wasn't very effective, because this list is blank again when I leave (OK) and reopen this config tool.
From a windows machine, I can't access this Fedora system. Netbios doesn't work (ping netbios name - ...could not find name...) and trying \IP in the explorer shows an error message "Windows cannot find...".
Btw firewall and Selinux are both deactivated.
When I open Dolphin on the Fedora locally and type "smb://localhost" it *does* show a logn window, but no matter what I type in there, it just shows this login windows again after clicking OK.
View 10 Replies
View Related
Sep 10, 2009
I have a problem with samba machine disappearing after I restart smb or the server where samba is running. Lets say I name my samba server ABC and set it up via system-config-samba utils. I follow basic steps and fill out everything according to most guides that are available for fedora. After that everything works great, I can connect to samba server ABC form any machine through smb://ABC (mac) or \ABC (win), however as soon as I restart smb services or my server (subsequently restarting the smb service ...) I no longer can connect to it via samba server name ABC, I can only do smb://SambaServerIP or \SambaServerIP (have to put numerical internal ip to connect)
My smb.conf:
# cat /etc/samba/smb.conf
[global]
[code]....
View 1 Replies
View Related
Dec 26, 2009
I had a Samba server that worked as expected, but after four years of operation, I had to upgraded for a different reason. After much pain and agony, Samba *almost* works.The Big Problem: On XP, the Samba server "Scully" appears in "My Network Places". On the Vista and Win7, the server is not seen in "Network". The shares can be accessed and mapped if the name \Scully or IP address is provided \192.168.X.Y, but it can not be browsed.
View 9 Replies
View Related
Dec 28, 2009
I'm trying out Samba for the first time, the main directory is called "workplease", and I have 2 users, "keith" and "aspire". I set the permission on "workplease" to aspire by doing "chown aspire:aspire workplease". Then on my windows7 machine I can connect to the samba server using aspire login, see my "aspire" folder and the "workplease" folder, I can create txt files, folders ...ect
But I would like the user account "keith" to be able to read/write to the same "workplease" folder. I added both users to the group "networkg" by doing
"usermod -a -G networkg aspire"
"usermod -a -G networkg keith"
So my question is how can I make the folder "workplease" have permissions to let any group members of "networkg" read/write/execute anything they put in that folder, or sub folders? Im getting rid of my Windows Home Server , and trying to use samba to do the file sharing for my buddy and I.
edit: Seems doing "chmod 774 -R workplease" changes the permissions on all the files/subfolders, to give owner and group full access only, but is there a way anytime someone creates a txt file, or copies over an mp3 for example, it auto-maticly has 774 permission?
View 2 Replies
View Related
Mar 31, 2009
if i try to connect to my samba server ( share ) from my windows xp ( or vista, i've tried both ) it says, that the network share cannot be found. i've installed all necessary rpms on my fedora 10, necessary for running a samba server:
Quote:
[root@********* samba]# rpm -qa |grep samba
samba-common-3.2.8-0.27.fc10.i386
samba-3.2.8-0.27.fc10.i386
samba-winbind-3.2.8-0.27.fc10.i386
after that, i've configured the smb.conf file, as follows:
Quote:
[root@*********** samba]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]
# ----------------------- Netwrok Related Options -------------------------
workgroup = GROUP
[code]....
there is no iptables definition, or any other firewall installed, neither on the server nor the client. i've read through alot of howtos an manuals, but was not able to find the problem.
View 14 Replies
View Related
Feb 5, 2010
I've been busy with configuring Samba with the 389-Directory Server (former Fedora Directory Server) for the past weeks and I almost have everything working. The last thing (I hope) that I haven working are the smbldap-tools which I'd like to use for adding computers and users to the domain. The part where I'm stuck is with the security certificates. I don know how to get the client certificates out of my installation.
My smbldap.conf file contains this:
Code:
# $Source: $
# $Id: smbldap.conf,v 1.18 2005/05/27 14:28:47 jtournier Exp $
#
# smbldap-tools.conf : Q & D configuration file for smbldap-tools
# Purpose :
# . be the configuration file for all smbldap-tools scripts .....
I used the setupssl2.sh script to setup ssl for my 389-ds, which seemed to have worked fine. I however simply have no clou how to get client certificates out of this.
View 1 Replies
View Related
Oct 14, 2010
I have recently developed the need for having a file server and am interested in setting up my desktop as a Samba File Server. The problem is that I need to be able to access it from outside networks (physically I'm about 10 miles away from my home network),o I need to also set up some sort of DynDNS service so that I can access the server from anywhere.With this, with setting up a DynDNS, setting up Samba, and setting up my machine to be secure enough for these types of actions. (I just want to make sure it is secure enough since it will need to be detectable from the internet.)
View 8 Replies
View Related
Dec 18, 2010
Problem I have is the Samba server, it does not seem to start up the shares at boot.When I boot the system, nothing is available on the network, I have to run the Samba Server Configuration Tool everytime I want to access a share, edit a share, save and quit, then my network shares become available.I see Starting SMB services during boot up, it says OK.It worked good on Fedora13.
View 2 Replies
View Related
Aug 4, 2011
I had a F14 samba server working flawlessly now for a quite time. Unexpectedly about a month ago the write speed slowed down around 64kbit/s and that's really slow. I haven't changed any configs, only updated the server. I've troubleshooted this from many angles:
-It is not a network issue because sftp writes are good.
-It is not a RAID1 issue because write speed from another directory (locally) are good.
So basically samba is the only thing left.
Here's example from smb.conf:
[MyShare]
comment = My share
path = /mnt/RAID_share
writeable = yes
browseable = yes
writelist = +smbuser
Here's a snip from logs today:
[2011/08/04 09:04:27.509273, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2011/08/04 09:04:47.526336, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown
[2011/08/04 09:17:57.634660, 1] smbd/server.c:267(remove_child_pid)
Scheduled cleanup of brl and lock database after unclean shutdown
[2011/08/04 09:18:17.635196, 1] smbd/server.c:240(cleanup_timeout_fn)
Cleaning up brl and lock database after unclean shutdown .....
There's a restart that is not software related.
View 3 Replies
View Related
May 24, 2010
how can i configure a samba server?. im using a machine with fedora and a windowsXP machine.
View 7 Replies
View Related
May 12, 2011
I installed samba server on fedora13 last week and share some files from samba server GUI i also created samba user and password for shared folders but I can't get access samba share folder from neither fedora machine nor Windows XP When I open samba share from other fedora such as smb://192.168.10.2 I can see share file and when I browse folder, password required box is appeared but after I put samba username and password the Error message is Unable to mount location Failed to mount Windows share even when I browsed samba share from windows xp error message is \192.168.10.2smbshare is not accessible. you might not persioon to use this network resource. Contact the administrator The network path was not found.
[Code]...
View 2 Replies
View Related
May 30, 2010
I am trying to share a couple of resources from my fedora 12 box to a windows vista, using samba. It seems absolutely fine to share any folder but as soon as I am trying to share a folder which is used as a mount point windows cannot access this folder. I get the following message from windows:"the network cannot be found". This must be due to some permission, but I cannot find which one.
Note that windows can access the folder but as soon as the device is mounted I v#can see the folder in windows but cannot access it. Here is a copy of the smb.config file:
[global]
workgroup = workgroup
server string = GAIA
security = share
;guest account = nobody
[Code]...
Note that I have been trying to execute the same with mounting and sharing a raid1, but windows cannot see it.
View 5 Replies
View Related
Mar 29, 2011
I'm trying to load a HP Proliant w/ Fedora 11 and setting up as a WFS using Samba. However, I'm a bit confused on how to do it. Right now I have 2 36.4GB drives in RAID 1+0 and 4 146.8GB drives in a RAID 5 config. I wanna use the smaller drive for the OS and the bigger drive for the storage. I've managed to load the OS fine, the problem is I can't figure out how to mount the 4 146.8GB drives as a single logical volume and set Samba to use it. Right now all the RAIDs are setup using the built-in Compaq Smart Array utility (or whatever it's called) that's built into the SCSI hardware or BIOS.
View 1 Replies
View Related
Jul 3, 2010
I've been searching around the web for help and have been really pulling my hair on this one. I have a Windows 2003 Server w/ AD on it. I have two linux machine, both running the same version of RHEL 5 (compute-1, compute-4)
When I log into compute-1, and do an "id dhuynh", I get this:
uid=1501(dhuynh) gid=1500(domain users) groups=1500(domain users),2013(dusers),1501(certsvc_dcom_access),1507 (BUILTIN+users)
When I log into compute-4, do do the same command, I get this:
uid=1500(dhuynh) gid=1504(domain users) groups=1504(domain users),1505(certsvc_dcom_access),1501(BUILTIN+user s)
Notice that the uid and gid are different. How do I get them to be the same? This is affective the file permissions in certain shared directories. I've check /etc/samba/smb.conf and they are identical. I also check /etc/nsswitch.conf and they are identical too.
View 2 Replies
View Related
Nov 25, 2009
Is there a way to cp directories using smbclient ?
View 3 Replies
View Related
Feb 24, 2009
I'm trying to setup a Samba network share with a Fedora Directory Server backend. This will be used primarily for Windows users to authenticate before accessing the share. I am using Fedora Core 10 and have all of the latest updates installed. When I try to connect from a Windows machine, I am prompted for a username and password. I enter the username and password of the account I created in Fedora Directory Server in OU=People. The credentials are rejected. At the same time in the log file I see this:
[2009/02/24 16:50:16, 3] auth/auth_sam.c:check_sam_security(282)
check_sam_security: Couldn't find user 'Administrator' in passdb.
[2009/02/24 16:50:16, 2] auth/auth.c:check_ntlm_password(318)
check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER
Administrator is the user I created in Fedora Directory Server. If I perform an ldapsearch it will find the user as uid: Administrator so I know it is able to be looked up in FDS. But I'm guessing that's not the problem.
[Code]...
View 4 Replies
View Related
Jun 7, 2010
I have a new network attached storage unit that I'm trying to transfer my data to. On this NAS, it has a very basic linux installed with SSH enabled. Browsing through the programs installed on it, i found smbclient. Am I able to copy files directly from my old NAS to my new one using smbclient?It would sure beat transfering 950GB from my old NAS through a computer then onto my new NAS.
View 1 Replies
View Related
Jun 25, 2011
I have a samba server setup it works fine for the users with their username and passwords. by executing the following command.
smbclient //fedora.com/one -U bigbob
it prompts password . If i give password i got
smb>
my question is that how can i login if the users doesn't have their passwords(public share) ?.. I mean smbclient command !!
View 1 Replies
View Related
Jun 17, 2010
I'm using CentOS 5.5 with smbclient 3.0.33-3.28-el5 (latest version in repo), and I can't overwrite files in my smb store.The CentOS box is merely a client of the smb share,and I am not the admin for the Windows server that hosts the share, so there isn't anything I can do server side. But I do have write permission to the server. I'm 95% certain that the server runs Windows Server 2003.I can create a new file,but if I need to overwrite it I need to delete the file, and then copy the new version over.My Windows XP machine can overwrite files perfectly fine.
Using the cp command I'll get this error: (/mnt/storage/foo.txt already exists)
[jonescb@localhost ~]$ cp foo.txt /mnt/storage/foo.txt
cp: cannot create regular file `/mnt/storage/foo.txt': No such file or directory`
View 5 Replies
View Related
Mar 18, 2010
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
nmbd.* /dev/null
smbd.* /dev/null
winbindd.* /dev/null
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
View 1 Replies
View Related
Jul 17, 2010
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
View 2 Replies
View Related