Feb
22
Sending a Message to Windows Workstation
February 22, 2007 | Leave a Comment
You can use utility smbclient (part of samba server) to send a message to windows system from FreeBSD (or even from Linux/Solaris/UNIX OS). This command lets you send messages to windows workstations, display browse lists, and connect to SMB shares. Genral syntax of to send a message is as follows:
smbclient -M <WINDOW-SYSTEM-NAME> <<EOF
Message
Message
…
..
…
When the message […]
Feb
16
Errors with mounting Directory using smbfs in FreeBSD with apache
February 16, 2007 | 1 Comment
When trying to serve a directory mounted with mount_smbfs on FreeBSD with the Apache 2.0.x server, large files (over 100K or so) won’t transfer correctly. To fix this problem use the EnableSendfile off directive within your Global, Directory or VirtualHost config.
Bookmark to:
Feb
16
Mount Volumes in Samba
February 16, 2007 | Leave a Comment
Rather than use smbmount to mount your samba volumes, use the mount command with the -t flag to indicate that you intend to mount a samba volume. e.g. To mount a unix/linux volume… mount -t smbfs //<server>/<volume> <mountpoint> To mount a windows volume… mount -t smbfs \\\\<server>\\<volume> <mountpoint>
Bookmark to:
Feb
16
Start or Restart SMB
February 16, 2007 | Leave a Comment
Samba is started with smbd -D and nmbd -D — to restart these, you can kill the processes, and then restart them manually, or you can kill -1 pid for each of them where pid is the process id for each.
Bookmark to:
Feb
16
How to set SMB Workgroup
February 16, 2007 | Leave a Comment
To set your SMB workgroup, change the workgroup line in your /etc/smb.conf file.
Bookmark to:

























