RE: [Samba] win98 samba file server

2003-01-27 Thread payam
thanks alot for your help
but the problem still exists.
when I add the line:
 wins server = 81.31.169.51
in my smb.conf the 'nmb' does not restart
somebody told me that this line makes your server a samba client and
'nmb' does not permit being samba server and client...
anywhere... as I said my samba works for XP but not for win98

It has really made me cofused!
It's a week that I'm working on it morning to night
why doesn't it work for 'win98' while it answers to XP??
I'm sorry, I don't want to bother you but if you think that you can give
me useful notes PLEASE HELP, please lead me.

I forgot to say:
 - all of my computers have valid IP's
 - my LINUX server has a domain name (werc.sharif.edu)
thats all
sorry

thanks
payam


[global]
#wins server = 81.31.169.51
workgroup = 81.31.169.51
netbios name = 81.31.169.51
server string = 81.31.169.51 Samba server
#interfaces = lo 127.0.0.1 eth0 81.31.169.0/255.255.255.0
encrypt passwords = Yes
map to guest = Bad User
null passwords = Yes
log level = 1
log file = /var/log/samba/log.%m
security = domain
nt acl support = Yes
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#printcap name = /etc/printcap
#domain groups = ce
domain logons = Yes
os level = 165
preferred master = Yes
domain master = Yes
#inaa ro man yes kardam
wins proxy = Yes
wins support = Yes

comment = 81.31.169.51 Samba Server
create mask = 0744
add user script = /usr/sbin/useradd -d /dev/null -g 1 -s /bin/false -M %u
remote announce = 81.31.169.255/werc.sharif.edu
#logon drive = z:
logon home =m 
logon path = m
#logon home = \\%L\home\%G\%U
#logon path = \\%L\home\%G\%U\profile
logon script = smblogin.bat %G %U
#logon script = users\%u.bat %G %U
homedir map = amd.map
hosts allow =  81.31.169.47 81.31.169.42 81.31.169.0/255.255.255.0 127.0.0.1 
unix password sync = yes
##
passwd program = /usr/bin/passwd %u 
passwd chat = *password* %n\n *password* %n\n *tokens*
smb passwd file = /etc/samba/smbpasswd
##
deadtime = 15
getwd cache = yes
lpq cache time =45
bind interfaces only = true
create mask = 0644
#oplocks = true
#level2 oplocks = true
read raw = yes
##
domain admin group = root administrator payam admin


#lock directory = /etc/samba/lock


[netlogon]
path = /home/netlogon
comment = not for you 
browseable = No
writeable = no
guest ok = no


[cdrom]
comment = The shared cdrom
path = /mnt/cdrom
admin users = root
guest ok = Yes
#[printers]
#   path = /var/spool/samba
#   browseable = no
#   printable = yes
[home]
guest ok = no
path = /home
comment = Your home directory
read only = no
create mask = 0600
directory mask = 0700
#oplocks = false
#locking = no

#[Khorjin]
#   comment = File Archive!
#   path = /mnt/cabinet/hdb1/khorjin
#   read only = yes

# security_level.txt for details.
#   guest ok = Yes
127.0.0.1 localhost
81.31.169.47 werc421
81.31.169.42 werc422
81.31.169.51 wercs

81.31.169.5181.31.169.51#1b
81.31.169.5181.31.169.51#1d
81.31.169.5181.31.169.51#20
81.31.169.5181.31.169.51#1c

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] win98 samba file server

2003-01-24 Thread Robert Adkins
Payam,

How is Samba configured? (If you could cut and paste or attach your   
smb.conf file in a reply, we can help you out much better.)

Is Samba setup to act as a Domain Controller or a simple workgroup   
configuration?

Have you run any updates on the Windows 98 machines?

Are the windows 98 machines in the same workgroup as the workgroup you   
set in your smb.conf file?

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
Ph. 586-254-5800
Fx. 586-254-5804


 -Original Message-
From: payam [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 3:10 PM
To: [EMAIL PROTECTED]; Robert Adkins
Subject: [Samba] win98  samba file server

   

Hello everybody,
it's a few minutes that i've subscribed in your mailing list.
nice to meat all of you.

I have samba on redhat 8 as a file server for a couple of win98 
winXP's.It work's for my XP OS's but I don't know how to join the   
win98 's in.

please help me
thanks
payam.


 --
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



RE: [Samba] win98 samba file server

2003-01-24 Thread payam
thanks Robert

-I attached my smb.conf for you
-I have not installed any updates on the win98's
-my samba server has a domain name as werc.sharif.edu

thanks alot,thanks alot thanks alot.
payam

[global]

workgroup = werc.sharif.edu

netbios name = werc

server string = 81.31.169.51 Samba server

#interfaces = lo 127.0.0.1 eth0 81.31.169.0/255.255.255.0

encrypt passwords = Yes

map to guest = Bad User

null passwords = Yes

log level = 1

log file = /var/log/samba/log.%m

security = domain

nt acl support = Yes

time server = Yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

#printcap name = /etc/printcap

#domain groups = ce

domain logons = Yes

os level = 165

preferred master = Yes

domain master = Yes

#inaa ro man yes kardam

wins proxy = Yes

wins support = Yes



comment = 81.31.169.51 Samba Server

create mask = 0744

add user script = /usr/sbin/useradd -d /dev/null -g 1 -s /bin/false -M %u

remote announce = 81.31.169.255/werc.sharif.edu

#logon drive = z:

logon home =m 

logon path = m

#logon home = \\%L\home\%G\%U

#logon path = \\%L\home\%G\%U\profile

logon script = smblogin.bat %G %U

#logon script = users\%u.bat %G %U

homedir map = amd.map

hosts allow =  81.31.169.42 81.31.169.0/255.255.255.0 127.0.0.1 

unix password sync = yes

##

passwd program = /usr/bin/passwd %u 

passwd chat = *password* %n\n *password* %n\n *tokens*

smb passwd file = /etc/samba/smbpasswd

##

deadtime = 15

getwd cache = yes

lpq cache time =45

bind interfaces only = true

create mask = 0644

#oplocks = true

#level2 oplocks = true

read raw = yes

##

domain admin group = root administrator payam admin





#lock directory = /etc/samba/lock





[netlogon]

path = /home/netlogon

comment = not for you 

browseable = No

writeable = no

guest ok = no





[cdrom]

comment = The shared cdrom

path = /mnt/cdrom

admin users = root

guest ok = Yes

#[printers]

#   path = /var/spool/samba

#   browseable = no

#   printable = yes

[home]

guest ok = no

path = /home

comment = Your home directory

read only = no

create mask = 0600

directory mask = 0700

#oplocks = false

#locking = no



#[Khorjin]

#   comment = File Archive!

#   path = /mnt/cabinet/hdb1/khorjin

#   read only = yes



# security_level.txt for details.

#   guest ok = Yes




RE: [Samba] win98 samba file server

2003-01-24 Thread Robert Adkins
Payam,

You should definitely pick up a copy of O'Reilly's Using Samba book.   
The book is immeasurably useful, even though it is slightly out of date,   
due to its explanation of how the SMB protocol works and the section   
regarding setting up a Samba PDC for the various MS Operating Systems.

What I believe to be your issue right now, is that you need to have an   
LMHOSTS file setup and also have your Samba server acting as a WINS   
server. Once you have that configured, it is a simple matter of pointing   
each Windows 98 based machine to the Samba server as the WINS server.   
At that point, you should be able to join the domain.

There is a good deal of information that you need to write into the   
LMHOSTS file for Windows 98 machines to see and understand what your   
Domain Controller is.

One thing you need to do is add the line 'wins server = ip address of   
your server' into your smb.conf file.

Once that is done, you need to create an LMHOSTS file. This file needs   
to have a small number of lines detailing the IP Address of your server   
then resource identifiers, like server/domain name along with a resource   
type...

For example;

192.168.254.22  super#1b
192.168.254.22  batman#1d
192.168.254.22  batman#20
192.168.254.22  batman#1c

Line one states that the machine at IP Address 192.168.254.22 is the   
Domain Controller for the 'super' domain. The line with '1d' in it states   
that the server is a Master Browser. The next line with '20' in it makes   
the server broadcast it is a fileserver. The '1c' designates the server   
as a logon server.

Once you have all that in place, those Windows 98 machines should be   
fine with connecting to your domain. Note: The above resource names are   
NetBIOS names. So, the Windows machines will require the NetBIOS protocol   
be installed on them as well.

Hopefully that will take care of your issue.

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
Ph. 586-254-5800
Fx. 586-254-5804


 -Original Message-
From: payam [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 5:06 PM
To: Robert Adkins
Cc: [EMAIL PROTECTED]
Subject: RE: [Samba] win98  samba file server

   

   

thanks Robert

 -I attached my smb.conf for you
 -I have not installed any updates on the win98's
 -my samba server has a domain name as werc.sharif.edu

thanks alot,thanks alot thanks alot.
payam

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba