LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 08-16-2003, 04:21 PM   #1
haobaba1
Member
 
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73

Rep: Reputation: 15
samba problem


I have tried to add a user to samba and get the following error after entering the password:

LDAPS option set...!
fetch_ldap_pw: no ldap secret retrieved!
ldap_connect_system: Failed to retrieve password for from secrets.tdb
LDAPS option set...!
fetch_ldap_pw: no ldap secret retrieved!
ldap_connect_system: Failed to retrieve password for from secrets.tdb
Failed to add entry for user root.
Failed to modify password entry for user root

I don't have a clue how to corrrect this if anybody has solved this in the past I would appreciate some knowledge.
 
Old 08-16-2003, 08:01 PM   #2
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Rep: Reputation: 30
can you post your config file
( /etc/samba/smb.conf )

and what user are you using to add the new samba user?
you may have to be root to do it
 
Old 08-16-2003, 08:53 PM   #3
haobaba1
Member
 
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73

Original Poster
Rep: Reputation: 15
I was using under root.

smb.conf:

[global]
workgroup = TAIPEI
netbios name = TAIWANFREEDOM
server string = Samba Server %v
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
domain logons = Yes
wins support = Yes
printer admin = @adm
printing = cups
interfaces = 192.168.1.254/24


[homes]
comment = Home Directories
read only = No
browseable = yes
public=no
write list = @taipei

[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 printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm root
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 &

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


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

[pdf-prepress]
comment = PDF Generator - PrePress quality (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
copy = pdf-generator
 
Old 08-17-2003, 01:08 AM   #4
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
am i correct in assuming that you are in a domain? What machine is authenticating users?
 
Old 08-17-2003, 11:22 AM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you want to add new samba users,
at the command line, use the following syntax:
Code:
smbpasswd -a newSambaUser
 
Old 08-17-2003, 01:35 PM   #6
haobaba1
Member
 
Registered: Jul 2003
Location: VA Tech
Distribution: Mandrake 9.1
Posts: 73

Original Poster
Rep: Reputation: 15
sorry smbpasswd is the command that gave the error I should have posted that as well.

I have not as of yet been able to get any machines logged on. I have a mandrake 9.1 connected to the internet through ethernet. I have a second ethernet card that runs to a hub that I have a computer running windows XP pro running on. I have internet access from the XP machine through the linux machine that has masquerading enabled. So my dhcpd and dns is working. when I try to join the domain with the XP machine I get an error that the DNS could not reslove the host name. I have added the host and the xp client to the Hosts file and in host.conf it is "order hosts, bind" so I am a little perplexed at this. I am trying to set it up as a domain.
 
  


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 - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 05:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
samba problem. bruse Linux - Networking 1 08-13-2005 11:08 AM
Samba Problem tied2 Linux - Newbie 5 06-17-2002 10:41 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


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