Ubuntu server 10.04 64bit + Samba 3.x + Contmatic

Iniciado por maxquessada, 18 de Outubro de 2010, 16:21

tópico anterior - próximo tópico

maxquessada

#30
Citação de: zekkerj online 23 de Outubro de 2010, 14:52
Bem, se não é o Samba, tem que ser o Contmatic, não?

Acredito que nao pois no salck esta ok.... servidor antigo apenas com a diferença de estar com samba 2.x e hardware bem inferior

maxquessada

Momentaneamente desisti vou deixar o velho server e vou bater cabeça durante a semana para fazer ele rodar normalmente com ubuntu server.

revendo as configurações do velho server p4 512 hd 40gb slack 10.1.0 com samba 2.2.8 filesystem reiserfs
smb.conf

# Global parameters
[global]
workgroup = CONTABIL
netbios name = Servidor
server string = Servidor de Arquivos
security = SHARE
     
[dados]
comment = Pasta Compartilhada
        path = /work/dados
read only = no
        writable = yes
        guest ok = yes
force create mode = 0777
force directory mode = 0777
       
[Phoenix]
        comment = Sistema Phoenix
        path = /work/phoenix
        read only = no
        writable = yes
        guest ok = yes
force create mode = 0777
force directory mode = 0777



e quando estou no terminal e dou um tesparm olha o que ele retorna


Load smb config files from /etc/samba/smb.conf
Processing section "[dados]"
Processing section "[Phoenix]"
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
        coding system =
        client code page = 850
        code page directory = /etc/codepages
        workgroup = CONTABIL
        netbios name = SERVIDOR
        netbios aliases =
        netbios scope =
        server string = Servidor de Arquivos
        interfaces =
        bind interfaces only = No
        security = SHARE
        encrypt passwords = No
        update encrypted = No
        allow trusted domains = Yes
        hosts equiv =
        min passwd length = 5
        map to guest = Never
        null passwords = No
        obey pam restrictions = No
        password server =
        smb passwd file = /etc/samba/private/smbpasswd
        root directory =
        pam password change = No
        passwd program = /usr/bin/passwd
        passwd chat = *new*password* %n\n *new*password* %n\n *changed*
        passwd chat debug = No
        username map =
        password level = 0
        username level = 0
        unix password sync = No
        restrict anonymous = No
        lanman auth = Yes
        use rhosts = No
        ssl = No
        ssl hosts =
        ssl hosts resign =
        ssl CA certDir =
        ssl CA certFile =
        ssl server cert =
        ssl server key =
        ssl client cert =
        ssl client key =
        ssl egd socket =
        ssl entropy file =
        ssl entropy bytes = 256
        ssl require clientcert = No
        ssl require servercert = No
        ssl ciphers =
        ssl version = ssl2or3
        ssl compatibility = No
        admin log = No
        log level = 0
        syslog = 1
        syslog only = No
        log file =
        max log size = 5000
        timestamp logs = Yes
        debug hires timestamp = No
        debug pid = No
        debug uid = No
        protocol = NT1
        large readwrite = Yes
        max protocol = NT1
        min protocol = CORE
        read bmpx = No
        read raw = Yes
        write raw = Yes
        acl compatibility =
        nt smb support = Yes
        nt pipe support = Yes
        nt status support = Yes
        announce version = 4.9
        announce as = NT
        max mux = 50
        max xmit = 16644
        name resolve order = lmhosts host wins bcast
        max ttl = 259200
        max wins ttl = 518400
        min wins ttl = 21600
        time server = No
        unix extensions = No
        change notify timeout = 60
        deadtime = 0
        getwd cache = Yes
        keepalive = 300
        lpq cache time = 10
        max smbd processes = 0
        max disk size = 0
        max open files = 10000
        name cache timeout = 660
        read size = 16384
        socket options = TCP_NODELAY
        stat cache size = 50
        use mmap = Yes
        total print jobs = 0
        load printers = Yes
        printcap name = /etc/printcap
        disable spoolss = No
        enumports command =
        addprinter command =
        deleteprinter command =
        show add printer wizard = Yes
        os2 driver map =
        strip dot = No
        mangling method = hash
        character set =
        mangled stack = 50
        stat cache = Yes
        domain admin group =
        domain guest group =
        machine password timeout = 604800
        add user script =
        delete user script =
        logon script =
        logon path = \\%N\%U\profile
        logon drive =
        logon home = \\%N\%U
        domain logons = No
        os level = 20
        lm announce = Auto
        lm interval = 60
        preferred master = Auto
        local master = Yes
        domain master = Auto
        browse list = Yes
        enhanced browsing = Yes
        dns proxy = Yes
        wins proxy = No
        wins server =
        wins support = No
        wins hook =
        kernel oplocks = Yes
        lock spin count = 3
        lock spin time = 10
        oplock break wait time = 0
        add share command =
        change share command =
        delete share command =
        config file =
        preload =
        lock dir = /var/cache/samba
        pid directory = /var/run/samba
        utmp directory =
        wtmp directory =
        utmp = No
        default service =
        message command =
        dfree command =
        valid chars =
        remote announce =
        remote browse sync =
        socket address = 0.0.0.0
        homedir map =
        time offset = 0
        NIS homedir = No
        source environment =
        panic action =
        hide local users = No
        host msdfs = No
        winbind uid =
        winbind gid =
        template homedir = /home/%D/%U
        template shell = /bin/false
        winbind separator = \
        winbind cache time = 15
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = No
        comment =
        path =
        alternate permissions = No
        username =
        guest account = nobody
        invalid users =
        valid users =
        admin users =
        read list =
        write list =
        printer admin =
        force user =
        force group =
        read only = Yes
        create mask = 0744
        force create mode = 00
        security mask = 0777
        force security mode = 00
        directory mask = 0755
        force directory mode = 00
        directory security mask = 0777
        force directory security mode = 00
        force unknown acl user = 00
        inherit permissions = No
        inherit acls = No
        guest only = No
        guest ok = No
        only user = No
        hosts allow =
        hosts deny =
        status = Yes
        nt acl support = Yes
        profile acls = No
        block size = 1024
        max connections = 0
        min print space = 0
        strict allocate = No
        strict sync = No
        sync always = No
        write cache size = 0
        max print jobs = 1000
        printable = No
        postscript = No
        printing = bsd
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        lppause command =
        lpresume command =
        queuepause command =
        queueresume command =
        printer name =
        use client driver = No
        default devmode = No
        printer driver =
        printer driver file = /etc/samba/printers.def
        printer driver location =
        default case = lower
        case sensitive = No
        preserve case = Yes
        short preserve case = Yes
        mangle case = No
        mangling char = ~
        hide dot files = Yes
        hide unreadable = No
        delete veto files = No
        veto files =
        hide files =
        veto oplock files =
        map system = No
        map hidden = No
        map archive = Yes
        mangled names = Yes
        mangled map =
        browseable = Yes
        blocking locks = Yes
        csc policy = manual
        fake oplocks = No
        locking = Yes
        oplocks = Yes
        level2 oplocks = Yes
        oplock contention limit = 2
        posix locking = Yes
        strict locking = No
        share modes = Yes
        copy =
        include =
        exec =
        preexec close = No
        postexec =
        root preexec =
        root preexec close = No
        root postexec =
        available = Yes
        volume =
        fstype = NTFS
        set directory = No
        wide links = Yes
        follow symlinks = Yes
        dont descend =
        magic script =
        magic output =
        delete readonly = No
        dos filemode = No
        dos filetimes = No
        dos filetime resolution = No
        fake directory create times = No
        vfs object =
        vfs options =
        msdfs root = No

[dados]
        comment = Pasta Compartilhada
        path = /work/dados
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes

[Phoenix]
        comment = Sistema Phoenix
        path = /work/phoenix
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes


maxquessada

#32
Tá estou tentanto mais uma vez...

aquilo que deu no testparm |more no slack copie e montei o smb.conf no ubuntu server só que quando dou o tesparm |more ele me retorna esses erros

root@SrvLinux:~# testparm |more
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Unknown parameter encountered: "coding system"
Ignoring unknown parameter "coding system"
Unknown parameter encountered: "client code page"
Ignoring unknown parameter "client code page"
Unknown parameter encountered: "code page directory"
Ignoring unknown parameter "code page directory"
Unknown parameter encountered: "hosts equiv"
Ignoring unknown parameter "hosts equiv"
Unknown parameter encountered: "min passwd length"
Ignoring unknown parameter "min passwd length"
Unknown parameter encountered: "use rhosts"
Ignoring unknown parameter "use rhosts"
Unknown parameter encountered: "ssl"
Ignoring unknown parameter "ssl"
Unknown parameter encountered: "ssl hosts"
Ignoring unknown parameter "ssl hosts"
Unknown parameter encountered: "ssl hosts resign"
Ignoring unknown parameter "ssl hosts resign"
Unknown parameter encountered: "ssl CA certDir"
Ignoring unknown parameter "ssl CA certDir"
Unknown parameter encountered: "ssl CA certFile"
Ignoring unknown parameter "ssl CA certFile"
Unknown parameter encountered: "ssl server cert"
Ignoring unknown parameter "ssl server cert"
Unknown parameter encountered: "ssl server key"
Ignoring unknown parameter "ssl server key"
Unknown parameter encountered: "ssl client cert"
Ignoring unknown parameter "ssl client cert"
Unknown parameter encountered: "ssl client key"
Ignoring unknown parameter "ssl client key"
Unknown parameter encountered: "ssl egd socket"
Ignoring unknown parameter "ssl egd socket"
Unknown parameter encountered: "ssl entropy file"
Ignoring unknown parameter "ssl entropy file"
Unknown parameter encountered: "ssl entropy bytes"
Ignoring unknown parameter "ssl entropy bytes"
Unknown parameter encountered: "ssl require clientcert"
Ignoring unknown parameter "ssl require clientcert"
Unknown parameter encountered: "ssl require servercert"
Ignoring unknown parameter "ssl require servercert"
Unknown parameter encountered: "ssl ciphers"
Ignoring unknown parameter "ssl ciphers"
Unknown parameter encountered: "ssl version"
Ignoring unknown parameter "ssl version"
Unknown parameter encountered: "ssl compatibility"
Ignoring unknown parameter "ssl compatibility"
Unknown parameter encountered: "admin log"
Ignoring unknown parameter "admin log"
Unknown parameter encountered: "read bmpx"
Ignoring unknown parameter "read bmpx"
WARNING: Ignoring invalid value '' for parameter 'acl compatibility'
Unknown parameter encountered: "nt smb support"
Ignoring unknown parameter "nt smb support"
Unknown parameter encountered: "change notify timeout"
Ignoring unknown parameter "change notify timeout"
Unknown parameter encountered: "read size"
Ignoring unknown parameter "read size"
Unknown parameter encountered: "stat cache size"
Ignoring unknown parameter "stat cache size"
Unknown parameter encountered: "total print jobs"
Ignoring unknown parameter "total print jobs"
Unknown parameter encountered: "strip dot"
Ignoring unknown parameter "strip dot"
Unknown parameter encountered: "character set"
Ignoring unknown parameter "character set"
Unknown parameter encountered: "mangled stack"
Ignoring unknown parameter "mangled stack"
Unknown parameter encountered: "domain admin group"
Ignoring unknown parameter "domain admin group"
Unknown parameter encountered: "domain guest group"
Ignoring unknown parameter "domain guest group"
Unknown parameter encountered: "lock spin count"
Ignoring unknown parameter "lock spin count"
Unknown parameter encountered: "valid chars"
Ignoring unknown parameter "valid chars"
Unknown parameter encountered: "source environment"
Ignoring unknown parameter "source environment"
Unknown parameter encountered: "hide local users"
Ignoring unknown parameter "hide local users"
Error loading services.



removi esses parametros do smb.conf e agora nem sobe o samba dá esse erro

root@SrvLinux:~# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Error loading services.
root@SrvLinux:~#



e o smb.conf está assim agora, vou remover algumas que está com parametro em branco para testar


# Global parameters
[global]
       workgroup = CONTABIL
       netbios name = SERVIDOR
       netbios aliases =
       netbios scope =
       server string = Servidor de Arquivos
       interfaces =
       bind interfaces only = No
       security = SHARE
       encrypt passwords = No
       update encrypted = No
       allow trusted domains = Yes
       map to guest = Never
       null passwords = No
       obey pam restrictions = No
       password server =
       smb passwd file = /etc/samba/private/smbpasswd
       root directory =
       pam password change = No
       passwd program = /usr/bin/passwd
       passwd chat = *new*password* %n\n *new*password* %n\n *changed*
       passwd chat debug = No
       username map =
       password level = 0
       username level = 0
       unix password sync = No
       restrict anonymous = No
       lanman auth = Yes
       log level = 0
       syslog = 1
       syslog only = No
       log file =
       max log size = 5000
       timestamp logs = Yes
       debug hires timestamp = No
       debug pid = No
       debug uid = No
       protocol = NT1
       large readwrite = Yes
       max protocol = NT1
       min protocol = CORE
       read raw = Yes
       write raw = Yes
       nt pipe support = Yes
       nt status support = Yes
       announce version = 4.9
       announce as = NT
       max mux = 50
       max xmit = 16644
       name resolve order = lmhosts host wins bcast
       max ttl = 259200
       max wins ttl = 518400
       min wins ttl = 21600
       time server = No
       unix extensions = No
       deadtime = 0
       getwd cache = Yes
       keepalive = 300
       lpq cache time = 10
       max smbd processes = 0
       max disk size = 0
       max open files = 10000
       name cache timeout = 660
       socket options = TCP_NODELAY
       use mmap = Yes
       load printers = Yes
       printcap name = /etc/printcap
       disable spoolss = No
       enumports command =
       addprinter command =
       deleteprinter command =
       show add printer wizard = Yes
       os2 driver map =
       mangling method = hash
       stat cache = Yes
       machine password timeout = 604800
       add user script =
       delete user script =
       logon script =
       logon path = \\%N\%U\profile
       logon drive =
       logon home = \\%N\%U
       domain logons = No
       os level = 20
       lm announce = Auto
       lm interval = 60
       preferred master = Auto
       local master = Yes
       domain master = Auto
       browse list = Yes
       enhanced browsing = Yes
       dns proxy = Yes
       wins proxy = No
       wins server =
       wins support = No
       wins hook =
       kernel oplocks = Yes
       lock spin time = 10
       oplock break wait time = 0
       add share command =
       change share command =
       delete share command =
       config file =
       preload =
       lock dir = /var/cache/samba
       pid directory = /var/run/samba
       utmp directory =
       wtmp directory =
       utmp = No
       default service =
       message command =
       dfree command =
       remote announce =
       remote browse sync =
       socket address = 0.0.0.0
       homedir map =
       time offset = 0
       NIS homedir = No
       panic action =
       host msdfs = No
       winbind uid =
       winbind gid =
       template homedir = /home/%D/%U
       template shell = /bin/false
       winbind separator = \
       winbind cache time = 15
       winbind enum users = Yes
       winbind enum groups = Yes
       winbind use default domain = No
       comment =
       path =
       alternate permissions = No
       username =
       guest account = nobody
       invalid users =
       valid users =
       admin users =
       read list =
       write list =
       printer admin =
       force user =
       force group =
       read only = Yes
       create mask = 0744
       force create mode = 00
       security mask = 0777
       force security mode = 00
       directory mask = 0755
       force directory mode = 00
       directory security mask = 0777
       force directory security mode = 00
       force unknown acl user = 00
       inherit permissions = No
       inherit acls = No
       guest only = No
       guest ok = No
       only user = No
       hosts allow =
       hosts deny =
       status = Yes
       nt acl support = Yes
       profile acls = No
       block size = 1024
       max connections = 0
       min print space = 0
       strict allocate = No
       strict sync = No
       sync always = No
       write cache size = 0
       max print jobs = 1000
       printable = No
       postscript = No
       printing = bsd
       print command = lpr -r -P%p %s
       lpq command = lpq -P%p
       lprm command = lprm -P%p %j
       lppause command =
       lpresume command =
       queuepause command =
       queueresume command =
       printer name =
       use client driver = No
       default devmode = No
       printer driver =
       printer driver file = /etc/samba/printers.def
       printer driver location =
       default case = lower
       case sensitive = No
       preserve case = Yes
       short preserve case = Yes
       mangle case = No
       mangling char = ~
       hide dot files = Yes
       hide unreadable = No
       delete veto files = No
       veto files =
       hide files =
       veto oplock files =
       map system = No
       map hidden = No
       map archive = Yes
       mangled names = Yes
       mangled map =
       browseable = Yes
       blocking locks = Yes
       csc policy = manual
       fake oplocks = No
       locking = Yes
       oplocks = Yes
       level2 oplocks = Yes
       oplock contention limit = 2
       posix locking = Yes
       strict locking = No
       share modes = Yes
       copy =
       include =
       exec =
       preexec close = No
       postexec =
       root preexec =
       root preexec close = No
       root postexec =
       available = Yes
       volume =
       fstype = NTFS
       set directory = No
       wide links = Yes
       follow symlinks = Yes
       dont descend =
       magic script =
       magic output =
       delete readonly = No
       dos filemode = No
       dos filetimes = No
       dos filetime resolution = No
       fake directory create times = No
       vfs object =
       vfs options =
       msdfs root = No

[dados]
       comment = Pasta Compartilhada
       path = /work/samba/dados
       read only = No
       force create mode = 0777
       force directory mode = 0777
       guest ok = Yes

[Phoenix]
       comment = Sistema Phoenix
       path = /work/samba/phoenix
       read only = No
       force create mode = 0777
       force directory mode = 0777
       guest ok = Yes



blz removi os em brancos agora subiu o samba mas ainda com erros.. vou remove-los também


root@SrvLinux:~# testparm |more
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Unknown parameter encountered: "alternate permissions"
Ignoring unknown parameter "alternate permissions"
lp_bool(00): value is not boolean!
WARNING: The "only user" option is deprecated
Unknown parameter encountered: "status"
Ignoring unknown parameter "status"
WARNING: The "write cache size" option is deprecated
Unknown parameter encountered: "postscript"
Ignoring unknown parameter "postscript"
Unknown parameter encountered: "printer driver file"
Ignoring unknown parameter "printer driver file"
Unknown parameter encountered: "mangle case"
Ignoring unknown parameter "mangle case"
WARNING: The "share modes" option is deprecated
Processing section "[dados]"
Processing section "[Phoenix]"
Loaded services file OK.
ERROR: the 'winbind separator' parameter must be a single character.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
        workgroup = CONTABIL
        netbios name = SERVIDOR
        server string = Servidor de Arquivos
        security = SHARE
        encrypt passwords = No
        smb passwd file = /etc/samba/private/smbpasswd
        passwd program = /usr/bin/passwd
        lanman auth = Yes
        name resolve order = lmhosts host wins bcast
        unix extensions = No
        lpq cache time = 10
        max open files = 10000
        printcap name = /etc/printcap
        mangling method = hash
        preferred master = Auto
        lock spin time = 10
        lock directory = /var/cache/samba
        host msdfs = No
        winbind separator =         winbind cache time = 15
        winbind enum users = Yes
        winbind enum groups = Yes
        printing = bsd
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        default devmode = No
        case sensitive = No
        strict locking = No
        wide links = Yes
        dos filetimes = No

[dados]
        comment = Pasta Compartilhada
        path = /work/samba/dados
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes

[Phoenix]
        comment = Sistema Phoenix
        path = /work/samba/phoenix
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes


maxquessada

Situação atual continuo com lentidão para abrir e fechar janelas no samba 3.4.7 com ubuntu server 10.04 e filesystem onde estão arquivos em ext4

smb.conf atual depois de atualizado retirando os erros dele

# Global parameters
[global]
        workgroup = CONTABIL
        netbios name = SERVIDOR
        server string = Servidor de Arquivos
        bind interfaces only = No
        security = SHARE
        encrypt passwords = No
        update encrypted = No
        allow trusted domains = Yes
        map to guest = Never
        null passwords = No
        obey pam restrictions = No
        smb passwd file = /etc/samba/private/smbpasswd
        pam password change = No
        passwd program = /usr/bin/passwd
        passwd chat = *new*password* %n\n *new*password* %n\n *changed*
        passwd chat debug = No
        password level = 0
        username level = 0
        unix password sync = No
        restrict anonymous = No
        lanman auth = Yes
        log level = 0
        syslog = 1
        syslog only = No
        max log size = 5000
        timestamp logs = Yes
        debug hires timestamp = No
        debug pid = No
        debug uid = No
        protocol = NT1
        large readwrite = Yes
        max protocol = NT1
        min protocol = CORE
        read raw = Yes
        write raw = Yes
        nt pipe support = Yes
        nt status support = Yes
        announce version = 4.9
        announce as = NT
        max mux = 50
        max xmit = 16644
        name resolve order = lmhosts host wins bcast
        max ttl = 259200
        max wins ttl = 518400
        min wins ttl = 21600
        time server = No
        unix extensions = No
        deadtime = 0
        getwd cache = Yes
        keepalive = 300
        lpq cache time = 10
        max smbd processes = 0
        max disk size = 0
        max open files = 10000
        name cache timeout = 660
        socket options = TCP_NODELAY
        use mmap = Yes
        load printers = Yes
        printcap name = /etc/printcap
        disable spoolss = No
        show add printer wizard = Yes
        os2 driver map =
        mangling method = hash
        stat cache = Yes
        machine password timeout = 604800
        logon path = \\%N\%U\profile
        logon drive =
        logon home = \\%N\%U
        domain logons = No
        os level = 20
        lm announce = Auto
        lm interval = 60
        preferred master = Auto
        local master = Yes
        domain master = Auto
        browse list = Yes
        enhanced browsing = Yes
        dns proxy = Yes
        wins proxy = No
        wins support = No
        kernel oplocks = Yes
        lock spin time = 10
        oplock break wait time = 0
        lock dir = /var/cache/samba
        pid directory = /var/run/samba
        utmp = No
        socket address = 0.0.0.0
        time offset = 0
        NIS homedir = No
        host msdfs = No
        template homedir = /home/%D/%U
        template shell = /bin/false
        winbind cache time = 15
        winbind enum users = Yes
        winbind enum groups = Yes
        winbind use default domain = No
        guest account = nobody
        read only = Yes
        create mask = 0744
        force create mode = 00
        security mask = 0777
        force security mode = 00
        directory mask = 0755
        force directory mode = 00
        directory security mask = 0777
        force directory security mode = 00
        force unknown acl user = 00
        inherit permissions = No
        inherit acls = No
        guest only = No
        guest ok = No
        status = Yes
        nt acl support = Yes
        profile acls = No
        block size = 1024
        max connections = 0
        min print space = 0
        strict allocate = No
        strict sync = No
        sync always = No
        max print jobs = 1000
        printable = No
        printing = bsd
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        use client driver = No
        default devmode = No
        default case = lower
        case sensitive = No
        preserve case = Yes
        short preserve case = Yes
        mangling char = ~
        hide dot files = Yes
        hide unreadable = No
        delete veto files = No
        map system = No
        map hidden = No
        map archive = Yes
        mangled names = Yes
        browseable = Yes
        blocking locks = Yes
        csc policy = manual
        fake oplocks = No
        locking = Yes
        oplocks = Yes
        level2 oplocks = Yes
        oplock contention limit = 2
        posix locking = Yes
        strict locking = No
        preexec close = No
        root preexec close = No
        available = Yes
        fstype = NTFS
        set directory = No
        wide links = Yes
        follow symlinks = Yes
        delete readonly = No
        dos filemode = No
        dos filetimes = No
        dos filetime resolution = No
        fake directory create times = No
        msdfs root = No

[dados]
        comment = Pasta Compartilhada
        path = /work/samba/dados
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes

[Phoenix]
        comment = Sistema Phoenix
        path = /work/samba/phoenix
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes



no terminal com testparm |more


root@SrvLinux:~# testparm |more
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
lp_bool(00): value is not boolean!
Unknown parameter encountered: "status"
Ignoring unknown parameter "status"
Processing section "[dados]"
Processing section "[Phoenix]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
        workgroup = CONTABIL
        netbios name = SERVIDOR
        server string = Servidor de Arquivos
        security = SHARE
        encrypt passwords = No
        smb passwd file = /etc/samba/private/smbpasswd
        passwd program = /usr/bin/passwd
        lanman auth = Yes
        name resolve order = lmhosts host wins bcast
        unix extensions = No
        lpq cache time = 10
        max open files = 10000
        printcap name = /etc/printcap
        mangling method = hash
        preferred master = Auto
        lock spin time = 10
        lock directory = /var/cache/samba
        host msdfs = No
        winbind cache time = 15
        winbind enum users = Yes
        winbind enum groups = Yes
        printing = bsd
        print command = lpr -r -P%p %s
        lpq command = lpq -P%p
        lprm command = lprm -P%p %j
        default devmode = No
        case sensitive = No
        strict locking = No
        wide links = Yes
        dos filetimes = No

[dados]
        comment = Pasta Compartilhada
        path = /work/samba/dados
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes

[Phoenix]
        comment = Sistema Phoenix
        path = /work/samba/phoenix
        read only = No
        force create mode = 0777
        force directory mode = 0777
        guest ok = Yes

galactus

Baum, se o problema com o samba é apenas com o Contimatic, eu tamém acho que o problema está numa incompatibilidade entre  a versão do Samba e  Contimatic! 
Já tentou entrar em contato com o fornecedor do programa Contimatic?

Já tentou outra distro? Baseada em rpm? Ou até mesmo um Slackware mais novo? Ou não tem outra maneira a não ser morrer com a versão antiga do Slackware no servidor velho! Já tentou usar o Slackware antigo no servidor novo?
BigLinux no Notebook  / Várias Distros Virtualizadas no PC.

maxquessada

#35
Sinceridade eu gostaria e muito que funcionasse com ubuntu server pois estou querendo migrar de distro e como eu já tenho o ubuntu desktop há mais de 1 ano em meu laptop está muito mais fácil de achar programas, instalações e tudo mais, ainda mais tem essa ferramenta que não vi ainda em outra que se chama "remastersys backup" entre outros programas.

Agora se ver lá para trás aqui nesse tópico, quando coloquei o slackware para rodar tive problemas com samba 3.x que vem nele da mesma forma que estou tendo agora,  foi onde fiz o downgrade para samba 2.2.8.

Gostaria muito de tentar fazer o esse ubuntu rodar com outra versão de samba.

Tentei baixar no samba.org a versão instalada no slack, fiz os procedimentos de instalação
samba/source
./configure
make
make install

mas não rolou.... ai acabei voltando pelo apt-get o samba que está na versão 3.4.7

Como instalo um samba versão antiga nesse ubuntu? De preferência a 2.2.8

Veja o que suporte deles falaram para outra pessoa há um tempo atrás
http://www.mail-archive.com/debian-user-portuguese@lists.debian.org/msg111908.html

Hoje quando tento o suporte deles, eles dizem não dar suporte a linux, mas o sistema funciona desde que bem configurado o samba.

zekkerj

max, olha na documentação do samba se tem como forçar a autenticação por LANMAN, em vez de NTLM V1 ou V2.
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

julioararas

olá, estou com o mesmo problema.
Já fiz inúmeras alterações nas configurações do samba e não consegui melhorar nada.
Alguém ja tem alguma solução pra esse problema?

cianetmidia

Tive Problemas de lentidão com o samba e conseguir um aumento bom de performance ajustando o dns da rede interna, pois com certeza as estações navegam na internet, e isso muitas vezes degrada as consultas que Ruindows faz a outros servidores caso queira tentar lhe passo a configuração de dns da rede interna