[Samba] smbldap-useradd error looking for next uid

John H. mistamaila at yahoo.com
Wed Jan 12 08:14:00 GMT 2005


wooops, in INSTALL readme for smbldap-tools .8.5 I
forgot to import an add.ldif that says

dn: cn=NextFreeUnixId,dc=INTRANET
objectClass: inetOrgPerson
objectClass: sambaUnixIdPool
uidNumber: 500
gidNumber: 100
cn: NextFreeUnixId
sn: NextFreeUnixId

works now:)


--- "John H." <mistamaila at yahoo.com> wrote:

> /usr/local/sbin/smbldap-useradd -w computername
>  Error looking for next uid at
> /usr/local/sbin///smbldap_tools.pm line 879, <DATA>
> line 283.
> 
> I cannot add machines to the samba pdc because of
> this...
> everything else with samba/ldap seems to work, I
> have
> the feeling it is related to this
> 
> # Where are stored Idmap entries (used if samba is a
> domain member server)
> # Ex groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
> idmapdn="ou=Idmap,${suffix}"
> 
> # Where to store next uidNumber and gidNumber
> available
> sambaUnixIdPooldn="cn=NextFreeUnixId,${suffix}"
> 
> I don't think either that ou or cn exist in my ldap
> database, how do i get them in there?
> 
> 
> If I comment out the sambaunixidpooldn, i get
> 
>  /usr/local/sbin/smbldap-useradd -w foo
> Could not find base dn, to get next uidNumber at
> /usr/local/sbin///smbldap_tools.pm line 881, <DATA>
> line 283.
> 
> 
> any help is appreciated.
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Helps protect you from nasty viruses. 
> http://promotions.yahoo.com/new_mail
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
> https://lists.samba.org/mailman/listinfo/samba
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 


More information about the samba mailing list