-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 sonjaya@stud.che.itb.ac.id wrote: | i try to instal samba be pdc and evrry add user i get error like this : | [root@pim sambaconf]# ./smbadduser | | Enter the [Login name] for new samba user : | [root@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@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-----
i try to instal samba be pdc and evrry add user i get error like this :
[root@pim sambaconf]# ./smbadduser
Enter the [Login name] for new samba user :
[root@pim sambaconf]# ./smbadduser testuser
Here we go!
Enter the [Login name] for new samba user : testuser
Enter the [Real name] for the new samba user []: tes
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid
credentials)
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
ldapsam_search_one_group: Problem during the LDAP search: LDAP error:
(unknown) (Invalid credentials)fetch_ldap_pw: neither ldap secret
retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
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@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
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNBUF=4096 SO_RCVBUF=4096
encrypt passwords = yes
#NT Domain Section
wins support = yes
os level = 20
domain master = yes
local master = yes
preferred master = yes
domain logons = yes
#Scripts Logon
logon script = logon.bat
# Where the scripts resides.
logon path = \\%L\netlogon
# Where the profiles are
logon home = \\%L\%U\profiles
name resolve order = lmhosts host wins bcast
dns proxy = no
smb passwd file = /usr/local/samba/private/smbpasswd
# How long do you want the samba log file to be?
max log size = 2000
time server = yes
[netlogon]
path = /home/samba/netlogon
public = no
writeable = no
browsable = no
[profiles]
path = /home/samba/profiles
read only = no
create mask = 0600
directory mask = 0700
[homes]
comment = %u
browsable = no
read only = no
create mask = 0700
directory mask = 0700
[pub]
comment = Public
path = /home/samba/pub
public = yes
browsable = yes
guest ok = yes
read only = no
[tmp]
comment = Temp
path = /home/samba/tmp
public = yes
browsable = yes
guest ok = yes
read only = no