[Samba] Samba and CUPS

Peter Nyberg Peter.Nyberg at dbb.su.se
Fri Apr 28 14:17:20 GMT 2006


Thanks alot for your answere!
I did:
write list = root

and the permission:
wm1:/home# ls -la
drwxrwxr-x   3 root  staff  4096 2006-04-06 11:06 samba

Still:
cupsaddsmb -H wm1 -h localhost -U root -v lwcorr5
Output errors:
lp_servicenumber: couldn't find homes
.
.
Opening cache file at /var/run/samba/gencache.tdb
Returning expired cache entry: key = NBT/WM1#20, value = 130.237.190.126:0,
timeout = Fri Apr 28 13:53:22 2006
no entry for wm1#20 found.
Deleting cache entry (key = NBT/WM1#20)
resolve_lmhosts: Attempting lmhosts lookup for name wm1<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No 
such file
or directory
resolve_wins: Attempting wins lookup for name wm1<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name wm1<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for wm1#20: 130.237.190.126:0
Adding cache entry with key = NBT/WM1#20; value = 130.237.190.126:0 and 
timeout
= Fri Apr 28 16:01:50 2006
(660 seconds ahead)
internal_resolve_name: returning 1 addresses: 130.237.190.126:0
Connecting to 130.237.190.126 at port 445
.
.
lang_tdb_init: /usr/share/samba/en_SE:en_US:en_GB:en.msg: No such file or
directory
NT_STATUS_ACCESS_DENIED making remote directory \W32X86
.
.
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/lwcorr5.ppd
.
.
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/ps5ui.dll
.
.
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/pscript.ntf
.
.
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file \W32X86/pscript5.dll






Quoting Adam Nielsen <adam.nielsen at uq.edu.au>:

>>         read only = yes
>>         write list = yes
>>
>> I've tried for about 6 hours now to set it up so please help anyone.
>
> This means only the user 'yes' is allowed write access to the share -
> try "write list = root peter" and see if that helps.  You may also need
> to change the permissions of the filesystem to allow root and/or peter
> to create files.
>
> Cheers,
> Adam.
>





Peter Nyberg
Institutionen för Biokemi och Biofysik (DBB)
Sv.Arrhenius vägen 12
106 91 Stockholm
Tel: 08-16 24 69



More information about the samba mailing list