Доброго времени!
Установил на FreeBSD 6.2 samb'у 3.0.25a,1
Загнал юзеров в LDAP
Скрипты LDAP (/usr/ports/net/ldapscripts)
nss_ldap-1.255 Для поиска системой пользователей в LDAP
Часть конфига smb.conf
Код:
...
add user script = /usr/local/etc/samba/useraddscript.sh '%u'
delete user script = /usr/local/etc/samba/rmuser.sh '%u'
...
passdb backend = ldapsam:ldap://localhost/
ldap suffix = dc=PCDServer,dc=ru
ldap user suffix = ou=users
ldap group suffix = ou=groups
ldap machine suffix = ou=computers
ldap admin dn = "cn=root,dc=PCDServer,dc=ru"
ldap delete dn = no
ldap ssl = off
...
logon script = doc.vbs
...
[netlogon]
comment = Network Logon Service
path = /usr/local/etc/samba/netlogon/
guest ok = yes
writable = no
share modes = no
browseable = no
Установил на FreeBSD 6.2 samb'у 3.0.25a,1
Загнал юзеров в LDAP
Скрипты LDAP (/usr/ports/net/ldapscripts)
nss_ldap-1.255 Для поиска системой пользователей в LDAP
Часть конфига smb.conf
Код:
...
add user script = /usr/local/etc/samba/useraddscript.sh '%u'
delete user script = /usr/local/etc/samba/rmuser.sh '%u'
...
passdb backend = ldapsam:ldap://localhost/
ldap suffix = dc=PCDServer,dc=ru
ldap user suffix = ou=users
ldap group suffix = ou=groups
ldap machine suffix = ou=computers
ldap admin dn = "cn=root,dc=PCDServer,dc=ru"
ldap delete dn = no
ldap ssl = off
...
logon script = doc.vbs
...
[netlogon]
comment = Network Logon Service
path = /usr/local/etc/samba/netlogon/
guest ok = yes
writable = no
share modes = no
browseable = no