LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-26-2004, 12:22 PM   #1
duffboygrim
Member
 
Registered: Nov 2003
Location: Wales, UK
Distribution: Mandrake 10
Posts: 89

Rep: Reputation: 15
Samba with Mandrake


Hi...

I've been trying to set up samba to act as a master domain controller for windoze 2000 clients.

When I try to get the client to join the domain, I get greeted with either of the following messages on the client.

"The username/password is not valid" or
"The username matches an existing set of credentials" or words to that effect.

I am trying to join the domain as root.

Here's my smb.conf file, made with SWAT.

[global]
log file = /var/log/samba/log.%m
ldap ssl = no
idmap gid = 15000-20000
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user to group script = /usr/sbin/usermod -G %g %u
logon drive = H:
domain master = Yes
map to guest = Bad User
encrypt passwords = yes
printer admin = @adm
passdb backend = tdbsam
wins support = true
dns proxy = No
printing = cups
server string = Samba Server %v
idmap uid = 15000-20000
workgroup = HOMELAN
logon path = \\%N\\profiles\%u
os level = 35
add user script = /usr/sbin/useradd -m %u
printcap name = cups
security = user
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null
max log size = 50
delete user script = /usr/sbin/userdel -r %u
domain logons = Yes

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printe
r drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes

[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I
"%J" &

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

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

I have removed the some of the users shares from the above.

Any Ideas?

Cheers,
DBG
 
Old 10-26-2004, 01:38 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
your add machine script doesn't look right
 
Old 10-27-2004, 01:05 AM   #3
stuart1946
LQ Newbie
 
Registered: Oct 2004
Location: west coast of Canada
Distribution: mandrake 9.2
Posts: 25

Rep: Reputation: 15
Things you may want to check

do the unix user names the clients log in with have access/read/write permission to the shared directories?

are you samba user names/passwords the same as your unix ones?

I can't help with domain issues - I still use win98 clients and simple shares.

Stuart
 
Old 10-27-2004, 01:50 PM   #4
duffboygrim
Member
 
Registered: Nov 2003
Location: Wales, UK
Distribution: Mandrake 10
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Finlay
your add machine script doesn't look right
Yes...

Think I missed a %u at the end of it.
 
Old 10-27-2004, 01:52 PM   #5
duffboygrim
Member
 
Registered: Nov 2003
Location: Wales, UK
Distribution: Mandrake 10
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by stuart1946

do the unix user names the clients log in with have access/read/write permission to the shared directories?

are you samba user names/passwords the same as your unix ones?
Yes they have permission and the smaba usernames are the same as the unix ones....
 
Old 10-27-2004, 02:12 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
do you have machine trust accounts created already or are you relying on the script?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
samba for mandrake 10.1 jmill_1 Linux - Networking 1 09-04-2005 08:25 AM
Samba 3 on Mandrake 10 ffcnick Linux - Networking 6 10-18-2004 01:47 AM
samba and Mandrake 10.0 just_dan Linux - Newbie 2 09-12-2004 06:18 PM
Mandrake (Samba) Client Can't Connect To Samba Buick Linux - Networking 1 01-21-2004 01:55 PM
Samba Mandrake 9.1 SchwipSchwap Linux - Newbie 2 05-11-2003 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration