pmsr@myrealbox.com
2004-Oct-06 22:18 UTC
[Samba] Point&print problem: printer names show the ip, not the server name.
Hello, i have this strange problem with printing and server naming after upgrading a server from RH9 (running Samba 3.0.3 ) to Fedora Core 1 (3.0.7-2.FC1). Everything was working before the upgrade, but i immediately started noticing some peculiarities after restoring the samba files (/etc/samba, /var/cache/samba) and starting samba. The problem manifests by the following: - when i double click on a workstation printer created using point&print, the header of the window shows the ip number of the server instead of the server name. The printer description on the local printers&faxes folder is right, though: ex: "laser on jimmy". - creating a new printer using point&print, the new printer gets a description as "laser on 192.168.2.19" (using the ip number, not the server name). - If i am not validated on the domain, but just login to the server, accessing the shared printers directly asks me again for the username and password, and if i use the net use command, i notice that i am mapped to both \\server\ipc$ and \\192.168.2.19\ipc$ In all cases, point&print seems to be messed up to the point it can't install new printer drivers unless the drivers are already installed locally. Since i changed the dns domain name of the server, i first looked at the possibility of a dns configuration problem, but after looking everywhere i am stumped. Any ideas? A portion of my smb.conf: [global] workgroup = WORKGROUP server string = JIMMY File Server passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* unix password sync = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 logon script = netlogon.bat logon path = \\%L\%U\profile logon drive = u: domain logons = Yes preferred master = Yes domain master = Yes dns proxy = No wins support = Yes printer admin = @ntadmin hosts allow = 192.168.2., 1.0.0., 127. cups options = raw [printers] comment = All Printers path = /var/spool/samba create mask = 0600 guest ok = Yes printable = Yes browseable = No [print$] comment = Printer Drivers path = /etc/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0664 directory mask = 0775 guest ok = Yes Thanks in advance, Pedro
Ryan Suarez
2004-Oct-07 08:39 UTC
[Samba] Point&print problem: printer names show the ip, not the server name.
I had the same issues after upgrading and recieved messages that it is a bug with samba versions 3.0.6 and 3.0.7 pmsr@myrealbox.com wrote:> Hello, > > i have this strange problem with printing and server naming after upgrading a server from >RH9 (running Samba 3.0.3 ) to Fedora Core 1 (3.0.7-2.FC1). Everything was working before >the upgrade, but i immediately started noticing some peculiarities after restoring the samba >files (/etc/samba, /var/cache/samba) and starting samba. The problem manifests by the >following: > >- when i double click on a workstation printer created using point&print, the header of the >window shows the ip number of the server instead of the server name. The printer >description on the local printers&faxes folder is right, though: ex: "laser on jimmy". > >- creating a new printer using point&print, the new printer gets a description as "laser on >192.168.2.19" (using the ip number, not the server name). > >- If i am not validated on the domain, but just login to the server, accessing the shared >printers directly asks me again for the username and password, and if i use the net use >command, i notice that i am mapped to both \\server\ipc$ and \\192.168.2.19\ipc$ > >In all cases, point&print seems to be messed up to the point it can't install new printer drivers >unless the drivers are already installed locally. Since i changed the dns domain name of the >server, i first looked at the possibility of a dns configuration problem, but after looking >everywhere i am stumped. > >Any ideas? > > > >A portion of my smb.conf: > >[global] > workgroup = WORKGROUP > server string = JIMMY File Server > passwd program = /usr/bin/passwd %u > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n >*passwd:*all*authentication*tokens*updated*successfully* > unix password sync = Yes > log file = /var/log/samba/%m.log > max log size = 0 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > logon script = netlogon.bat > logon path = \\%L\%U\profile > logon drive = u: > domain logons = Yes > preferred master = Yes > domain master = Yes > dns proxy = No > wins support = Yes > printer admin = @ntadmin > hosts allow = 192.168.2., 1.0.0., 127. > cups options = raw > >[printers] > comment = All Printers > path = /var/spool/samba > create mask = 0600 > guest ok = Yes > printable = Yes > browseable = No > >[print$] > comment = Printer Drivers > path = /etc/samba/drivers > write list = @ntadmin, root > force group = ntadmin > create mask = 0664 > directory mask = 0775 > guest ok = Yes > > >Thanks in advance, >Pedro > > > > >
pmanuel@myrealbox.com
2004-Oct-07 08:55 UTC
[Samba] Point&print problem: printer names show the ip, not the server name.
Ok, if that is the case can anyone confirm if we can downgrade to 3.0.5 without worring with tdb database format changes? Regards, Pedro On 7 Oct 2004 at 4:36, Ryan Suarez wrote:> I had the same issues after upgrading and recieved messages that it is a > bug with samba versions 3.0.6 and 3.0.7 > > pmsr@myrealbox.com wrote: > > > Hello, > > > > i have this strange problem with printing and server naming after upgrading a server from > >RH9 (running Samba 3.0.3 ) to Fedora Core 1 (3.0.7-2.FC1). Everything was working before > >the upgrade, but i immediately started noticing some peculiarities after restoring the samba > >files (/etc/samba, /var/cache/samba) and starting samba. The problem manifests by the > >following: > > > >- when i double click on a workstation printer created using point&print, the header of the > >window shows the ip number of the server instead of the server name. The printer > >description on the local printers&faxes folder is right, though: ex: "laser on jimmy". > > > >- creating a new printer using point&print, the new printer gets a description as "laser on > >192.168.2.19" (using the ip number, not the server name). > > > >- If i am not validated on the domain, but just login to the server, accessing the shared > >printers directly asks me again for the username and password, and if i use the net use > >command, i notice that i am mapped to both \\server\ipc$ and \\192.168.2.19\ipc$ > > > >In all cases, point&print seems to be messed up to the point it can't install new printer drivers > >unless the drivers are already installed locally. Since i changed the dns domain name of the > >server, i first looked at the possibility of a dns configuration problem, but after looking > >everywhere i am stumped. > > > >Any ideas? > > > > > > > >A portion of my smb.conf: > > > >[global] > > workgroup = WORKGROUP > > server string = JIMMY File Server > > passwd program = /usr/bin/passwd %u > > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n > >*passwd:*all*authentication*tokens*updated*successfully* > > unix password sync = Yes > > log file = /var/log/samba/%m.log > > max log size = 0 > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > logon script = netlogon.bat > > logon path = \\%L\%U\profile > > logon drive = u: > > domain logons = Yes > > preferred master = Yes > > domain master = Yes > > dns proxy = No > > wins support = Yes > > printer admin = @ntadmin > > hosts allow = 192.168.2., 1.0.0., 127. > > cups options = raw > > > >[printers] > > comment = All Printers > > path = /var/spool/samba > > create mask = 0600 > > guest ok = Yes > > printable = Yes > > browseable = No > > > >[print$] > > comment = Printer Drivers > > path = /etc/samba/drivers > > write list = @ntadmin, root > > force group = ntadmin > > create mask = 0664 > > directory mask = 0775 > > guest ok = Yes > > > > > >Thanks in advance, > >Pedro > > > > > > > > > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Gerald (Jerry) Carter
2004-Oct-11 18:38 UTC
[Samba] Point&print problem: printer names show the ip, not the server name.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 pmsr@myrealbox.com wrote: | In all cases, point&print seems to be messed up to the point | it can't install new printer drivers unless the drivers are | already installed locally. Since i changed the dns domain | name of the server, i first looked at the possibility of | a dns configuration problem, but after looking everywhere | i am stumped. This is bug #1519 and has been fixed in the lates 3_0 svn tree. Sorry for the aggrevation. cheers, jerry - --------------------------------------------------------------------- Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBatMOIR7qMdg1EfYRAtMJAJ9ka5SlKEmxnozmK8OM6NuZkD+EPQCguJEF l9kXG/wQHAQq8xtr9j508ZA=R2eR -----END PGP SIGNATURE-----