>[оверквотинг удален]
>>на рабочей станции??? не ругайте меня если, что то не так
>>сказал, я же еще зеленый.
>>
>>И вобще существует ли литература на русском языке на данную тему?? если
>>не сложно можно скинуть ссылку есть таковая есть?
>
>CUPS тут не при чем. Так что это бесполезная инфа.
>Вообще, сначала отладил бы Samba "а-натюрель", без LDAP. А то придется 2
>лопатами 2 траншеи рыть.
>Да, и телепаты в отпуске. smb.conf в студию собственно вот они smb.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#======================= Global Settings =====================================
[global]
#Name domain
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = tks_net
#netbios name machine
netbios name = tks_net
#about server
# server string is the equivalent of the NT Description field
server string = Server Domain TKS
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = user
#access to host
hosts allow = 192.168.2. 127.
#use printer
load printers = no
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 500
#use password coding
encrypt passwords = yes
#Admin domain
admin users = admin
#password keep in LDAP
passdb backend = ldapsam:ldap://localhost/
#boot LDAP server
ldap suffix = dc=tks_net,dc=ru
#Users keep in box ou=users
ldap user suffix = ou=users
#Group keep in box ou=groups
ldap group suffix = ou=groups
#Box for machine user
ldap machine suffix = ou=computers
#Object admin samba in LDAP
ldap admin dn = "cn=root,dc=tks_net,dc=ru"
#Not may delete object
ldap delete dn = no
#Not SSL
ldap ssl = off
#Net option
socket options = TCP_NODELAY
#make samba to PDC
local master = yes
os level = 64
domain master = yes
preferred master = yes
domain logons = yes
#Script start in time loging user
logon script = proxy.vbs
#Net way, witch may include
logon path = \\%L\Profiles\%U\%m\
logon home = \\%L\Profiles\%U\%m\
#--------------------------------------
#Russia language
display charset = KOI8-R
unix charset = KOI8-R
dos charset = CP866
#---------------------------------
#Name disk, witch include
logon drive = Z:
#Support wins
wins support = yes
#Noot use dns proxy
dns proxy = no
#Russia language
display charset = koi8-r
unix charset = koi8-r
dos charset = cp866
#make time server on samba
time server = yes
#Script for include machine
add machine script = /usr/local/sbin/ldapaddmachine '%u' computers
add user script = /usr/local/sbin/ldapadduser '%u' users
add group script = /usr/local/sbin/ldapaddgroup '%g'
add user to group script = /usr/local/sbin/ldapaddusertogroup '%u' '%g'
delete user script = /usr/local/sbin/ldapdeleteuser '%u'
delete group script = /usr/local/sbin/ldapdeletegroup '%g'
delete user from group script = /usr/local/sbin/ldapdeleteuserfromgroup '%u' '%g'
set primary group script = /usr/local/sbin/ldapsetprimarygroup '%u' '%g'
rename user script = /usr/local/sbin/ldaprenameuser '%uold' '%unew'
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /usr/local/etc/samba/netlogon
browseable = no
guest ok = yes
writable = no
share modes = no
#directory one user
[Profiles]
create mode = 600
directory mode = 700
path = /home/share/profiles
browseable = no
guest ok = yes
Writeable = yes
[data]
comment = Dump of files
path = /home/share/data
create mode = 660
directory mode = 770
public = yes
writeable = yes
write list = @users
read list = @users
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
также конфиг slapd.conf
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/misc.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/openldap.schema
include /usr/local/etc/openldap/schema/samba.schema
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
# Load dynamic backend modules:
modulepath /usr/local/libexec/openldap
moduleload back_ldbm
#access to attrs=userPassword
# by self write
# by anonymous auth
# by * none
#access to *
# by self write
# by anonymous read
# by * none
database ldbm
suffix "dc=tks_net,dc=ru"
rootdn "cn=root,dc=tks_net,dc=ru"
rootpw {SSHA}ekbvI0c2eh6zwuJ1edmSp7cNAHlMgwW1
directory /var/db/openldap-data
index objectClass eq
index cn eq
#FOR samba3
#index sambaSID eq
#index sambaPrimaryGroupSID eq
#index sambaDomainName eq
#Basic ACL
#access to attr=userPassword
#by self write
#by anonymous auth
#by * none
#acces only admin
#access to attrs=sambaLMPassword,sambaNTPassword
#by dn="cn=admin,ou=users,dc=tks_domain,dc=ru" write
#by * none
#access to *
#by * read
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Что тут не так ? Заранее благодарен