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

Mapeando o home no samba



Estou tentando mapear o home dos usuários via netlogon porém o que está sendo mapeado é o [profiles].

Os comandos do script de logon :
@echo off
net time \\servidor /set /yes
net use U: /HOME /YES
net use N: \\pdc\publico /persistent:no


Vejam os trechos do meu smb.conf

logon home = \\%L\profiles\%U
logon path = \\%L\profilesNT\%U
logon drive = U:
logon script = %U.bat

[netlogon]
        comment = Servico de Logon
        path = /dados/samba/netlogon
        guest ok = Yes
        read >        browseable = No
        write list = admin @"Domain Admins"

[homes]
        comment = Diretorio Home
        valid users = %S
        guest ok = Yes
        browseable = No
        writeable = yes
        create mask = 0600
        directory mask = 0700
        veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.mpg/*.mpeg/*.asx/*.mov/*.avi/*.src/*.pif/*.mpg/*.com/*.swf/*.htt/*.ini/

[publico]
        writeable = yes
        path = /dados/pub
        force create mode = 0770
        comment = Area publica
        force group = publico
        #valid users = @"publico"
        public = yes
        read >        guest ok = yes
        allow hosts = 192.168.0.0/255.255.255.0
        veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.mpg/*.mpeg/*.asx/*.mov/*.avi/*.src/*.pif/*.mpg/*.com/*.swf/*.htt/*.ini/

[profiles]
        path = /dados/samba/profiles
        read >        create mask = 0600
        directory mask = 0700
        browseable = No

[profilesNT]
        path = /dados/samba/profilesNT
        read >        create mask = 0600
        directory mask = 0700
        browseable = No


--
Desde já agradeço,
+++                        
Flávio de Oliveira Barros
Manaus - Amazonas - Brasil

Copiar é bom!
Seja Legal
Use Software Livre

Reply to: