[Samba] samba with cups
I have cups setup to negotiate authentication. Samba is unable to authenticate to the cups server. Can someone help? Smb log [2009/02/09 18:11:50, 0] smbd/server.c:main(1213) smbd version 3.2.3 started. Copyright Andrew Tridgell and the Samba Team 1992-2008 [2009/02/09 18:11:50, 0] param/loadparm.c:lp_do_parameter(7214) Global parameter cups server found in service section! [2009/02/09 18:11:50, 0] printing/print_cups.c:cups_cache_reload(142) Unable to get printer list - client-error-not-authorized [2009/02/09 18:11:50, 0] printing/print_cups.c:cups_cache_reload(142) Unable to get printer list - client-error-not-authorized [2009/02/09 18:11:50, 0] smbd/server.c:main(1264) standard input is not a socket, assuming -D option [2009/02/09 18:11:50, 0] printing/print_cups.c:cups_pull_comment_location(1270) Unable to get printer attributes - client-error-not-authorized Cups log D [09/Feb/2009:18:36:47 -0600] cupsdAcceptClient: 356 from localhost (Domain) D [09/Feb/2009:18:36:47 -0600] cupsdReadClient: 356 POST / HTTP/1.1 D [09/Feb/2009:18:36:47 -0600] cupsdAuthorize: No authentication data provided. D [09/Feb/2009:18:36:47 -0600] cupsdIsAuthorized: username="" D [09/Feb/2009:18:36:47 -0600] cupsdSendError: 356 code=401 (Unauthorized) D [09/Feb/2009:18:36:47 -0600] cupsdSendHeader: WWW-Authenticate: Negotiate D [09/Feb/2009:18:36:47 -0600] cupsdCloseClient: 356 D [09/Feb/2009:18:36:47 -0600] cupsdAcceptClient: 356 from localhost (Domain) D [09/Feb/2009:18:36:47 -0600] cupsdReadClient: 356 POST / HTTP/1.1 D [09/Feb/2009:18:36:47 -0600] cupsdAuthorize: No authentication data provided. D [09/Feb/2009:18:36:47 -0600] cupsdIsAuthorized: username="" D [09/Feb/2009:18:36:47 -0600] cupsdSendError: 356 code=401 (Unauthorized) D [09/Feb/2009:18:36:47 -0600] cupsdSendHeader: WWW-Authenticate: Negotiate D [09/Feb/2009:18:36:47 -0600] cupsdCloseClient: 356 Jody smime.p7s Description: S/MIME cryptographic signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Microsoft Access MDB database on Samba share
On Fri, 2009-02-06 at 23:37 +0100, Volker Lendecke wrote: > On Fri, Feb 06, 2009 at 08:32:05PM +0100, Daniel Polak wrote: > > The OpenBSD package maintainer is looking into the problem and will talk > > at FOSDEM to some Samba people this weekend. > > Oh, anybody from the Samba Team at FOSDEM? I was there, but with very spotty access to email and didn't see this thread. Very sorry. Simo. -- Simo Sorce Samba Team GPL Compliance Officer Principal Software Engineer at Red Hat, Inc. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Winbind group mapping problem
Which winbind idmap backend are you using? The default tdb backend generates id's randomly (which appears to be your case), meaning you will have to do a lot of chown commands on box B. For consistent mappings, use something like idmap_rid. http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/idmapper.html#id2598850 Dale Ben Tisdall wrote: Hello all, I have 2 boxes with identical smb.conf files apart from the netbios name. The contents of the shares have been copied from one to the other preserving the UNIX UIDs/GIDs and both boxes join to the AD domain without problems. The domain sid is the same on both machines. However, something isn't right with the group mapping: Box A (shows the correct AD groups with ls -l) //u...@host//:~$ getent group 10012 OURDOMAIN\domain users:*:10012: Box B (show mostly UIDs/GIDs with ls -l) //u...@host//:~$ getent group 10004 OURDOMAIN\domain users:*:10004: Can anyone give me a clue as to where to start looking to debug this? Many thanks in advance. Ben Tisdall -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Winbind group mapping problem
Hello all, I have 2 boxes with identical smb.conf files apart from the netbios name. The contents of the shares have been copied from one to the other preserving the UNIX UIDs/GIDs and both boxes join to the AD domain without problems. The domain sid is the same on both machines. However, something isn't right with the group mapping: Box A (shows the correct AD groups with ls -l) //u...@host//:~$ getent group 10012 OURDOMAIN\domain users:*:10012: Box B (show mostly UIDs/GIDs with ls -l) //u...@host//:~$ getent group 10004 OURDOMAIN\domain users:*:10004: Can anyone give me a clue as to where to start looking to debug this? Many thanks in advance. Ben Tisdall -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Re: Problem with Samba DFS and Active Directory/XP
Using the ANAME in the smb.conf file but using a CNAME on the XP side seems to solve this problem. However when following links to other samba servers from the DFS link I'm getting: "Configuration information could not be read from the domain controller, either because the machine is unavailable, or access has been denied" However copy'n'pasting the destination for the DFS link into XP works just fine. Anyone have any ideas? Faye Faye Gibbins wrote: Hi, Samba version 3.0.28 from RPM samba-3.0.28-1.el5_2.1 on Scientific Linux 5. Although I'm finding this problem with samba 3.0.33 and a few others I've randomly tried. Full experiment here: http://xweb.geos.ed.ac.uk/~fgibbins/DFS-tests.txt I've got an AD joined samba server which exports a share to an AD joined XP machine, same M$ 2003 AD in both cases. This share is setup as a DFS share and appears to properly serve DFS links as seen on the XP box. Then I reconfigure samba's smb.conf so the share I'm exporting _is_ _not_ a DFS share (see experiment above). After rebooting the XP box it naturally does not see the symlinks in the share as DFS links, it can still see the share though. However putting the original samba config back, restarting the samba server and rebooting the XP box does not re-export my share with symlinks that operate from the XP box as DFS links, it can still see the share though. Rebuilding the XP client and the box the samba server is on does not work either. Can anyone explain what is going on? Is something being cached in the AD which is stopping my samba server exporting shares with working DFS links (as seen from an XP box)? If so does anyone know how I clear this info from the AD? smb.conf: [global] workgroup = ED netbios name = XEN210120092 server string = xen210120092.geos.ed.ac.uk security = ads realm = ED.AC.UK passdb backend = tdbsam load printers = no host msdfs = yes [data] comment = Data path = /tmp/data read only = Yes guest ok = Yes msdfs root = yes Yours Faye -- Please sign my petition: http://petitions.number10.gov.uk/alcohol-buying/ - Faye Gibbins, Computing Officer (Infrastructure Services) GeoS KB; Linux, Unix, Security and Networks. Beekeeper - The Apiary Project, KB - www.bees.ed.ac.uk - I grabbed at spannungsbogen before I knew I wanted it. (x(x_(X_x(O_o)x_x)_X)x) The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smb keeps stale connections from logged out users and shut down clients
Volker Lendecke wrote: On Mon, Feb 09, 2009 at 03:17:27PM +0100, Frederik wrote: We are using Samba 3.0.33 as a PDC and file server for Windows XP clients, but seem to be suffering lots of stale connections. smbstatus still shows connections from users already logged out and even from systems which have already been shut down. Restarting the samba service, cleans up all stale connections. We tried deadtime = 5 in the samba configuration file, but this does not help at all. The parameter "keepalive" doesn't help either? Volker We have similar problems with Samba 3.0.24 (Debian Etch) as PDC for ~120 Win XP clients. See also this thread refering about our problems: http://lists.samba.org/archive/samba/2008-September/143701.html Since that time I made some investigations with interesting results. About once per month it's a locking issue and the smbd proccess exists. It is not a big problem. After Samba restart all is OK. But other problem come up when logging smbstatus output every 10 seconds for audit purpose. Wery often smbstatus shows a connected user from computer which have already been shut down or from computer where other user is loged in (see referred thread). This connections is showed usually for ~30 seconds and then disappear. I modified my logging script: it also logs the proccess name of each PID in smbstatus. I found that PIDs of the "ghost" connections is not the smbd! It's cron tasks, apache cgi scrips, ... ! I patched smbstatus: normally it loads the sessionid.tdb database and checks if PID of proccess in database exists. In my modification it also shows records with PIDs that do not exist. After a day after the Samba restart and ~400 domain logon/logoff there is about ~15 records with bad PID in the sessionid.tdb - with normal smbstatus this records are not showed - only if the process with the PID coincidentally exists... I think that Samba should have some self-healing mechanisms with sessionid.tdb. I can imagine some garbage collector periodically checking existence of PIDs for all records in sessionid.tdb and if such PID does not exists it should delete the record. Have Samba such feature in newer versions, or is it other error? Thanks. Vlastimil Setka -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] smb keeps stale connections from logged out users and shut down clients
On Mon, Feb 09, 2009 at 03:17:27PM +0100, Frederik wrote: > We are using Samba 3.0.33 as a PDC and file server for Windows XP > clients, but seem to be suffering lots of stale connections. smbstatus > still shows connections from users already logged out and even from > systems which have already been shut down. > > Restarting the samba service, cleans up all stale connections. > > We tried deadtime = 5 in the samba configuration file, but this does > not help at all. The parameter "keepalive" doesn't help either? Volker pgpI1MMNRFXv5.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] smb keeps stale connections from logged out users and shut down clients
We are using Samba 3.0.33 as a PDC and file server for Windows XP clients, but seem to be suffering lots of stale connections. smbstatus still shows connections from users already logged out and even from systems which have already been shut down. Restarting the samba service, cleans up all stale connections. We tried deadtime = 5 in the samba configuration file, but this does not help at all. Any idea what could be wrong here? -- Frederik -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Vista won't copy roaming profile to server
Hello, fresh installed Samba 3.024 o Debian system as PDC with roaming profiles. Vista only creates user.V2 in [profiles] but not copy profile after logoff. Directory is writable and XP works good. Any ideas? Thanks. -- View this message in context: http://www.nabble.com/Vista-won%27t-copy-roaming-profile-to-server-tp21910084p21910084.html Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba