Page 10 of 10 FirstFirst ... 8910
Results 91 to 94 of 94

Thread: Authenticating Windows to openLDAP server on Ubuntu 9.10

  1. #91
    Join Date
    Apr 2012
    Beans
    4

    Re: Authenticating Windows to openLDAP server on Ubuntu 9.10

    Hi Sir,

    i was successfully configure the LDAP domain controller, and i am very thanksful to you, to write greate guide to configure Samba LDAP in simple and quick.

    Can you do more more favior to we all, can you write about the replication of the above mentioed master ldap server. i was try to configure the BDC but don't work...


    Thanks in advance...

  2. #92
    Join Date
    Jul 2011
    Beans
    9

    Re: Authenticating Windows to openLDAP server on Ubuntu 9.10

    I am facing below error :

    >>>>
    root@dataproctor:/etc/smbldap-tools# smbldap-populate
    Populating LDAP directory for domain EXAMPLE (S-1-5-21-4073358430-2772322667-4277095439)
    (using builtin directory structure)

    erreur LDAP: Can't contact master ldap server for writing (IO::Socket::INET: Bad hostname 'ldap.iallanis.info') at /usr/share/perl5/smbldap_tools.pm line 322.
    >>>
    line 322 from file as below :
    /usr/share/perl5/smbldap_tools.pm :
    322 $ldap_master = Net::LDAP->new(
    323 "$config{masterLDAP}",
    324 port => "$config{masterPort}",
    325 version => 3,
    326 timeout => 60,
    327
    328 # debug => 0xffff,

    Were i am doing mistake ?

  3. #93
    Join Date
    Jul 2011
    Beans
    9

    Re: Authenticating Windows to openLDAP server on Ubuntu 9.10

    Hi,
    I have left with 9.10 and now trying with 12.04.
    now the problem is .. it is able to authenticate with root account from a win7 desktop but unable to auth any ldap client.
    pls let me know if you want any log to check...

    Regards,
    Rahul Janghel.

  4. #94
    Join Date
    Oct 2013
    Beans
    2

    Re: Authenticating Windows to openLDAP server on Ubuntu 9.10

    similar issue on Centos6:

    migrationtools.noarch 47-7.el6 @base
    openldap.x86_64 2.4.23-32.el6_4.1 @updates
    [

    ISSUE1
    [root@sv migrationtools]# pwd
    /usr/share/migrationtools
    [root@sv migrationtools]# ./migrate_all_offline.sh

    slapadd: could not add entry dn="cn=raid-am,ou=Services,dc=example,dc=com" (line=16500)


    SOLUTION1

    https://bugzilla.redhat.com/show_bug...iple&id=428037
    http://www.linuxhomenetworking.com/w...S#.Umla_tcvCcY

    265 sed -i.bck 's/2013\/tcp/22013\/tcp/g' /etc/services
    grep raid-am /etc/services
    raid-am 2007/udp #
    raid-am 22013/tcp



    ISSUE2
    slapadd: could not add entry dn="cn=terminaldb,ou=Services,dc=example,dc=com" (line=16550): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)

    SOLUTION2
    [root@sv migrationtools]# grep terminaldb /etc/services
    terminaldb 2008/udp #
    terminaldb 2018/tcp

    [root@sv migrationtools]# sed -i.blcl 's/2018\/tcp/12018\/tcp/g' /etc/services
    [root@sv migrationtools]# grep 12018 /etc/servicesterminaldb 12018/tcp #
    [root@sv migrationtools]# grep terminaldb /etc/servicesterminaldb 2008/udp #
    terminaldb 12018/tcp #
    [root@sv migrationtools]#

    [root@sv migrationtools]# rm -fr /var/lib/ldap/*



    ISSUE 3:
    slapadd: could not add entry dn="cn=whosockami,ou=Services,dc=example,dc=com" (line=16557): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
    *####### 35.15% eta 01m57s elapsed 01m03s spd 4.2 k/s
    Closing DB...
    Migration failed: saving failed LDIF to /tmp/nis.ldif.yn2KuY



    SOLUTION3:
    [root@sv migrationtools]# grep whosockami /etc/services
    whosockami 2009/udp #
    whosockami 2019/tcp #
    [root@sv migrationtools]# grep 12019 /etc/services
    [root@sv migrationtools]# sed -i.blc2 's/2019\/tcp/12019\/12019/g' /etc/services
    [root@sv migrationtools]# grep whosockami /etc/serviceswhosockami 2009/udp #
    whosockami 12019/12019

    [root@sv migrationtools]# rm -fr /var/lib/ldap/*[root@sv migrationtools]#



    ISSUE 4
    => bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
    slapadd: could not add entry dn="cn=Mon,ou=Services,dc=example,dc=com" (line=42798): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)


    SOLUTION 4:
    [root@sv ~]# grep -i "manager on" /etc/services
    Mon 9255/tcp # Manager On Network
    Mon 9255/udp # Manager On Network
    [root@sv ~]#

    [root@sv ~]# sed -i.blcl2 's/9255\/tcp/19255\/tcp/g' /etc/services
    [root@sv ~]# grep -i "manager on" /etc/services
    Mon 19255/tcp # Manager On Network
    Mon 9255/udp # Manager On Network

    [root@sv migrationtools]# rm -fr /var/lib/ldap/*


    Not working but commenting out:
    #Mon 19255/tcp # Manager On Network
    Mon 9255/udp # Manager On Network

    [root@sv migrationtools]# rm -fr /var/lib/ldap/*

    slapadd: could not add entry dn="cn=Mon,ou=Services,dc=example,dc=com" (line=42798): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
    .################## 91.40% eta 26s elapsed 04m32s spd 2.2 k/s
    Closing DB...
    Migration failed: saving failed LDIF to /tmp/nis.ldif.NNBL1K
    [root@sv migrationtools]# grep Mon /tmp/nis.ldif.NNBL1K
    dn: cn=Mon,ou=Services,dc=example,dc=com
    cn: Mon



    Not working again. Commenting both:

    #Mon 19255/tcp # Manager On Network
    #Mon 9255/udp # Manager On Network


    [root@sv migrationtools]# rm -fr /var/lib/ldap/*




    ISSUE 2 was back again:
    slapadd: could not add entry dn="cn=terminaldb,ou=Services,dc=example,dc=com" (line=44242): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)


    Commenting out:
    [root@sv migrationtools]# grep terminaldb /etc/services
    terminaldb 2008/udp #
    terminaldb 12018/tcp #
    [root@sv migrationtools]# sed -i.bca 's/terminaldb/\#terminaldb/g' /etc/services
    [root@sv migrationtools]# grep terminaldb /etc/services#terminaldb 2008/udp #
    #terminaldb 12018/tcp #
    [root@sv migrationtools]#



    ISSUE3 came back:
    slapadd: could not add entry dn="cn=whosockami,ou=Services,dc=example,dc=com" (line=44235): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)
    -################## 94.52% eta 12s elapsed 03m19s spd 3.6 k/s
    Closing DB...
    Migration failed: saving failed LDIF to /tmp/nis.ldif.haZTK0
    [root@sv migrationtools]# grep whosockami /etc/services
    whosockami 2009/udp #
    whosockami 12019/12019


    Commenting out both

    [root@sv migrationtools]# grep whosockami /etc/services#whosockami 2009/udp #
    #whosockami 12019/12019 #
    [root@sv migrationtools]#

    [root@sv migrationtools]# rm -fr /var/lib/ldap/*[root@sv migrationtools]#



    ISSUE 1 came back:
    slapadd: could not add entry dn="cn=raid-am,ou=Services,dc=example,dc=com" (line=45342): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)


    Commenting out both

    [root@sv migrationtools]# grep raid-am /etc/services
    raid-am 2007/udp #
    raid-am 22013/tcp #
    [root@sv migrationtools]# sed -i.bl21 's/raid-am/\#raid-am/g' /etc/services
    [root@sv migrationtools]# grep raid-am /etc/services#raid-am 2007/udp #
    #raid-am 22013/tcp .

    [root@sv migrationtools]# rm -fr /var/lib/ldap/*



    ISSUE 5
    slapadd: could not add entry dn="cn=vipera-ssl,ou=Services,dc=example,dc=com" (line=46749): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30995)

    [root@sv migrationtools]# grep vipera-ssl /etc/services
    vipera-ssl 122013/tcp # Vipera Messaging Service over SSL Communication
    vipera-ssl 12013/udp # Vipera Messaging Service over SSL Communication
    [root@sv migrationtools]# sed -i.bl2 's/vipera-ssl/\#vipera-ssl/g' /etc/services
    [root@sv migrationtools]# grep vipera-ssl /etc/services#vipera-ssl 122013/tcp # Vipera Messaging Service over SSL Communication
    #vipera-ssl 12013/udp # Vipera Messaging Service over SSL Communication

    [root@sv migrationtools]# rm -fr /var/lib/ldap/*[root@sv migrationtools]#


    done. finally

    *################### 99.53% eta elapsed 03m34s spd "################### 99.63% eta elapsed 03m35s spd *################### 99.75% eta elapsed 03m35s spd -################### 99.90% eta none elapsed 03m36s spd .#################### 100.00% eta none elapsed 03m36s spd 4.4 k/s
    Closing DB...

Page 10 of 10 FirstFirst ... 8910

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •