LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba and proxy, unable to get on win network, SuSE 10.1 (https://www.linuxquestions.org/questions/linux-newbie-8/samba-and-proxy-unable-to-get-on-win-network-suse-10-1-a-454178/)

matticus 06-12-2006 09:19 PM

samba and proxy, unable to get on win network, SuSE 10.1
 
Hi all,
My first post so I thought I should put it in the n00b section, I think it is something quite simple but it has dumbfounded me. I am trying to hook up my SuSE 10.1 box onto a lan at work, I have all the information ip add, gateway, etc etc; and have put it all in the desired locations but I am still unable to locate the windows workgroup, I can't even get onto the internet, theres a proxy but I have entered that in too. Can someone help me out? Also can someone explain if on a win network you need samba for everything you do? ie surfing the web? I guess the first thing to do is show my smb.conf file so here it is. thanks

[global]
workgroup = TRON
allow hosts = xxx.xx
password level = 3
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
winbind gid = 10000-20000
winbind uid = 10000-20000
usershare max shares = 100
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = no
wins support = yes
wins server = xxx.xx.x.xx
restrict anonymous = no
preferred master = auto
max protocol = NT
ldap ssl = No
server signing = Auto
netbios name = ANGEL
netbios aliases = ANGEL
hostname lookups = yes
netbios scope = TRON
idmap gid = 10000-20000
idmap uid = 10000-20000
security = user
encrypt passwords = yes
passdb backend = smbpasswd

[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes

[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700

[users]
comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

JimBass 06-12-2006 10:52 PM

To see other machines on a Win network, you need the samba client, not the samba server. To connect to other machines, the smbclient command will take care of you. Typing
Code:

man smbclient
in a terminal will give you all the options. Basically you need to specify what machine and directory you want to look at, and also most times a username and pass. I don't know if there are GUI shortcuts, but back when I did care about such things, I think if you put something like
Code:

smb://
in the address bar of konquerer it would show the workgroups it was aware of.

Samba has absolutely no effect on your ability to get on the web. Regardless of the setup, samba is only needed to share files/printers and such. Not connectivity. See if you can ping your gateway, and if that fails, can you ping your own IP address?

I suggest uninstalling samba server, unless you are going to house files that should be shared across the network on your machine. To see shares on other machines, just use smbclient.

Peace,
JimBass


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