[Samba] Login with a NT 4.0 PDC
Bruno Lessa Cardoso
brunolc at gmail.com
Wed Oct 13 15:01:44 GMT 2004
Hi all,
I want to make a Samba Sever as amember of a Domain, using a Windows
NT 4.0 as PDC. I have my smb.conf configured to do this, but users
ca't connect on Samba useing the Windows NT account. Is it possible or
I have to create them on a smbpasswd to make them login on it? I have
a Samba Server 3.0.7 running under a Slackware Linux 10.0, with Kernel
2.6.8.1.
I'm sending my smb.conf configurations.
#======================= Global Settings =====================================
[global]
workgroup = WORKGROUP
interfaces = eth0
; invalid users = root
; character set = ISO8859-1
; client code page = 850
name resolve order = wins bcast host lmhosts
bind interfaces only = yes
password server = WINNT-SERVER
security = user
server string = %h
log file = /var/log/samba/%m.log
smb passwd file = /etc/samba/smbpasswd
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*socket options
= TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
os level = 0
syslog = 0
dead time = 20
domain master = no
local master = yes
preferred master = yes
; domain admin group = root
logon script = users.bat
unix password sync = yes
max log size = 1000
winbind trusted domains only = yes
restrict anonymous = yes
update encrypted = yes
winbind use default domain = yes
domain master = no
; socket address = 192.168.0.
; root directory = /root
; hostname lookups = yes
passwd chat timeout = 5
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
read only = no
valid users = %S
create mask = 0664
directory mask = 0775
; map to guest = bad user
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = yes
share modes = no
browseable = no
[Profiles]
path = /usr/local/samba/profiles
browseable = no
guest ok = yes
;[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = no
# Set public = yes to allow user 'guest account' to print
; guest ok = no
; printable = yes
# This one is useful for people to share files
[tmp]
comment = Diretório de arquivos temporários
path = /tmp
read only = no
guest ok = yes
[public]
comment = Public Stuff
valid users = %S
path = /home/samba
guest ok = yes
read only = no
write list = someone
# Um diretório privado SOMENTE utilizado pelo usuario bruno,
# e requer acesso de escrita no diretorio inteiro.
[pchome]
comment = PC Directories
path = /usr/local/pc/%m
public = no
writable = yes
[public]
path = /usr/share/samba_public
guest ok = yes
guest only = yes
read only = no
[someone]
comment = Someone's Share
path = /home/bruno
valid users = someone
read only = no
create mask = 0765
browseable = no
[cdrom]
comment = CDROM compartilhado
locking = no
path = /mnt/cdrom
guest ok = yes
valid users = someone
[easy$]
comment = Acesso geral para os servidores da Easy
path = /
write list = someone
read only = no
valid users = someone
admin users = someone
Thanks for your help,
Bruno
More information about the samba
mailing list