Re: [Fedora-users-br] Samba no Fedora 5, duvidas autenticação win98

Adriano ibranca em hotmail.com
Ter Jul 4 20:47:30 UTC 2006


eh realmente eu não tinha colocado todos os compartilhamentos no primeiro
samba, eu só estava tentando com aqueles para depois incluir o restante,
segue o erro no testparm e em seguida meu smb.conf.

vlw,
[root em localhost ~]# testparmLoad smb config files from
/etc/samba/smb.confProcessing section "[JFL]"Processing section
"[tomcat]"Processing section "[Home]"Processing section
"[netlogon]"Processing section "[Public]"Processing section
"[Dogod]"Processing section "[Sysvol]"Processing section
"[Backup]"Processing section "[%U]"Processing section "[scripts]"Processing
section "[vscan]"Processing section "[/Sysvol]"Loaded services file
OK.WARNING: passdb expand explicit = yes is deprecatedInvalid combination of
parameters for service JFL.                                         Map
hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service JFL.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service tomcat.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service tomcat.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service Home.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service Home.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service netlogon.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service netlogon.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service Public.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service Public.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service Dogod.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service Dogod.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service Sysvol.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service Sysvol.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service Backup.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service Backup.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service .
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service .
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service scripts.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service scripts.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service vscan.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service vscan.
Map system can only work if create mask includes octal 010 (S_IXGRP).Invalid
combination of parameters for service /Sysvol.
Map hidden can only work if create mask includes octal 01 (S_IXOTH).Invalid
combination of parameters for service /Sysvol.
Map system can only work if create mask includes octal 010 (S_IXGRP).Server
role: ROLE_DOMAIN_PDCPress enter to see a dump of your service
definitions*****************************************************************
************************************************# Samba config file created
using SWAT
# from 192.168.1.188 (192.168.1.188)
# Date: 2006/07/04 17:42:08

# Global parameters
[global]
	workgroup = PELK
	netbios name = SERVER
	encrypt passwords = Yes
	log level = 1
	log file = /var/log/samba/log.%m
	max log size = 50
	announce as = NT Workstation
	max xmit = 65535
	read size = 32768
	socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8182
	logon script = %U.bat
	domain logons = Yes
	os level = 254
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	comment = Servidor Linux
	force group = @dogod
	create mask = 0766
	force create mode = 0766
	force security mode = 0766
	directory mask = 0776
	force directory mode = 0776
	map system = Yes
	map hidden = Yes
	oplocks = No
	level2 oplocks = No
	strict locking = Yes

[App]
	comment = Compartilhamento App
	path = /dogo/app
	valid users = @dogod
	read only = No

[JFL]
	comment = Compartilhamento JFL
	path = /JFL
	valid users = @dogod
	read only = No

[tomcat]
	comment = Webapps
	path = /var/tomcat4
	valid users = @dogod
	read only = No
	guest ok = Yes

[Home]
	comment = Compartilhamento home
	path = /home
	valid users = dogod
	read only = No

[netlogon]
	comment = Scripts
	path = /scripts
	read only = No
	guest ok = Yes

[Public]
	comment = Compartilhamento Public
	path = /dogo/public
	valid users = @dogod
	read only = No

[Dogod]
	comment = Compartilhamento Geral
	path = /dogo
	valid users = dogo
	read only = No

[Sysvol]
	comment = Compartilhamento sysvol
	path = /sysvol
	valid users = @dogod
	read only = No

[Backup]
	comment = Compartilhamento Backup
	path = /backup
	valid users = @dogod
	read only = No

[%U]
	comment = Compartilhamento Home
	path = /home/%U
	valid users = %U
	read only = No

[scripts]
	comment = Compartilhamento Scripts
	path = /scripts
	valid users = @dogod
	read only = No
	guest ok = Yes

[vscan]
	comment = virus-protected /samba directory
	path = /testesamb
	valid users = %U
	read only = No
	guest ok = Yes
	vfs object = /usr/lib/samba/vfs/vscan-clamav.so


----- Original Message -----
From: "Felipe Tocchetto" <felipe em tocchetto.com>
To: "Lista de discussão voltada para os usuários brasileiros do Fedora"
<fedora-users-br em redhat.com>
Sent: Tuesday, July 04, 2006 5:08 PM
Subject: Re: [Fedora-users-br] Samba no Fedora 5, duvidas autenticação win98


> O primeiro arquivo que vocês postou aqui nao tinha diversas seções que
> 'apareceram' agora, como por exemplo o compartilhamento JLF.
>
> Poste seu smb.conf completo aqui, também poste o que os logs estão
apresentando.
>
> Não sei como você está usando este samba, se está apenas
> compartilhando diretórios ou esta servindo de PDC tb. Lembre-se que no
> Win98, diferentemente do XP (onde voce pode especificar um usuario
> para conectar ao compartilhamento) o 98 passa como parametro user o
> usuario logado na máquina.
>
> Felipe
>
> Em 04/07/06, Adriano<ibranca em hotmail.com> escreveu:
> > Felipe Fiz as alteraçõesno smb.conf netbios name = pelk e workgoup
teste,
> > coloquei a estação para dar o login em pelk na estação da a mensagem
> > parametro invalido, rodei o testparm olha o result, vlw kara
> >
> > Adriano
> > [root em localhost ~]# testparm
> > Load smb config files from /etc/samba/smb.conf
> > Processing section "[JFL]"
> > Processing section "[tomcat]"
> > Processing section "[Home]"
> > Processing section "[netlogon]"
> > Processing section "[Public]"
> > Processing section "[Dogod]"
> > Processing section "[Sysvol]"
> > Processing section "[Backup]"
> > Processing section "[%U]"
> > Processing section "[scripts]"
> > Processing section "[vscan]"
> > Processing section "[/Sysvol]"
> > Loaded services file OK.
> > WARNING: passdb expand explicit = yes is deprecated
> > Invalid combination of parameters for service JFL.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service JFL.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service tomcat.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service tomcat.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service Home.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service Home.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service netlogon.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service netlogon.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service Public.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service Public.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service Dogod.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service Dogod.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service Sysvol.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service Sysvol.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service Backup.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service Backup.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service .
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service .
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service scripts.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service scripts.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service vscan.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service vscan.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Invalid combination of parameters for service /Sysvol.
> > Map hidden can only work if create mask includes octal 01 (S_IXOTH).
> > Invalid combination of parameters for service /Sysvol.
> > Map system can only work if create mask includes octal 010 (S_IXGRP).
> > Server role: ROLE_DOMAIN_PDC
> > Press enter to see a dump of your service definitions
> >
> > ----- Original Message -----
> > From: "Felipe Tocchetto" <felipe em tocchetto.com>
> > To: "Lista de discussão voltada para os usuários brasileiros do Fedora"
> > <fedora-users-br em redhat.com>
> > Sent: Monday, July 03, 2006 5:35 PM
> > Subject: Re: [Fedora-users-br] Samba no Fedora 5, duvidas autenticação
win98
> >
> >
> > > Bom, de cara o erro que vi é:
> > >
> > > Você disse:
> > > "Na estação coloquei para efetuar o logon no servidor pelk"
> > >
> > > Mas o nome de seu servidor está "server" :
> > > netbios name = server
> > >
> > > Mude para "pelk" se esse for realmente o nome de seu servidor.
> > >
> > > Outra coisa, seu grupo de trabalho está como "pelk"
> > > workgroup = pelk
> > >
> > > Mude para o nome do grupo de trabalho ou dominio de sua rede.
> > >
> > > Tente isto e veja se funciona...
> > >
> > > Teste tb seu smb.conf com o testparm
> > >
> > > --
> > > Felipe L. Tocchetto
> > > http://felipe.tocchetto.com
> > >
> > > 2006/7/3, Adriano <ibranca em hotmail.com>:
> > > >
> > > >
> > > >
> > > > Boas pessoal estou tentando configurar o Samba no Meu Fedora Core 5,
> > porém
> > > > após criar o grupo e adicionar os users no servidor e tentar dar um
> > login
> > > > pela estação ele sempre reclama da senha, ja refiz a senha varias
vezes
> > e
> > > > nada. Segue meu smb.conf e os comandos usados para criar grupos e
> > usuários,
> > > > vlw
> > > >
> > > >
> > > > Na estação coloquei para efetuar o logon no servidor pelk
> > > >
> > > > Toda ajuda ou dica eh bem vinda
> > > >
> > > > Abraços
> > > > Adriano
> > > >
> > > >
> > > > comandos
> > > > groupadd dogod
> > > > adduser -g dogod adriano
> > > > smbpasswd -a adriano
> > > > #####
> > > > #####
> > > >
> > > > # Samba config file created using SWAT
> > > > #
> > > > #
> > > > # Global parameters
> > > > [global]
> > > > workgroup = pelk
> > > > netbios name = server
> > > > security = user
> > > > encrypt passwords = Yes
> > > > logon script = %U.bat
> > > > domain logons = Yes
> > > > preferred master = True
> > > > domain master = True
> > > > dns proxy = No
> > > > comment = Servidor Linux
> > > > os level = 254
> > > > map to guest = never
> > > > kernel oplocks = true
> > > > blockin locks = true
> > > > level2 oplocks = false
> > > > locking = true
> > > > oplocks =  no
> > > > strict locking = yes
> > > > read raw = yes
> > > > write raw = yes
> > > > max xmit = 65535
> > > > read size  = 32768
> > > > announce as = NT Workstation
> > > > getwd cache = yes
> > > > socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=8192
> > > > SO_RCVBUF=8182
> > > > smb passwd file = /etc/samba/smbpasswd
> > > > wins support = yes
> > > > map archive = yes
> > > > map system = yes
> > > > map hidden = yes
> > > > log file = /var/log/samba/log.%m
> > > > debug level = 1
> > > > max log size = 50
> > > >         force security mode = 0766
> > > > force group = @dogod
> > > > create mode = 0766
> > > > force create mode = 0766
> > > > directory mode = 0776
> > > > force directory mode = 0776
> > > >
> > > >
> > > > [App]
> > > > comment = Compartilhamento App
> > > > path = /dogo/app
> > > > valid users = @dogod
> > > > browseable = yes
> > > > case sensitive = no
> > > > read only = No
> > > >
> > > > [Home]
> > > > comment = Compartilhamento home
> > > >         path = /home
> > > > valid users  = dogod
> > > > browseable = yes
> > > > case sensitive = no
> > > > read only = No
> > > >
> > > > [netlogon]
> > > > comment = Scripts
> > > > path = /scripts
> > > >         public = yes
> > > > read only = no
> > > >
> > > >
> > > > [Public]
> > > > comment = Compartilhamento Public
> > > > path = /dogo/public
> > > > valid users = @dogod
> > > > browseable = yes
> > > > case sensitive = no
> > > > read only = No
> > > > #        vfs object = vscan-clamav.so
> > > > #        vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
> > > >
> > > >
> > > > [%U]
> > > > comment = Compartilhamento Home
> > > > path = /home/%U
> > > > valid users = %U
> > > > browseable = yes
> > > > case sensitive = no
> > > > read only = no
> > > >
> > > >
> > > > [scripts]
> > > > comment = Compartilhamento Scripts
> > > > path = /scripts
> > > > valid users  = @dogod
> > > > public = yes
> > > > browseable = yes
> > > > case sensitive = no
> > > > read only = no
> > > >
> > > > [vscan]
> > > >    comment = virus-protected /samba directory
> > > >    path = /testesamb
> > > >    vfs object = /usr/lib/samba/vfs/vscan-clamav.so
> > > >    vscan-clamav: config-file = /etc/samba/vscan-clamav.conf
> > > >    writeable = yes
> > > >    valid users = %U
> > > >    browseable = yes
> > > >    guest ok = yes
> > > > #   valid users = @dogod
> > > > #   browseable = yes
> > > > #   case sensitive = no
> > > > #   read only = No
> > > >
> > > >
> > > > --
> > > > Fedora-users-br mailing list
> > > > Fedora-users-br em redhat.com
> > > > https://www.redhat.com/mailman/listinfo/fedora-users-br
> > > >
> > > >
> > > >
> > >
> > > --
> > > Fedora-users-br mailing list
> > > Fedora-users-br em redhat.com
> > > https://www.redhat.com/mailman/listinfo/fedora-users-br
> > >
> >
> > --
> > Fedora-users-br mailing list
> > Fedora-users-br em redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-users-br
> >
>
>
> --
> Felipe L. Tocchetto
> http://felipe.tocchetto.com
>
> --
> Fedora-users-br mailing list
> Fedora-users-br em redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-users-br
>




Mais detalhes sobre a lista de discussão Fedora-users-br