[Samba] error smbadduser

sonjaya at stud.che.itb.ac.id sonjaya at stud.che.itb.ac.id
Wed Oct 1 18:04:53 GMT 2003


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!

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 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

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





More information about the samba mailing list