Hi, I have a Samba server with a local printer attached to the Linux system. In the past, I could print documents fine from my Windows PC. Now, I cannot figure out why I cannot access my system. It has been like that for a while and I put it on the back burner. Initially, I thought it was the printer port screws were loose and were responsible for not printing. I have them tightened and deleted/installed the printer and am still have the problem. After installing the network printer on Windows, the "Printers" list will list the status of the Samba printer as "Access denied, unable to connect". On Linux, I can submit print jobs fine. In Windows, I am getting the above error. My /etc/samba/smb.conf is listed below. Do you see anything wrong in this setup? There are no log entries in the /var/log/samba.log file. It is an empty file. System = Debian 3.0 (woody) Thank you in advance for any help. -- Subba Rao subba9@cablespeed.com # Samba config file created using SWAT # from saint.saintnet.src (10.6.0.41) # Date: 2003/02/17 04:02:28 # Global parameters [global] workgroup = HOME netbios name = MYHOST server string = Samba Server interfaces = 127.0.0.1 10.6.0.45/24 bind interfaces only = Yes security = SHARE encrypt passwords = Yes smb passwd file = /etc/samba/private/smbpasswd syslog only = Yes log file = /var/log/samba.log max log size = 50000 socket options = TCP_NODELAY IPTOS_LOWDELAY domain logons = Yes preferred master = True domain master = True hosts allow = 10.0.0.0/255.0.0.0 [homes] comment = Users Home Directories path = %H valid users = %S read only = No create mask = 0600 directory mask = 0700 veto files = /.?*/ mangled names = No browseable = No [users] comment = All users directories path = /home valid users = root write list = root read only = No create mask = 0750 mangled names = No [HP] path = /tmp guest ok = Yes printable = Yes print command = /usr/bin/lpr -r %s printer name = tp0 [servers] comment = servers path = /servers valid users = subba9,root read only = No browseable = No [backup] comment = backup path = /backup read only = No guest ok = Yes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am running Samba 2.2.7a PDC and a Win2K_SP3 Client and have problems with MS Office 2000 (Word) hanging an crashing on a timeout when editing files in the Samba server share that are actually NFS mounted filesystems. The error in the samba log file is... <---snip---> [2003/03/17 13:21:51, 0] locking/posix.c:posix_fcntl_lock(661) posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1 returned [2003/03/17 13:21:51, 0] locking/posix.c:posix_fcntl_lock(662) an No locks available error. This can happen when using 64 bit lock offsets [2003/03/17 13:21:51, 0] locking/posix.c:posix_fcntl_lock(663) on 32 bit NFS mounted file systems. <---unsnip---> I am not sure what this means but I need to fix this problem of slowness associated with shared NFS FS's. Looking forward to any suggestions. - -Jeremy -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+dbp2hE4luwDAQwARAlonAJ9AvNpIzd+sEKmdU5SMO4mYYI9wxACgqzBV Z8FJgoDOPvqYjFBvjeKPOaI=va55 -----END PGP SIGNATURE----- -------------- next part -------------- # Date: 2003/03/13 10:16:34 # Global parameters [global] workgroup = ITCH netbios name = SCRATCH netbios aliases = ITCH server string = encrypt passwords = Yes passwd program = /usr/bin/passwd %u log level = 2 log file = /var/log/samba/samba.%m max log size = 50 large readwrite = No logon script = logon.bat logon path = \\%L\profiles\%U logon drive = H: logon home = \\%L\%u\.profiles domain logons = Yes os level = 64 preferred master = Yes domain master = Yes dns proxy = No wins server = xxx.xxx.xxx.xxx NIS homedir = Yes admin users = xxxx hosts allow = xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx printing = lprng [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [netlogon] path = /samba/netlogon write list = xxxx [profiles] path = /samba/profiles read only = No create mask = 0600 directory mask = 0700 [public] comment = Public Stuff path = /samba/public write list = xxxx guest ok = Yes [HP2100BW] comment = ljcsag path = /var/spool/samba read only = No guest ok = Yes printable = Yes printer name = HP2100BW oplocks = No [HP2500Colour] comment = hpcsag path = /var/spool/samba read only = No guest ok = Yes printable = Yes printer name = HP2500Colour oplocks = No
Reasonably Related Threads
- lock problem on 32 bit mounted nfs with 64 bit lock offsets
- File size limits with samba 3.0.20b and FreeBSD 5.3
- 32/64bit locking problem with 2.2.2
- Help with error log entry and terrible performance
- 3.0.13 - word cannot complete the save due to a file permission error. for smb/NFS mounted dirs