Help - Search - Members - Calendar
Full Version: Samba Networking
Linuxhelp > Support > Technical Support
xix242
Hi I have for many days tried in vain to net work suse 9.2 linux with a win98 pc . I have networked many pc's before with win98 to xp machines but I cannot get the linux machine to networking please where am I going wrong. I enclose a copy of my samb smb.conf file thanking in advance to anyone who can help before I pack it in.
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/03/25 20:55:24

# Global parameters
[global]
server string = linux
workgroup = WORKGROUP
encrypt passwords = No
map to guest = Bad User
username map = /etc/samba/smbusers
server signing = auto
printcap cache time = 750
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon path = \%Lprofiles.msprofile
logon drive = P:
logon home = \%L%U.9xprofile
os level = 65
preferred master = Yes
domain master = Yes
wins server = eth0:0.0.12.0, eth0:39.123.0.0
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap suffix = dc=example,dc=com
ldap ssl = no
valid users = Stephen
admin users = Stephen
printer admin = @ntadmin, root, administrator
hosts allow = 192.168.1.34
cups options = raw
include = /etc/samba/dhcp.conf

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

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

[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
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
DS2K3
** Moved to Tech Support **

D
michaelk
Do you want to use samba as a Primary Domain Controller or just for basic file sharing?

You need to change:
encrypt passwords = No
to
encrypt passwords = Yes
xix242
Many thanks for the reply I will change the passwords I wud like it to be a domain Cont. although I hoped just to get it working I am now after a long struggle at the stage of being able to see windows from linux but not the other way around I have tried changing the password patch in the windows registry but no good
I cannot browse to the linux computer which is the Samba server. Thanks again
Termina
You need to add a samba user.

smbpasswd -a username

Then enter in your password (the user you add under smbpasswd needs to already be a user on your linux system).

Retart samba, and then try to browser.

Also, please verify that WORKGROUP is your workgroup name.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.