LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-05-2004, 10:05 AM   #1
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Rep: Reputation: 15
Canīt login on a domain setted up with samba 3 as pdc!


Hi, i īve configured samba3 as a PDC on my linux box using mandrake linux
9.2, but i cant access with win98 or xp pro terminals i was looking for
smbpasswd to add users password but it seems that i dont have it on my
server. Maybe thats why i cant logon, another thing is the logon.cmd, i
cant find any example to use it on my net, can anybody help me with it??

This is my smb.conf:

# Global parameters
[global]
netbios name = SEVIDOR LINUX
workgroup = hfa
passdb backend = tdbsam
os level = 33
preferred master = yes
domain master = yes
local master = yes
security = user
domain logons = yes
logon path = \\%N\profiles\%u
logon drive = H:
logon home = \\homeserver\%u\winprofile
logon script = logon.cmd
encrypt passwords = yes
unix password sync = yes
update encrypted = yes
smb passwd file = /etc/samba3/smbpasswd

[netlogon]
path = /var/lib/samba/netlogon
read only = yes
write list = ntadmin

[profiles]
path = /var/lib/samba/profiles
read only = no
create mask = 0600
directory mask = 0700

[homes]
comment = Home Directories
browseable = no
writable = yes
read only = no
create mask = 0700
public = yes
printable = no
# guest ok = yes

[Temp]
path = /tmp
read only = No
# guest ok = Yes
browseable = yes
writable = yes
public = yes

Thanks.
 
Old 05-06-2004, 03:08 AM   #2
kenji1903
Member
 
Registered: Apr 2004
Location: M'sia, Aus, Chn
Distribution: Redhat Linux 8 & 9, Fedora Core 2, XP
Posts: 301

Rep: Reputation: 30
G'day mate!

I'm a newbie myself and currently using Redhat 8 and 9 with WinXP, not sure where the files you're looking for would be for Mandrake though...

But for redhat, the smbpasswd command is in /usr/bin and when you add a user into samba, the data will be stored in smbpasswd located at /etc/samba
Hope this will help you a bit!
Also remember to add your root into the smbpasswd database...

I'm looking on how to write logon scripts as well...
 
Old 05-06-2004, 04:04 AM   #3
metalick
Member
 
Registered: Apr 2004
Location: Zagreb, Croatia
Distribution: SuSE 9.0
Posts: 44

Rep: Reputation: 15
try: locate smbpasswd
when you find it then you have to add the users you want to logon in the domain to your smbpasswd database. i think that a command like: smbpasswd -a username
make sure that usernames and passwd are the same in unix and samba.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
joining a linux client into the domain running Samba PDC zdehman Linux - Networking 2 08-18-2006 05:06 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Joining XP Pro SP2 to Samba domain PDC Les62 Linux - Networking 13 10-09-2005 08:00 AM
Samba PDC and Domain Memeber paul_mat Linux - Networking 1 09-19-2005 01:32 AM
Multisite Domain with Samba PDC richard.dunn Linux - Software 0 08-31-2004 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration