[Cialug] Ubuntu shared drive

Matthew Nuzum newz at bearfruit.org
Tue Dec 14 13:53:23 CST 2010


Holy cow!

I'm on 10.04 and here is my samba.conf (extra shares deleted for brefity)

[global]
workgroup = MSHOME
server string = %h server (Samba, Mythbuntu)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
dns proxy = no
security = share
name resolve order = lmhosts wins bcast host

[files]
comment = Files
path = /srv/backup
public = yes
writable = yes
create mask = 0660
directory mask = 0770
force user = mythtv
force group = mythtv


Why don't you just do one very simple share and make sure that works, then
add the extra complexity later on. I'm not sure if one of the gui tools
you're using is adding all those config options, I've never even heard of a
lot of those.

By the way, if you want simple sharing, the easiest way I know of in Ubuntu
desktop is to right click a folder and choose "Sharing Options" and then
tick "Share this folder."

You may need to clear out your samba.conf file now for that to work though.

On Tue, Dec 14, 2010 at 1:04 PM, Dan Hockey <icepuck3k at yahoo.com> wrote:

>
>
>
> Any chance you can share your samba conf file?
>
>
> [global]
>     idmap gid = 16777216-33554431
>     passwd chat = *New*password* %n\n *ReType*new*password* %n\n
> *passwd*changed*\n
>     obey pam restrictions = yes
>     preserve case = yes
>     delete user from group script = /usr/sbin/userdel '%u' '%g'
>     time server = no
>     dns proxy = no
>     netbios name = Samba24
>     cups options = raw
>     printing = cups
>     idmap uid = 16777216-33554431
>     disable netbios = no
>     logon script = %G.bat
>     winbind refresh tickets = no
>     update encrypted = yes
>     security = user
>     machine password timeout = 120
>     add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c
> 'Samba Machine Account' -s /dev/null -M '%u'
>     short preserve case = yes
>     delete user script = /usr/sbin/userdel '%u'
>     server schannel = no
>     max log size = 1000
>     winbind nss info = no
>     log file = /var/log/samba/samba.log
>     load printers = yes
>     guest account = smbguest
>     passwd chat timeout = 120
>     delete group script = /usr/sbin/groupdel '%g'
>     username level = 6
>     socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>     client use spnego = no
>     follow symlinks = no
>     null passwords = no
>     domain master = no
>     winbind trusted domains only = yes
>     winbind use default domain = yes
>     passdb backend = tdbsam
>     template shell = /dev/null
>     client plaintext auth = no
>     path = /media/Data
>     bind interfaces only = yes
>     pam password change = no
>     enable spoolss = yes
>     domain logons = no
>     name resolve order = wins lmhosts bcast
>     client signing = no
>     hostname lookups = no
>     remote browse sync = 192.168.0.255
>     client schannel = no
>     passwd program = /usr/bin/passwd '%u'
>     writeable = yes
>     delete readonly = yes
>     default = global
>     remote announce = 192.168.0.255
>     local master = no
>     workgroup = mshome
>     os level = 33
>     server signing = no
>     printcap name = cups
>     winbind separator = @
>     winbind offline logon = no
>     allow trusted domains = no
>     add group script = /usr/sbin/groupadd '%g'
>     nt pipe support = yes
>     add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba
> User Account' -s /dev/null -g '%g' '%u'
>     nt status support = yes
>     logon drive = m:
>     interfaces = 127.0.0.1/8 192.168.0.0/24
>     username map = /etc/samba/smbusers
>     encrypt passwords = yes
>     public = yes
>     logon home = \\%L\homes\%u
>     wins proxy = no
>     password level = 6
>     server string = Samba file and print server
>     winbind nested groups = no
>     unix password sync = yes
>     logon path = \\%L\profiles\%u
>     comment = linux
>     add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User
> Account' -s /dev/null '%u'
>     preferred master = no
>     winbind cache time = 360
>
> [shared]
>     guest ok = no
>     comment = Home Directories
>     delete readonly = yes
>     locking = no
>     printable = no
>     writable = yes
>     public = no
>     strict locking = no
>
> [netlogon]
> comment = Network Logon Service
> path = /home/netlogon
> read only = no
> available = yes
> browseable = yes
> writable = no
> guest ok = no
> public = no
> printable = no
> locking = no
> strict locking = no
>
> [profiles]
> comment = User Profiles
> path = /var/samba/profiles
> read only = no
> available = yes
> browseable = no
> writable = yes
> guest ok = no
> public = no
> printable = no
> create mode = 0600
> directory mask = 0700
> locking = no
> strict locking = no
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> browseable = yes
> writable = no
> guest ok = no
> public = no
> printable = yes
> locking = no
> strict locking = no
>
> [pdf-documents]
> path = /home/pdf-documents
> comment = Converted PDF Documents
> available = yes
> browseable = yes
> writeable = yes
> guest ok = yes
> locking = no
> strict locking = no
>
> [pdf-printer]
> path = /tmp
> comment = PDF Printer Service
> printable = yes
> guest ok = yes
> use client driver = yes
> printing = bsd
> print command = /usr/bin/gadmin-samba-pdf %s %u
> lpq command =
> lprm command =
>
>
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>


-- 
Matthew Nuzum
newz2000 on freenode, skype, linkedin, identi.ca and twitter

"An investment in knowledge pays the best interest." -Benjamin Franklin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20101214/7f36817f/attachment-0001.htm 


More information about the Cialug mailing list