smbpasswd: Не удалось добавить запись для пользователя

Маршрутизатор не действует как сервер DNS в том смысле, что он содержит зональные файлы и записи DNS для Ваших внутренних узлов. То, что маршрутизатор знает, через который хосты подключены к нему, он - таблица клиентов DHCP, не собирается помогать Вашим именам твердости внутренних узлов других внутренних узлов. Вам нужен внутренний механизм определения имен (DNS или WINS), который все Ваши внутренние узлы регистрируют в и запрос.

2
задан 28 October 2011 в 18:06
2 ответа

I found the best way to debug this issue is to see what's happening from the point of view of LDAP. Firstly do a "ps aux |grep slapd" to get the arguments being passed to the daemon, on my system (CentOS 5.6) I get:

/usr/sbin/slapd -h ldap:/// -u ldap

Stop the slapd daemon (/etc/init.d/slapd stop or similiar) and then run the daemon interactively (i.e. from the command line) using the "-d" flag. -1 (as an argument for -d) is a good starting point, i.e. it logs everything, i.e.

/usr/sbin/slapd -h ldap:/// -u ldap -d -1

If this is too much info, read up on the parameters to "-d" - from memory I used 256 quite a bit. The idea is to get slapd giving some useful output and then replicate the problem. You may get some useful output which is showing where things are going wrong.

2
ответ дан 3 December 2019 в 10:15

Просто добавьте пользователя в локальную учетную запись User

Например:

useradd smbuser

smbpasswd -a smbuser

Только тогда вы сможете добавить пользователя как пользователь samba

2
ответ дан 3 December 2019 в 10:15

Теги

Похожие вопросы