[MASOCH-L] Samba

Carlos Anderson Jardim cajardim at valesaude.com.br
Fri Apr 1 15:48:56 -03 2005


Marcos,

Não vi nada de anormal no seu GLOBAL, apenas na linha

obey pam restrictions = Yes

Em meu servidor ele esta "no", entao mude essa opcao pois as restrições do PAM terao efeito sobre os usuarios e recursos usados do SAMBA.

O resto esta OK.

Faça a alteracao e voce verah o resultado.

Atenciosamente,


--------------------------------
Carlos Anderson Jardim
Tecnologia da Informacao - Redes e Internet
Santa Casa de São José dos Campos
Tel.: (12) 3925-1873 - 3925-1925 


Marcos Dutra escreveu:

>Olá Carlos,
>
>o seu smb.conf tem algumas opções a mais olha o meu aqui
>
>[global]
>        unix charset = LATIN1
>        workgroup = WORKGROUP
>        server string = Samba Server File/Print Server
>        admin users = root Administrator administrator Administrador
>administrador
>        interfaces = eth0
>        bind interfaces only = Yes
>        netbios name = internet
>        security = USER
>        update encrypted = Yes
>        encrypt passwords = Yes
>        obey pam restrictions = Yes
>        passwd program = /usr/bin/smbpasswd %u
>        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
>*Retype\snew\sUNIX\spassword:* %n\n
>        add machine script = /usr/sbin/adduser -n -r -g masterbiz -c
>"Samba machine" -d /dev/null -s /bin/false %u
>        passdb backend = smbpasswd
>        unix password sync = Yes
>        syslog = 0
>        debug level = 3
>        log file = /var/log/samba/%m.log
>        max log size = 100
>        name resolve order = wins lmhosts bcast
>        time server = Yes
>        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>        logon script = master.bat
>        logon path = \\%L\profile\%U
>        logon drive = U:
>        logon home = \\%L\%U\.profile
>        domain logons = Yes
>        preferred master = Yes
>        domain master = Yes
>        dns proxy = No
>        wins support = Yes
>;        hosts allow = 192.168.0.0/24
>        acl compatibilily = Auto
>        idmap uid = 16777216-33554431
>        idmap gid = 16777216-33554431
>        winbind use default domain = no
>
>
>On Apr 1, 2005 1:24 PM, Carlos Anderson Jardim
><cajardim at valesaude.com.br> wrote:
>  
>
>>Ola Marcos,
>>
>>Eu tenho o samba 3.0.7 e 150 estacoes windows 98 e nenhuma delas da esse
>>tipo de problema.
>>
>>Segue o meu smb.conf
>>
>>[global]
>>       dos charset = 850
>>       unix charset = ISO8859-15
>>       workgroup = MEUDOMINIO
>>       netbios name = servidor
>>       server string = Servidor Samba
>>       update encrypted = Yes
>>       log file = /var/log/samba/log.%m
>>       max log size = 50
>>       name resolve order = wins lmhosts hosts
>>       time server = Yes
>>       time offset = 0
>>       socket options = TCP_NODELAY IPTOS_LOWDELAY
>>       logon script = %G.bat
>>       logon path =
>>       security = user
>>       domain logons = Yes
>>       log level = 0
>>       os level = 80
>>       local master = Yes
>>       preferred master = Yes
>>       domain master = Yes
>>       wins support = Yes
>>       kernel oplocks = No
>>       lock spin count = 70
>>       lock spin time = 25
>>       ldap ssl = no
>>       idmap uid = 10000-20000
>>       idmap gid = 10000-20000
>>       winbind use default domain = Yes
>>       admin users = root
>>       printer admin = root
>>       create mask = 0660
>>       force create mode = 0660
>>       directory mask = 0770
>>       force directory mode = 0770
>>       use client driver = Yes
>>       oplocks = No
>>       level2 oplocks = No
>>       load printers = yes
>>       printing = cups
>>       printcap name = cups
>>       nt acl support = yes
>>
>>    
>>



More information about the masoch-l mailing list