Hallo !

- problem:
  - smbldap-populate:
    failed to add entry: value of naming attribute 'ou' is not present

- details:
  (complete diag avail. in ger at 
http://www2.fh-lausitz.de/launic/comp/net/110718.prob.samba.smbldap-populate)


  # /usr/sbin/smbldap-populate
  ...
  adding new entry: ou=groups,ou=bcv2,ou=samba,dc=example,dc=de
  failed to add entry: value of naming attribute 'ou' is not present in entry 
at /usr/sbin/smbldap-populate line 495, <GEN1>
line 4.
  ...


  # more /tmp/1672.ldif
  ...
  dn: ou=groups,ou=bcv2,ou=samba,dc=example,dc=de
  objectClass: top
  objectClass: organizationalUnit
  ou: samba

    -> samba != groups

- cause:
  - this regex /(.*)=(.*) matched of last element
    but expected: first element

- solution:
  - more specific regex: /^([a-zA-Z]*)=...

  - s. patch:
   # cd $dl
   # wget 
http://www2.fh-lausitz.de/launic/comp/net/smbldap-tools-0.9.6.patch-110720_regex_config

   # cd smbldap-tools-0.9.6
   # cat $dl/smbldap-tools-0.9.6.patch-110720_regex_config | patch -p1

  - patch etch/lenny (0.9.2-0.9.5)
   # cd /usr/sbin/
   # cat $dl/smbldap-tools-0.9.6.patch-110720_regex_config | patch -p1 -l
   #### you can ignore following warning: Hunk #1 FAILED at 1.


Can somebody verify that?


regards Heiko


[1] http://linux.derkeiler.com/Mailing-Lists/SuSE/2006-08/msg00441.html
    [SLE] Samba and LDAP setup
[2] http://www.linuxforen.de/forums/showthread.php?t=250721
    Seite neu laden  [LDAP-SAMBA] smbldap-tools gehen nicht
    - Lsg: nis.schema
[3] http://gna.org/projects/smbldap-tools/
[4] http://www.iallanis.info/
    Warning: Cannot modify header information - headers already sent by
[5] https://bugzilla.samba.org/show_bug.cgi?id=1292
   Bug 1292 - ldap machine suffix configuration directive does not work
   2004-2005





_______________________________________________
Smbldap-tools-tech mailing list
[email protected]
https://mail.gna.org/listinfo/smbldap-tools-tech

Reply via email to