LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-14-2004, 04:29 AM   #1
Amras
LQ Newbie
 
Registered: May 2004
Location: Land of Beer and Chocolates
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
Samba not working


Hi all!

I'm pretty new to the Linux community, and don't really have a lot of background on it.... So please bear with me...

OK, here's the problem.... I've installed Samba. I had to install LDAP and Kerberos5 before I could configure Samba. I just installed these programs (with the 'make' and 'make install' and stuff) and didn't configure anything special afterwards.... I dunno if I had to do anything else with them...

Then the Samba install went ok. I edited the smb.conf thingy into this:

************************
#!/bin/sh
#ident "@(#)samba.server 1.0 96/06/19 TK" /* SVr4.0 1.1.13.1*/
#
# Please send info on modifications to knuutila@cs.utu.fi
#
# This file should have uid root, gid sys and chmod 744
#
if [ ! -d /usr/bin ]
then # /usr not mounted
exit
fi

killproc() { # kill the named process(es)
pid=`/bin/ps -e |
/bin/grep -w $1 |
/bin/sed -e 's/^ *//' -e 's/ .*//'`
[ "$pid" != "" ] && kill $pid
}

# Start/stop processes required for samba server

case "$1" in

'start')
#
# Edit these lines to suit your installation (paths, workgroup, host)
#
/USR/local/samba/sbin/smbd -D -s/USR/local/samba/lib/smb.conf
/USR/local/samba/sbin/nmbd -D -l/USR/local/samba/log -s/USR/local/samba/lib/smb.conf
;;
'stop')
killproc nmbd
killproc smbd
;;
*)
echo "Usage: /etc/init.d/samba { start | stop }"
;;
esac
******************

When I start the nmbd and smbd and I do 'ps -ef' I do see them running. So I guess the paths I edited are ok....

Then I made a share with this smb.conf file:

*****************************
[global]

workgroup = WEBDEV
netbios name = collin
security = share

[share1]
comment = "gedeelde map"
path = /oefmap
guest ok = yes
*********************************

I also chmod'ed the /oefmap (the folder for sharing) into 777...

Now, when I try to get acces in windows I get this error:
"Server not configured for transactions"

Has this something to do with the Kerberos or LDAP thing I had to install? Or has it something to do with Mandrake security (which is just set to standard)? Or is it something else I have no idea about?

Any help is appreciated....

Thank you!
 
Old 05-16-2004, 07:34 AM   #2
Amras
LQ Newbie
 
Registered: May 2004
Location: Land of Beer and Chocolates
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
Does no-one have any answers or ideas? Or is this the wrong forum to ask?
 
Old 05-16-2004, 07:14 PM   #3
MunterMan
Member
 
Registered: Nov 2003
Location: The North of England
Distribution: Suse 10.3
Posts: 172

Rep: Reputation: 30
Weekends are always quiet, bump it up again on late monday.
Sorry I dont have a better answer for you.
 
Old 05-18-2004, 05:27 PM   #4
Amras
LQ Newbie
 
Registered: May 2004
Location: Land of Beer and Chocolates
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
*being a good newbie and doing as is told*

Bump!
 
Old 05-18-2004, 07:28 PM   #5
edcutis
Member
 
Registered: Jun 2003
Location: USA, Missouri
Distribution: mandriva , Kubuntu, MEPIS
Posts: 140

Rep: Reputation: 15
Don't forget to make samba user accounts for your users

smbpasswd -a username
password
password <repeated>
<added user username>

also check your samba configuration with 'testparm'

then check what shares you are putting out on the workgroup with:

smbclient -L localhost

Let us know how it turns out! good luck.
 
Old 05-19-2004, 10:28 AM   #6
Amras
LQ Newbie
 
Registered: May 2004
Location: Land of Beer and Chocolates
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
OK, thanks...

I'll try it after the weekend when I have access to that computer again....
 
  


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 is just not working Ian_Hawdon Linux - Software 5 03-24-2005 06:21 PM
Samba isn't Working Snump Fedora 18 10-27-2004 07:59 PM
Samba 3 not working (nearly never), but samba 2 works OK vmicho Linux - Networking 0 10-05-2004 01:03 PM
samba working, then installed openSSL and not samba not working hamish Linux - Networking 3 05-17-2004 01:50 PM
getting samba working keirobyn Linux - Networking 4 01-30-2002 09:24 AM

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

All times are GMT -5. The time now is 11:09 AM.

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