CentOS 5 Networking :: How To Have Samba Not Prompt To Login
Oct 28, 2010
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
i have a brand new CentOS 5.2 installation and cannot login because it does not react to any keyboard inputs.By the way ... the cursor is still blinking - so the machine is running.
A strange problem has surfaced with my CentOS 5.5 Rackspace Cloud Server. I was doing OK until today. For some strange reason, whenever I login to the server, using ssh and pub/priv key authorization, or password authorization for that matter, the letter E (that's an uppercase 'e') does not echo at the prompt line, it just beeps like an error. At the login prompt, before signing in, the letter E is echoed to the terminal window. I'm using an iMac, OS X 10.6 (Snow Leopard) and the standard Mac terminal application.
This behavior does not occur when using the terminal app locally, i.e., logged into the iMac, and all other applications on the Mac are OK with 'E's. To further test the issue, I used the Java console app that Rackspace provides through a browser (I use Firefox, latest revision). Before logging in, the login prompt will accept and echo 'E'. As soon as I authenticate and get to a system prompt, anytime I press a Shift-e, I get a beep and no echo to the terminal command line. It doesn't matter who I login as, root or another user.
To further confuse things, if I start up an instance of nano in that very same terminal window, nano accepts and echoes the 'E'! Using nano, I've created a short bash script file:
#!/bin/bash echo "ABCDEFG"
and it echoes properly when run.
Any clues as to where I might look to resolve this bizarre behavior?
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:
A lightning burned out our server disk, which ran Ubuntu 8.10. We installed Ubuntu 10.1 and followed instructions to install CoovaChili access controller for our network. All went fine as before, ifconfig indicates subnets eth0 and eth1, as well as the local network lo. Subnet eth0 works fine, but eth1 does not provide the login prompt window.
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 installed CentOS 5.4 in a Virtualbox instance using the text mode installer. The GUI installer crashes. I chose the "Server (GUI)" option when installing the system, but upon completion of the install, I'm presented with a text mode login screen. Logging in as root drops me to a shell in text mode as I would expect.
What exactly IS "Server (GUI)?" I was thinking it would be a stripped down X11 desktop.
The main role of the Virtualbox instance is to run a server stack that we run on other CentOS machines, but I want Eclipse and perhaps just a few other GUI tools on it, without all the kitchen-sink crap that (I assume, coming from the Ubuntu world) comes with a "Desktop" install.
I just installed Fedora 12 on a laptop. I changed the default shell on the root account to /bin/tcsh and changed the runlevel to 3 and then rebooted. Now I can't login into the root account: it returns me immediately to the login prompt and I can't see any error message (the screen is cleared).Why is this happening?Can I boot into some sort of safe mode so I can undo my changes to the /etc/inittab and /etc/passwd file?I tried booting with a Live CD with the intention of mounting the filesystem and making the changes, but the new filesystem is a LVM and it won't let me mount it (or I don't know how to mount a Logical Volume).
- My laptop, with Ubuntu 10.04 - My PC, with Windows Seven
When I try to access my shared files ON my PC FROM my laptop, Samba ask for a password. I typed my Windows Seven login/password, pressed OK... and again, Samba asked for the password. I thought the problem came from Windows Seven, not allowing remote access from a local user account... I tried to allow anonymous access on my PC, but it didn't help...
But then, I learned I could also mount my shared files by adding a line in /etc/fstab :
In the cred-file, I put the exact same login and password then before... and bingo, it works.
But the problem is not fully resolved, as I can only browse files from the "mounted shortcut". I can't use my remote printer anymore, or access any external HD that I share on my PC So I really need to get samba working.
Last night my old server running a 5 year old version of samba crashed. So I set up an Ubuntu 10.04.1 lts box to be server. Now my Win95 machine cannot login.It sees the Samba share but reports that its password was incorrect. My first guess is that Samba is expecting an encrypted password, and Win95 is sending unencrypted. (Other Ubuntu boxes, and a WinXP box are able to connect to this new server without problem.) I found this [URL] which I downloaded and installed, but still no connection.
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?
I have a folder on my linux server and I want to be able to share files to windows users in this manner :
1. Require login with username and password when accessing file share.
2. Files created by logged in users become owned by them (I can create local accounts for this matter to all the users).
3. Depending on permissions files created by other users can be read only by logged in user.
I thought of going in samba way for this but I'm not familiar with samba enough to make something like this. If any other sharing method is required I can go for it since I'm doing this from a scratch but that only if its not possible with samba.
I am currently attempting to setup Samba 3 (installed) for a basic home-network file-sharing server via Ubuntu 10.04. It seems like (based on my extensive googling and research) nobody wants or has a configuration like I do, but surely SOMEBODY knows how to do this.
The following is my goal for a basic setup.
Folder 1 (share is called "Read-Write"):
-Users from Windows 7 can see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
-Users can accomplish all of this from as "guest."
Folder 2 (share is called "Read-Only"):
-I can log in as my user to see, read, write, execute, create, or delete any files and folders in Folder 2 as I so desire.
-People other than me can log in as "guest."
-"Guest" users from Windows 7 can see, read, and execute programs as desired.
Things I have accomplished:
-Directories exist
-Directories are browseable via Windows 7
-My user has a password for Samba (assigned via "sudo smbpasswd -a matthew)
Things I have not yet been able to accomplish:
-Configure Folder 2 so that Samba asks for login credentials when someone tries to access it SO THAT I an use my Samba user to log in.
-Configure Folder 2 so that, when I log in as my Samba user, I can see, read, write, execute, create, or delete any files and folders in Folder 1 as I so desire.
-Configure Folder 2 so that Windows 7 users can easily access it as guest to browse, read, and execute files and folders in it.
-Configure Folder 1 so that any Windows 7 user can easily access it as guest to see, read, write, execute, create, or delete any files and folders in Folder 1 as they so desire.
The homes is suppose to let each user see his/her own home directory. But I tested at the windows side, I found that windows doesn't even prompt me about username or password, it just directly give me "not accessible" error. How do I config so my windows side at least prompt me about username/password?
I had CentOS 5.2 Upgraded to 5.3 -- when will I learn to test more. Anyway, same everything and samba won't stay up. I'm constantly doing service smb restart and then a few seconds later the shares are gone and I have to run smb restart again.
I am trying to mount a file server directory on a client machine. I tried using NFS, but could not mount the share on the client. Several respobses were given to a post on this problem. but I still was not able mount the NFS share. I decided to try instead to mount the directory as a Samba share because I can already access it using Samba from windows, or from KDE or Gnome using smb://fileserver as a desktop location icon URL. When I try to mount the Samba share I get error messages that nearly identical those that occurred with NFS. . Here are some of the setup parameters
CentOS 5.4 on client and server behind a D-Link router server IP: 192.168.0.44 (can ping it client) client IP: 192.168.0.101 (can ping from server)
[code]....
This is the only error message that these commands have produced in the messages log, secure log or smbd log for either machine. My immediate goal is to set up the simplest possible local mount that will allow Grsync to backup to the file server.
I have setuped OpenLDAP+Samba PDC. When I create user and group -> Errors. smbldap-group -a admin No such object at /usr/sbin/smbldap_tools.pm line 457 smbldap-useradd -am -g admin admin Could not find base dn, to get next uidNumber at /usr/sbin/smbldap_tools.pm line 1192
I have set up a Samba share via my CentOS 5 server (the samba share is actually a mounted filesystem, not local machine space). I have been successful in adding permissions for my windows users within the smb.conf, but have an additional need that I cannot figure out. I would like for my Windows administrators to be able to create folders and assign permissions from their machines (and their Windows GUI). Ultimately I need the folders on the Samba share to behave correctly when Windows group permissions are applied by these administrators.
When the folders are created, the "Everyone" identity cannot be deleted and sometimes "Creator Owner" or "Creater Group" show up. I have seen several threads start down this path, but haven't seen a definite answer (I may have just missed it!).
I have a running PDC with Samba and LDAP. But when I want to join the Domain with an XP Pro Client I just get following error message. "A Device connected to the System is not working".
cannot restrict share access to a single user. I've played with the security and valid users options in the smb.conf and I can get it to mount if I remove the valid users option, but this does not provide the access restriction I need. I also left it open and tried making the folder permissions rwx for backupadmin only and that didn't work. I'm using a credentials file which I include below, but I've tried manually entering them in the command too.
[root@aaphst02 /]# mount -t cifs //aapsan01/aapxen01 /mnt/aapxen01 --verbose -o credentials=/root/smbcreds mount.cifs kernel mount options: unc=//aapsan01aapxen01,ip=10.0.1.34,user=backupadmin,ver=1,rw,credentials=/root/smbcreds,pass=********
After a recent kernel update, I no longer get a login prompt on the first tty after booting. I can get to one in the second tty, and on the first one after hitting Ctrl+Alt+F1 to go back.
I don't get a UI login prompt at startup and it makes a sound. I'm using 10.04, though this did happen to me in 9.0x as well. When I press ctrl-alt-F1, I login and sudo gdm stop and do sudo startx this seems to put me at root and there is an error with the applets and the panel does not load. "Killall gnome-panel" does not fix it.
If I simply do startx (w/o going to root), it goes to a black screen and if I press ctrl-alt-F1 it repeats "No protocol specified" until I get the error message xinit: Resource file temporary unavailable (errno 11): unable to connect to Xserver.
I managed to change the background by copying over a new image file to some directory. However, there is still the big boring login window. Is there any way to change that? I'd like something darker, and smaller. I copied over the image file to /usr/share/backgrounds/warty-final-ubuntu.png My image file was actually a jpeg file, but copying it over to /usr/share/backgrounds/warty-final-ubuntu.png posed no problems.
This might be simple but i am unable to find an answer anyplace online. How do you change the terminal login prompt on a Ubuntu server?Right now when you go to log into the server it displays:<old_servername> login:
I would like it to just display login without the server name or the new server name. I am not sure how that info go in the login prompt to begin.
We've set up a Red Hat Enterprise Linux 5 server and can log into it remotely just fine (with root and other users), but if I try to log in locally with a keyboard and monitor connected to the machine, I keep being returned to the login prompt. If a login is incorrect, I get an error message, but if it is correct then the screen just blanks and shows the login prompt again.While booting the only error message that comes up has to do with SNMPD, so I don't think it's related.
I read this post on the forum which seemed like a similar problem but it didn't help (I wasn't getting the "Module is unknown" message he was). I also read another post somewhere that said he was having the problem because the server was trying to use AD to authenticate, but I checked that and it's not the case with our server.From what I'm told (I didn't set up the server myself) it used to work fine, but then "something" happened one day that made it do this.
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?
I have just started a job as an IT tech, and have inherited a linux server running CEntOS 5.3 -- I have some experiance with linux, but am a little at sea. I'm using Webmin 1.490.The main use of the server is to samba share file space to windows clients, running XP.Everyone can happily connect to their home share, however the other shares have problems. One of the shares "staff" fails intermittently (to some staff members) and some of the other shares fail always.
The failure is that when a user tries to connect to the share, it pops up a username and password dialog (even if they just successfully viewed their home dir) then on entering correct details and clicking ok, the box refreshes with <domain><user name> (where braced values are replaced by literal values). If a user is connecting from outside via vpn (hosted though a different department's server) the domain is replaced by their computer name.If the password is re-entered, the same happens, in an infinite loop, and no access is ever given.When I say the staff share is intermittent, there likely is some pattern, but I haven't been able to work it out yet -- I think it may have something to do with how recently the account was set up, or physical location.