LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't log on samba from windows (https://www.linuxquestions.org/questions/linux-newbie-8/cant-log-on-samba-from-windows-103391/)

amamelun 10-13-2003 08:30 AM

can't log on samba from windows
 
Hi!
I have som trouble logging on samba server from windows.

I have a RH 9 with Samba 3.0

I have changed security from user to share
I have used swat logged in as root.
I can log in as other users to, but does not get access to all functions ( the user has been added in the group root )

Users are created with same password in both samba and unix. I can see the Samba server and the shares from Windows explorer but I can't log on.

Help anyone?


# Global parameters
[global]
workgroup = MKBODO
server string = Samba Server Bodo
security = SHARE
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No

[homes]
comment = Home Directories
read only = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[felles]
path = /home/felles
read only = No

Travis86 10-13-2003 09:42 AM

Re: can't log on samba from windows
 
Quote:

Originally posted by amamelun
I have changed security from user to share
I have used swat logged in as root.
I can log in as other users to, but does not get access to all functions ( the user has been added in the group root )

I assume you mean that you can log into swat with the other users, but you can't access Samba from Windows.

I have had this same problem, and I *think* the problem was that I didn't have the firewall configured right. I can't remember all that well, but try it without a firewall. Whenever I have trouble with networking, I've usually forgotten about the firewall. (If you're paranoid, you might want to disconnect your modem while the firewall is wide open.)

And welcome to LQ. :)

amamelun 10-13-2003 12:40 PM

Hi!
Thanks!
You are right, I can log into swat with all my users, but only root has rights to do anything ( I don't understand why since the other user also is member of root)...But that is not the biggest problem right now..


The firewall are allready disabled so that is not the problem.
If its any other info that could be useful please let me know, I just don't know what to do about this problem.

Travis86 10-14-2003 01:01 PM

Since I've had this problem before, I thought I'd have the answer, but I thought about it for a while and realized I gave up on Samba before I fixed it. Somebody should be around shortly (at least that's the way it usually works) who knows more than I do. I'd be interested to know what the problem is. Linux Questions is the fastest forum I've ever seen. I was a little suprised no one else has answered.

I gave up on Samba manly because Windows networking isn't secure enough. The Linux side is secure, but the passwords are kept in a poorly encrypted form on the Winodws side.

lovswr 10-14-2003 02:16 PM

From looking at the smb.conf that you posted, I can tell you tha the more experienced types are going to tell you to change that security = SHARE to USER. although mine is set to SHARE (I can't get it to work any other way), I am hoping that your problem is resovled as I believe the solution will help me figure out what is wrong wtih my own cofig.

amamelun 10-15-2003 08:05 AM

I may add that i have tried to log on from both win xp and 2000 machines. On the 2000 machine I get the normal log on popup window, but I'm not alloved to log in as any user.
In XP however, the user is locked to guest, the only field thats writable is the password field. I saw in another thread that someone has the same problem..

I'm not really conserned about the safety on this server, its not avalible from internet anyway so I don't mind if I have to make it very "open" just to make it work...


All times are GMT -5. The time now is 08:34 PM.