umask gond

Molnar Peter MOLNARP at afg.sulinet.hu
2009. Jan. 14., Sze, 10:48:50 CET


Hello!
> Tuti, hogy samban keresztul irnak ra, ha halozati meghajtokent latjak :)
Hat lehet, de valami van meg ott, mert netware fajlrendszer tulajdonsagokat 
tudok beallitani a konyvtarakra, az edirectoryban felvett felhasznalokra, de az 
edirectoryban nem latszanak a linux felhasznalok, igy az edirectoryban 
letrehozott felhasznalok hozzaferesenek allitasa hatastalan a linux 
jogosultsagrendszerre.
Magyarul, mert mar en is belebonyolodtam:
Adott konyvtarba novell kliensen keresztul masolva mindig a root lesz a 
tulajdonos, 600-s joggal.
Ha novell netware jogosultsagokat allitok az adott konyvtaron az nem valoztatja 
meg a root tuljdonossagat es az allomany jogait sem.

> Az smb.conf megfelelo szekciojaba irtal?
Ez jogos kerdes, gondolom. Mivel nem olyan nagy, s raadasul mindossze 2 helyen 
fordul elo a Create mask kifejezes, s az egyik a nyomtatoknal, igy gondolom 
igen.
De itt van:

[global]
	workgroup = workgroup
	printing = cups
	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:
	usershare allow guests = Yes

# BEGIN - Entries made by OES install
	netbios name = %h-W
	passdb backend = NDS_ldapsam:ldaps://192.168.100.252:636
	ldap admin dn = cn=sambaProxy,ou=www,ou=Services,o=uni
	ldap suffix = o=uni
	ldap passwd sync = on
	security = user
	encrypt passwords = yes

	# NOTE: use sendfile is set to no to support nss filesystem shares.
	#       To improve performance for other filesystems that support
	#       sendfile remove this line from the global section and add only
	#       to share definitions on nss filesystems.
	use sendfile = no
	server string = 

# END - Entries made by OES install

[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 = 0604
	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

# Share disabled by OES Install
#[printers]
#	comment = All Printers
#	path = /var/tmp
#	printable = Yes
#	create mask = 0600
#	browseable = No

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

> > Vaj hol lehet ezt beallitani, ha lehet egyaltalan?
> Ld. elozo levelem.
Ups, ez lemaradt.
A listan az elozo leveled arrol szol, hogy az umask nem mukodik, s kuldjek el 
neked listakat.
Vagy en latom rosszul?

Udv:
Molnar Peter, http://www.petersoft.hu Tel:36209149514
Tersegi Kozos Igazgatasu Kozoktatasi Intezmeny
Arpad Fejedelem Gimnazium, Gazdasagi es Informatikai Szakkozepiskola
Kistelek



További információk a(z) Techinfo levelezőlistáról