Página 2 de 2 PrimeiroPrimeiro 12
+ Responder ao Tópico



  1. #6
    Lestat1
    Caro amigo NetServer, acho que preciso de sua ajuda...
    Uso o Slack 10.1 e tentei varios tutoriais para fazer samba + ldap funcionar, mas quando dou o smbldap-populate ele dá erro...
    Voce podia me dar uma força?

    Abraços

  2. Caro Lestat1

    eu usei o programa q esta no

    /usr/share/doc/samba-doc-3.0.10/examples/LDAP/smbldap-tools/

    ## How To Install SMBLDAP-TOOLS

    Quick & Dirty:
    =-=-=-=-=-=-=-
    . Copy all those scripts in /usr/local/sbin/
    . Modify smbldap_conf.pm to match your configuration
    . If not already done : "smbpasswd -w secret" to set up
    the ldap admin password in secrets.tdb
    . Either add /usr/local/sbin in $PERLLIB or run the scripts
    from this directory, or make a symlink from /usr/local/sbin/*.pm
    to /usr/lib/perl5/.
    . to allow a domain admin to add user using "add user script" in smb.conf :
    chmod 753 smbldap_conf.pm
    chmod 750 smbldap-useradd.pl
    chgrp 512 smbldap_conf.pm smbldap-useradd.pl (512 = 0x200 = Domain Admins)
    Have your admin belong to this group
    In smb.conf : domain admin group = " @"Domain Admins" "

    espero ter ajudado

    Abraços



  3. Agora eu refiz tudo.. e não migro mais..

    o q pode ser.. estou enviando o erro :

    [root@ldap-teste migration]# ./migrate_all_offline.sh
    Creating naming context entries...
    Migrating aliases...
    Migrating groups...
    Migrating hosts...
    Migrating networks...
    Migrating users...
    Migrating protocols...
    Migrating rpcs...
    Migrating services...
    Argument "server" isn't numeric in int at migrate_services.pl line 112, <INFILE> line 912.
    Use of uninitialized value in hash element at migrate_services.pl line 120, <INFILE> line 912.
    Use of uninitialized value in hash element at migrate_services.pl line 125, <INFILE> line 912.
    Use of uninitialized value in hash element at migrate_services.pl line 131, <INFILE> line 912.
    Use of uninitialized value in hash element at migrate_services.pl line 132, <INFILE> line 912.
    Use of uninitialized value in hash element at migrate_services.pl line 134, <INFILE> line 912.
    Argument "edge" isn't numeric in int at migrate_services.pl line 112, <INFILE&! gt; line 932.
    Use of uninitialized value in hash element at migrate_services.pl line 120, <INFILE> line 932.
    Use of uninitialized value in hash element at migrate_services.pl line 125, <INFILE> line 932.
    Migrating netgroups...
    Importing into LDAP...
    Migrating netgroups (by user)...
    Migrating netgroups (by host)...
    Preparing LDAP database...
    slapadd: could not parse entry (line=1776)
    Migration failed: saving failed LDIF to /tmp/nis.701.ldif

    Obrigado

  4. #9
    Lestat1
    Rapaz, eu consegui...
    Usei esse tutorial e funfou legal:
    http://www.linuxchix.org.br/artigos/...dap-misfit.pdf

    Abraços






Tópicos Similares

  1. Samba nao loga no LDAP
    Por LeoJfa no fórum Servidores de Rede
    Respostas: 0
    Último Post: 11-11-2006, 22:59
  2. Win2k nao loga no dominio Samba+LDAP! HELP
    Por chroot no fórum Servidores de Rede
    Respostas: 0
    Último Post: 21-09-2004, 08:42
  3. Samba 2.2.8 Não Loga no WinXP
    Por no fórum Servidores de Rede
    Respostas: 4
    Último Post: 26-08-2003, 21:07
  4. Respostas: 5
    Último Post: 08-05-2003, 18:33
  5. Impressora naum funciona no samba
    Por polaco no fórum Servidores de Rede
    Respostas: 4
    Último Post: 16-04-2003, 14:32

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L