Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

samba and nt domain

Status
Not open for further replies.

therealtalkinggoat

IS-IT--Management
Jul 9, 2003
32
US
when i try to join a domain that is set up by samba, on a windows xp machine, i get the error "the user name could not be found" i am using root, and the user name exists in the smbpasswd file.

what am i doing wrong? if i try to use another user, such as administrator, i

get "access denied" how do i overcome this problem?

is my smb.conf file set up correctly?

smb.conf

[global]
workgroup = INNERCIRCLE
server string = Samba Server
hosts allow = 192.168.1.2 192.168.1.30
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = YES
os level = 66
domain master = YES
preferred master = YES
domain logons = YES
logon path = \\%L\home\%U
logon drive = H:
logon home = \\%L\home\%U
name resolve order = wins lmhosts bcast
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /home/%U
guest ok = no
writable = yes
share modes = no
valid users = root administrator cdw
[Profiles]
path = /home/%U
browseable = no
guest ok = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
 

once your done stop smb then
smbpasswd -j domain -r passwdserver -U username%passwd

must have a account on the smaba server not a smbuser but a real adduser. Didn't need the smbuser. Though it looks like this is your PDC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top