LINUX.ORG.RU
ФорумAdmin

suse<--->windows network


0

0

нюби ещё в линуксе, так вот вроде поставил самбу, винда видит стандартные её директории(групс, хомс, профайлс... итд) сделал через самба сервер в Yast ещё одну директорию, Shares, указал путь к самой папке... но тут встала проблема, при коннекте с винды, просит логин и пароль... тот который прописал в конфиге как guest account не хляет почему то... вообщем хелп, а ещё надо чтобы эта Shares могла быть изменена с виды(скопировать туда что нить и так далее...) и чтоб на неё вообще можно было попасть=) 

win - win xp sp2 lin - suse 10.1 

вот конфиг(правда незнаю нужен ли он....)




# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-05-02

[global]
	workgroup = Mshome
	comment = Windows 98
	guest account = esirenko
	security = user
	load printers = no
	client code page = 866
	character set = koi8-r
	socket options = TCP_NODELAY
	dns proxy = no
	wins support = yes
	domain master = No
	printcap name = cups
	printcap cache time = 750
	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:
	idmap gid = 10000-20000
	idmap uid = 10000-20000
	usershare max shares = 100
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
	domain logons = No
[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = Yes
	writable = No
	read only = No
	inherit acls = Yes
[public]
	comment = Public Directory
	path = /home/samba
	read only = 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
[share]
        comment = main share folder
	inherit acls = Yes
	path = /home/share
	read only = No

Добавь в секцию [share] такое "guest ok = yes". У тебя стоит опция security = user, поэтому пароль будет спршивать. Можно поставить security = share, если это не критично ...

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.