samba install by tar xzvf
so i thought i tried to install something without using apt-get for a change. so i downloaded samba from the samba site
tar xzvf package name cd source ( of the samba folder ) ./configure make make install ( i got these steps from a site ) after doing this i thougt it would be right but i can't find anything in /etc/samba and if i do " locate samba" the only thing he finds are the thing i untarred in the folder where i copied the samba.tar.gz so what is wrong |
By default samba is installed at /usr/local/samba
|
true it installed several maps in the folder /usr/local/samba/
but i cant find smb.conf :S little strange also i cant seem to start with teh command samba start from /etc/init.d |
A sample smb.conf is in /usr/local/samba/lib. Change it to feet your needs and rename it to smb.conf.
Is that init script right? Because now smbd/nmbd run from /usr/local/samba/bin |
Quote:
plus i tried to start smbd and nmbd from /sbin with ./smdb start but how can i see there status thnx for your help btw |
It's not that simple to just copy an existing smb.conf and wait for samba to work. You must edit it to define your workgroup, users etc. You can check your config with /usr/local/samba/bin/testparm
To see if smbd/nmbd are running: Code:
ps aux|grep smbd Code:
/usr/local/samba/bin/smbd -D |
Quote:
Lexiun:/usr/local/samba/bin# ./testparm Load smb config files from /usr/local/samba/lib/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] workgroup = LEXIUN server string = %h server (Samba %v) security = SHARE encrypt passwords = No obey pam restrictions = Yes passdb backend = tdbsam, guest passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No wins support = Yes panic action = /usr/share/samba/panic-action %d invalid users = root [homes] comment = testje path = /wesley create mask = 0700 directory mask = 0700 guest ok = Yes [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/printers the problem here was that i used to be a redhat user and when you start smbd and nmbd it wil say they are runnig but thnx anway |
All times are GMT -5. The time now is 04:57 PM. |