[Samba] samba 3.0.1 and ldap backend problem - I can not add new accounts to domain.

boka boka at sto-procent.art.pl
Wed Feb 4 08:53:41 GMT 2004


Hi !

More details about my problem. As i said before, i'm using 
smbldap-tools-0.8.3, and:

[root at codo smbldap-tools]# smbldap-useradd -a boka2
Can't call method "get_value" on an undefined value at 
/usr/local/sbin/smbldap-useradd line 154, <DATA> line 283.

 From smbldap-useradd:
$userGroupSID = $group_entry->get_value('sambaSID');

I'm using correct version of samba.schema in my ldap server:
...
attributetype ( 1.3.6.1.4.1.7165.2.1.20 NAME 'sambaSID'
         DESC 'Security ID'
         EQUALITY caseIgnoreIA5Match
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{64} SINGLE-VALUE )
...

root at rhea:~# smbldap-useradd -w loko23

OK, quick view of ldiff:

dn: uid=loko23$,ou=Computers,dc=ITSTUFF,dc=PL
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
cn: loko23$
sn: loko23$
uid: loko23$
uidNumber: 1088
gidNumber: 553
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer

It looks like scripts, or ldap server do not use new samba.schema.

ps. sorry for cross posting again :-/

ps. II for samba-idealx team:
http://marc.theaimsgroup.com/?l=samba&m=107584508526994&w=2

greetz
boka


More information about the samba-technical mailing list