[Samba] error smbadduser

Gerald (Jerry) Carter jerry at samba.org
Wed Oct 1 14:21:52 GMT 2003


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

sonjaya at stud.che.itb.ac.id wrote:
| i try to instal samba be pdc and evrry add user i get error like this :
| [root at pim sambaconf]# ./smbadduser
|
| Enter the [Login name] for new samba user :
| [root at pim sambaconf]# ./smbadduser testuser
| Here we go!
|
....

| smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid
| credentials)
| Failed to add entry for user testuser.
| Failed to modify password entry for user testuser
| [root at pim sambaconf]
|
| and here my smb.conf ( please chek it if i wrong )
|
| [global]
|     netbios name = pim
|     workgroup = pim-net
|     log level = 2
|     log file = /usr/local/samba/var/sambapdc.log
|     security = share
|     invalid users = root
|     interfaces = 172.18.20.0/32
|     security = user
|     server string = %h server (PDC %v)
|     syslog only = no
|

Sounds like you compiled --with-ldapsam possibly but did
not specify the ldap parameters in smb.conf.  If you did
not mean to use an LDAP backend, then try setting

	passdb backend = smbpasswd

or

	passdb backend = tdbsam



cheers, jerry
~ ----------------------------------------------------------------------
~ Hewlett-Packard            ------------------------- http://www.hp.com
~ SAMBA Team                 ---------------------- http://www.samba.org
~ GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
~ "You can never go home again, Oatman, but I guess you can shop there."
~                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/euMAIR7qMdg1EfYRAmMlAKDfHw6u4nZ581pK/6hFLj6W/Ze+NQCgk9Uk
EwzTS3v3Z2yX9/os7Tup+o0=
=/+tE
-----END PGP SIGNATURE-----




More information about the samba mailing list