user profile +samba
linux at climbincrete.com
linux at climbincrete.com
Wed Jan 24 16:35:40 EET 2007
Xaireto ti lista,
Exo steisei ena Samba san Primary Domain Controller kai antimetopizo to
ekseis provlima.
O 1os xristis pou kanei login paizei ok kai to profile tou dimiourgite
xoris provlima kato apo to document and settings.
Opoiosdipote xristis paei na kanei login meta, kanei xoris provlima ala
vlepei to profile tou usera kai den dimiourgite to diko tou sto document
and settings.
Exei kaneis kamia idea ti na ftaiei?
Parakato paratheto to smb.conf
[global]
workgroup = MYDOMAIN
netbios name = SERVER
enable privileges = Yes
server string = Samba-Ldap PDC Server
security = User
obey pam restrictions = No
ldap passwd sync = Yes
encrypt passwords = yes
admin users = administrator
log level = 2
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
panic action = /usr/share/samba/panic-action %d
time server = Yes
Dos charset = 850
Unix charset = ISO8859-7
logon path = \\%L\profiles\%U
logon home = \\%L\%U\9xprofile
logon drive = Z:
logon script = %U.bat
domain logons = Yes
preferred master = Yes
domain master = Yes
wins support = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=admin,dc=ldapserver,dc=mydomain,dc=gr
ldap suffix = dc=ldapserver,dc=mydomain,dc=gr
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap user suffix = ou=Users
add user script = /usr/sbin/smbldap-useradd -w "%u"
ldap delete dn = yes
add machine script = /usr/sbin/smbldap-useradd -w -i "%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]
path = /home/%U
comment = Home Directories
read only = no
create mask = 0644
directory mask = 0775
browseable = no
guest ok = no
[netlogon]
path = /home/samba/netlogon/
public = no
writeable = no
browseable = no
read only = yes
[profiles]
comment = Windows users profiles
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = no
guest ok = no
printable = no
hide files = /desktop.ini/outlook*.lnk/*Briefcase*/
Euxaristo ek ton proteron
More information about the Linux-greek-users
mailing list