Re: [Comm] Проблема с winbind

Овечкин Влад =?iso-8859-1?q?test_=CE=C1_rrnn=2Eru?=
Ср Мар 2 09:45:43 MSK 2005


> Обязательно! :)
Это радует:)
> service winbind stop
> winbindd -S -F -Y
Вывод:
[root на mainserver samba]# /usr/sbin/winbindd -S -F -Y
winbindd version 3.0.10 started.
Copyright The Samba Team 2000-2004
INFO: Current debug levels:
  all: True/10
  tdb: False/0
  printdrivers: False/0
  lanman: False/0
  smb: False/0
  rpc_parse: False/0
  rpc_srv: False/0
  rpc_cli: False/0
  passdb: False/0
  sam: False/0
  auth: False/0
  winbind: False/0
  vfs: False/0
  idmap: False/0
  quota: False/0
  acls: False/0
doing parameter hosts allow = 192.168.1. 192.168.2. 192.168.3. 127.
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter smb passwd file = /etc/samba/smbpasswd
doing parameter admin users = kuzmich admin root
doing parameter winbind uid = 10000-20000
doing parameter winbind gid = 10000-20000
doing parameter winbind separator = # winbind use default domain is switch 
which forces winbind to treat users
doing parameter winbind use default domain = no
doing parameter winbind enum users = yes
doing parameter winbind enum groups = yes
doing parameter socket options = TCP_NODELAY
doing parameter interfaces = 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24 
127.0.0.0/8
doing parameter local master = yes
doing parameter os level = 255
doing parameter domain master = yes
doing parameter preferred master = yes
doing parameter domain logons = yes
doing parameter add machine script = /usr/sbin/useradd -d /dev/null -g 
machines -c 'Machine Account' -s /bin/false -M %u
doing parameter add user script = /usr/sbin/useradd -s /bin/false %u
doing parameter name resolve order = wins lmhosts bcast
doing parameter wins support = yes
doing parameter dns proxy = no
doing parameter dos charset = CP1251
Attempting to register new charset UCS-2LE
Registered charset UCS-2LE
Attempting to register new charset UTF-16LE
Registered charset UTF-16LE
Attempting to register new charset UCS-2BE
Registered charset UCS-2BE
Attempting to register new charset UTF-16BE
Registered charset UTF-16BE
Attempting to register new charset UTF8
Registered charset UTF8
Attempting to register new charset UTF-8
Registered charset UTF-8
Attempting to register new charset ASCII
Registered charset ASCII
Attempting to register new charset 646
Registered charset 646
Attempting to register new charset ISO-8859-1
Registered charset ISO-8859-1
Attempting to register new charset UCS2-HEX
Registered charset UCS2-HEX
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
doing parameter unix charset = CP1251
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
Substituting charset 'CP1251' for LOCALE
doing parameter display charset = CP1251
doing parameter use sendfile = yes
Processing section "[homes]"
add_a_service: Creating snum = 0 for homes
doing parameter comment = Home Directory for '%u'
doing parameter browseable = no
doing parameter writable = yes
Processing section "[films]"
add_a_service: Creating snum = 1 for films
doing parameter path = /mnt/raid/films
doing parameter valid users = alexkuz kuzmich gonov
doing parameter public = no
doing parameter browseable = yes
doing parameter only guest = no
doing parameter writable = yes
doing parameter printable = no
Processing section "[music]"
add_a_service: Creating snum = 2 for music
doing parameter path = /mnt/raid/music
doing parameter valid users = kuzmich
doing parameter public = no
doing parameter browseable = yes
doing parameter only guest = no
doing parameter writable = yes
doing parameter printable = no
Processing section "[new]"
add_a_service: Creating snum = 3 for new
doing parameter path = /mnt/raid/new
doing parameter valid users = kuzmich
doing parameter public = no
doing parameter browseable = no
doing parameter only guest = no
doing parameter writable = yes
doing parameter printable = no
Processing section "[roliki]"
add_a_service: Creating snum = 4 for roliki
doing parameter path = /mnt/raid/roliki
doing parameter valid users = lunin
doing parameter public = no
doing parameter browseable = yes
doing parameter only guest = no
doing parameter writable = yes
doing parameter printable = no
pm_process() returned Yes
add_a_service: Creating snum = 5 for IPC$
adding IPC service
add_a_service: Creating snum = 6 for ADMIN$
adding IPC service
set_server_role: role = ROLE_DOMAIN_PDC
added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0
Can't determine ip for broadcast address 192.168.2.0/24
Can't determine ip for broadcast address 192.168.3.0/24
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Netbios name list:-
my_netbios_names[0]="MAINSERVER"
added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0
Can't determine ip for broadcast address 192.168.2.0/24
Can't determine ip for broadcast address 192.168.3.0/24
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Opening cache file at /var/lib/samba/gencache.tdb
namecache_enable: enabling netbios namecache, timeout 660 seconds
smb_register_idmap: Successfully added idmap backend 'ldap'
smb_register_idmap: Successfully added idmap backend 'tdb'
db_idmap_init: Opening tdbfile /var/lib/samba/winbindd_idmap.tdb

Всё...
Первое, что не радует - это разделитель #. Странно... в конфе самбы 
прописано как
winbind separator = \

> И смотреть на что ругается при wbinfo -u
#wbinfo -u
Error looking up domain users

Больше ругани нет, даже при уровне чувствительности 10.




Подробная информация о списке рассылки community