Следите за новостями русскоязычного сообщества Ubuntu в Twitter-ленте @ubuntu_ru_loco
0 Пользователей и 1 Гость просматривают эту тему.
passwd: compat winbindgroup: compat winbindshadow: compat winbind hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4
2 zhenyok:кинь сюда лог файла .xsession-errors , я сравню со своим.
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "ivanov_ii"/etc/gdm/Xsession: Beginning session setup...Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entryFailed to start message bus: Memory allocation failure in message busEOF in dbus-launch reading address from bus daemon
(process:5898): Gtk-WARNING **: This process is currently running setuid or setgid.This is not a supported use of GTK+. You must create a helperprogram instead. For further details, see: http://www.gtk.org/setuid.htmlRefusing to initialize GTK+.(process:5902): Gtk-WARNING **: This process is currently running setuid or setgid.This is not a supported use of GTK+. You must create a helperprogram instead. For further details, see: http://www.gtk.org/setuid.htmlRefusing to initialize GTK+./etc/gdm/Xsession: Beginning session setup...Setting IM through im-switch for locale=ru_RU.Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.can't lock memory: Cannot allocate memoryWARNING: not using secure memory for passwords(seahorse-agent:5895): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (10178)(process:5895): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (10178)(gconf-sanity-check-2:5942): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (10178)SESSION_MANAGER=local/ee:/tmp/.ICE-unix/5895(process:5943): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (10178)Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entryFailed to start message bus: Memory allocation failure in message busdbus-daemon exited unexpectedly** ERROR **: file gsm-dbus.c: line 118 (gsm_dbus_daemon_start): assertion failed: (dbus_daemon_pid != 0)aborting...
попробуй такой вариант nsswitch.confКод: [Выделить]passwd: compat winbindgroup: compat winbindshadow: compat winbind hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4остальное заремить
netgroup Network wide list of hosts and users, used for access rules. C libraries before glibc 2.1 only support netgroups over NIS.
root@maxim:/etc/samba# net ads join -U max@TESTDOMAIN.LOCALmax@TESTDOMAIN.LOCAL's password: [2008/03/06 19:21:31, 0] utils/net_ads.c:ads_startup_int(286) ads_connect: No logon serversFailed to join domain: No logon servers
root@maxim:/etc/samba# wbinfo -pPing to winbindd failed on fd -1could not ping winbindd!
а в логах winbind что?/var/log/sambawinbind и samba рестартовал после изменений?
winbindd version 3.0.26a started. Copyright Andrew Tridgell and the Samba Team 1992-2007[2008/03/06 19:16:06, 0] nsswitch/winbindd_cache.c:initialize_winbindd_cache(2222) initialize_winbindd_cache: clearing cache and re-creating with version number 1[2008/03/06 19:16:06, 0] nsswitch/winbindd_util.c:init_domain_list(511) Could not fetch our SID - did we join?[2008/03/06 19:16:06, 0] nsswitch/winbindd.c:main(1091) unable to initalize domain list
[2008/03/06 18:57:00, 0] smbd/server.c:main(944) smbd version 3.0.26a started. Copyright Andrew Tridgell and the Samba Team 1992-2007[2008/03/06 19:02:30, 0] smbd/server.c:main(944) smbd version 3.0.26a started. Copyright Andrew Tridgell and the Samba Team 1992-2007[2008/03/06 19:02:30, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(241) startsmbfilepwent_internal: file /etc/samba/smbpasswd did not exist. File successfully created.[2008/03/06 19:09:18, 0] smbd/server.c:main(944) smbd version 3.0.26a started. Copyright Andrew Tridgell and the Samba Team 1992-2007[2008/03/06 19:09:19, 0] printing/nt_printing.c:nt_printing_init(650) nt_printing_init: error checking published printers: WERR_ACCESS_DENIED[2008/03/06 19:16:06, 0] smbd/server.c:main(944) smbd version 3.0.26a started. Copyright Andrew Tridgell and the Samba Team 1992-2007[2008/03/06 19:16:07, 0] printing/nt_printing.c:nt_printing_init(650) nt_printing_init: error checking published printers: WERR_ACCESS_DENIED
Итак подытожим, если строку netgroup: nis вообще не трогать, то вхожу нормально под любым доменным пользователем. Однако стоит всего лишь раз написать netgroup: files winbind и всё, ничего уже не помогает.Значит при изменении этого параметра меняется ещё что-то... Есть ещё мысли?
чтот я тоже не нарыл, отчего winbind не стартует..а до попытки ввода в домен, DC ресолвился?у меня и с avahi и без него нормально все было
тогда покажи smb.conf
[global] unix charset = UTF-8 dos charset = CP866 display charset = UTF-8 workgroup = DOMAIN server string = %h server (Samba, Ubuntu)# ; У кого есть wins можете включить wins support = no# ; и прописать wins сервер# ; wins server = 192.168… dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 syslog = 0 panic action = /usr/share/samba/panic-action %d# вот тут мы показываем, что используем AD security = ads# если стоит * то samba сама будет искать домен контроллер через dc, или же можно перечислить их IP адреса через пробел в явном виде. Или указать один #IP для того dc на котором хотите авторизоваться. Для отказоустойчивости лучше указать несколько dc или * password server = * realm = DOMAIN.ROOT.LOCAL #Внимание realm пишется большими буквами !!! encrypt passwords = true passdb backend = tdbsam obey pam restrictions = yes invalid users = root passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword :* %n\n *passwd:*password\supdated\ssuccessfully* . socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 idmap uid = 10000-20000 idmap gid = 10000-20000 template shell = /bin/bash winbind enum groups = yes winbind enum users = yes#домашняя папку у пользователя будет в папке с именем домена. Лучше ее создать заранее вручную. template homedir = /home/%D/%U client use spnego = yes winbind use default domain = yes winbind refresh tickets = yes restrict anonymous = 2# строки ниже, чтобы рабочая станция не пыталась стать обозревателем в сети. domain master = no local master = no preferred master = no os level = 0
Страница сгенерирована за 0.018 секунд. Запросов: 21.