Carlos Pena
October 9th, 2009, 11:17 AM
I have a Windows 2k server and a Ubuntu Server. I need to configure Samba to authenticate the users from the Windows server on a domain.
I have read a lot of examples at samba.org and others sites, but my configuration doesn't work at all. I set the samba directive "security = domain", joined the server to the domain. When i try to access the volume on Samba(Linux) server it doesn't accept the users/password that are valid on windows Server. Only public share works.
I have several weeks tryint to do this with no goods results. The samba conf directive "security = users" requires that all groups and users on Windows Server must be registered again in the Linux server.
I hope someone could help me.
Carlos R. Pena
Santo Domingo, Dominican Republic
======================================
My last smb.conf is:
[global]
workgroup = MyDomain
server string = %h
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
security = domain
password server = * /*(i tryed with the domain name too)*/
encrypt passwords = yes
passdb backend = tdbsam
netbios name = LinuxServer
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
socket options = TCP_NODELAY
winbind enum groups = yes
winbind enum users = yes
[Public Share]
public = yes
read only = no
create mode = 0777
path = /Volume/Public
create mask = 777
directory mask = 777
[VIP Share]
valid users = @sales, administrator
path = /Volume/VIP
read only = no
public = no
create mode = 0777
create mask = 777
directory mask = 777
=============== END =========
I have read a lot of examples at samba.org and others sites, but my configuration doesn't work at all. I set the samba directive "security = domain", joined the server to the domain. When i try to access the volume on Samba(Linux) server it doesn't accept the users/password that are valid on windows Server. Only public share works.
I have several weeks tryint to do this with no goods results. The samba conf directive "security = users" requires that all groups and users on Windows Server must be registered again in the Linux server.
I hope someone could help me.
Carlos R. Pena
Santo Domingo, Dominican Republic
======================================
My last smb.conf is:
[global]
workgroup = MyDomain
server string = %h
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
security = domain
password server = * /*(i tryed with the domain name too)*/
encrypt passwords = yes
passdb backend = tdbsam
netbios name = LinuxServer
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
socket options = TCP_NODELAY
winbind enum groups = yes
winbind enum users = yes
[Public Share]
public = yes
read only = no
create mode = 0777
path = /Volume/Public
create mask = 777
directory mask = 777
[VIP Share]
valid users = @sales, administrator
path = /Volume/VIP
read only = no
public = no
create mode = 0777
create mask = 777
directory mask = 777
=============== END =========