Just completed a fresh install if V5.3. It works fine.
Samba server: I tried to create a Samba user named "root" with Windows user name "administrator". Message is something like "account already exists"? I know "root" exists, but why can't I use it as a login? I don't get this error when I use another existing user account "LouA".
This is important to me because many documents state that "root" is to be used as the user name. I don't want to change these.
Current set-up allows access to all users (there is no Samba user listed) and I can read, write and delete files from Windows just fine.
I've been administrating a dedicated Linux CentOS 5 (Linux 2.6.26.5-rootserver-20080917a) server for around 2 years, and although not a network or Linux expert, been learning to configure as need arises. Primarily using Plesk for day-to-day, but occasionally using Putty to SSH into server.
For all the time I've had the server, I've been connecting to my server via sFTP using "root" password. ( Although, I know this is really bad practice, I assume made safer by connecting with SSH FTP)
After spending another normal day in the office developing websites, connecting to my server as root using SFTP in Filezilla AND Dreamweaver I left for the night.
Returned next morning, after having done no manual updates or amends to my server; I could no longer SFTP into my server?
Thought it may be related to my office network, so tried it from home over the weekend, same result; can no longer connect SFTP for root?
I can connect to the server via Putty using my "root" username and password.
After spending hours looking on the internet for a solution, I'm lost for ideas as I didn't make any changes?
What happens when I open my Filezilla and try connecting as SFTP is it states:
Error:Connection timed out Error:Could not connect to server
I checked server log /var/log/secure and it states:
Accepted password for root from UNKNOWN port 49212 ssh2 Apr 9 07:41:41 s15320264 sshd[7122]: fatal: Write failed: Connection reset by peer
Odd part is, it's worked fine for weeks, months without ever failing to connect?
Also, notice that Putty connection seems to take much longer to authenticate root user than it used to?
Checked via Plesk Health Monitoring and all CPU, Memory and Disk Levels are well below any alarm levels.
I have run all Plesk updates to 10.2.0 in the hope that it resolved it, but to no avail.
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)
I made a public folder, and have set public = yes, guest ok = yes.But every time I access it from other host (linux or windows), Samba still prompts to login. I want to have Samba not prompt, any methods, please?
The following is my smb.conf ====================================== [global] workgroup = MYGROUP server string = Samba Server Version %v
Everything was fine yesterday, but today, the situation is the following:
When I try to login as root, using Gnome, after I enter username and password, it can do three things:
1- It brings me back to the GUI login screen again
2- Brings me to the prompt login screen (black)
3- It lets me in but I have no top or bottom navigation bars. (Sorry, cannot remember the actual names...) Sometimes I have access to a console screen, which allows me to reboot, and sometimes not, in which case I have to do a cold reboot. Not good.
The last attempt I made, I used the KDE interface and everything was fine.
I really don't understand what happened between yesterday and today, nobody but me uses this system at home and remote logins for root are disabled.
I installed the VNC server by following [URL] (Remote login with vnc-ltsp-config). Everything works great for normal user but when I try to access admin tools in the GUI, nothing appends. If there is a way to authorize the root to log via VNC viewer.
I've installed CentOS 5.3 on a machine, and I need a Samba version 3.2 or higher. Since 3.4 is out, I thought I'd grab that. But, "yum list|grep samba" gives me only version 3.0.33. Is there a package of Samba I can grab that will upgrade the 3.0 installation so that I don't have two laying around? If not and I need to compile from source, do you have any suggestions for what arguments I should give configure? I'm not used to Linux coming from the BSD world
I've successfully joined my 8.04 LTS samba file server to the windows domain. I've read many tutorials like [URL].I used krb5 and winbind and not modern likewise-open. I had successfully got the ticket for the user under whom I was able to join to AD. I'm able to get domain controller information with net ads info. But I can't login to that server through ssh (I'm using Putty at windows XP) with any ADuser credentials. I've tried
windomainADuser ADuser@windomain ADuser
I only get user@10.0.0.10'password prompt and access denied.
How to enable Root login...i cant copy or move something on the HDD...I have administrator rights and password for root but i cant change permissions for the HDD without login on root and root login are not allowed .
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?
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!
I have a Debian and a Ubuntu box. I installed a samba server on Debian box. I can log in the samba share folders from Windows boxes. Since the samba server has SHARE security mode, I need password only. But when I try to log in the samba share folders from Ubuntu box using nautilus, it asks username, domain and password. I cannot log in share folders on the Debian box. There is no message. Nautilus keep showing the password input box until i cancel it.So I use smbmount command. It works well. But that way is not comfortable at all. Anyone can help me logging in samba share in nautilus?
How to make a Server of LOGIN / PASSWORDS for flexible linux machines? Samba config files for the server and the client. The clients, if no network, shall use the /etc/shadow.
I use OpenSuse 11.3 and I successfully built a samba/openldap server. However the raoming profiles were not working so I removed the roaming profile part of the samba and the openldap using ldap account manager. I also rejoined a couple of the computers back to the domain successfully (it was not an instaneous join, it took a good minute or 2 to join each pc). Now I cannot cannot login to any of these computers with the domain credentials. I can share using the UNC path no problem and this was working find about 1 week ago.
On 1 of the computers Iw as able to finally get a log file saying this:
i have fedora 7 server running just zimbra email server. but i forgot the password.
i used a livecd ubuntu then i went to /etc/shadow i used gedit and i remove the hash between the ": :" then saved file. i reboot but i still can not logging. and it does a weird thing. i wrote root then the i hit enter when ask for the password i hit enter. then the screen clean up by it self then it ask for logging again. It does nt say that the password is wrong or any other error.
also i went to single-user mode then once i m at # i wrote passwd root then new password then i reboot but i still have the same problem. i cant logging.
I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss
I`am just trying to connect Samba with ldap to make it simpler for the users to log in. We have already attached squid, so by that we thought it would be easy to do the same with samba. I think we did something wrong with the ldap config for the os with is btw:
Quote: SUSE Linux Enterprise Server 11 (x86_64) VERSION = 11 PATCHLEVEL = 1 We added Quote: ldap admin dn = cn=xxx,o=xxx
Im trying to set up a samba PDC and login to it from Vista, and everything is fine except that the login script is not getting run at all. I dont want roaming profiles, I just want a script to map the samba users drive and a couple of other network shares. Pasting smb.conf at end of post. The logon script is in the netlogon directory and Im pretty sure all the permissions are ok. /home/samba/netlogon/logon.cmd This is a windows file.Vista logs in ok as the domain user, just no script!
Code:
[global] ; General server settings netbios name = TILVERTON server string = %h server (Samba, Ubuntu)
I have a samba server with security user. I have a number of shares inside the share with different users logins. But while accessing the shares from windows, in the login prompt, by default username it takes as the guest. How will I disable the default guest user login ?
I just receive news from my superior. He said he cannot login to system Red Hat using root password.So when i check, someone change root password. I restart server and login as single user. When i put new password, it not change.How to fix it? Is that mean someone just hack my server? That server is in DMZ zone.
I'm using CentOS 5.3, and I want to allow my samba server from selinux. I disabled my selinux and it works fine, but I want to keep my seline firewall on and want to allow other workstation to access my samba server.
I would like to be able to auto login to my centOS 5.4 linux machine when it boots up. Is there a intuitive way to do this? I'm running the motif window manager. The problem is that my computer boots up into motif but it asks me to login as root. I would like to eliminate this.
So if I get their public key for ssh how do I add and then how do I delete it my problem is in .ssh/authorized_keys file I do not understand how to add and how to delete the key so that I can enable and disable root login this way.I am not sure as how do I comment the key assuming that the person sends me his public key then in .ssh/authorized_keysfile how do I add so that a comment can also be added so that I can identify that person as a legitimate user.
I installed CentOS 5.2 and then run yum update. I configured this server as LDAP/Samba primary domain controller. LDAP seems to be OK and for testing I am able to create users with:smbldap-tools useradd -am usernameI can ssh into the server as root and also as a Linux user which was locally created in the server. But ssh into the server as LDAP user fails (from a Fedora 11 machine) with "Permission denied, please try again", prompting again for password.Some data:
I have a perfectly functional Samba file and print server. I will be adding several Window 2008 servers to serve as terminal server hosts running in virtual machines. I would like to convert my Samba server to a PDC (Primary Domain Controller) for these terminal servers to use. And leave everyone else as a work group (the current situation). I'd like to
1) use /etc/password and /etc/samba/smbpasswd as the source of the user accounts
2) limit what users the terminal servers can see based on a particular group (/etc/group)
So far I have tried the example howto's on the samba site and wound up having to restore /etc/nsswitch.conf in rescue mode.