|
|
ВНИМАНИЕ: Използвайте форумите на сайта за дa зададете вашите въпроси.
Въпрос |
От: F |
Дата: 04/26/2004 |
Niakoi shte moje li da mi kaje kyde se syhraniava logon
scripta na Sambata?
.....
logon script = %U.bat
logon drive = H:
.....
Ako moje niakakyv primer vse pak,...kyde se suhraniava tozi
batch file,...ili generira ??!!? Neshto ne mi e iasno!
10x :))
|
Отговор #1 |
От: justme |
Дата: 04/26/2004 |
man smb.conf
...
This parameter specifies the batch file (.bat)
or NT command file (.cmd) to be downloaded and run on a
machine when a user successfully logs in. The file must
contain the DOS style CR/LF line endings. Using a
DOS-style edi-tor to create the file is recommended.
The script must be a relative path to the [netlogon]
service. If the [netlogon] service specifies a path of
/usr/local/samba/netlogon , and logon script =
TARTUP.BAT,
then the file that will be downloaded is:
/usr/local/samba/netlogon/STARTUP.BAT
...
|
Отговор #2 |
От: begin4o |
Дата: 04/26/2004 |
Пич, чети малко във форума де, има ги доста описани тези
неща. Все пак ето ти сламка...
# Global parameters
[global]
workgroup = WORKGROUP
netbios name = LINUX
interfaces = 192.168.0.10/24 127.0.0.1/24
bind interfaces only = yes
encrypt passwords = Yes
log file = /var/log/samba/log.%m
max log size = 50
time server = Yes
logon path = \\Linux\profiles\%u
logon drive = H:
logon home = \\Linux\%u
domain logons = Yes
security = user
os level = 64
preferred master = Yes
domain master = yes
local master = yes
wins support = yes
name resolve order = wins lmhosts hosts bcast
guest account = smbuser
[netlogon]
comment = The domain logon service
path = /usr/share/samba/netlogon
public = no
writable = no
browsable = no
[docs]
path = /data_part/docs
read only = No
create mask = 0664
inherit permissions = Yes
[install]
path = /install
[pe6o]
path = /data_part/home/pe6o
valid users = pe6o
write list = pe6o
read only = No
create mask = 0664
inherit permissions = Yes
browseable = No
[go6o]
path = /data_part/home/go6o
valid users = go6o
write list = go6o
read only = No
create mask = 0664
inherit permissions = Yes
browseable = No
[profiles]
path = /data_part/profiles
read only = No
create mask = 0664
inherit permissions = Yes
browseable = No
...
Успехи
|
<< nVidia driver problem-4eren ekran (1
) | nastroiki na KSALUP pri MANDRAKE10 (0
) >>
|
|
|
|
|