[samba] pdc+bdc

inkubus-22 inkubus-22 на yandex.ru
Ср Сен 20 13:36:06 MSD 2006


[global]
	dos charset = cp866
	unix charset = koi8-r
	display charset = koi8-r
	workgroup = CONS-NT
	netbios name = PDC
	server string = PDC Microsoft Windows
	interfaces = 192.168.145.0/24
	passdb backend = ldapsam:ldap://127.0.0.1/
	passwd program = /usr/local/sbin/smbldap-passwd -u "%u"
	passwd chat = "Changing password for*\nNew password*" %n\n "*Retype new password*" %n\n"
	username map = /usr/local/etc/samba/sbmusers
	log level = 5 ads:5 auth:10 sam:10 rpc:10
	syslog = 4
	log file = /var/log/samba/log.%m
	max log size = 100000
	name resolve order = lmhosts wins dns host bcast
	time server = Yes
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	load printers = No
	add user script = /usr/local/sbin/smbldap-useradd -m "%u"
	delete user script = /usr/local/sbin/smbldap-userdel "%u"
	add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
	delete group script = /usr/local/sbin/smbldap-groupdel "%g"
	add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
	delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g"
	set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
	add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
	logon script = %u.bat
	logon path = 
	logon drive = H:
	domain logons = Yes
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins proxy = Yes
	wins support = Yes
	ldap admin dn = cn=admin,dc=xxxx,dc=ru
	ldap delete dn = Yes
	ldap group suffix = ou=Groups
	ldap idmap suffix = ou=Users
	ldap machine suffix = ou=Computers
	ldap passwd sync = Yes
	ldap suffix = dc=palcons,dc=ru
	ldap ssl = no
	ldap user suffix = ou=Users
	veto files = /*.avi/*.mp3/
>>
>>А сам LDAP-то настроен и работает?
>>ldapsearch?
>>id {пользователь ldap}?
>
>только usrmgr.exe невидит групп :(
>
root[/usr/local/etc/samba]#>net rpc info -S cons-nt -U admin                                  14:28
Password:
Domain Name: CONS-NT
Domain SID: S-1-5-21-703746687-2398079630-2454373809
Sequence number: 1158744524
Num users: 2
Num domain groups: 0
Num local groups: 0

видит только admina и nobody


-- 
---
с уважением


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