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

Felipe Tocchetto felipe em tocchetto.com
Ter Jul 4 20:08:22 UTC 2006


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




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