Re: [Samba] Should I use winbind in this case
On Friday 24 October 2003 3:28 pm, Douglas Phillipson wrote: > I can't seem to get an answer to this question... > > Should I use winbind if my Domain Controller is a samba machine? Or > is it only useful if my DC is a real MS DC and I have other > unix/linux client machines? It's still useful. If you have other unix machines, they can authenticate via samba/windows domain mechanism, without having a local machine (unix) account. Other samba file or print servers can use it to authenticate domain users. In either case, it can't hurt. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: samba3, cups, and pointprint drivers install
Hello, Thanks for that info. I don't see a printing defaults button on the advanced tab of the printer in question on the samba server. Again, i navigate to that folder, right click the printer, click properties, answer no, then go to the advanced tab, and new driver. This is on a 2k box if that matters. My shares print$ and printers are below. Thanks. Dave. [printers] comment = all printers path = /var/spool/samba browsable = no guest ok = no writable = no printable = yes use client driver = yes [print$] comment = printer driver download area path = /etc/samba/drivers browsable = yes guest ok = no read only = yes write list = @ntadmin On Fri, 24 Oct 2003 19:26:21 -0700 "Stephen Harris" <[EMAIL PROTECTED]> writes: > > - Original Message - > From: <[EMAIL PROTECTED]> > Newsgroups: gmane.network.samba.general > Sent: Friday, October 24, 2003 6:09 PM > Subject: samba3, cups, and pointprint drivers install > > > > Hello, > > I've got a redhat9 system with cups and samba3 installed. I want > to use > > this machine for both local and network printing. On the local > side apps > > can print just fine, the cups configuration is working great. > > Network-side is not the case. I've got a mixture of 2k and 9x > clients, so > > i'm going to need drivers for both configurations. In smb.conf > i've got: > > printcap name = cups > > printing = cups > > load printers = yes > > I'm logging on to a 2k box as an administrator, in smbusers i have > the 2k > > administrator mapped to the root user and an entry for root in > smbpasswd. > > I can navigate to the machine, i go to the printers share, right > click > > the printer, go to properties, say no to load the driver, then go > to the > > advanced tab, new driver, install the driver from the hp rom, that > > appears to go fine, however when i click the ok or apply button i > get the > > message driver settings could not be saved. They're going in > > /etc/samba/drivers with permissions of 775, the share is owned by > root > > and group of ntadmin who has write access to the share, other than > that > > it is a read only share. I've also explicitly added root to the > Linux > > ntadmin group. I'm not sure where to debug this, i'm not getting > anything > > useful in cups.log and my cups is listening on the localhost port > 631. > > Any suggestions appreciated. > > Thanks. > > Dave. > > > > > > I read this in the Samba HowTo, maybe it will help: > > http://samba.vernstok.nl/htmldocs/Samba-HOWTO-Collection.html#id2929652 > > Print Options for All Users Can't Be Set on Windows 200x/XP > How are you doing it? I bet the wrong way (it is not easy to find > out, > though). There are three different ways to bring you to a dialog > that seems > to set everything. All three dialogs look the same, yet only one of > them > does what you intend. You need to be Administrator or Print > Administrator to > do this for all users. Here is how I do in on XP: > > 1.. The first wrong way: > > 1.. Open the Printers folder. > > 2.. Right-click on the printer (remoteprinter on cupshost) and > select in > context menu Printing Preferences... > > 3.. Look at this dialog closely and remember what it looks like. > > > 2.. The second wrong way: > > 1.. Open the Printers folder. > > 2.. Right-click on the printer (remoteprinter on cupshost) and > select > the context menu Properties. > > 3.. Click on the General tab. > > 4.. Click on the button Printing Preferences... > > 5.. A new dialog opens. Keep this dialog open and go back to the > parent > dialog. > > > 3.. The third, and the correct way: > > 1.. Open the Printers folder. > > 2.. Click on the Advanced tab. (If everything is "grayed out," > then you > are not logged in as a user with enough privileges). > > 3.. Click on the Printing Defaults... button. > > 4.. On any of the two new tabs, click on the Advanced... button. > > 5.. A new dialog opens. Compare this one to the other identical > looking > one from "B.5" or A.3". > > > Do you see any difference? I don't either. However, only the last > one, which > you arrived at with steps "C.1.-6.", will save any settings > permanently and > be the defaults for new users. If you want all clients to get the > same > defaults, you need to conduct these steps as Administrator (printer > admin in > smb.conf) before a client downloads the driver (the clients can > later set > their own per-user defaults by following the procedures A or B > above). > > Regards, > > Stephen > > > > The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: samba 2.27 as print server
My original post is http://lists.samba.org/archive/samba/msg72613.html. [global] workgroup = Popstar netbios name = Paint-Roller server string = Print Server (Samba %v) interfaces = eth0 127.0.0.1 bind interfaces only = Yes encrypt passwords = Yes min passwd length = 0 null passwords = Yes log level = 10 log file = /etc/samba/logs/smblog-%m.txt announce version = 4.0 name resolve order = wins bcast time server = Yes deadtime = 45 socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 wins server = 192.168.0.60 hosts allow = 192.168.0.0/24 127.0.0.1 username map = /etc/samba/usernames.cfg preferred master = Yes domain master = Yes local master = Yes printing = lprng print command = lpr -U%u -P%p -r %s lpq command = lpq -U%u -P%p lprm command = lprm -U%u -P%p %j lppause command = lpc -U%u hold %p %j lpresume command = lpc -U%u release%p %j queuepause command = lpq -U%u stop %p queueresume command = lpq -U%u start %p [ipc$] path = /tmp hosts allow = 192.168.0.0/24 127.0.0.1 hosts deny = 0.0.0.0/0 [Lexmark] comment = "Lexmark Z22 Color JetPrinter" use client driver = yes path = /etc/samba/printers/Lexmark printable = Yes + Please help. Thanks in advance. "Kurt Pfeifle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Phillip M. Bryant wrote on Samba-Digest: > > > [Samba] samba 2.27 as print server > > > > * To: > > * Subject: [Samba] samba 2.27 as print server > > * From: "Bryant, Phillip -AES" > > * Date: Thu, 23 Oct 2003 12:43:28 -0400 > > > > I'm running Samba 2.27 > > rather 2.2.7 > > > on RH8 system. > > You should be telling us which print subsystem you have installed. CUPS? > LPRng? Which version? > > > I've got samba as the print > > spooler for Windows XP clients and using winbind as the user validation > > against my Win2K DC. Permissions on the spool directory are root root > > with the sticky bit on. Clients can delete their own jobs from the que, > > but the spool directory is not being expunged of print jobs and the last > > job constantly displays in the client que window. I have not been able > > to figure out how to resolve this as occasionally people freak out when > > they see older jobs in the print que and wonder if it is stuck. For > > whatever reason, the print process is unable to remove the print job > > from the spool directory after it is sent to the lpd process for > > printing. > > > > You should also be telling us, which smb.conf settings related to printing > your Samba daemon is using. > > Try > > "testparm -v | egrep '(print|lp|enumport|driv|spool|\[|path)'" > > and hit "ENTER" twice > > It is well possible that you are using a customized "print command", > and have forgotten to include a ";rm %s" at the end > > Cheers, > Kurt > > > > > > > Phillip M. Bryant > > ITT Industries, Advanced Engineering and Sciences > > Network Administrator > > Albuquerque, NM 87120 > > Ph 505-889-7016 > > Cell 505-385-8668 > > MCSE 2000, NT 4.0 > > MCP+I > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] roaming profiles in Samba 2.2 vs 3
On Fri, 24 Oct 2003 [EMAIL PROTECTED] wrote: > Hi, > > Below is a snippet of my .conf file that worked in 2.2.7a; If it worked it did so despite being broken! See fixes below. > > [netlogon] > comment = network logon service > path = \\stuff\people\netlogon path = /stuff/people/netlogon > read only = no > browseable = no > guest ok = yes > > [profile] > comment = user profiles > path = \\stuff\people\%U path = /stuf/people/%U > writeable = yes > browseable = no > > Using v3.0 during a logon session from a 2K ws I get; > > Windows cannot create profile directory \\% > N\username\profile.pds > > Any ideas what in I need to do? See above. Samba share specs read UNIX paths - not Windows UNC names. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Should I use winbind in this case
On Fri, 24 Oct 2003, Douglas Phillipson wrote: > I can't seem to get an answer to this question... > > Should I use winbind if my Domain Controller is a samba machine? Or is > it only useful if my DC is a real MS DC and I have other unix/linux > client machines? Winbind works with both Windows and Samba. If you want a distributed Samba environemnt you want samba and winbind. Is that definitive enough yet? > I'm strictly wanting to provide file and domain logon services to > Win2000 machines via a samba DC. There are no other DC's involved. > After reading the 3.0 HowTo on winbind all I see are references to > winbind helping linux/unix resolve usernames from a Windows DC. If I'm > using a linux/samba box as the DC I don't need this for my win2000 > users, in a domain on the Samba DC, to gain access to shares, right? > Would winbind help me in any other way in trying to use ACL's? Yes. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba3, cups, and pointprint drivers install
Hello, I've got a redhat9 system with cups and samba3 installed. I want to use this machine for both local and network printing. On the local side apps can print just fine, the cups configuration is working great. Network-side is not the case. I've got a mixture of 2k and 9x clients, so i'm going to need drivers for both configurations. In smb.conf i've got: printcap name = cups printing = cups load printers = yes I'm logging on to a 2k box as an administrator, in smbusers i have the 2k administrator mapped to the root user and an entry for root in smbpasswd. I can navigate to the machine, i go to the printers share, right click the printer, go to properties, say no to load the driver, then go to the advanced tab, new driver, install the driver from the hp rom, that appears to go fine, however when i click the ok or apply button i get the message driver settings could not be saved. They're going in /etc/samba/drivers with permissions of 775, the share is owned by root and group of ntadmin who has write access to the share, other than that it is a read only share. I've also explicitly added root to the Linux ntadmin group. I'm not sure where to debug this, i'm not getting anything useful in cups.log and my cups is listening on the localhost port 631. Any suggestions appreciated. Thanks. Dave. The best thing to hit the internet in years - Juno SpeedBand! Surf the web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Browse list sync problems
Hello all. I have recently connected a branch office to our main network, with Samba servers on both subnets. Server SGI at 192.168.0.3 is our DMB and WINS, while Panserv at 192.168.1.1 is LMB for its subnet. They communicate very well and always sync their browse lists successfully, but Panserv never removes entries from its list, even after syncing with SGI's updated list. It doesn't even remove computers from its own subnet, what makes SGI also keeping them on the complete list. I've tried to disable enhanced browsing on Panserv and enabling remote browse sync on SGI, with no results, and I've found only a little bit of information about this issue, none of them being really useful. Maybe someone can help me out with this? Best regards, William -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] roaming profiles in Samba 2.2 vs 3
Hi, Below is a snippet of my .conf file that worked in 2.2.7a; [netlogon] comment = network logon service path = \\stuff\people\netlogon read only = no browseable = no guest ok = yes [profile] comment = user profiles path = \\stuff\people\%U writeable = yes browseable = no Using v3.0 during a logon session from a 2K ws I get; Windows cannot create profile directory \\% N\username\profile.pds Any ideas what in I need to do? Bri- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compile Problem with libs
I'm trying to build samba 3 for Solaris 9 and I'm having trouble with the libraries. Everything seems to build fine but when I try to run one of the binaries I get: ld.so.1: /appl/samba/bin/net: fatal: liblber.so.2: open failed: No such file or directory If I add the path for my ldap and gcc libs to my LD_LIBRARY_PATH environment then I can run the commands and they seem fine but I can't figure out how to build them so I don't have to set my environment variables up first. I could probably just set these in my samba startup script but that won't help for swat which runs from inetd.conf I've tried messing with the --enable-shared and --enable-static flags for the configure script but either I'm not setting those right or that's not my problem. Can anyone point me in the right direction? thanks, Bill -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Should I use winbind in this case
I can't seem to get an answer to this question... Should I use winbind if my Domain Controller is a samba machine? Or is it only useful if my DC is a real MS DC and I have other unix/linux client machines? I'm strictly wanting to provide file and domain logon services to Win2000 machines via a samba DC. There are no other DC's involved. After reading the 3.0 HowTo on winbind all I see are references to winbind helping linux/unix resolve usernames from a Windows DC. If I'm using a linux/samba box as the DC I don't need this for my win2000 users, in a domain on the Samba DC, to gain access to shares, right? Would winbind help me in any other way in trying to use ACL's? Regards Doug P -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] using pdbedit - revisit
Hi, Its working, I was careless. Bri- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] EU Linux migration document. -- German Gvt. "Migration Guide"
Re: [Samba] EU Linux migration document. -- German Gvt. "Migration Guide" * To: Kurt Pfeifle * Subject: Re: [Samba] EU Linux migration document. -- German Gvt. "Migration Guide" * From: Jeremy Allison * Date: Fri, 24 Oct 2003 20:28:42 + * Cc: "samba at listsdotsambadotorg" , samba-technical at listsdotsambadotorg On Fri, Oct 24, 2003 at 09:52:19PM +0200, Kurt Pfeifle wrote: Maybo someone with "connections" may be ablt to place a news item? I'm doing that now :-). Oh pain, oh pain: those poor web server admins coming back to work on Monday, suffering from being slashdotted for their first time... ;-) Maybe someone knows [EMAIL PROTECTED] and can forewarn them?;-) Jeremy. Cheers, Kurt P.S.: I now found some details about the publisher of that Guide as a book: it is MITP, and they say that it will be available in "Oktober 2003" and gives these details: Hardcover ca. 448 pages, Format 17,0 x 24,0 cm ISBN 3-8266-1421-6 ca. € 29,95 (http://www.mitp.de/vmi/mitp/detail/pWert/1421) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC+Domain Admin Group
hi enable group mapping from unix to samba 3 and include the wanted user to the wanted groups you can do that with usrmgr if you want to, or via net groupmap ( study FAQS ) here smb.conf for suse 8.2 and group init script samba as pdc with german umlauts working with fprot daemon for antivirus on demand for the master admin you may use "adminusers = root" ( which mean root user not the unix group root ) #!/bin/bash net groupmap modify ntgroup="Domain Admins" unixgroup=root net groupmap modify ntgroup="Domain Users" unixgroup=users net groupmap modify ntgroup="Domain Guests" unixgroup=nobody net groupmap modify ntgroup="Administrators" unixgroup=ntadmin net groupmap modify ntgroup="Users" unixgroup=users net groupmap modify ntgroup="Guests" unixgroup=nobody net groupmap modify ntgroup="System Operators" unixgroup=sys net groupmap modify ntgroup="Account Operators" unixgroup=ntadmin net groupmap modify ntgroup="Backup Operators" unixgroup=bin net groupmap modify ntgroup="Print Operators" unixgroup=lp net groupmap modify ntgroup="Replicators" unixgroup=daemon net groupmap modify ntgroup="Power Users" unixgroup=sys # # Generated by /usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl # [global] browseable = no largereadwrite = yes passwdprogram = /usr/bin/passwd %u logonscript = login.bat logonhome = \\%L\%u bindinterfacesonly = Yes netbiosname = musi nameresolveorder = wins bcast hosts addsharecommand = /usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl ntaclsupport = yes deletesharecommand = /usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl usernamemap = /etc/samba/smbusers idmapuid = 15000-2 winshook = /usr/share/doc/packages/samba3/examples/wins_hook/dns_update addmachinescript = /usr/sbin/useradd -g Machines -c Machine -d /dev/null -s /bin/false %u hostmsdfs = Yes printcapname = cups deleteuserscript = /usr/sbin/userdel -r %u domainlogons = yes shutdownscript = /sbin/shutdown logfile = /var/log/samba/%m socketoptions = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF winsproxy = Yes logondrive = Z: addusertogroupscript = /usr/bin/gpasswd -a %u %g workgroup = MUSI pampasswordchange = Yes idmapgid = 15000-2 domainmaster = yes adminusers = root, Administrator timeserver = yes ldapssl = no displaycharset = ISO8859-1 addgroupscript = /usr/sbin/groupadd -r %g abortshutdownscript = /sbin/shutdown -c deleteuserfromgroupscript = /usr/bin/gpasswd -d %u %g vetofiles = /*.eml/*.nws/riched20.dll/*.{*}/.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/.*/ delete veto files = yes loglevel = 2 adduserscript = /usr/sbin/useradd -m %u hidedotfiles = yes setprimarygroupscript = /usr/sbin/usermod -g '%g' '%u' usesendfile = Yes unixcharset = ISO8859-1 interfaces = lo, eth1, eth2 hidefiles = /.*/DesktopFolderDB/TrashFor%m/resource.frk/ hostsallow = 127., 10.10.10. keepalive = 255 passdbbackend = smbpasswd:/etc/samba/smbpasswd, guest deletegroupscript = /usr/sbin/groupdel %g loadprinters = No serverschannel = Yes localmaster = yes unixpasswordsync = Yes winssupport = Yes logonpath = \\%L\%U\profile passwdchat = *password* %n\n *password* %n\n *changed* changesharecommand = /usr/share/doc/packages/samba3/examples/misc/modify_samba_config.pl doscharset = CP850 syslog = 0 utmp = Yes oslevel = 255 vfs object = vscan-fprotd netatalk audit recycle:repository recycle:keeptree recycle:versions ## Section - [files] [files] readonly = No cscpolicy = disable comment = public files browseable = yes writeable = yes path = /files/pub guestok = yes vfs object = vscan-fprotd netatalk audit recycle:repository recycle:keeptree recycle:versions ## Section - [homes] [homes] readonly = No comment = Home Directories browseable = No cscpolicy = disable guest ok = No vfs object = vscan-fprotd netatalk audit recycle:repository recycle:keeptree recycle:versions ## Section - [netlogon] [netlogon] sharemodes = No rootpreexec = /var/lib/samba/netlogon/login.pl %U %G %m %L comment = Netlogon Share browseable = No path = /var/lib/samba/netlogon guestok = Yes writelist = @ntadmin locking = no public = no cscpolicy = disable vfs object = vscan-fprotd netatalk audit recycle:repository recycle:keeptree recycle:versions ## Section - [smbmonitor] [smbmonitor] readonly = No cscpolicy = disable comment = security smb logs browseable = no writeable = yes path = /smbmonitor guestok = yes vfs object = vscan-fprotd netatalk audit recycle:repository recycle:keeptree recycle:versions ## Section - [wincd] [wincd] readonly = No cscpolicy = disable comment = security smb logs browseable = no path = /wincd/win2k/mnt writelist = @ntadmin guestok = yes vfs object = vscan-fprotd netatalk audit recycle:repository recycle:keeptree recycle:versions ## #use this if you want profiles in a seperate share #[profiles] # comment = Roaming Profile Share # path =
[Samba] Samba] can't add smb printer on windows
[Samba] can't add smb printer on windows * To: samba at listsdotsambadotorg * Subject: [Samba] can't add smb printer on windows * From: Kaleb Pederson * Date: Fri, 24 Oct 2003 12:44:07 -0700 I have a single group of users, some of whom can successfully add my samba printer and some of whom can't. There should be no difference as they are all part of the same group. The error message is as follows: "A policy is in effect on your computer which prevents you from connecting to this print que. Please contact your system administrator." I saw a reference to this error in some of the older documentation, but nothing that describes it for samba-3.0.0. Look here (online version of the HOWTO Collection): http://samba.vernstok.nl/htmldocs/Samba-HOWTO-Collection.html#id2929652 http://samba.vernstok.nl/htmldocs/Samba-HOWTO-Collection.html#id2929579 The drivers are loaded on the server and have successfully been pushed out to a number of users, but not all? Any idea what the problem is? As the error message says: some setting of "Local Security Policies". It may be, that installation of unsigned drivers is not allowed. “Local Security Policies” even may not allow installation of printer drivers at all! Thanks. --Kaleb PS: please CC me, although I will try to watch the list for the next few days. You should be watching it permanently. You'll learn a lot, and, maybe someday, you'll be able to help another newbie along and pay back what you received. Or, maybe you'll just be offered an even better job for all your accumulated knowledge;-). Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] EU Linux migration document. -- German Gvt. "Migration Guide"
On Fri, Oct 24, 2003 at 09:52:19PM +0200, Kurt Pfeifle wrote: > > Maybo someone with "connections" may be ablt to place a news item? I'm doing that now :-). Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing from Win2000
[Samba] Printing from Win2000 * To: samba at listsdotsambadotorg * Subject: [Samba] Printing from Win2000 * From: Garrett * Date: Fri, 24 Oct 2003 01:56:58 -0500 Hello, I have just started using samba a couple of weeks ago. I am using Slackware 9.1 and windows 2000. i can see everything. on my windows box i can see my linux box and visa versa. but i have a HP deskjet 932c on my linux box and i want to be able to print from windows. windows can see the printer in network neighborhood but it says that it is unable to connect access denied. i have set the drivers right and everything. here is my smb.conf: [global] netbios name = MYSERVER server string = "Is It Not Nifty?" encrypt passwords = Yes log file = /var/log/samba.log socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups wins support = Yes hosts allow = 192.168.1.100 I suspect this setting could be a guilty one, should you try to access your Samba from a different host than 192.168.1.100 printing = cups What does "testparm -v | grep security" (hit ENTER twice) return? If it is "security = share", change it to "security = user" [public] path = /home/garrett read only = No guest ok = Yes [printers] path = /var/spool/samba guest ok = Yes printable = Yes print command = /usr/bin/lpr -P%p -r %s If you have "printing = cups" and "printcap = cups", correct "builtin" print commands should automatically be used. Your manually set ones are ignored. browseable = No [HPDeskjet] comment = HP DeskJet 932C, hpijs path = /home/garrett/hpspool read only = No guest ok = Yes printable = Yes print command = /usr/bin/lpr -P%p -r %s printer name = Garrett oplocks = No And when i type this command lpstat i get this: To test if you really have the *driver* for that printer ready when a clients tries to "Connect...", use these commands: rpcclient -Uroot%[smbpassword] -c enumdrivers localhost rpcclient -Uroot%[smbpassword] -c enumprinters localhost (where "[smbpassword]" must first have been set with the "smbpasswd -a root" command...) garrett at garrett:~$ lpstat Printer 'Garrett at localhost' - cannot open connection - No such file or directory Make sure the remote host supports the LPD protocol and accepts connections from this host and from non-privileged (>1023) ports Printer 'Garrett at localhost' - cannot open connection - No such file or directory Make sure the remote host supports the LPD protocol and accepts connections from this host and from non-privileged (>1023) ports This means that you are running the "lpstat" command version shipping with LPRng, not the CUPS one! Your installation is broken. You need to decide: Do you want to use CUPS or LPRng? Remove the other one and re-install the desired package. Try again. (If you are trying to run both on the sam box, make sure your RedHat/Mandrake/Debian "alternatives" system is working correctly and that you have enabled the print subsystem you actually want to use at this moment.) Please help me if anyone knows what the problem is. Thanks a alot! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compiling Samba 3.0.1pre1 on Solaris
My Problem was the fatal error during Make in compiling tdbbackup. Using Jerome Fenal's patch on the Makefile.in adding /lib/snprintf.o in the TDBBACKUP_OBJ line was partially successful. Now a related error has arisen: "Compiling tdb/tdbbackup.c make: *** No rule to make target ' /lib/snprintf.o' needed by 'bin/tdbbackup' . Stop" This error aborts Make. I gather some additional change is needed in the Makefile, so this patch is only partially successful Gunnar Senum -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] EU Linux migration document. -- German Gvt. "Migration Guide"
Linux migration document. * To: samba at sambadotorg, samba-technical at sambadotorg * Subject: Linux migration document. * From: Jeremy Allison * Date: Tue, 21 Oct 2003 23:20:58 + * Cc: jra at sambadotorg Hi all, If you're looking at a Windows server to Linux & Samba migration (and let's face it, who isn't nowadays :-), the EU (god bless their little cotton socks :-) has published a wonderful migration how-to document here : http://europa.eu.int/ISPO/ida/jsps/index.jsp?fuseAction=showDocument&parent=news&documentID=1647 Cheers, Jeremy. Hi, Jeremy, hi, all, I saw your posting regarding this document only today. While we are at it, please also take a look at the "Migration Guide", published by the German Ministery of the Interior. This originally was published in German only. What is hardly known is that this document now has an English translation. I never read a news item about in on one of the relevant forums, like Slashdot or LinuxToday. Maybo someone with "connections" may be ablt to place a news item? I think that document is even more thorough than the EU one: while it also evaluates a "Continuing Migration" path, going from WinNT to 2K/XP, it gives big room to a "Replacing Migration", going from NT to Linux/FLOSS/Samba et.al. http://www.kbst.bund.de/Anlage303777/pdf_datei.pdf (Yes -- despite of its strange name this *is* the English translation of the Migration Guide. Oh, and even if the PDF is saying it was produced from MS Windows with the help of PDFmaker -- be assured that the original document was written with the help of OpenOffice.org. vlendec should be able to confirm this, since he is also one of the authors... );-) Have a look at that one too, please, and spread the Gospel that it will soon be available as a book (in German). If there is demand from other countries, I would imagine that the English translation would also hit the bookstores some time soon. A personal comment: I had a quick look at the EU migration document 2 days ago. I think it is very useful, but less than it could be, because it is very much biased towards RedHat/Ximian/GNOME and, unfortunately largely ignores SuSE/Mandrake/KDE. Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] can't add smb printer on windows
I have a single group of users, some of whom can successfully add my samba printer and some of whom can't. There should be no difference as they are all part of the same group. The error message is as follows: "A policy is in effect on your computer which prevents you from connecting to this print que. Please contact your system administrator." I saw a reference to this error in some of the older documentation, but nothing that describes it for samba-3.0.0. The drivers are loaded on the server and have successfully been pushed out to a number of users, but not all? Any idea what the problem is? Thanks. --Kaleb PS: please CC me, although I will try to watch the list for the next few days. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba PDC+Domain Admin Group
hi all. recectly i made the migration from samba 2.2.8 to 3.0. everything is working fine, except that i dont know how to grant administrator privileges in win 2000 clients. with 2.2.8, i used DOMAIN ADMIN GROUP parameter ( domain admin group = @adm) but its been removed in samba 3.0, and i dont know what to do. any help will be apreciated thanks in advance sebastian Internet GRATIS es Yahoo! Conexión 4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo Más ciudades: http://conexion.yahoo.com.ar -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Network path not found
Hi group, I managed to resolve my problem. It appears (newbie mistake) that during the installation of red hat 9.0 I left the setting for the firewall to medium security, in effect blocking port 137 (or 139, can't remember which). During my nmblookup test, the packet sent to port 137 por 139 was blocked. I was able to see that using the debug param of nmblookup. Anyways thanks everybody for your help. Marc -Original Message- From: Jason Balicki [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 11:23 AM To: 'Marc Drouin' Subject: RE: [Samba] Network path not found >Addind the line wins support = yes to smb.conf does not change anything. Just so I'm clear, you did add the wins server to the tcp/ip properties on the windows client machine, right? --J(K) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.0.0 Installation error messages
Installed samba 3.0.0.0 and when I run testparm I get the following errors: n1fs2:/usr/local/bin:>./testparm |more creating lame upcase table creating lame lowcase table Conversion from UCS-2LE to CP850 not supported Conversion from UTF8 to CP850 not supported Conversion from ASCII to CP850 not supported Conversion from CP850 to UCS-2LE not supported Conversion from CP850 to UTF8 not supported Conversion from CP850 to ASCII not supported Conversion from CP850 to UTF8 not supported Conversion from UTF8 to CP850 not supported creating default valid table params.c:OpenConfFile() - Unable to open configuration file "/ii/pa/samba-3.0.0. 0/usr/local/lib/smb.conf": A file or directory in the path name does not exist. Conversion from UCS-2LE to CP850 not supported Conversion from UTF8 to CP850 not supported Conversion from ASCII to CP850 not supported Conversion from CP850 to UCS-2LE not supported Conversion from CP850 to UTF8 not supported Conversion from CP850 to ASCII not supported Conversion from CP850 to UTF8 not supported Conversion from UTF8 to CP850 not supported Failed to load /ii/pa/samba-3.0.0.0/usr/local/lib/valid.dat - A file or director y in the path name does not exist. creating default valid table Load smb config files from /ii/pa/samba-3.0.0.0/usr/local/lib/smb.conf Error loading services. Any ideas why? I followed the instructions and have reinstalled it 3 times with the same issue. It looks like it's trying to load the smb.cof from a directory called /ii/pa/samba-3.0.0.0/usr/local/lib/smb.conf which does not exist on my system. Thanks. Bill -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing from Win2000
Hello, I have just started using samba a couple of weeks ago. I am using Slackware 9.1 and windows 2000. i can see everything. on my windows box i can see my linux box and visa versa. but i have a HP deskjet 932c on my linux box and i want to be able to print from windows. windows can see the printer in network neighborhood but it says that it is unable to connect access denied. i have set the drivers right and everything. here is my smb.conf: [global] netbios name = MYSERVER server string = "Is It Not Nifty?" encrypt passwords = Yes log file = /var/log/samba.log socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups wins support = Yes hosts allow = 192.168.1.100 printing = cups [public] path = /home/garrett read only = No guest ok = Yes [printers] path = /var/spool/samba guest ok = Yes printable = Yes print command = /usr/bin/lpr -P%p -r %s browseable = No [HPDeskjet] comment = HP DeskJet 932C, hpijs path = /home/garrett/hpspool read only = No guest ok = Yes printable = Yes print command = /usr/bin/lpr -P%p -r %s printer name = Garrett oplocks = No And when i type this command lpstat i get this: [EMAIL PROTECTED]:~$ lpstat Printer '[EMAIL PROTECTED]' - cannot open connection - No such file or directory Make sure the remote host supports the LPD protocol and accepts connections from this host and from non-privileged (>1023) ports Printer '[EMAIL PROTECTED]' - cannot open connection - No such file or directory Make sure the remote host supports the LPD protocol and accepts connections from this host and from non-privileged (>1023) ports Please help me if anyone knows what the problem is. Thanks a alot! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing banner pages
Re: [Samba] Printing banner pages * To: Peter Blajev * Subject: Re: [Samba] Printing banner pages * From: Adam Williams * Date: Fri, 24 Oct 2003 05:51:09 -0400 * Cc: Samba List In Samba 3.0.0 (may be in earlier versions too) if I specify printing = cups printcap name = cups then manually set "print command" is ignored. Well, without print command how can I force the printer to print banner page every time job is sent? Does simply enabling CUPS banners on the queue not work? If you want CUPS banner pages, use the "CUPS PostScript Driver for Win NT/2K/XP". See the printing chapters of the Samba-3.0 HOWTO Collection about these drivers. Info applies to Samba 2.2.x also. Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] "advanced printing features" setting not saved [Samba] "advanced printing features" setting not saved
Alexander Geraldy wrote on Samba-Digest: [Samba] "advanced printing features" setting not saved * To: samba at listsdotsambadotorg * Subject: [Samba] "advanced printing features" setting not saved * From: Alexander Geraldy * Date: Thu, 23 Oct 2003 20:59:21 +0200 Hello, we run SuSE8.2 with Samba 2.2.7a-78 (SuSE's own version?!) and Windows XP clients. After an update to 3.0.0, everything works well (user access on file services and printing), but we can't save the "advanced printing features(?)" (german: "Erweiterte Druckfunktionen aktivieren") flag (WinXP -> Settings -> any printer -> Advanced) anymore. It better doesn't! Since Samba nor the underlying Unix print subsystem (like CUPS or LPRng) can not process "EMF"-type print data from the Windows GDI (as are sent over the network from the clients to the print server if "advanced printing features" are "on"), it *should* be disabled. I am glad it is disabled by default now (wasn't the case in earlier versions, IIRC), and that you can not really enable it. It just makes no sense with Samba. Clients sending EMF expect the print server to execute the Windows driver (which Samba obviously can't) and generate PCL or PostScript or whatever from that EMF input. That is what the "advanced printing features" is for This holds for all our (HP-)printers while the duplex option is stored on the samba server. But duplex *printing* works for the clients? This one flag is always reset to disabled without any warning or error message. I think a warning would be even more confusing. (You are the first person in a very long time I see asking this on the list. A warning, or worse, an error message, would have provoked a myriad of investigations ;-) However, that is now explained in the much extended printing chapters of the "Samba 3.0 HOWTO Collection". These chapters are well worth reading even if you don't plan to run Samba-3.0 in the near future, for most of the stuff applies 1:1 for Samba 2.2.x. A clean install of samba 3.0.0 did not change anything about this problem. Since no user can print duplex or n-to-1 with samba 3.0.0, I am confused now. Does duplex printing work or not? The n-to-1 printing depends on the driver type you are using for the clients and on the way you installed drivers and tried to save the settings. I had to install the old samba version again. Is there any known solution for this problem? In which files are the printer settings stored on the samba server? I didn't find anything about that topic. OK -- see the Samba-3.0 HOWTO Collection! thanks for your help! - Alexander Cheers, Kurt -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 2.2.8 and NFS together?
Hi All, I have a rather unique (at least from reading the archives) situation that has me stumped, and I'm hoping the gurus can help. Here's my problem, I have a Solaris 2.8 server running Samba 2.2.8 which sits on two networks (no routing between networks). On one side of the Samba server are 100 PCs running a mix of Win95 and Win98 which have touch screens and no keyboards, that are used as CBT machines. These machines are only connected on this local lan and there are no domain controllers on that lan. These machines use NFS to attach disk from the Solaris Samba server. On the other side of the Samba server is the corporate network, where the CBT maintainers have their workstations. We are using Samba to serve disk to these maintenance PCs (which run NT4). The company's domain controllers are also on this segment. Now, here's the rub... If Samba daemons are running on the Samba server, then when the CBT machines, using NFS, attempt to attach to the disk on the Solaris Samba server, Samba catches the request for disk attachment and denies access. Stranger still, it only seems to affect the Win95 clients, and not the Win98 clients. I'm very puzzled and can find no reason why Samba would be picking up a request on the nfs port. My only thought is that somehow, the Win95 machines are attempting to use SMB instead of NFS, but we only see this problem when the Samba daemons are running. If Samba is shutdown on the server, then all CBT machines connect using NFS (as is correct). Here is a visual of the layout NT PCs Win95/Win98 PCs Samba Access NFS Access | | | Admin PC |---| --- | -- | | | | Solaris | |---| CBT PC | | | Server | | -- | | 1.Samba | | -- |-| 2.NFS |--|---| CBT PC | | --- | -- | Admin PC |---| | -- | | | |---| CBT PC | | | -- | | Domain Servers Of course, you might ask why we're doing something this crazy, why not just use one disk sharing method or the other. Well, I don't get to make those decisions, I just implement what is asked for. One reason for not using Samba on the CBT side is that we are using domain security and the CBT's can't see the domain controllers, and have generic userids that are not set up in the domain. On the Admin PC side we are requiring that all users accessing the server must be authenticated by the domain. In anycase, I'm having great difficulty in figuring out what is happening here. Any assistance would be most appreciated, and more info can be provided upon request (as I'm sure I've left something out that may/may not be important). TIA, Clarke Epperly [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] using pdbedit to convert smbpasswd to tdsam
Hi, When using this in migrating from 2.2, I get; no builtin nor plugin backend for tdsam found I havn't been looking at all of my news group emails so I probably missed this one. Bri- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba 2.27 as print server
Phillip M. Bryant wrote on Samba-Digest: [Samba] samba 2.27 as print server * To: * Subject: [Samba] samba 2.27 as print server * From: "Bryant, Phillip -AES" * Date: Thu, 23 Oct 2003 12:43:28 -0400 I'm running Samba 2.27 rather 2.2.7 on RH8 system. You should be telling us which print subsystem you have installed. CUPS? LPRng? Which version? I've got samba as the print spooler for Windows XP clients and using winbind as the user validation against my Win2K DC. Permissions on the spool directory are root root with the sticky bit on. Clients can delete their own jobs from the que, but the spool directory is not being expunged of print jobs and the last job constantly displays in the client que window. I have not been able to figure out how to resolve this as occasionally people freak out when they see older jobs in the print que and wonder if it is stuck. For whatever reason, the print process is unable to remove the print job from the spool directory after it is sent to the lpd process for printing. You should also be telling us, which smb.conf settings related to printing your Samba daemon is using. Try "testparm -v | egrep '(print|lp|enumport|driv|spool|\[|path)'" and hit "ENTER" twice It is well possible that you are using a customized "print command", and have forgotten to include a ";rm %s" at the end Cheers, Kurt Phillip M. Bryant ITT Industries, Advanced Engineering and Sciences Network Administrator Albuquerque, NM 87120 Ph 505-889-7016 Cell 505-385-8668 MCSE 2000, NT 4.0 MCP+I -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] additional groups
I have Samba3 ads working and I can use getent group. I am able to run with a blank smbpasswd file. I can enable a samba share with DOMAIN+goup1 has read access but write list = @DOMAIN+group2 does not work. I have to add the user names individually. Any ideas? Phil -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbclient -L xx.xx.xx.xx port 139 problem
Hi I am using smbclient 3.0.0. Linux version In the previous version 2.x.x: "smbclient -L xx.xx.xx.xx -p 445" will only send request to remote host through port 445, but not 139. But in 3.0.0 "smbclient -L xx.xx.xx.xx -p 445" will send request to remote host through port 445, and then port 139. The problem is I cannot subpress smbclient to send request to another machine throught port 139. And if port 139 of remote machine is closed, it takes a long time for connection timeout. Any suggestion or help please ? Keith Mok -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0: smbclient reporting wrong Server=[unix] string
host-A: 3.0.1pre1, Red Hat 7.3. (domain logons & domain master = yes) host-B: 3.0.1pre1, Red Hat 6.x host-C: 2.2.x, red Hat 6.x === On host-A smbclient cannot show correct version for same server's samba: smbclient -L host-A -d1 -Uunknown% | grep Domain [2003/10/24 16:36:38, 1] client/client.c:do_connect(2597) Domain=[WORKGROUP] OS=[Unix] Server=[Unix] <= [2003/10/24 16:36:38, 1] client/client.c:do_connect(2597) Domain=[WORKGROUP] OS=[Unix] Server=[Unix] < $ smbclient -L host-B -d1 -Uunknown%|grep Domain [2003/10/24 16:36:55, 1] client/client.c:do_connect(2597) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.1pre1-14.3E.gol] <== [2003/10/24 16:36:55, 1] client/client.c:do_connect(2597) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.1pre1-14.3E.gol] <== $ smbclient -L host-C -d1 -Uunknown%|grep Domain [2003/10/24 16:37:00, 1] client/client.c:do_connect(2597) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7a] <== [2003/10/24 16:37:01, 1] client/client.c:do_connect(2597) Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7a] <== $ === On host-C $ smbclient -L host-A -Uunknown% |grep Domain Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.0-14.3E.gol] <== $ = 1. why smbclient cannot show correct version? 2. why useful info (domain, version) was "declassed" to debug1 3. I'm thinking of editing source to put "Domain=..." at debug=0, am I right that i'd get that info twice? Thanks -- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Network path not found
Yep! -Original Message- From: Jason Balicki [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 11:23 AM To: 'Marc Drouin' Subject: RE: [Samba] Network path not found >Addind the line wins support = yes to smb.conf does not change anything. Just so I'm clear, you did add the wins server to the tcp/ip properties on the windows client machine, right? --J(K) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Advice needed for Samba 3 setup for multiple Linux boxes in established Win2k AD domain...
Thanks John, It was my understanding that Samba would not synchronize with Unix accounts, and as such presumed that winbind was the way to go, but on setting up a server using Samba 3.0.0-2 from either source or RPM I found that, whilst I could successfully add the server to the AD and groupmap an AD group to a local UNIX group, when I accessed the share from a win2k client logged in as a user within the mapped AD group I did not have access rights to the share. I have probably missed something in your HOW-TO which would enable me to access the share, any pointers would be helpful. Regards, Luke. -Original Message- From: John H Terpstra [mailto:[EMAIL PROTECTED] Sent: 24 October 2003 15:55 To: VR-Bug Support Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Advice needed for Samba 3 setup for multiple Linux boxes in established Win2k AD domain... On Fri, 24 Oct 2003, VR-Bug Support wrote: > > Hi all, > > I have the lucky task of being able to set-up a DEV environment for our > developers. We plan on using redhat 9 with Samba 3 and making each > server an AD domain member of an established Win2K domain. > > The advice I would like is the best way to implement this, I'd like to > hopefully leave the Win2K domain admins power to create users on the > Win2K domain, and automatically add users to the Linux Samba servers, if > it's possible. Samba does not do account synchronisation with UNIX. That would be a bad solution from an administrative perspective. Samba allows you to use NT4 domain, or Active Directory, accounts without requiring local /etc/passwd entries. Winbind is the tool that handles that. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] _ This e-mail and all attachments have been scanned by the HighSpeed Office virus scanning service powered by MessageLabs and no known viruses were detected. __ Any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of ENDEMOL UK plc unless specifically stated. This email and the information it contains are confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error please notify us immediately and delete the copy you have received from your system. You should not copy it for any purpose, re-transmit it, use it or disclose its contents to any other person. If you suspect the message may have been intercepted or amended please call the sender. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] help with samba 3.0 connect using winnt
Hi all I am trying to connect to a samba share on a Windows NT, using samba 3.0 running on a Solaris 9, will not let me connect, at time of trying to login this is the errors I will see in the samba log (my windows 2000 machines are able to connect) below find output testparm v Any help is greatly appreciate Eli #more log.winnt1 [2003/10/24 11:34:27, 3] smbd/process.c:process_smb(890) Transaction 1 of length 174 [2003/10/24 11:34:27, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 11344) [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [XENIX CORE] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [Windows for Workgroups 3.1a] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LM1.2X002] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN2.1] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [NT LM 0.12] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_nt1(323) not using SPNEGO [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(532) Selected protocol NT LM 0.12 [2003/10/24 11:34:27, 3] smbd/process.c:timeout_processing(1099) timeout_processing: End of file from client (client has disconnected). [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 2] smbd/server.c:exit_server(558) Closing connections [2003/10/24 11:34:27, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2003/10/24 11:34:27, 3] smbd/server.c:exit_server(601) Server exit (normal exit) [2003/10/24 11:34:27, 3] smbd/process.c:process_smb(890) Transaction 1 of length 174 [2003/10/24 11:34:27, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 11345) [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [XENIX CORE] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [Windows for Workgroups 3.1a] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LM1.2X002] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN2.1] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [NT LM 0.12] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_nt1(323) not using SPNEGO [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(532) Selected protocol NT LM 0.12 [2003/10/24 11:34:27, 3] smbd/process.c:timeout_processing(1099) timeout_processing: End of file from client (client has disconnected). [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 2] smbd/server.c:exit_server(558) Closing connections [2003/10/24 11:34:27, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2003/10/24 11:34:27, 3] smbd/server.c:exit_server(601) Server exit (normal exit) [2003/10/24 11:34:29, 3] smbd/process.c:process_smb(890) Transaction 1 of length 174 [2003/10/24 11:34:29, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 11346) [2003/10/24 11:34:29, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [XENIX CORE] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN1.0] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [Windows for Workgroups 3.1a] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LM1.2X002] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN2.1] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [NT LM 0.12] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_nt1(323) not using SPNEGO [2003/10/24 11:34:29, 3] smbd/negprot.c:repl
[Samba] help with samba 3.0 connect using winnt
Hi all I am trying to connect to a samba share on a Windows NT, using samba 3.0 running on a Solaris 9, will not let me connect, at time of trying to login this is the errors I will see in the samba log (my windows 2000 machines are able to connect) below find output testparm v Any help is greatly appreciate Eli #more log.winnt1 [2003/10/24 11:34:27, 3] smbd/process.c:process_smb(890) Transaction 1 of length 174 [2003/10/24 11:34:27, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 11344) [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [XENIX CORE] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [Windows for Workgroups 3.1a] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LM1.2X002] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN2.1] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [NT LM 0.12] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_nt1(323) not using SPNEGO [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(532) Selected protocol NT LM 0.12 [2003/10/24 11:34:27, 3] smbd/process.c:timeout_processing(1099) timeout_processing: End of file from client (client has disconnected). [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 2] smbd/server.c:exit_server(558) Closing connections [2003/10/24 11:34:27, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2003/10/24 11:34:27, 3] smbd/server.c:exit_server(601) Server exit (normal exit) [2003/10/24 11:34:27, 3] smbd/process.c:process_smb(890) Transaction 1 of length 174 [2003/10/24 11:34:27, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 11345) [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [XENIX CORE] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN1.0] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [Windows for Workgroups 3.1a] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LM1.2X002] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN2.1] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [NT LM 0.12] [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_nt1(323) not using SPNEGO [2003/10/24 11:34:27, 3] smbd/negprot.c:reply_negprot(532) Selected protocol NT LM 0.12 [2003/10/24 11:34:27, 3] smbd/process.c:timeout_processing(1099) timeout_processing: End of file from client (client has disconnected). [2003/10/24 11:34:27, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:27, 2] smbd/server.c:exit_server(558) Closing connections [2003/10/24 11:34:27, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2003/10/24 11:34:27, 3] smbd/server.c:exit_server(601) Server exit (normal exit) [2003/10/24 11:34:29, 3] smbd/process.c:process_smb(890) Transaction 1 of length 174 [2003/10/24 11:34:29, 3] smbd/process.c:switch_message(685) switch message SMBnegprot (pid 11346) [2003/10/24 11:34:29, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [PC NETWORK PROGRAM 1.0] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [XENIX CORE] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [MICROSOFT NETWORKS 1.03] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN1.0] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [Windows for Workgroups 3.1a] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LM1.2X002] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [LANMAN2.1] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_negprot(455) Requested protocol [NT LM 0.12] [2003/10/24 11:34:29, 3] smbd/negprot.c:reply_nt1(323) not using SPNEGO [2003/10/24 11:34:29, 3] smbd/negprot.c:repl
[Samba] Samba 3 and NT domain trusts
Hello, I am trying to establish a trust between a samba 3 PDC and a NT 4 server. I use ldapsam as the passwd backend. I have created the machine interdomain trust account, and have set up the trust on the NT4 domain, but when I run "net rpc trustdom establish domain" I get an error. /usr/local/samba/bin/net rpc trustdom establish cxront Password: [2003/10/23 13:06:19, 0] rpc_parse/parse_prs.c:prs_mem_get(529) prs_mem_get: reading data of size 4 would overrun buffer. [2003/10/23 13:06:19, 0] utils/net_rpc.c:rpc_trustdom_establish(1843) WksQueryInfo call failed. Any help would be appreciated. Thank you -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Advice for Samba on a TruCluster
Hello, I will have to install samba 3.0.0 on a TruCluster V5.1b. Have anybody some experience about it? Thanks Christian -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with German Umlauts
On Fri, 24 Oct 2003 17:32:16 +0200, "Sebastian" <[EMAIL PROTECTED]> wrote: >Following configuration i used before samba 3: > character set = ISO8859-1 > codepage = CP850 > >I could read an write files with umlauts from my Win2k Client. Doing an >ls at the linux console showed a ? (question mark) instead the umlaut, >but using mc (Midnight Commander) shows the right char. I was quite >happy with this setup. > >Now, with samba 3.0.0final-1 (from Debian/sarge), I tried this setup: > dos charset = CP850 > unix charset = ASCII > display charset = LOCALE Use unix charset = iso8859-1 display charset = iso8859-1 (don't know if locale is better) dos charset = cp850 -- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Missing "ISO8859-1.so" on Tru64Unix
It's working.. Thanks Christian -Original Message- From: Giulio Orsero [mailto:[EMAIL PROTECTED] Sent: vendredi, 24. octobre 2003 16:34 To: '[EMAIL PROTECTED]' Subject: Re: [Samba] Missing "ISO8859-1.so" on Tru64Unix On Fri, 24 Oct 2003 16:08:45 +0200, Kolly Christian <[EMAIL PROTECTED]> wrote: >I am testing Samba 3.0.0 on a Tru64Unix v 5.1b. I compile it with gcc et >gnumake. >I am able to start it and I can see a share. >Until now, I have only one problem: Logs are full of messages like > >"Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': dlopen: >Can't open needed library: /usr/local/samba/lib/charset/ISO8859-1.so" >In fact, I don't find any file "ISO8859-1*" in installed or source >directory. Samba does not ship charset anymore but for cp850/437. So, either configure didn't pick up your conv libraries or you don't have suitable conv libraries. Look at config.log for string "iconv". In my case, while a Red Hat 7.3 install worked out of the box (new glibc with conversions routines), for an old Red Hat 6.1 (old glibc) I had to compile libiconv http://www.gnu.org/software/libiconv/, recompile samba to make it link against it, and then I solved my problems. -- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] pam_smbpass can't find password database
Hello Sorry for disturbing again. It looks like I must pass lot of compilation issues to force pam_smbpass working. And I don't believe, that nobody faced same problems as I do, because I am using quite trivial configuration without success, so maybes somebody can share experience with pam_smbpass under Solaris or help me identify what's wrong with it ? So finally I wrote my own pam authentication module to check how pam_smbpass really works. I see no problems no with module load as in my previous letter(well, only with this my program, not with telnetd or ftpd). But now I found another problem. In syslog file I see : Oct 24 17:26:37 local PAM_smbpass[13820]: [ID 743889 auth.debug] username [a0796999] obtained Oct 24 17:26:37 local PAM_smbpass[13820]: [ID 772098 auth.alert] Cannot access samba password database And I have no idea why. Truss output show : 13821: write(8, " O c t 2 4 1 7 : 2 6".., 66) = 66 13821: close(8)= 0 13821: _exit(0) 13820: waitid(P_PID, 13821, 0xFFBEEEA8, 0403 ) = 0 13820: sigprocmask(SIG_SETMASK, 0xFFBEEF8C, 0x) = 0 13820: fstat(3, 0xFFBEFA70)= 0 13820: close(3)= 0 13820: sigaction(SIGPIPE, 0xFFBEFA98, 0xFFBEFB1C) = 0 13820: time() = 1067009197 13820: umask(022) = 022 13820: open64("", O_WRONLY|O_APPEND|O_CREAT, 0644) Err#2 ENOENT 13820: umask(022) = 022 13820: umask(022) = 022 13820: open64("", O_WRONLY|O_APPEND|O_CREAT, 0644) Err#2 ENOENT 13820: umask(022) = 022 13820: fstat(-1, 0xFFBEFA70) Err#9 EBADF 13820: fstat(-1, 0xFFBEEEA0) Err#9 EBADF 13820: open("/dev/conslog", O_WRONLY) = 3 13820: fcntl(3, F_SETFD, 0x0001) = 0 13820: fstat(3, 0xFFBEEEA0)= 0 13820: fstat(3, 0xFFBEF900)= 0 13820: time() = 1067009197 13820: getpid()= 13820 [13819] 13820: putmsg(3, 0xFFBEEFB8, 0xFFBEEFAC, 0)= 0 13820: open("/var/run/syslog_door", O_RDONLY) Err#2 ENOENT 13820: sigprocmask(SIG_BLOCK, 0xFFBEEF9C, 0xFFBEEF8C) = 0 13820: fork() = 13823 13823: fork() (returning as child ...)= 13820 13823: sigaction(SIGALRM, 0xFFBEEE68, 0xFFB8) = 0 13823: sigprocmask(SIG_BLOCK, 0x, 0xFFBEEF9C) = 0 13823: sigprocmask(SIG_SETMASK, 0xFFBEEF9C, 0x) = 0 13823: alarm(5)= 0 13823: open("/dev/sysmsg", O_WRONLY) = 8 13823: alarm(0)= 5 13823: write(8, " O c t 2 4 1 7 : 2 6".., 75) = 75 pam_smbpass tries to open file with empty file name : open64("", O_WRONLY|O_APPEND|O_CREAT, 0644). No surprise, that it returns error about problem to open this file. Strings in pam module show correct filename for smbpasswd : # strings /usr/lib/security/pam_smbpass.so | grep "private/smbpasswd" /opt/local/samba/private/smbpasswd File smbpasswd exists on system. smbpasswd (compiled together with pam_smbpass) command works without problems : # ./smbpasswd -a martynas New SMB password: Retype new SMB password: # ls -al /opt/local/samba/private/smbpasswd -rw--- 1 root other108 Oct 24 17:34 /opt/local/samba/private/smbpasswd What can be wrong ? Thank you in advance for your help. With best regards Martynas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with German Umlauts
Hi @all... Following configuration i used before samba 3: character set = ISO8859-1 codepage = CP850 I could read an write files with umlauts from my Win2k Client. Doing an ls at the linux console showed a ? (question mark) instead the umlaut, but using mc (Midnight Commander) shows the right char. I was quite happy with this setup. Now, with samba 3.0.0final-1 (from Debian/sarge), I tried this setup: dos charset = CP850 unix charset = ASCII display charset = LOCALE The Windows Explorer shows the filenames correctly, with the umlauts, but when i try to open such a file oder change to such a diretry it says it doesn't exists. So i tried unix charset = CP850, which showed me strange ACSII chars instead of the Umlauts in Windows Explorer, but I was able to open the files correctly. I also tried unix charset = UTF8, but this got the filenames cut off at the first umlaut in Windows Explorer. I think the first setup, unix charset = ASCII, is the right one, but i was unable to figure out, why i can't open the files. Any suggestions? Greets Sebastian. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] re: re: Samba 2.27 as print server
Doug, Yes, I am using LPRNG and will give a look at my config. I've got 9 printers, 5 Laser Jets and 4 Ink jets. How did you associate the Lexmark driver with your samba printer? Did you do it through the gui view of the samba servers print admin or did you associate it through the rpcclient command? Same question goes for how did you install the driver. Did you install the driver from a workstation or from a win2k server resource cd or from a Win2K server? Also, do you have the W32X86 directory created and shared as print$? Date: Thu, 23 Oct 2003 12:48:37 -0500 From: "Robert" <[EMAIL PROTECTED]> Subject: [Samba] Re: samba 2.27 as print server To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> If you are using lprng, you can add ":done_jobs=0:\" option to your printer's /etc/printcap entry. To delete the jobs, use the "-r" option for the printer's print command. The done_jobs option removes the "printed" jobs from the printer status whereas the -r deletes the spooled jobs. Since it looks like you got your printers working, can you look at my problem? I have a samba server and am trying to get printers to work with XP and 2k clients. 9x clients work just fine. My problem is at http://lists.samba.org/archive/samba/msg73196.html. I would really appreciate if you tell me how you got your setup working. What kind of printers do you have? Thanks in advance. Bob. "Bryant, Phillip -AES" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] om.. -- Message: 28 Date: Thu, 23 Oct 2003 10:46:11 -0700 From: Douglas Phillipson <[EMAIL PROTECTED]> Subject: [Samba] Should I use Winbind if my DC is Samba? To: [EMAIL PROTECTED] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii; format=flowed Should I use winbind if my Domain Controller is a samba machine? Or is it only useful if my DC is a real MS DC? Regards Doug P Phillip M. Bryant ITT Industries, Advanced Engineering and Sciences Network Administrator Albuquerque, NM 87120 Ph 505-889-7016 Cell 505-385-8668 MCSE 2000, NT 4.0 MCP+I This email and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of ITT Industries, Inc. The recipient should check this email and any attachments for the presence of viruses. ITT Industries accepts no liability for any damage caused by any virus transmitted by this email. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Automatic printer driver update with SAMBA 3
Hi all, I would like to use the automatic printer driver update fonctionnality of Win$. AFAIK if I update a printer driver on the SAMBA server, then Win$ client is not automatically updated when using the printer. It does work if the driver is located on a Win$ server. Does anybody use such a config? Is there any SAMBA patch or config available for such a functionality? thx by advance, regards -- Pierre FICHEUX -/- CTO Open Wide, France -\- [EMAIL PROTECTED] http://www.ficheux.com http://www.emulateur-xtel.org More fun, more freedom, less Micro$oft -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Network path not found
Yes, both services are running. When I added wins supprot = yes to smb.conf, two process were created. Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nick THOMPSON Sent: Friday, October 24, 2003 10:02 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] Network path not found Are you running both smbd and nmbd? nmbd handles the netbios queries. On Fri, 2003-10-24 at 14:33, Marc Drouin wrote: > Hi group > > I have been toying with samaba for a while now and I only manage to get it > to work haphasardly. > > The problem I have is I cannot see the shares i have created on the Samba > machine, I get a Network path not found message. > > Here is what I have so far: > > 1. Samba installed and running. Share have been created. Samba macchine > is named Linux > > 2. On the samba machine, smbclient -L Linux returns the shares I have > created. > > 3. However, the command net view Linux or net use \\linux\tmp on any other > win machine returns "network path not found". > > 4. Also, the command nmblookup Linux on the samba machine returns > "name_query has not found name Linux" but nmblookup Winmachine retruns the > IP of that machine. -- Nick THOMPSON <[EMAIL PROTECTED]> Agere Systems -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Network path not found
>From the windows machine I have tried NET USE \\192.168.1.22\tmp and NET VIEW 192.168.1.22 with the same result wihch leaves very perplexed. I have tried pinging the samba machine. I can ping the adress with success but pinging the name (Linux) does not work. Addind the line wins support = yes to smb.conf does not change anything. Marc -Original Message- From: Jason Balicki [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 9:55 AM To: 'Marc Drouin' Subject: RE: [Samba] Network path not found You have a name resolution error (obviously). First, try accessing the share from the Windows machines using the ip, ex: \\192.168.1.34\sharename and see if that works (dollars to doughnuts it does...) A resolution (but not the only one) would be to turn on wins serving in your smb.conf, and then point your windows workstations to your Samba server to get wins information. Alternately, if you already have a wins server on the network, point your Linux box at it. Add: wins support = yes to your smb.conf to turn on the Samba wins server. Brodcast resolution (which you're using now) should be working, however, regardless of the status of wins, unless you've entered a wins server in the clients and don't have it on on the server. HTH, --J(K) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] A workstation w2k is into domain samba3+ldap but during login, it fail.
On Fri, 24 Oct 2003, suppressor_g3 wrote: > Hello all, > > A workstation w2k is into samba domain, but during > login, it fail. But in the samba server logs this user > auth in the w2k with success, no error return. And don´t > login. Sorry. You will need to provide much more information that this if you want help from this list. Debug logs are needed, configuration information is needed, and so on. Have you read the Samba-HOWTO-Collection.pdf chapter "Domain Control"? You can obtain it from http://samba.org/~jht/HOWTO/Samba-HOWTO-Collection.pdf - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Advice needed for Samba 3 setup for multiple Linux boxes in established Win2k AD domain...
On Fri, 24 Oct 2003, VR-Bug Support wrote: > > Hi all, > > I have the lucky task of being able to set-up a DEV environment for our > developers. We plan on using redhat 9 with Samba 3 and making each > server an AD domain member of an established Win2K domain. > > The advice I would like is the best way to implement this, I'd like to > hopefully leave the Win2K domain admins power to create users on the > Win2K domain, and automatically add users to the Linux Samba servers, if > it's possible. Samba does not do account synchronisation with UNIX. That would be a bad solution from an administrative perspective. Samba allows you to use NT4 domain, or Active Directory, accounts without requiring local /etc/passwd entries. Winbind is the tool that handles that. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Need to install samba with winbind & ntlm support from source
hello, i need to install samba with winbind and ntlm support. i.e --with-winbind --with-winbind-auth-challenge (needed for ntlm) The problem is i run the installion as expected. 1. ./configure -- . 2. make 3. make install. yest samba does not seem installed. is there something i am not doing right. can someone please help. if possible. i could appreciate an RPM of samba with these option compiled in. i will stll like to know where i am missing the point. i will also have this problem with squid since i will need to enable : --enable-auth="ntlm,basic" --enable-basic-auth-helpers="winbind" --enable-ntlm-auth-helpers="winbind" Thanks alot guys. i thinks the problem is really with installing from source vs rpm and not the samba or squid bit. as a contribution, i noticed that my squid fails unpredictibly when i had an incorrect static route on my route list. i had a static route to another subnet within my network. it had the default gateway wrong. squid just fails to resolve through the internet gateway when this happens. i eventually sorted that out after spending half of the day. i just wonder y it does not happen immediately. Thanks guys. **Disclaimer This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify NAL BAnk Plc on [EMAIL PROTECTED] This message contains confidential information and is intended only for the individual named. Dear [EMAIL PROTECTED], our products and services are listed below. Optima: Maxiyield: Frontier Funds: For further details contact [EMAIL PROTECTED] First Bank Right Issues: Please claim your First Bank right issues on or before 25th November at any NAL Bank office nation wide. For further details contact, [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Missing "ISO8859-1.so" on Tru64Unix
On Fri, 24 Oct 2003 16:08:45 +0200, Kolly Christian <[EMAIL PROTECTED]> wrote: >I am testing Samba 3.0.0 on a Tru64Unix v 5.1b. I compile it with gcc et >gnumake. >I am able to start it and I can see a share. >Until now, I have only one problem: Logs are full of messages like > >"Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': dlopen: >Can't open needed library: /usr/local/samba/lib/charset/ISO8859-1.so" >In fact, I don't find any file "ISO8859-1*" in installed or source >directory. Samba does not ship charset anymore but for cp850/437. So, either configure didn't pick up your conv libraries or you don't have suitable conv libraries. Look at config.log for string "iconv". In my case, while a Red Hat 7.3 install worked out of the box (new glibc with conversions routines), for an old Red Hat 6.1 (old glibc) I had to compile libiconv http://www.gnu.org/software/libiconv/, recompile samba to make it link against it, and then I solved my problems. -- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.1pre1 broke my 'valid users' on one share
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | Before updating to 3.0.1pre1, the following smb.conf worked. | Now when users try to hit the [broke] share they are denied access. | Winbind has no problem finding the users and groups for the domain. | I've verified filesystem permissions, "Domain Users" have full RW access. | I do not seeing anything coming across my smbd log files. Try setting "winbindd use default domain = no" and let me know. (Have I said how much I hate that parameter today?). cheers, jerry ~ -- ~ Hewlett-Packard- http://www.hp.com ~ SAMBA Team -- http://www.samba.org ~ GnuPG Key http://www.plainjoe.org/gpg_public.asc ~ "You can never go home again, Oatman, but I guess you can shop there." ~--John Cusack - "Grosse Point Blank" (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/mTO4IR7qMdg1EfYRAmOvAJwIlv4Vr3sW7KeYgyAe5f5zEK8zOACgpsHx KJXjdlsqjHDCPDDiew+lvpo= =rPp2 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Missing "ISO8859-1.so" on Tru64Unix
Hello, I am testing Samba 3.0.0 on a Tru64Unix v 5.1b. I compile it with gcc et gnumake. I am able to start it and I can see a share. Until now, I have only one problem: Logs are full of messages like "Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': dlopen: Can't open needed library: /usr/local/samba/lib/charset/ISO8859-1.so" In fact, I don't find any file "ISO8859-1*" in installed or source directory. Any suggestion? Thanks Christian -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Network path not found
Are you running both smbd and nmbd? nmbd handles the netbios queries. On Fri, 2003-10-24 at 14:33, Marc Drouin wrote: > Hi group > > I have been toying with samaba for a while now and I only manage to get it > to work haphasardly. > > The problem I have is I cannot see the shares i have created on the Samba > machine, I get a Network path not found message. > > Here is what I have so far: > > 1. Samba installed and running. Share have been created. Samba macchine > is named Linux > > 2. On the samba machine, smbclient -L Linux returns the shares I have > created. > > 3. However, the command net view Linux or net use \\linux\tmp on any other > win machine returns "network path not found". > > 4. Also, the command nmblookup Linux on the samba machine returns > "name_query has not found name Linux" but nmblookup Winmachine retruns the > IP of that machine. -- Nick THOMPSON <[EMAIL PROTECTED]> Agere Systems -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] security=domain problem
Not even close. I do not want to use 'security = server'. The samba documentation says that 'security=server' is a Bad Idea(tm) plus when I do use 'security=server', it's not robust enough to work over a WAN, and finally, 'security=server' isn't a supported samba configuration for the product I'm using it for (ClearCase.) 'security=user' works well, but 'security = domain' does not. I really want to use 'security=domain' to avoid the password synchronization headaches of 'security=user'. -Original Message- From: tsvi [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:37 AM To: [EMAIL PROTECTED] Subject: RE: [Samba] security=domain problem Hi Andrew i think security = server password server = "name_of_password_server" will get you there tsvi -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Network path not found
Hi group I have been toying with samaba for a while now and I only manage to get it to work haphasardly. The problem I have is I cannot see the shares i have created on the Samba machine, I get a Network path not found message. Here is what I have so far: 1. Samba installed and running. Share have been created. Samba macchine is named Linux 2. On the samba machine, smbclient -L Linux returns the shares I have created. 3. However, the command net view Linux or net use \\linux\tmp on any other win machine returns "network path not found". 4. Also, the command nmblookup Linux on the samba machine returns "name_query has not found name Linux" but nmblookup Winmachine retruns the IP of that machine. To help you, here is the set up I have: - windows network - PDC is a win2000 pro machine, also DHCP server smb.conf file looks somewhat like this: [global] netbios name = Linux workgroup = myworkgroup encrypt passwords = yes security = share guest = ftp [public] path = /tmp public = yes guest ok = yes guest only = yes browseable = yes read only = no Can anyone help me with this problemm. I have tried the trouble shooting from the o'reily book and it seems that I have a netbios name "recongnition" problem that is not covered in the o'reily book. The only thing I have not looked at is the password issues. Sonce I'm not restricting access to my share I did not think it was necessary. Thanks all, Marc -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] A workstation w2k is into domain samba3+ldap but during login, it fail.
Hello all, A workstation w2k is into samba domain, but during login, it fail. But in the samba server logs this user auth in the w2k with success, no error return. And don´t login. Thanks Suppressor_g3 __ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - É grátis! http://antipopup.uol.com.br/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] pam_smbpass on Solaris box
Hello Is somebody using pam_smbpass from 3.0.0 under Solaris 8 ? I would like to know how it was compiled in case when pam_smbpass is working under Solaris 8. Or maybe somebody can help me identify why this module is not working on my test machine ? Thank you in advance for your help. With best regards Martynas - Original Message - From: Martynas Buozis To: [EMAIL PROTECTED] Sent: Thursday, October 23, 2003 12:31 PM Subject: pam_smbpass on Solaris box Hello I decided to test password migration (on Solaris 8 box with SUNWspro C) and built samba with pam_smbpass module : CC=cc ./configure --prefix=/opt/local/samba --with-acl-support --with-pam --with-pam_smbpass Then installed bin/pam_smbpass.so in /usr/lib/security : # ls -al /usr/lib/security/pam_smbpass.so -rwxr-xr-x 1 root sys 2091380 Oct 23 11:01 /usr/lib/security/pam_smbpass.so Changed /etc/pam.conf : other auth sufficient /usr/lib/security/$ISA/pam_unix.so.1 other auth requisite /usr/lib/security/$ISA/pam_krb5.so.1 use_first_pass other auth optional /usr/lib/security/$ISA/pam_smbpass.so migrate And found, that PAM authentication it is not working at all (none of passwords are accepted). In syslog messages I see two messages for every session (for example - telnet) : Oct 23 12:00:22 local login: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_smbpass.so Oct 23 12:00:31 local login: [ID 487707 auth.error] load_modules: can not open module /usr/lib/security/pam_smbpass.so In truss output I see this : 9662: stat64("/usr/lib/security/pam_smbpass.so", 0xFFBEFAB8) = 0 9662: stat("/usr/lib/security/pam_smbpass.so", 0xFFBEF3F4) = 0 9662: open("/usr/lib/security/pam_smbpass.so", O_RDONLY) = 3 9662: fstat(3, 0xFFBEF3F4)= 0 9662: mmap(0x, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF03 9662: mmap(0x, 1392640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFED0 9662: mmap(0xFEE36000, 62088, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 1204224) = 0xFEE36000 9662: mmap(0xFEE46000, 49716, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEE46000 9662: munmap(0xFEE28000, 57344) = 0 9662: munmap(0xFEE54000, -8192) Err#22 EINVAL 9662: memcntl(0xFED0, 277476, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 9662: close(3) and later : 9662: stat64("/usr/lib/security/pam_smbpass.so", 0xFFBEFB28) = 0 9662: stat("/usr/lib/security/pam_smbpass.so", 0xFFBEF464) = 0 9662: open("/usr/lib/security/pam_smbpass.so", O_RDONLY) = 6 9662: fstat(6, 0xFFBEF464)= 0 9662: mmap(0x, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0xFF03 9662: mmap(0x, 1392640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0xFEC8 9662: mmap(0xFEDB6000, 62088, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 6, 1204224) = 0xFEDB6000 9662: mmap(0xFEDC6000, 49716, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFEDC6000 9662: munmap(0xFEDA8000, 57344) = 0 9662: munmap(0xFEDD4000, -8192) Err#22 EINVAL 9662: memcntl(0xFEC8, 277476, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 9662: close(6) Whole telnet session look like this : $ telnet testhost Trying aaa.bbb.ccc.ddd... Connected to testhost. Escape character is '^]'. testhost Login incorrect login: martynas Password: Connection closed by foreign host. $ Without pam_smbpass.so line in /etc/pam.conf session look like this : $ telnet testhost Trying aaa.bbb.ccc.ddd... Connected to testhost. Escape character is '^]'. testhost login: martynas Password: Last login: Thu Oct 23 12:26:21 from aaa.bbb.ccc.ddd $ Please note, that in first session there is "Login incorrect\n" in usual prompt "testhost login". Google and samba list archives gave no tip about what can be wrong. Any ideas ? Thank you for response in advance. With best regards Martynas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Advice needed for Samba 3 setup for multiple Linux boxes in established Win2k AD domain...
Hi all, I have the lucky task of being able to set-up a DEV environment for our developers. We plan on using redhat 9 with Samba 3 and making each server an AD domain member of an established Win2K domain. The advice I would like is the best way to implement this, I'd like to hopefully leave the Win2K domain admins power to create users on the Win2K domain, and automatically add users to the Linux Samba servers, if it's possible. All thoughts appreciated. Regards, Luke. __ Any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of ENDEMOL UK plc unless specifically stated. This email and the information it contains are confidential and intended solely for the use of the individual or entity to which it is addressed. If you have received this email in error please notify us immediately and delete the copy you have received from your system. You should not copy it for any purpose, re-transmit it, use it or disclose its contents to any other person. If you suspect the message may have been intercepted or amended please call the sender. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.0 on Solaris 8 10/00
Hi, I have finally sucessfully compiled Samba 3.0.0 to run on Solaris 8 and am currently testing it. I have now no errors in the any of the logs, the server has been added to the Windows-NT domain. The test shares are accessible but not via browsing. In the Windows NT Server Manager display, the machine is identified as a Windows workstation or Server (while other earlier versions of samba are clearly identified as Windows NT 4.9 server (Samba 2.2.7a, 2.2.8). The smb.conf is as follows # Samba config file created using SWAT # Date: 2003/10/24 10:33:06 # Global parameters [global] workgroup = FLO-PC security = DOMAIN ldap ssl = no create mask = 0777 directory mask = 0777 nt acl support = No [tmp] path = /tmp read only = No sync always = Yes I have run though the tests and they work, but one entry in the browser list. -- Regards Russell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] three smbpasswd
Hi, I have 3 server samba in my work (2 soliars, 1 linux) , working with "NIS". When I change the password of an user, I need to copy the file "smbpasswd" to other 2 server. ( I don´t have domain in samba (PDC , BDC, ...), only simple configuration!). Is it possible an samba work as server login of other samba? How? [global] workgroup = COMAU server string = Comau do Brasil security = user encrypt passwords = Yes unix password sync = Yes log file = /usr/local/samba/var/log/log.%m max log size = 1000 comment = SAMBA %v valid users = pablo @pablo invalid users = root @root @sys create mask = 0777 force create mode = 0777 directory mask = 0777 hosts allow = 192.10.150. browseable = No hide dot files = yes [processo] comment = usuario restritos processo path = /usr/processo writeable = Yes create mask = 0777 force create mode = 0777 directory mask = 0777 browseable = No valid users = @processo , Atenciosamente Alexandre Salomé Comau System _ Sistemas Engenharia tel: 0055 031 2123 6533 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Printing banner pages
> In Samba 3.0.0 (may be in earlier versions too) if I specify > printing = cups > printcap name = cups > then manually set "print command" is ignored. > Well, without print command how can I force the printer > to print banner page every time job is sent? Does simply enabling CUPS banners on the queue not work? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] solution to domain reboot problem
> I had a problem with rebooting XP and joining the samba domain, which was > controlled by my gentoo linux box. I worked for days > for a solution, and found it > The problem was that I could join the domain fine, but had to reboot, and then > found i was rejected from joining then. It appeared like the domain was > invisible to the XP box. > I pulled my hair out, scoured the web unsuccessfully, then stumbled upon this > solution, using the log files from samba. I found that it was rejecting the > user 'smbguest' as not existing. None of the HOWTO's mention this importatn > fact, a testament to how shitty linux people are at documenting EXACTLY what > needs to be done, in general. The fact that your guest account actually needs to exist *IS* mentioned in the documentation at least twice. "smbguest" happens to be the guest account in your default configuration files, and doesn't exist on your distro; which would be your distro's fault if your using their packages. man smb.conf - guest account (G,S) This is a username which will be used for access to services which are specified as guest ok (see below). Whatever privileges this user has will be available to any client connecting to the guest service. Typically this user will exist in the password file, but will not have a valid login. The user account "ftp" is often a good choice for this parameter. If a username is specified in a given service, the specified username overrides this one. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] directory sharing
Hi, Do you have any "directory sharing" program that lets a distributed machine look at files on the mainframe (MVS for example)? Thanks, Best Regards, Yuval Tenenbaum AM Support CSO --- Mercury Interactive, The Global Leader in Business Technology Optimization --- Mercury Interactive (UK) Ltd 410 Frimley Business Park Camberley, Surrey GU16 7ST Phone: +44 (0)1276 808300 --- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ADS Member Fileserver
Hello, Maybe I understand it in a wrong way. I want to set up a Samba Server as a ADS Member. The Server should work as a File Server. So far it works. Samba is Member in ADS (join OK). If I kinit on Samba Maschine I get my Ticket. From a Windows Client I now can Access to the Samba Server without any Problem. But that is not the way Users will conncet. I want to create a share on the Samba machine and give one ADS Group (not User) the permissions to access the Share. As far as I understand ADS Ticket system in this case the samba server should match the group tickets. But how does Samba get this? Login with Netbios is OK (valid users = @DOMAIN+groupname), but this is not the way ADS goes - and it is quit slowly. Do I want to much or is it possible to establish such a configuration with actual samba implementation? Any suggestions? TIA Ralf -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] netbios name not found on clients
I've been using Samba for years, though I'm still no expert, and this one has me stumped: I have just upgraded from Mandrake9.1->9.2 which changes from Samba 2.2.7a to 2.2.8a. I am using the same smb.conf file (see below). I can still mount shares okay (though I do have a printing issue I haven't looked at yet) but only by ip address. e.g \\10.0.0.3\nick works but \\ratbert\nick does not. (BTW I'm using an Ethernet) On the Linux box: [EMAIL PROTECTED] nick]$ nmblookup -M - querying __MSBROWSE__ on 10.0.0.255 10.0.0.3 __MSBROWSE__<01> 10.0.0.3 __MSBROWSE__<01> [EMAIL PROTECTED] nick]$ nmblookup ratbert querying ratbert on 10.0.0.255 10.0.0.3 ratbert<00> 10.0.0.3 ratbert<00> [EMAIL PROTECTED] nick]$ nmblookup HOME querying HOME on 10.0.0.255 10.0.0.3 HOME<00> 10.0.0.3 HOME<00> [EMAIL PROTECTED] nick]$ smbclient //ratbert/nick added interface ip=10.0.0.3 bcast=10.0.0.255 nmask=255.255.255.0 Password: Domain=[HOME] OS=[Unix] Server=[Samba 2.2.8a] smb: \> No problems there. Both smbd and nmbd are running. log.nmbd says: Samba name server RATBERT is now a local master browser for workgroup HOME on subnet 10.0.0.3 So how come I can't use the netbios name from my Win98 box any more? Thanks, Nick. [global] netbios name = RATBERT workgroup = HOME server string = Samba Server %v encrypt passwords = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups dns proxy = No printer admin = @adm printing = cups security = user [homes] comment = Home Directories read only = No browseable = No -- Nick THOMPSON <[EMAIL PROTECTED]> Agere Systems -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba