Click to See Complete Forum and Search --> : samba
cybersteevo
07-25-2002, 09:25 PM
Very new at linux... I am using a live-eval SUSE 8.0. I have a linux partition on my hdd so I can save my settings and docs. My first problem is I started at my job and set up eth0 to dhcp works great, however when I got home my network runs on a different ip range and the ip wont release and renew (what is the equivilent to win**** ipconfig?) sorry bout the mongrel refernce. I want to be able to take my laptop to work obtain dhcp and the same at home. any help would ease some frustration... Thanks y'all..
2nd problem samba! where to find it and how to install and configure.
My network is a cable modem
router with 8 port switch
win2k server w\ AD
2 win2k boxes
1 XP box
1 future suse 8.0 laptop running 8.0 live-eval
toolshed
07-25-2002, 09:59 PM
You have two options here. I believe(I stopped using Suse, now A Rh man) type 'yast' for non-graphical generic admin tool or type 'yast2' for a pretty one. U have to be root for these. Use your su command.
U can probably figure it from there.
About quickly reconfiguring laptop ip and stuff. I found a program called 'quickswitch', but found that the program was more of a hassle. So i can just go into rh setup everytime I get home or goto work with my laptop. After a awhile i could reconfigure in less time anyhow.
About samba. It is easier to get a linux machine to see windows, than two windows machines to talk.
so samba is not hard, when i get home from work i will post my config file to work with windows. It is more than likely already install. Do a rpm -q samba in a terminal. It should come up with a reply.
Any probs, come back for more.
cybersteevo
07-25-2002, 10:22 PM
the yast basic networking did the trick... I had to add my home DNS address and domain info and hit the internet. Thanks for that one.
Samba is not available on the eval cd (i dont think unless iam looking in the wrong place)
rpm -q
rpm: no arguments given for query
back for more toolshed!
toolshed
07-30-2002, 01:33 PM
rpm-q <name of file>
I can still send that samba if u want. I went on vacation.
cybersteevo
07-30-2002, 02:00 PM
I figured out I was a dumb *** after the last post. I am still trying to install and config samba... I now have the full install of Suse 8.0 Pro.
rpm -q samba
samba-2.2.3a-64
I am still as lost as a windows user in a Linux box.
I got Lin Neighbohood installed and can see my shares on Win machines, however I cannot mount them
ERROR MESSAGE
smbmnt must be installed suid root for direct user mounts (500,500) smbmnt failed: 1
I will continue to search HOWTO's and forums for related threads for answers thanx for your help...
toolshed
07-30-2002, 08:30 PM
Search that error on google groups or google.com/linux. I have found most of my help there.
cowanrl
07-31-2002, 01:37 PM
cybersteevo if you haven't solved that problem, it's a result of trying to using smbmount as a non-root user. If you want to use smbmount as a non-root user(in your case whoever uid 500 is) you need to modify the permissions on the smbmnt command(that's smbmnt, not smbmount).
You should find smbmnt in either /usr/sbin or /usr/bin. Which ever directory you find it in, change to the directory then execute as root:
chmod u+s smbmnt
That will allow non-root users to mount shares with smbmount.
Of course, one other issue that goes along with that, the user that uses smbmount must have the proper file permissions to the directory on the local hard drive that is used as the mount point.