[Samba] net groupmap modify bug

Kristyan Osborne kris at longhill.brighton-hove.sch.uk
Wed Oct 29 18:28:00 GMT 2003


Hi,

After a successful upgrade from samba3alpha19 to samba3.0.1pre1 I am now doing the group mapping stage.

The problem I am having is modifying a group in the LDAP directory. I am using net groupmap modify ntgroup=staff unixgroup=staff type=domain.

The error it is coming up with is 
[2003/10/29 17:21:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1615)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=203))]
net: decode.c:500: ber_scanf: Assertion `(( ber )->ber_opts.lbo_valid==0x2)' failed.
Aborted

Is this a bug in the code or am I doing something silly??

I have attached to the bottom a level 10 debug of the net command

Cheers

-------------
Kristyan Osborne - IT Technician / Community Manager
Longhill High School
01273 391672 / 304086

------
Computers are like airconditioners: They stop working properly if you open windows.
Win95:       A 32-bit patch for a 16-bit GUI shell running on top of an
             8-bit operating system written for a 4-bit processor by a
             2-bit company who cannot stand 1 bit of competition.



[2003/10/29 17:21:39, 5] passdb/pdb_interface.c:make_pdb_methods_name(431)
  Attempting to find an passdb backend to match ldapsam:ldap://10.108.1.87 (ldapsam)
[2003/10/29 17:21:39, 5] passdb/pdb_interface.c:make_pdb_methods_name(452)
  Found pdb backend ldapsam
[2003/10/29 17:21:39, 2] lib/smbldap.c:smbldap_search_domain_info(1295)
  Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=LONGHILL))]
[2003/10/29 17:21:39, 2] lib/smbldap.c:smbldap_search_suffix(1066)
  smbldap_search_suffix: searching for:[(&(objectClass=sambaDomain)(sambaDomainName=LONGHILL))]
[2003/10/29 17:21:39, 10] lib/smbldap.c:smbldap_open_connection(527)
  smbldap_open_connection: ldap://10.108.1.87
[2003/10/29 17:21:39, 2] lib/smbldap.c:smbldap_open_connection(623)
  smbldap_open_connection: connection opened
[2003/10/29 17:21:39, 10] lib/smbldap.c:smbldap_connect_system(750)
  ldap_connect_system: Binding to ldap server ldap://10.108.1.87 as "cn=root,dc=longhill,dc=brighton-hove,dc=sch,dc=uk"
[2003/10/29 17:21:39, 3] lib/smbldap.c:smbldap_connect_system(785)
  ldap_connect_system: succesful connection to the LDAP server
[2003/10/29 17:21:39, 4] lib/smbldap.c:smbldap_open(836)
  The LDAP server is succesful connected
[2003/10/29 17:21:39, 5] passdb/pdb_interface.c:make_pdb_methods_name(455)
  pdb backend ldapsam:ldap://10.108.1.87 has a valid init
[2003/10/29 17:21:39, 5] passdb/pdb_interface.c:make_pdb_methods_name(431)
  Attempting to find an passdb backend to match guest (guest)
[2003/10/29 17:21:39, 5] passdb/pdb_interface.c:make_pdb_methods_name(452)
  Found pdb backend guest
[2003/10/29 17:21:39, 5] passdb/pdb_interface.c:make_pdb_methods_name(455)
  pdb backend guest has a valid init
[2003/10/29 17:21:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1615)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(|(displayName=staff)(cn=staff)))]
[2003/10/29 17:21:39, 2] passdb/pdb_ldap.c:init_group_from_ldap(1659)
  init_group_from_ldap: Entry found for group: 203
[2003/10/29 17:21:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1615)
  ldapsam_search_one_group: searching for:[(&(objectClass=sambaGroupMapping)(sambaSID=S-1-5-21-3582397119-3001034316-1885025900-1407))]
[2003/10/29 17:21:39, 2] passdb/pdb_ldap.c:init_group_from_ldap(1659)
  init_group_from_ldap: Entry found for group: 203
[2003/10/29 17:21:39, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1615)
  ldapsam_search_one_group: searching for:[(&(objectClass=posixGroup)(gidNumber=203))]
net: decode.c:500: ber_scanf: Assertion `(( ber )->ber_opts.lbo_valid==0x2)' failed.
Aborted






More information about the samba mailing list