hello guys,

after a power cut in this weekend, the filesystem of the machine running samba+ldap currupted. i did a fsck and every other services in the machine are running fine now, but i cannot access the samba shares and cannot join/log in the domain. in the windows machines it just show a message "the network path is not found". i'll add my smb.conf

tks in advance
--

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
[email protected] <mailto:[email protected]>
http://www.veltrac.com.br <http://www.veltrac.com.br/>
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/

        

[global]
        workgroup = DOMINIO
        netbios name = DOMINIO
        server string = Veltrac Samba Server
        smb ports = 139
        load printers = no
        printing = bsd
        disable spoolss = yes
        log file = /var/log/samba/%m.log
        max log size = 50
        security = user
        encrypt passwords = true
        username map = /etc/samba/smbusers
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local master = yes
        os level = 65
        domain master = yes 
        preferred master = yes
        domain logons = yes
        logon script = %U.bat
        logon path =
        name resolve order = wins bcast lmhosts
        wins support = yes
        dns proxy = no 

ldap passwd sync = yes
ldap delete dn = yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=root,dc=dominio,dc=com,dc=br
ldap suffix = dc=dominio,dc=com,dc=br
ldap group suffix = ou=Grupos
ldap user suffix = ou=Usuarios
ldap machine suffix = ou=Computadores
ldap idmap suffix = ou=ldapidmapsuffix
idmap backend = ldap://127.0.0.1
   idmap uid = 10000-20000
   idmap gid = 10000-20000
enable privileges = yes
nt acl support = yes
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add user script = /usr/sbin/smbldap-useradd -m "%u"
delete user script = /usr/sbin/smbldap-userdel "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
dos charset = CP850
Unix charset = ISO8859-1
#veto files = /*.mp3/*.wmv/*.wma/*.avi/*.mpg/*.wav/
admin users = root
time server = yes
map acl inherit = Yes

[homes]
        comment = Home Directories
        browseable = no
        writable = yes

[diretoria]
        comment = Diretoria
        path = /home/grupos/diretoria
        writable = yes
        create mask = 0777
        force create mode = 0777
        directory mask = 02777
        force directory mode = 02777
        valid users = @diretoria
        inherit permissions = yes
        map acl inherit = yes

[instalacao]
        comment = Instalacao
        path = /home/grupos/instalacao
        writable = yes
        create mask = 0777
        force create mode = 0777
        directory mask = 02777
        force directory mode = 02777
        valid users = @instalacao
        inherit permissions = yes
        map acl inherit = yes

[admfin]
        comment = Administrativo/Financeiro
        path = /home/grupos/admfin
        writable = yes
        create mask = 0777
        force create mode = 0777
        directory mask = 02777
        force directory mode = 02777
        valid users = @admfin
        inherit permissions = yes
        map acl inherit = yes

[atendimento]
        comment = Atendimento
        path = /home/grupos/atendimento
        writable = yes
        create mask = 0777
        force create mode = 0777
        directory mask = 02777
        force directory mode = 02777
        valid users = @atendimento
        inherit permissions = yes
        map acl inherit = yes
        
[industrial]
        writeable = yes
        path = /home/grupos/industrial
        force directory mode = 02777
        force create mode = 0777
        create mask = 0777
        comment = Industrial
        directory mask = 02777
        valid users = @industrial
        inherit permissions = yes
        map acl inherit = yes

[comercial]
        comment = Comercial
        path = /home/grupos/comercial
        writable = yes
        create mask = 0777
        force create mode = 0777
        directory mask = 02777
        force directory mode = 02777
        valid users = @comercial
        inherit permissions = yes
        map acl inherit = yes


[importacao]
        writeable = yes
        map acl inherit = yes
        inherit permissions = yes
        path = /home/grupos/importacao
        force directory mode = 02777
        force create mode = 0777
        create mask = 0777
        directory mask = 02777
        valid users = @importacao

[infra]
        writeable = yes
        map acl inherit = yes
        inherit permissions = yes
        path = /home/grupos/infra
        force directory mode = 02777
        force create mode = 0777
        create mask = 0777
        directory mask = 02777
        comment = Infra-estrutura de TI
        valid users = @veltrac,@infra

[todos]
        comment = Diretorio de Grupos
        path = /home/grupos/todos
        writable = yes
        public = yes
        create mask = 0777
        force create mode = 0777
        directory mask = 02777
        force directory mode = 02777
        guest ok = yes
        inherit permissions = yes
        map acl inherit = yes

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   browseable = yes
   guest ok = yes
   writable = yes
   admin users = root

[bk_delsoft]
        valid users = @veltrac
        public = yes
        path = /database/backups/bk_delsoft_historico
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to