[Samba] Idealx 9.1

Stéphane Purnelle stephane.purnelle at tiscali.be
Thu Oct 13 20:40:44 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas M. Skeren III a écrit :

> Hoping someone knows how to deal with this, as I'm scratching my
> head. I have 8.3 or 8.4 installed already and they work ok for the
> most part.
>
> Server: FBSD5.4, Samba 3.0.20
>
> Error in smbldap-useradd:
>
> camarillo# ./smbldap-useradd -w fums Could not find base dn, to get
> next uidNumber at /usr/local/sbin//smbldap_tools.pm line 995,
> <DATA> line 283.
>
> Data output during connection to LDAP server:
>
> Oct 13 12:12:42 db slapd[494]: conn=81708 fd=55 ACCEPT from
> IP=192.168.0.1:49822 (IP=0.0.0.0:389) Oct 13 12:12:42 db
> slapd[494]: conn=81708 op=0 BIND dn="cn=Manager,dc=fsklaw,dc=com"
> method=128 Oct 13 12:12:42 db slapd[494]: conn=81708 op=0 BIND
> dn="cn=Manager,dc=fsklaw,dc=com" mech=SIMPLE ssf=0 Oct 13 12:12:42
> db slapd[494]: conn=81708 op=0 RESULT tag=97 err=0 text= Oct 13
> 12:12:42 db slapd[494]: conn=81708 op=1 SRCH
> base="dc=fsklaw,dc=com" scope=2 deref=2
> filter="(&(objectClass=posixAccount)(uid=fums$))" Oct 13 12:12:42
> db slapd[494]: conn=81708 op=1 SEARCH RESULT tag=101 err=0
> nentries=0 text= Oct 13 12:12:42 db slapd[494]: conn=81708 op=2
> SRCH base="sambaDomainName=FSKS,dc=fsklaw,dc=com" scope=0 deref=2
> filter="(objectClass=sambaUnixIdPool)" Oct 13 12:12:42 db
> slapd[494]: conn=81708 op=2 SEARCH RESULT tag=101 err=0 nentries=0
> text= Oct 13 12:12:42 db slapd[494]: conn=81708 fd=55 closed
>
> The error does not look like an LDAP error. The search base is
> correct. I've crawled through the smbldap.conf file and can't see
> anything amiss. Anyone have any ideas what to look at?
>
Since smbldap-tools 9.0, the next uidNumber and gidNumber is stored
into LDAP.
You must add a objectClass named sambaUnixIdPool to the  attribute :
base="sambaDomainName=FSKS,dc=fsklaw,dc=com"

See the latest doc on samba.idealx.org

- --
Stéphane Purnelle <stephane.purnelle at tiscali.be>
Site Web : http://www.linuxplusvalue.be
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDTsZL8tswkE3d0ecRAmi4AJ9G1ifVl4b0xXBplNvt/xDsB4I+2QCeNulO
ygpnK8ssR54KaqagUISTQZY=
=yEH3
-----END PGP SIGNATURE-----



More information about the samba mailing list