Quote:
Originally posted by bathory
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
pa aux|grep nmbd
To start them:
Code:
/usr/local/samba/bin/smbd -D
/usr/local/samba/bin/nmbd -D
You can make a script with these commands to run at system startup.
|
i get this output
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