[Ask] tnya sharing printer l100

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
WirzPunk
Posts: 42
Joined: 11 Jan 2010, 13:09
Location: Tangerang, Indonesia
Contact:

[Ask] tnya sharing printer l100

Postby WirzPunk » 04 Oct 2011, 13:17

mau tanya nie agan2 sekalian, gmn carany sharing printer l100. ane dah cba cari2 tpi gagal terus..

Mohon pencerahannya
User avatar
WirzPunk
Posts: 42
Joined: 11 Jan 2010, 13:09
Location: Tangerang, Indonesia
Contact:

Re: [Ask] tnya sharing printer l100

Postby WirzPunk » 04 Oct 2011, 13:23

berikut konfigurasinya sambany.

Code: Select all

[global]
        server string = %h server (Samba, Ubuntu)
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
        passwd chat debug = Yes
        username map = /etc/samba/smbusers
        unix password sync = Yes
        log level = 3
        name resolve order = wins lmhosts bcast hosts
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = cups
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u
        domain logons = Yes
        os level = 65
        lm announce = Yes
        lm interval = 10
        preferred master = Yes
        domain master = Yes
        wins support = Yes
        idmap uid = 50-9999999999
        idmap gid = 50-9999999999
        path = /var/tmp

[homes]
        comment = Home
        valid users = %S
        read only = No
        browseable = No

[netlogon]
        comment = Network Logon Service
        path = /home/samba/netlogon
        valid users = %U
        admin users = Administrator
        read only = No

[profile]
        comment = User profiles
        path = /home/samba/profiles
        valid users = %U
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = No

[allusers]
        comment = All Users
        path = /home/shares/allusers
        valid users = @users
        force group = users
        read only = No
        create mask = 0660
        directory mask = 0771

[printer]
        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        guest ok = Yes
        printable = Yes

[print$]
        comment = Printer Drivers
        path = /var/lib/samba/printers
        guest ok = Yes

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 9 guests