[Samba] win98 & samba file server

payam torkian at ce.sharif.edu
Fri Jan 24 13:34:22 GMT 2003


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
-------------- next part --------------
[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 10000 -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



More information about the samba mailing list