[linux] WinBind & Homedir
Kocur
kocur na zsvak.sk
Pondělí Únor 3 08:41:46 CET 2003
nazdar lidi...
takze v tu je konfigurak, ktory mi vytvara homedirectories
ibaze zatial mi to nevytvara userov, tak ako chcem..
--cut--
workgroup = domain
netbios name = GW
server string = Gateway Server (Samba %v)
log file = /var/log/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 50
log level = 3
hosts allow = 192.168.1. 127.
security = domain
password server = *
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
pam password change = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
; template homedir = /home/%D/%U
template homedir = /home/%U
obey pam restrictions = yes
winbind enum users = yes
winbind enum groups = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = 192.168.1.1/24 127.0.0.1/24
local master = no
domain master = no
preferred master = no
add user script = /usr/sbin/useradd -s /bin/false %u
wins support = no
wins server = 192.168.1.100
wins proxy = no
dns proxy = no
#============================ Share Definitions
==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
--cut--
no ale ak dam parameter template homedir = /home/%D/%U ,
tam mi to sice vytvori homedeir aj uzivatela, ale ako DOMAINUSERNAME,
cize pred samotnym usernameom je este aj nazov domeny..(napr. domainkocur).
ked to niekto vyriesi, tak nech sa ozve..
caff..
Další informace o konferenci linux