[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian etch Samba PDC mit LDAP (gelöst vorerst)



Hallo,

habe das Problem gelöst beim 10mal durchgucken der config ist mir
aufgefallen das ich in dem smb.conf noch falsche Pfade zum adden drin
hatte.


Richtig smb.conf:

[global]
workgroup = test.org
netbiosname = server
preferred master = yes
os level = 65
wins support = yes
enable privileges = yes
timeserver = yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
log level = 3
null passwords = yes
security = user
# unix charset = ISO8859-1
name resolve order = bcast host
domain logons = yes
domain master = yes
# printing = cups
# printcap name = cups
logon path = \\%L\profiles\%U
logon script = logon.bat
logon drive = H:
passdb backend = ldapsam:ldap://127.0.0.1/
obey pam restrictions = no
ldap admin dn = cn=manager,dc=test,dc=org
ldap suffix = dc=test,dc=org
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
ldap passwd sync = yes
ldap delete dn = yes
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add user script = /usr/sbin/smbldap-useradd -m "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"

[homes]
comment = Home directories
browseable = no
writeable = yes
create mask = 0700
directory mask = 0700
        
[public]
comment = Public share
path = /home/samba/shares/public
browseable = yes
public = yes
writeable = yes

[netlogon]
path = /home/samba/netlogon
public = no
writeable = no
browseable = no

[profiles]
path = /home/samba/profiles
writeable = yes
create mask = 0700
directory mask = 0700
browseable = no
hide files = /desktop.ini/ntuser.ini/NTUSER.*/


Reply to: