[Samba] Error looking for next uid at/usr/share/perl5/smbldap_tools.pm

Albert Teixidó Albert.Teixido at uab.es
Fri Jul 7 13:30:20 GMT 2006


Hi,

You need something like this in your tree to store the next free uid and
gid:

dn: cn=NextFreeUnixId,o=youro
objectClass: inetOrgPerson
objectClass: sambaUnixIdPool
cn: NextFreeUnixId
sn: NextFreeUnixId
structuralObjectClass: inetOrgPerson
uidNumber: 29205
gidNumber: 1426

Take a look at smbldap-tools documentation.

Albert

El dj 06 de 07 del 2006 a les 22:51 +0200, en/na Mario Ohnewald va
escriure:
> anyone?
> 
> On Thu, 2006-07-06 at 17:05 +0200, Mario Ohnewald wrote:
> > Hello List,
> > 
> > i am using Ubuntu Dapper with:
> > 
> > ldap-account-manager         0.5.1-1
> > samba                        3.0.22-1ubuntu3
> > samba-common                 3.0.22-1ubuntu3
> > debian-edu-config            0.399
> > slapd                        2.2.26-5ubuntu2.1
> > smbldap-tools                0.9.2-3
> > 
> > 
> > When i try to join a domain i get this error:
> > 
> > Could not find base dn, to get next uidNumber
> > at /usr/share/perl5/smbldap_tools.pm line 1046.
> > [2006/07/06 16:54:44, 0]
> > rpc_server/srv_samr_nt.c:_samr_create_user(2415)
> >   _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
> > "na$"' gave 127
> > 
> > 
> > I am using /etc/ldap/schema/samba.schema from debian-edu-config.
> > 
> > Where does it look for the base dn which it cant find?
> > 
> > Cheers, Mario
> > 
> > 
> > 
> 
-- 
Albert Teixidó
SIEE - Suport Informàtic de l'Escola d'Enginyeries




More information about the samba mailing list