open the shell
1.sudo su
2.gedit /etc/samba/smb.conf
#edit the file and input these and change like you want
[global]
workgroup = RENT
netbios name = %h
security = user
username map = /etc/samba/smbusers
server string = %h
passwd program = /usr/bin/passwd %u
unix password sync = Yes
max log size = 50
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = %a.bat
domain logons = Yes
os level = 64
lm announce = True
preferred master = True
domain master = True
dns proxy = No
printing = cups
printcap name = cups
load printers = yes
#wins support = yes
#omain master = yes
[SHARE]
PATH = /media/disk/Shared Files
browsable = yes
writeable = yes
guest ok =yes
comment = shared files
[homes]
comment = Home Directories
path = /home/%u
read only = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
available = No
[netlogon]
comment = NetLogon ShARE
path = /home/samba/netlogon/NETLOGON.BAT
guest account =
[samba]
comment = login tracking share
path = /home/samba/samba
browseable = No
[printers]
path = /var/spool/cups-pdf
browsable = yes
guest ok = no
writable = no
valid users = +print_users
printable = yes
create mask = 0770
root preexec = /usr/local/bin/netlogon.sh %u %I
;root postexec = /usr/local/bin/netlogoff.sh %u
3.add users to smaba enter in the console :
smbpasswd -a username
4.gedit /etc/samba/smbusers
in the file enter username="username"
5.to chike that every think is ok
testparm
6./etc/init.d/samba stop
7./etc/init.d/samba start
thanks for mster.jabka
Friday, May 30, 2008
Wednesday, May 28, 2008
Howto Setup Bluetooth Keyboard and Mouse in Ubuntu
sudo gedit /etc/bluetooth/hcid.conf
You may be asked for your password, this is because we used sudo.
At the end of the file, add the following (replacing KEYBOARD_ADDR and MOUSE_ADDR for the keyboard and mouse MAC addresses as found earlier)
device KEYBOARD_ADDR {
name “Microsoft Wireless Keyboard”;
auth enable;
encrypt enable;
}
device MOUSE_ADDR {
name “Microsoft Mouse”;
}
now restart the computer
to connect in the first time but the devise on detect mode and in the console
enter -> sudo hidd --search
if they ask you to save auto detect then that what you need else every time you need to do these again "sudo hidd --search"
ok see you all
You may be asked for your password, this is because we used sudo.
At the end of the file, add the following (replacing KEYBOARD_ADDR and MOUSE_ADDR for the keyboard and mouse MAC addresses as found earlier)
device KEYBOARD_ADDR {
name “Microsoft Wireless Keyboard”;
auth enable;
encrypt enable;
}
device MOUSE_ADDR {
name “Microsoft Mouse”;
}
now restart the computer
to connect in the first time but the devise on detect mode and in the console
enter -> sudo hidd --search
if they ask you to save auto detect then that what you need else every time you need to do these again "sudo hidd --search"
ok see you all
Monday, May 19, 2008
Empty Trash using power ohaa yaaa
Ok soo you cant empty your trash what to do
1)Run Terminal
2)sudo su
3)Get in to /.local/share/Trash/files/
4)cd /.local/share/Trash/files/
5)and then hehehehe rm -rf *.* or replace *.* withe the file name
1)Run Terminal
2)sudo su
3)Get in to /.local/share/Trash/files/
4)cd /.local/share/Trash/files/
5)and then hehehehe rm -rf *.* or replace *.* withe the file name
Subscribe to:
Posts (Atom)