LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   need help with samba-windoz network (https://www.linuxquestions.org/questions/fedora-35/need-help-with-samba-windoz-network-606136/)

cuda 12-14-2007 12:21 PM

ok this is what i get
Quote:

[cuda@localhost ~]$ /sbin/chkconfig
chkconfig version 1.3.36 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage: chkconfig --list [name]
chkconfig --add <name>
chkconfig --del <name>
chkconfig --override <name>
chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>

cuda 12-14-2007 05:38 PM

yeah that works
[cuda@localhost ~]$ /sbin/chkconfig
chkconfig version 1.3.36 - Copyright (C) 1997-2000 Red Hat, Inc.
This may be freely redistributed under the terms of the GNU Public License.

usage: chkconfig --list [name]
chkconfig --add <name>
chkconfig --del <name>
chkconfig --override <name>
chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>
[cuda@localhost ~]$

Glennzo 12-14-2007 05:46 PM

OK, time for /sbin/chkconfig --level35 smb on and /sbin/chkconfig --level35 nmb on, then see what's up with your browsing.

cuda 12-15-2007 06:33 AM

[root@localhost cuda]# /sbin/chkconfig --level35 nmb on
--level35: unknown option
[root@localhost cuda]# /sbin/chkconfig --level35 smb on
--level35: unknown option
[cuda@localhost ~]$ /sbin/chkconfig nmb on
failed to make symlink /etc/rc2.d/S91nmb: Permission denied
failed to make symlink /etc/rc3.d/S91nmb: Permission denied
failed to make symlink /etc/rc4.d/S91nmb: Permission denied
failed to make symlink /etc/rc5.d/S91nmb: File exists
[cuda@localhost ~]$ su
Password:
[root@localhost cuda]# /sbin/chkconfig nmb on
[root@localhost cuda]# /sbin/chkconfig smb on

I would l like to keep trying to fix this but if its to big of a pain in I can just go back to fedora 7 IM not in any hurry

Glennzo 12-15-2007 06:45 AM

Nah. My bad there. You need to use sudo, sudo /sbin/chkconfig --level 35 smb on or run the command as root. Same for nmb. Sorry. Also, there's a space between the word level and the numbers 35.

cuda 12-15-2007 06:06 PM

ok this is wild if I use the command sudo /sbin/chkconfig --level 35 smb on
it asks for my password and it wont accept it is says thais incorrect
then if I log in to root and use the command sudo /sbin/chkconfig --level 35 smb on
nothing happens

Quote:

[cuda@localhost ~]$ sudo /sbin/chkconfig --level 35 smb on
Password:
Sorry, try again.
Password:
Sorry, try again.
Password:
Sorry, try again.
sudo: 3 incorrect password attempts
[cuda@localhost ~]$ su
Password:
[root@localhost cuda]# sudo /sbin/chkconfig --level 35 smb on
[root@localhost cuda]# sudo /sbin/chkconfig --level 35 nmb on
[root@localhost cuda]# exit
exit

Glennzo 12-15-2007 06:24 PM

Nothing happens because running the command as root worked. Try, as root, /sbin/chkconfig --list smb. It should show on for level 3 and 5.

jschiwal 12-16-2007 12:24 AM

One thing you also need to do is to run "smbpasswd -a <username>" to add the same username and password that exists in windows. There needs to be a one-to-one mapping between the windows user and the samba user.

Also, check your logs for selinux. You may want to check what it's configuration says for samba.

cuda 12-16-2007 07:44 PM

yeah it did
Quote:

[root@localhost cuda]# /sbin/chkconfig --list smb
smb 0: off 1: off 2: on 3: on 4: on 5: on 6: off

and I added a new user it had no effect

I got windows to tell me that "you were not connected because a duplicate name exists"
I changed the name of my win box with no help but when I changed the name of my fedora box it made it so that I can access my shared files from windows on my fedora box
so I ca live with it this way however I like it when I can access my win box from fedora I will check windows again and see if its something there will update if I find something

cpblake 12-23-2007 02:10 AM

I was having the same problem with the latest version of Solaris 10. The fix for me was to put the netbios name and IP address of the workgroup master browser into the /etc/hosts file of the Solaris machine.

I have several PCs, running various versions of Linux, Solaris and Windows, on my home network. I'm connected to the Internet through a DSL router that does NAT and acts as a DHCP server. It gives it's own address to it's clients as a DNS server. Then, forwards lookup requests to my ISP's DNS servers. Unfortunately, it doesn't resolve the names of the machines on my local network. It passes queries to my ISP even if one of my computers is looking for the address of another. Of course, my ISP knows knows nothing of my internal network and the lookup fails.

What appears to be happening with this version of Samba is that it's using DNS to get the IP address of the workgroup master browser after finding the name. If that fails, you get the error message.

All my PCs showed up in the Nautilus browser after I put the master browser's address into the /etc/hosts file. Since it's possible for any of the Windows PCs to be the master browser I reserved all their addresses and put them all in the /etc/hosts file.

surverma 01-07-2008 12:09 AM

linux machines are not connecting to local running websites
 
hello friends
I have 10 linux machines and 40 windows machines in my office. I have install a new share-point server in my office. problem is this that my share-point sites is not opening in linux machines, like as I open that in windows machine by http://share-point:8080/projects ,its working fine but when I open it with my linux firefox browser then it directly goes to my squid server which unable to resolve the address for this local running share-point site, and by auto detect proxy that is also not working .
any help please............


All times are GMT -5. The time now is 01:07 AM.