2011/6/7 Rodrigo Batista <[email protected]>

> esta assim no smb.conf
>
> [global]
>         netbios name = SAM
>         workgroup = SVR
>         guest account = nobody
>


ok vc não entendeu.....

se vc der um ping em SAM  alguem responde?????

e se vc colocar no seu /etc/hosts a maquina SAM???

ats



>
> ---------------------------------------------------------
> <<@@ Tenha uma Longa ViDa @@>>
>
> *Rodrigo Batista*
>
> Celular :. 011-7865-6291
>   ~
>  °v°   Seja Livre...
> /(  )\  Use Linux..
>  ^ ^
>
>
>
> 2011/6/7 paulo bruck <[email protected]>
>
>>
>>
>> 2011/6/7 Rodrigo Batista <[email protected]>
>>
>>>
>>> ---------------------------------------------------------
>>> <<@@ Tenha uma Longa ViDa @@>>
>>>
>>> *Rodrigo Batista*
>>>
>>> Celular :. 011-7865-6291
>>>    ~
>>>  °v°   Seja Livre...
>>> /(  )\  Use Linux..
>>>  ^ ^
>>>
>>>
>>>
>>> Em 7 de junho de 2011 08:34, paulo bruck <[email protected]>escreveu:
>>>
>>>
>>>>
>>>> Em 7 de junho de 2011 08:24, Rodrigo Batista 
>>>> <[email protected]>escreveu:
>>>>
>>>> Bom dia, Fabricio, Paulo e galera.
>>>>>
>>>>> Resp Fabricio - Não Preciso usar TLS no servidor.
>>>>>
>>>>> Resp Paulo - já foi modificado o smb.conf
>>>>>
>>>>> agora o erro que esta mostrando mudou.
>>>>>
>>>>> ~# net getlocalsid
>>>>> [2011/06/07 08:24:43,  0] utils/net.c:166(net_getlocalsid)
>>>>>
>>>>>   Can't fetch domain SID for name: SAM
>>>>>
>>>>
>>>> vc pode enviar:
>>>>
>>>> a) cat /etc/hosts
>>>> b) testparm -s
>>>>
>>>>
>>> a-  Resp
>>>
>>> ~# cat /etc/hosts
>>> 127.0.0.1       localhost.svr.com.br     localhost
>>> 192.168.0.100   Pinta-Silva.svr.com.br   Pinta-Silva
>>>
>>> b- Resp
>>>
>>>
>>> ~# testparm -s
>>> Load smb config files from /etc/samba/smb.conf
>>> rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
>>> Processing section "[printers]"
>>> Processing section "[homes]"
>>> Processing section "[netlogon]"
>>> Processing section "[profiles]"
>>> Unknown parameter encountered: "Browserable"
>>> Ignoring unknown parameter "Browserable"
>>> Loaded services file OK.
>>> Server role: ROLE_DOMAIN_PDC
>>> [global]
>>>         workgroup = SVR
>>>         netbios name = SAM
>>>         server string = samba ldap server
>>>         interfaces = eth0, lo
>>>         bind interfaces only = Yes
>>>         obey pam restrictions = Yes
>>>         passdb backend = ldapsam:ldap://127.0.0.1:389
>>>         log level = 1
>>>         log file = /var/log/samba/log.%m
>>>         name resolve order = wins lmhosts bcast host
>>>         time server = Yes
>>>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>>>         printcap name = CUPS
>>>         add user script = /usr/sbin/smbldap-useradd -m "%u"
>>>         add group script = /usr/sbin/smbldap-groupadd -p "%g"
>>>         add user to group script = /usr/sbin/smbldap-groupmod -m "%u"
>>> "%g"
>>>         set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
>>>         add machine script = /usr/sbin/smbldap-useradd -w "%u"
>>>         logon script = \\SAM\netlogon\logon.bat
>>>         logon path = \\%N\profiles\%U
>>>         logon drive = R:
>>>         logon home = \\%L\%U
>>>         domain logons = Yes
>>>         os level = 200
>>>         preferred master = Yes
>>>         domain master = Yes
>>>         wins support = Yes
>>>         ldap admin dn = cn=admin,dc=svr,dc=com,dc=br
>>>         ldap delete dn = Yes
>>>         ldap group suffix = ou=groups
>>>         ldap idmap suffix = ou=users
>>>         ldap machine suffix = ou=computers
>>>         ldap passwd sync = yes
>>>         ldap suffix = dc=svr,dc=com,dc=br
>>>         ldap ssl = no
>>>         ldap user suffix = ou=users
>>>         guest ok = Yes
>>>         hosts allow = 192.168.0., 127.0.0.
>>>         case sensitive = No
>>>         preserve case = No
>>>         short preserve case = No
>>>
>>> [printers]
>>>         comment = Impressoras
>>>         path = /var/spool/samba
>>>         printable = Yes
>>>         use client driver = Yes
>>>         browseable = No
>>>         browsable = No
>>>
>>> [homes]
>>>         comment = Home Directories
>>>         read only = No
>>>         create mask = 0700
>>>         directory mask = 0700
>>>
>>> [netlogon]
>>>         comment = Network Logon Services
>>>         path = /etc/samba/netlogon
>>>         guest ok = No
>>>         browseable = No
>>>         browsable = No
>>>
>>> [profiles]
>>>         comment = Roaming Profiles Folder
>>>         path = /fileserver/profiles
>>>         read only = No
>>>         profile acls = Yes
>>>
>>>
>>>
>> ok não vou dar a resposta diretamente, mas a mensagem fala:
>> Can't fetch domain SID for name: SAM
>>                                                      ^^^^^^^
>>
>> e fala a respeito de name,  ou seja ele não encontrou algo relacionado a
>> name
>>
>> agora olhando no seu samba veja que vc colocou:
>> netbios name = SAM
>>
>>  ok seu netbios está com o nome de SAM.
>>
>> o que falta no /etc/hosts ?????
>>
>> []s
>>
>>
>>
>>
>>>
>>>
>>>> []s
>>>>
>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------
>>>>> <<@@ Tenha uma Longa ViDa @@>>
>>>>>
>>>>> *Rodrigo Batista*
>>>>>
>>>>> Celular :. 011-7865-6291
>>>>>   ~
>>>>>  °v°   Seja Livre...
>>>>> /(  )\  Use Linux..
>>>>>  ^ ^
>>>>>
>>>>>
>>>>>
>>>>> Em 7 de junho de 2011 01:26, Fabricio - VersatusHPC <
>>>>> [email protected]> escreveu:
>>>>>
>>>>>> Em terça-feira 07 junho 2011, às 00:00:21, Rodrigo Batista escreveu:
>>>>>> > Olá Fabricio.
>>>>>> >
>>>>>> > nesta server roda
>>>>>> >
>>>>>> > LDAP + Samba PDC + PAM/NSS on Debian Lenny
>>>>>> >
>>>>>> > uso o comando
>>>>>> >
>>>>>> > ldapsearch -x e ele me traz toda a base de dados.
>>>>>>
>>>>>> - Tu precisa mesmo usar TLS se todos os serviços estão rodando na
>>>>>> mesma
>>>>>> máquina ?
>>>>>>
>>>>>>
>>>>>> --
>>>>>> To UNSUBSCRIBE, email to
>>>>>> [email protected]
>>>>>> with a subject of "unsubscribe". Trouble? Contact
>>>>>> [email protected]
>>>>>> Archive:
>>>>>> http://lists.debian.org/[email protected]
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>

Responder a