[Samba] Using LDAP and Samba I'm getting a stange error

Gonzalo Servat gonzalo at linuxaus.com
Sun Feb 24 01:51:06 GMT 2002


Hi Jeffrey

Try adding "objectClass: top" to first ldap entry in your ldap.start
file.

HTH,
Gonzalo

On Sun, 2002-02-24 at 11:07, Jeffrey D. Means wrote:
> Ok next question:  What does this one mean??
>  
> [root at trouble lib]# ldapadd -x -v -D "cn=root,o=smb,dc=picotech,dc=net"
> -f ldap.start -W
> ldap_initialize( <DEFAULT> )
> Enter LDAP Password: 
> add o:
>             smb
> add objectClass:
>             organization
> adding new entry "o=smb, dc=picotech, dc=net"
> ldap_add: Operations error
>  
> ldif_record() = 1
> [root at trouble lib]#
> 
> the contents of ldap.start is as follows:
>  
> dn: o=smb, dc=picotech, dc=net
> o: smb
> objectClass: organization
>  
> dn: uid=Administrator, o=smb, dc=picotech, dc=net
> cn: Administrator
> objectClass: sambaAccount
> uid: Administrator
> pwdLastSet: 0
> logonTime: 0
> logoffTime: 0
> kickoffTime: 0
> pwdCanChange: 0
> pwdMustChange: 0
> smbHome: \\%N\
> homeDrive: Z:
> profilePath: \\%N\profiles\administrator
> rid: 500
> primaryGroupID: 512
> lmPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
> ntPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
>  
> dn: uid=nobody, o=smb, dc=picotech, dc=net
> cn: nobody
> objectClass: sambaAccount
> uid: nobody
> pwdLastSet: 0
> logonTime: 0
> logoffTime: 0
> kickoffTime: 0
> pwdCanChange: 0
> pwdMustChange: 0
> smbHome: \\%N\
> homeDrive: Z:
> profilePath: \\%N\profiles\nobody
> rid: 501
> primaryGroupID: 514
> lmPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
> ntPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
>  
> -------------
> Jeffrey D. Means
> CIO for PicoTech
> Ft. Collins, Colorado
> -----Original Message-----
> From: Pascal Schelcher [mailto:pascal.schelcher at free.fr] 
> Sent: Saturday, February 23, 2002 4:25 PM
> To: Jeffrey D. Means
> Subject: Re: [Samba] Using LDAP and Samba I'm getting a stange error
>  
> Try to add "-x" option in your command.
> Perhaps you have configured your LDAP server without SASL
> authentification... The "-x" option make simple authentification.
>  
> Pascal Schelcher.
>  
> ----- Original Message ----- 
> From: Jeffrey D. Means <mailto:meaje at picotech.net>  
> To: Samba <mailto:samba at lists.samba.org>  
> Sent: Sunday, February 24, 2002 12:00 AM
> Subject: [Samba] Using LDAP and Samba I'm getting a stange error
>  
> Does anyone know what the following error means, and what I can do to
> fix it??
>  
> [root at trouble openldap]# ldapadd -D "cn=root,o=smb,dc=picotech,dc=net"
> -W
> Enter LDAP Password: 
> ldap_sasl_interactive_bind_s: No such attribute
>  
> -------------
> Jeffrey D. Means
> CIO for PicoTech
> Ft. Collins, Colorado
>  

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20020224/adc3afb1/attachment.bin


More information about the samba mailing list