[Samba] RE: net: ../../../libraries/liblber/decode.c:644: ber_scanf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed.

John H. mrmailer at myway.com
Mon Jan 26 11:00:30 GMT 2004


In addition, I cannot add any groups with net groupmap add

for instance...

net groupmap add ntgroup="Domain Power Users" unixgroup="users" sid=S-1-5-21-4070452498-3149834983-2923667569-513 type=d
adding entry for group Domain Power Users failed!


the same with adding Domain Users, regardless of having ssid there(obviously none of this happens with smbpasswd smb.conf)

debugging says this...

 Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=LAMP))]
[2004/01/26 04:59:45, 2] lib/smbldap.c:smbldap_search_suffix(1066)
  smbldap_search_suffix: searching for:[(&(objectClass=sambaDomain)(sambaDomainName=LAMP))]
[2004/01/26 04:59:45, 10] lib/smbldap.c:smbldap_open_connection(527)
  smbldap_open_connection: ldap://127.0.0.1
[2004/01/26 04:59:45, 2] lib/smbldap.c:smbldap_open_connection(623)
  smbldap_open_connection: connection opened
[2004/01/26 04:59:45, 10] lib/smbldap.c:smbldap_connect_system(750)
  ldap_connect_system: Binding to ldap server ldap://127.0.0.1 as "cn=Manager,dc=INTRANET"
[2004/01/26 04:59:45, 3] lib/smbldap.c:smbldap_connect_system(785)
  ldap_connect_system: succesful connection to the LDAP server
[2004/01/26 04:59:45, 4] lib/smbldap.c:smbldap_open(836)
  The LDAP server is succesful connected
[2004/01/26 04:59:45, 5] passdb/pdb_interface.c:make_pdb_methods_name(455)
  pdb backend ldapsam:ldap://127.0.0.1 has a valid init
[2004/01/26 04:59:45, 5] passdb/pdb_interface.c:make_pdb_methods_name(431)
  Attempting to find an passdb backend to match guest (guest)
[2004/01/26 04:59:45, 5] passdb/pdb_interface.c:make_pdb_methods_name(452)
  Found pdb backend guest
[2004/01/26 04:59:45, 5] passdb/pdb_interface.c:make_pdb_methods_name(455)
  pdb backend guest has a valid init
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:45, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:45, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:46, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:46, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:46, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:46, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=4294967295))]
[2004/01/26 04:59:46, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:46, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=4294967295))]
[2004/01/26 04:59:46, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(gidNumber=100))]
[2004/01/26 04:59:46, 4] passdb/pdb_ldap.c:ldapsam_getgroup(1742)
  ldapsam_getgroup: Did not find group
[2004/01/26 04:59:46, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=100))]
[2004/01/26 04:59:46, 10] intl/lang_tdb.c:lang_tdb_init(135)
adding entry for group Domain Power Users failed!
  lang_tdb_init: /usr/lib/samba/en_US.UTF-8.msg: No such file or directoryreturn code = -1




 --- On Mon 01/26, John H. < mrmailer at myway.com > wrote:
From: John H. [mailto: mrmailer at myway.com]
To: samba at lists.samba.org
Date: Mon, 26 Jan 2004 04:26:12 -0500
Subject: net: ../../../libraries/liblber/decode.c:644: ber_scanf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed.

net groupmap modify ntgroup="Domain Admins" unixgroup=504<br><br><br>net: ../../../libraries/liblber/decode.c:644: ber_scanf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed.<br><br>I was told this may be specific to ldap setup with samba 3.0.0, but is fixed in later versions of samba.<br><br>however, in 3.0.1, there is a far worse bug that makes machines only available some of the time(i was told this might be fixed in 3.0.2).<br><br>I would just like to know if there is any way to get around this problem without upgrading right now?<br><br><br><br>_______________________________________________<br>No banners. No pop-ups. No kidding.<br>Introducing My Way - http://www.myway.com<br>

_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com


More information about the samba mailing list