[Samba] smbpasswd and LDAP

Beast beast at setuid.com
Sat Jul 26 05:38:12 GMT 2003


Hello,

Is it possible to use smbpasswd command to add necessary objectclasses
and attributes to existing ldap entries which contain only posix
account??

I got invalid DN syntax when adding smbuser using smbpasswd :
-----
[root at potato root]# smbpasswd -a beast
New SMB password:
Retype new SMB password:
failed to add domain dn= sambaDomainName=DJKT,dc=mydomain,dc=com with: Invalid DN syntax
        invalid DN
Adding domain info for DJKT failed with NT_STATUS_UNSUCCESSFUL
failed to add user dn= uid=beast,ou=people,"dc=mydomain,dc=com" with: Invalid DN syntax
        invalid DN
failed to modify/add user with uid = beast (dn = uid=beast,ou=people,"dc=mydomain,dc=com")
Failed to add entry for user beast.
Failed to modify password entry for user beast
----

I have necessary ldap entry under
ou=people,ou=mysite,dc=mydomain,dc=com.



--beast




More information about the samba mailing list