Hello all,
I got problems accesing to my home share in samba.
This is mi smb.conf
[global]
workgroup = GAMMA
server string = Controlador de Dominio
passdb backend = tdbsam:/var/lib/samba/passdb.tdb
log file = /var/log/samba/log.%u
max log size = 50
time server = Yes
logon script = %U.bat
logon path = \\%L\profile\%U
logon drive = U:
logon home = \\%L\Usuarios\%U
domain logons = Yes
preferred master = Yes
domain master = Yes
wins support = Yes
cups options = raw
[homes]
comment = Home Directories
path = /srv/Datos/Usuarios/u%
valid users = u%
read only = No
create mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
valid users = @usuarios
write list = @usuarios
guest ok = Yes
browseable = No
[profiles]
comment = User profiles share
path = /var/lib/samba/profiles/U%
read only = No
create mask = 0600
security mask = 0700
guest ok = Yes
browseable = No
When I go to a Windows Machine and that machine is in the domain and the user is added on samba I see my Home Directory buy I can´t access to it.
Also, as far as I know, I've seen that most of the cases, people uses a logon.bat file, as you can see on my configuration, I have set it in "/var/lib/samba/netlogon" u%.bat, but when I access on a windows machine nothing happens.
I forgot, I'm Using Centos 6 and Samba 3.5.4
Can any one help me?
Thanks
I got problems accesing to my home share in samba.
This is mi smb.conf
[global]
workgroup = GAMMA
server string = Controlador de Dominio
passdb backend = tdbsam:/var/lib/samba/passdb.tdb
log file = /var/log/samba/log.%u
max log size = 50
time server = Yes
logon script = %U.bat
logon path = \\%L\profile\%U
logon drive = U:
logon home = \\%L\Usuarios\%U
domain logons = Yes
preferred master = Yes
domain master = Yes
wins support = Yes
cups options = raw
[homes]
comment = Home Directories
path = /srv/Datos/Usuarios/u%
valid users = u%
read only = No
create mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
valid users = @usuarios
write list = @usuarios
guest ok = Yes
browseable = No
[profiles]
comment = User profiles share
path = /var/lib/samba/profiles/U%
read only = No
create mask = 0600
security mask = 0700
guest ok = Yes
browseable = No
When I go to a Windows Machine and that machine is in the domain and the user is added on samba I see my Home Directory buy I can´t access to it.
Also, as far as I know, I've seen that most of the cases, people uses a logon.bat file, as you can see on my configuration, I have set it in "/var/lib/samba/netlogon" u%.bat, but when I access on a windows machine nothing happens.
I forgot, I'm Using Centos 6 and Samba 3.5.4
Can any one help me?
Thanks