[gentoo-user] Samba
Hi guys, here i am again... Today i was trying to configure a samba server to communicate with my grandfather's' laptop (running windows ME), so, ive merged samba, and follows some intructions i have read in a book, so, i ve tested it with $ smbclient //localhost/wine and it works... but, when i try to acces this directory by windows, i cant... it finds my computer, but do not find the "wine" share... Someone knows what should i do? Thanks... Bruno Gola -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba
I keep getting this error, error libsmb programs must not be setuid root? This after upgrading samba. The config seems alright, I just can't mount any shares due to this error. Mike -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.11-ck8 | Win4Lin 5-1-20 netraverse.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba !
Good morning ( in brazil ) guys :-) I know that here is not the best place to ask this, but i dont know where to find information about my dout. I have a machine running linux, and i'm authenticating in a windows 2000 domain (Active directory) using samba, winbind and kerberos. What i need to know is if there is a way of making some other machines authenticate in this machine, and this machine will ask the password for the windows 2000 domain (only for some users, and the user need to be in the /etc/passwd). Let me explain: i have a user 'bob' that is not a user in the domain, but it has your username and password on my linux machine, so he can authenticate. I have a user bgola who has the username on the AD and on the linux machine, but the password isnt on the linux machine, only on the AD. He can authenticate too. Resuming: my linux machine will use the username database from its own but the password database from its own AND from the AD. Does anyone know if its possible? I saw something about password server @ the smb.conf but i dont have ideia of how it works. Thanks any awnser and sorry my bad english, i'm trying to learn :-)! Bruno Gola -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba/Iconv
Hi, I have some problem with accessing samba shares from my gentoo box. I'm not sure if the issue above is related to this, but do you have any idea how can I avoid these annoying error messages? /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Attempting to replace with conversion from ASCII to ASCII /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Conversion from UTF-16LE to 1255 not supported /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Attempting to replace with conversion from UTF-16LE to ASCII /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Conversion from UTF-8 to 1255 not supported /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Attempting to replace with conversion from ASCII to ASCII /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Conversion from UTF-8 to 1255 not supported /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Attempting to replace with conversion from ASCII to ASCII /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Conversion from 1255 to UTF-16LE not supported /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Attempting to replace with conversion from ASCII to UTF-16LE /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Conversion from 1255 to UTF-8 not supported /var/log/messages:Nov 29 11:07:53 brutal net: init_iconv: Attempting to replace with conversion from ASCII to ASCII brutal ~ # I was searching google for hours but I can't find a solution Thank you Laszlo
[gentoo-user] Samba-3.3.7
samab-3.3.7 just hit the tree. To prevent a spate of "I get these blockers" mails, herewith a short howot. Hopefully it will get read. Samba-3.3.7 is a meta package that installs -libs, -client and -server packages instead of one huge monolothic samba package. Recent portage is smart enough to figure out what to do, except it can't deal with the blocker on cifs-mount. You don't need cifs-mount, that now comes with samba-client. Do this: emerge -avC cifs-mount emerge samba There's lots of USE flags to play with :-) -- alan dot mckinnon at gmail dot com
[gentoo-user] samba problem
Hi, After installing samba with conf. attached below, I connected from XP Home ed. I can browse the directory public, but when I tried to copy some files in public to my local XP directory, it failed with 'wrong network path'. What happened? /etc/samba/smb.conf [global] workgroup = WORKGROUPserver string = Samba Server %v log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = lo ath0 bind interfaces only = yes security = share guest account = samba guest ok = yes[public] comment = Public Files browseable = yes public = yes create mode = 0766 guest ok = yes path = /home/samba/public Thanks -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba problems
Hi to everyone I have upgraded my gentoo system (emerge -Du system) and I included an upgrade even of GCC and other basic system programs. Now I have a problem with samba: /etc/init.d/samba start * samba -> start: smbd ... /usr/sbin/smbd: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory [ !! ] * samba -> start: nmbd ... /usr/sbin/nmbd: error while loading shared libraries: libcom_err.so.3: cannot open shared object file: No such file or directory [ !! ] * Error: stopping services (see system logs) * samba -> stop: smbd ... [ !! ] * samba -> stop: nmbd ... [ !! ] Does anyone of you know this problem and can help me to solve it? I have searched on system logs, but I found nothing... Thanks Mauro -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba patching?
how do we gentoo-users handle CVE-2017-7494 ?
Re: [gentoo-user] samba
Michael W. Holdeman wrote: I keep getting this error, error libsmb programs must not be setuid root? This after upgrading samba. The config seems alright, I just can't mount any shares due to this error. Mike Check out the Gentoo forums. I had this same problem and found a fix there. -- Edward A Mihalow Jr Gentoo!Linux Registered Linux User#225662 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba !
On 6 Jan 2006, at 12:32, brunogola wrote: I have a machine running linux, and i'm authenticating in a windows 2000 domain (Active directory) using samba, winbind and kerberos. Hi there, I've done some of this recently, and I don't think you need active directory, winbind AND kerberos. My understanding is that all three are separate mechanisms for authenticating *nix users against a Windows domain. Active directory is MS's name for LDAP, so if you use that then your applications would be compiled using the LDAP USE flag & would treat the MS server as an LDAP server. I don't believe its schema's are terribly good for *nix users - I use Winbind, which uses PAM to appear part of the local authentication process and pass these on to the Windows DC. What i need to know is if there is a way of making some other machines authenticate in this machine, and this machine will ask the password for the windows 2000 domain (only for some users, and the user need to be in the /etc/passwd). It would be helpful if you gave an example of which programs / services on which machines (A, B and C??) you need to be able authenticate in this way. Let me explain: i have a user 'bob' that is not a user in the domain, but it has your username and password on my linux machine, so he can authenticate. I have a user bgola who has the username on the AD and on the linux machine, but the password isnt on the linux machine, only on the AD. He can authenticate too. Resuming: my linux machine will use the username database from its own but the password database from its own AND from the AD. I believe that in this situation it would be unusual to give the bgola a username on the Linux machine - he has one on the AD, so if you use Winbind then he doesn't need one on the Linux box. He can have a homedir, since he may need to store files on the Linux box, but that's not the same, I think, as having an account. For instance on my Linux/Winbind machine on an AD: $ getent passwd | grep -e stroller -e ned stroller:x:1000:100::/home/stroller:/bin/bash ned:x:10012:1:Some Geezer:/home/DOMAIN/ned:/bin/false $ grep -e stroller -e ned /etc/passwd stroller:x:1000:100::/home/stroller:/bin/bash $ ls -ld ~stroller ~ned drwxr-xr-x 3 ned domain users 160 Jan 6 06:32 /home/DOMAIN/ned drwxr-xr-x 5 stroller users272 Jan 6 03:58 /home/stroller Both users can authenticate, depending on how the /etc/pam.d/ the_authenticating_service is set up. I use pam_mkhomedir.so to create a home directory for any users authenticating via Winbind, but beware this only works for services which call PAM "session" directives. I used this guide to set it all up: http://www.samba.org/samba/docs/ man/Samba-HOWTO-Collection/winbind.html#id2621482 Please CC me should you reply to the list with further questions, Stroller. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba !
Thanks for your help, i'll try to explain a little better what i've already have and what i wanna do :-) > > On 6 Jan 2006, at 12:32, brunogola wrote: > > > > I have a machine running linux, and i'm authenticating in a > > windows 2000 domain (Active directory) using > > samba, winbind and kerberos. > > Hi there, > > I've done some of this recently, and I don't think you need active > directory, winbind AND kerberos. My understanding is that all three > are separate mechanisms for authenticating *nix users against a > Windows domain. > > Active directory is MS's name for LDAP, so if you use that then your > applications would be compiled using the LDAP USE flag & would treat > the MS server as an LDAP server. I don't believe its schema's are > terribly good for *nix users - I use Winbind, which uses PAM to > appear part of the local authentication process and pass these on to > the Windows DC. > My notebook running linux is already authenticating against the win. domain (AD). I've done this using samba, kerberos5 and winbind (pam modules etc), thats woring perfectly :-) Now, what i need : my desktop (that is another linux machine) authenticanting against my notebook, using samba, but the problem is that samba is already configured @ the notebook as a AD Domain member :S. > > What i need to know is if there is a way of making some other machines > > authenticate in this machine, and this machine will ask the > > password for the windows 2000 domain (only for some > > users, and the user need to be in the /etc/passwd). > > It would be helpful if you gave an example of which programs / > services on which machines (A, B and C??) you need to be able > authenticate in this way. > Well, the principal service is a VMWare GSX Server running on my notebook, i need to be able to authenticate (using the vmware-console) from any machine in my network (windows or linux). I think the vmware thing is the less important part, cause it should be easy editing pam.d/vmware-authd after everthing is configured. > > Let me explain: i have a user 'bob' that is not a user in > > the domain, but it has your username and password on my linux > > machine, so he can authenticate. I have a user > > bgola who has the username on the AD and on the linux machine, but > > the password isnt on the linux machine, only > > on the AD. He can authenticate too. > > Resuming: my linux machine will use the username database from its > > own but the password database from its own > > AND from the AD. > > I believe that in this situation it would be unusual to give the > bgola a username on the Linux machine - he has one on the AD, so if > you use Winbind then he doesn't need one on the Linux box. He can > have a homedir, since he may need to store files on the Linux box, > but that's not the same, I think, as having an account. > I want to have bgola on the linux machine for a control propose, or, only authenticate if the user exists on the machine. This is already working for console/ssh/etc on the Notebook. > For instance on my Linux/Winbind machine on an AD: > > $ getent passwd | grep -e stroller -e ned > stroller:x:1000:100::/home/stroller:/bin/bash > ned:x:10012:1:Some Geezer:/home/DOMAIN/ned:/bin/false > $ grep -e stroller -e ned /etc/passwd > stroller:x:1000:100::/home/stroller:/bin/bash > $ ls -ld ~stroller ~ned > drwxr-xr-x 3 ned domain users 160 Jan 6 06:32 /home/DOMAIN/ned > drwxr-xr-x 5 stroller users272 Jan 6 03:58 /home/stroller > > Both users can authenticate, depending on how the /etc/pam.d/ > the_authenticating_service is set up. I use pam_mkhomedir.so to > create a home directory for any users authenticating via Winbind, but > beware this only works for services which call PAM "session" directives. > > I used this guide to set it all up: http://www.samba.org/samba/docs/ > man/Samba-HOWTO-Collection/winbind.html#id2621482 > > Please CC me should you reply to the list with further questions, > > Stroller. > > > -- > gentoo-user@gentoo.org mailing list > > Resume: I need to transform my notebook (that is a AD Domain Member) in a Auth server, but with out leaving the AD Domain Member status, because it will need to get the passwd for some accounts from the AD Server. Thanks for your help, Bruno Gola -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba !
On 6 Jan 2006, at 16:24, brunogola wrote: My notebook running linux is already authenticating against the win. domain (AD). I've done this using samba, kerberos5 and winbind (pam modules etc), thats woring perfectly :-) Now, what i need : my desktop (that is another linux machine) authenticanting against my notebook, using samba, but the problem is that samba is already configured @ the notebook as a AD Domain member :S. ... Well, the principal service is a VMWare GSX Server running on my notebook, i need to be able to authenticate (using the vmware-console) from any machine in my network (windows or linux). I think the vmware thing is the less important part, cause it should be easy editing pam.d/vmware- authd after everthing is configured. ... I want to have bgola on the linux machine for a control propose, or, only authenticate if the user exists on the machine. This is already working for console/ssh/etc on the Notebook. I'm afraid I'm not sure how much I can help here - it's not something I'd do because philosophically I disagree with your approach. That's not to say it's not right _for you_ but I wouldn't have a user in two places (on the Linux box & the AD). You even have the possibility with this approach, I think to separate separate users & passwords (for a single auth) between the two boxes. Will VMWare GSX use the ~ for the user on the Linux box or for the user on the AD to store its files? Personally, I'd have the user exist on the domain or possibly on the Linux box, but not on both. Since you say that VMWare GSX Server (which I'm not familiar with) uses PAM it should be possible to get this to authenticate users on either the AD or /etc/passwd OR BOTH. It should be possible to use some other mechanism - possibly group memberships - to restrict VMWare GSX Server log-in rights to or from certain users. Dovecot IMAP, for instance, has a "deny passdb" and also a valid userID range. I would personally consider this kind of approach more elegant. I'm not trying to be snobby saying "I wouldn't do it this way", just sorry I can't help. Good luck with it. Stroller. -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba basics
Hi All, This should be easy to answer, but I have had zero experience with Samba so far and can't readily find the answer: I have set up a Samba server for a small office and used 'browseable No' extensively in the smb.cfg file, to remove a lot of otherwise visible to the Windows clients directories. This has worked but not enough: The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? These are the few relevant excerpts from the smb.cfg file: # Date: 2007-09-22 [global] workgroup = Hydrodynamiki printing = cups printcap name = cups cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = No add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain master = No usershare max shares = 100 [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [users] comment = All users path = /home/ inherit acls = yes veto files = /aquota.user/groups/shares/ valid users = geoz browsable = No case sensitive = no strict locking = no msdfs proxy = no [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] samba vs. cifs
Hi List, I just ran in a problem: net-fs/mount-cifs ("net-fs/mount-cifs" is blocking net-fs/samba-3.4.6) Somba is pulled in by the samba use-flag. The PC only is "client" to a server running samba. Do I need samba for this anymore? More specific (don't want to hear "moo"): Will I be able to mount a samba partition without setting the samba use flag and after unmerging samba? Regards kh
[gentoo-user] Samba start error
When Samba starts I get the error "lpstat: Unable to connect to server: Connection refused". It actually doesn't seem to affect much as I can see the shares I've created but I'm curious. Thanks, Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba problem
On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote: > Hi, > After installing samba with conf. attached below, I connected from XP Home > ed. I can browse the directory public, but when I tried to copy some files > in public to my local XP directory, it failed with 'wrong network path'. > What happened? This sound weird. It's definately not a permission issue as far as I can tell. since you're on the XP box and you're copying to the XP Box. Samba permissions should not have anything to do with it. What about permissions on the XP directory? Are you using the netbios name or the IP address? Try the IP address. > > /etc/samba/smb.conf > [global] > workgroup = WORKGROUPserver string = Samba Server %v > log file = /var/log/samba/log.%m > max log size = 50 > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = lo ath0 > bind interfaces only = yes > security = share > guest account = samba > guest ok = yes[public] > comment = Public Files > browseable = yes > public = yes > create mode = 0766 > guest ok = yes > path = /home/samba/public > Thanks -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba problem
Hi, Ow Mun That shouldn't be a problem with permission on my XP dir since I can do anything on that dir except copying files from samba server to it. I am using 'my network place' to browse that 'public' directory on samba. Since browsing shows all right, I don't think using IP address will be the way out. But anyway I will try tonight when I get back to my lovely PC :p Thanks anyway Kyle - Original Message - From: "Ow Mun Heng" <[EMAIL PROTECTED]> To: "gentoo" Sent: Thursday, May 12, 2005 4:15 PM Subject: Re: [gentoo-user] samba problem > On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote: > > Hi, > > After installing samba with conf. attached below, I connected from XP Home > > ed. I can browse the directory public, but when I tried to copy some files > > in public to my local XP directory, it failed with 'wrong network path'. > > What happened? > > This sound weird. It's definately not a permission issue as far as I can > tell. since you're on the XP box and you're copying to the XP Box. Samba > permissions should not have anything to do with it. > > What about permissions on the XP directory? > > Are you using the netbios name or the IP address? Try the IP address. > > > > > > > > /etc/samba/smb.conf > > [global] > > workgroup = WORKGROUPserver string = Samba Server %v > > log file = /var/log/samba/log.%m > > max log size = 50 > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > interfaces = lo ath0 > > bind interfaces only = yes > > security = share > > guest account = samba > > guest ok = yes[public] > > comment = Public Files > > browseable = yes > > public = yes > > create mode = 0766 > > guest ok = yes > > path = /home/samba/public > > Thanks > > -- > Ow Mun Heng > Gentoo/Linux on DELL D600 1.4Ghz > 98% Microsoft(tm) Free!! > Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71 > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba problem
Another strange thing happens is I try to mount /dev/hdb5 (a NTFS logical drive) to /home/samba/public using: mount /dev/hdb5 /home/samba/public and then stop and start samba. Now I cannot browse the public dir on samba from my XP. My goddess! - Original Message - From: "Ow Mun Heng" <[EMAIL PROTECTED]> To: "gentoo" Sent: Thursday, May 12, 2005 4:15 PM Subject: Re: [gentoo-user] samba problem > On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote: > > Hi, > > After installing samba with conf. attached below, I connected from XP Home > > ed. I can browse the directory public, but when I tried to copy some files > > in public to my local XP directory, it failed with 'wrong network path'. > > What happened? > > This sound weird. It's definately not a permission issue as far as I can > tell. since you're on the XP box and you're copying to the XP Box. Samba > permissions should not have anything to do with it. > > What about permissions on the XP directory? > > Are you using the netbios name or the IP address? Try the IP address. > > > > > > > > /etc/samba/smb.conf > > [global] > > workgroup = WORKGROUPserver string = Samba Server %v > > log file = /var/log/samba/log.%m > > max log size = 50 > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > interfaces = lo ath0 > > bind interfaces only = yes > > security = share > > guest account = samba > > guest ok = yes[public] > > comment = Public Files > > browseable = yes > > public = yes > > create mode = 0766 > > guest ok = yes > > path = /home/samba/public > > Thanks > > -- > Ow Mun Heng > Gentoo/Linux on DELL D600 1.4Ghz > 98% Microsoft(tm) Free!! > Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71 > > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba problem
On Thu, 2005-05-12 at 16:34 +1000, Zhendong Zhou (Kyle) wrote: > Another strange thing happens is > I try to mount /dev/hdb5 (a NTFS logical drive) to /home/samba/public using: > mount /dev/hdb5 /home/samba/public > and then stop and start samba. > Now I cannot browse the public dir on samba from my XP. My goddess! This is definitely a permission issue. When you mount the Partition, i believe you're mounting either as User or as Root and you may not have permitted read access. eg: in /etc/fstab /dev/hda2 /mnt/xp ntfs nls=utf8,uid=0,gid=0,umask=0222,ro,noatime 0 0 Note the UID/GID/Umask > - Original Message - > From: "Ow Mun Heng" <[EMAIL PROTECTED]> > To: "gentoo" > Sent: Thursday, May 12, 2005 4:15 PM > Subject: Re: [gentoo-user] samba problem > > > > On Thu, 2005-05-12 at 16:05 +1000, Zhendong Zhou (Kyle) wrote: > > > Hi, > > > After installing samba with conf. attached below, I connected from XP > Home > > > ed. I can browse the directory public, but when I tried to copy some > files > > > in public to my local XP directory, it failed with 'wrong network path'. > > > What happened? > > > > This sound weird. It's definately not a permission issue as far as I can > > tell. since you're on the XP box and you're copying to the XP Box. Samba > > permissions should not have anything to do with it. > > > > What about permissions on the XP directory? > > > > Are you using the netbios name or the IP address? Try the IP address. > > > > > > > > > > > > > > /etc/samba/smb.conf > > > [global] > > > workgroup = WORKGROUPserver string = Samba Server %v > > > log file = /var/log/samba/log.%m > > > max log size = 50 > > > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > > > interfaces = lo ath0 > > > bind interfaces only = yes > > > security = share > > > guest account = samba > > > guest ok = yes[public] > > > comment = Public Files > > > browseable = yes > > > public = yes > > > create mode = 0766 > > > guest ok = yes > > > path = /home/samba/public > > > Thanks > > > > -- > > Ow Mun Heng > > Gentoo/Linux on DELL D600 1.4Ghz > > 98% Microsoft(tm) Free!! > > Neuromancer 14:13:04 up 15:45, 10 users, load average: 1.59, 1.08, 0.71 > > > > > > -- > > gentoo-user@gentoo.org mailing list > > > > -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 15:24:02 up 16:56, 10 users, load average: 0.30, 0.79, 0.77 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba problem
On Thu, 2005-05-12 at 16:34 +1000, Zhendong Zhou (Kyle) wrote: > . My goddess! BTW it's GoodNess :-) -- Ow Mun Heng Gentoo/Linux on DELL D600 1.4Ghz 98% Microsoft(tm) Free!! Neuromancer 15:26:18 up 16:58, 11 users, load average: 1.21, 0.82, 0.77 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba problems
On Sat, 2005-06-18 at 14:01 +0200, Mauro Arnoldi wrote: > Hi to everyone > I have upgraded my gentoo system (emerge -Du system) and I included an > upgrade even of GCC and other basic system programs. Now I have a problem > with samba: > > /etc/init.d/samba start > * samba -> start: smbd ... > /usr/sbin/smbd: error while loading shared libraries: libcom_err.so.3: > cannot open shared object file: No such file or directory > [ !! ] > * samba -> start: nmbd ... > /usr/sbin/nmbd: error while loading shared libraries: libcom_err.so.3: > cannot open shared object file: No such file or directory > [ !! ] > * Error: stopping services (see system logs) > * samba -> stop: smbd ... > [ !! ] > * samba -> stop: nmbd ... > [ !! ] > > > Does anyone of you know this problem and can help me to solve it? I have > searched on system logs, but I found nothing... Sounds like some dependancies which samba uses were broken somewhere along the line. Run revdep-rebuild -pv , and see what it says is broken. Then take the action it recommends (by removing -pv, or doing each command it says) -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba SOLVED
Bruno Gola wrote: >Hi guys, here i am again... > >Today i was trying to configure a samba server to communicate with my >grandfather's' laptop (running windows ME), so, ive merged samba, and >follows some intructions i have read in a book, so, i ve tested it with > >$ smbclient //localhost/wine > >and it works... but, when i try to acces this directory by windows, i >cant... it finds my computer, but do not find the "wine" share... > > >Someone knows what should i do? > >Thanks... >Bruno Gola > > Oh, it was an idiot problem... it was iptables blocking everthing from 192.168.0.0/24 :-P -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba patching?
Ühel kenal päeval, E, 29.05.2017 kell 22:12, kirjutas Stefan G. Weichinger: > how do we gentoo-users handle CVE-2017-7494 ? You upgrade to the version including the fix. 4.5.10, that is. https://bugs.gentoo.org/show_bug.cgi?id=CVE-2017-7494
Re: [gentoo-user] Samba patching?
Am 2017-05-29 um 22:36 schrieb Mart Raudsepp: > Ühel kenal päeval, E, 29.05.2017 kell 22:12, kirjutas Stefan G. > Weichinger: >> how do we gentoo-users handle CVE-2017-7494 ? > > You upgrade to the version including the fix. 4.5.10, that is. > https://bugs.gentoo.org/show_bug.cgi?id=CVE-2017-7494 thanks for the pointer
[gentoo-user] Samba/Names/XPPro
List, I'm using Samba to share with Windows and am using the %m macro as the share name so that each Windows computer sees only one share with it's name to use. This works great for almost every machine on my network: other Sambas, Win2K, Win2K3, WinXP home but not this one XPPro. I've tried tweaking the lmhosts file and waiting for Netbios to share the names but this hasn't worked, any ideas? /djb -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba/Names/XPPro
List, I'm using Samba to share with Windows and am using the %m macro as the share name so that each Windows computer sees only one share with it's name to use. This works great for almost every machine on my network: other Sambas, Win2K, Win2K3, WinXP home but not this one XPPro. I've tried tweaking the lmhosts file and waiting for Netbios to share the names but this hasn't worked, any ideas? /djb -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba compilation error
Hi, I'm updateing system and samba-3.0.14-r2 gives me an error: i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -mcpu=i686 -pipe -I/usr/include/mysql -mcpu=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I/usr/include/libxml2 -fPIC -I/usr/include/python2.3 -c python/py_spoolss_jobs_conv.c -o build/temp.linux-i686-2.3/python/py_spoolss_jobs_conv.o -O2 -mcpu=i686 -pipe -I/usr/include/mysql -mcpu=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I/usr/include/libxml2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -O2 -mcpu=i686 -pipe -I/usr/include/mysql -mcpu=i686 -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I/usr/include/libxml2 -Iinclude -I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source/include -I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source/ubiqx -I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source/smbwrapper -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source Linking bin/smbd gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" error: command 'i386-pc-linux-gnu-gcc' failed with exit status 1 make: *** [python_ext] Error 1 make: *** Waiting for unfinished jobs What's wrong with it ??? I've try to switch to nptl. Thanks Pat -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba basics
On 22 Nov 2007, at 08:43, Mick wrote: ... I have set up a Samba server for a small office and used 'browseable No' extensively in the smb.cfg file, to remove a lot of otherwise visible to the Windows clients directories. My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. You might consider posting on the Samba mailing lists, which are quite busy. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] & [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Stroller -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: > On 22 Nov 2007, at 08:43, Mick wrote: > > ... > My experience is that stuff like this is not completely-obvious-to- > newcomers in Samba, and I wouldn't rely on it working just like you > might expect. Hmm, I know what you mean! :) > You might consider posting on the Samba mailing lists, > which are quite busy. Thanks, I'll look into it. > > The Windows file manager still displays the > > (Linux) user home directory and a file called printers. Is there a > > way of > > removing these two items from the Windows client view? > > The easy way to do this is to remove the [homes] & [printers] > sections of your smb.conf (NOT smb.cfg, on my system), but of course > that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Samba basics
On Nov 22, 2007 2:46 PM, Mick <[EMAIL PROTECTED]> wrote: > Thanks Stroller, > > On Thursday 22 November 2007, Stroller wrote: > > On 22 Nov 2007, at 08:43, Mick wrote: > > > ... > > > My experience is that stuff like this is not completely-obvious-to- > > newcomers in Samba, and I wouldn't rely on it working just like you > > might expect. > > Hmm, I know what you mean! :) > > > You might consider posting on the Samba mailing lists, > > which are quite busy. > > Thanks, I'll look into it. > > > > The Windows file manager still displays the > > > (Linux) user home directory and a file called printers. Is there a > > > way of > > > removing these two items from the Windows client view? > > > > The easy way to do this is to remove the [homes] & [printers] > > sections of your smb.conf (NOT smb.cfg, on my system), but of course > > that also prevents access to them. > > Is there a way to do this selectively for different users? Some cannot be > trusted to even look after their own linux home directories and leaving them > visible will give rise to unnecessary queries. What I'll suggest is not directly related to your Samba config problem. It is something I found very useful while setting up my own samba server. I guess there's even a USE flag for it. Its SWAT, its a web based management program to control Samba settings. It is very useful and user-friendly. You should give it a try. -- Daniel da Veiga Filosofia de TI: Programadores de verdade consideram o conceito "o que você vê é o que você tem" tão ruim em editores de texto quanto em mulheres. Não, o programador de verdade quer um editor de texto do estilo "você pediu, você levou" - complicado, indecifrável, poderoso, impiedoso, perigoso. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
On Thu, 22 Nov 2007 16:06:37 -0200 "Daniel da Veiga" <[EMAIL PROTECTED]> wrote: > SWAT, its a > web based management program to control Samba settings. It is very > useful and user-friendly. > > You should give it a try. ++! I am a config file editor generally, but samba is one of the 2 things I don't configure manually (the other being cups). swat is much easier. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
Mick pisze: Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] & [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. I remember that there is an option to include selective config files based on conditions - it's been some time since my last samba installation (a complex one) but it looked something like this include /etc/samba/.cfg It's just of the to of my head, but You should get the idea, in the example above, if a host with certain was connecting to samba server, a specific file was included. Unfortunatelly I don't remeber exact syntax, and tons of other things - I just suggest looking in this direction regards dexter -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
On Thursday 22 November 2007, dexter wrote: > Mick pisze: > > Thanks Stroller, > > > > On Thursday 22 November 2007, Stroller wrote: > >> On 22 Nov 2007, at 08:43, Mick wrote: > >>> ... > >> > >> My experience is that stuff like this is not completely-obvious-to- > >> newcomers in Samba, and I wouldn't rely on it working just like you > >> might expect. > > > > Hmm, I know what you mean! :) > > > >> You might consider posting on the Samba mailing lists, > >> which are quite busy. > > > > Thanks, I'll look into it. > > > >>> The Windows file manager still displays the > >>> (Linux) user home directory and a file called printers. Is there a > >>> way of > >>> removing these two items from the Windows client view? > >> > >> The easy way to do this is to remove the [homes] & [printers] > >> sections of your smb.conf (NOT smb.cfg, on my system), but of course > >> that also prevents access to them. > > > > Is there a way to do this selectively for different users? Some cannot > > be trusted to even look after their own linux home directories and > > leaving them visible will give rise to unnecessary queries. > > I remember that there is an option to include selective config files > based on conditions - it's been some time since my last samba > installation (a complex one) but it looked something like this > > include /etc/samba/.cfg > > It's just of the to of my head, but You should get the idea, in the > example above, if a host with certain was connecting to samba > server, a specific file was included. > Unfortunatelly I don't remeber exact syntax, and tons of other things - > I just suggest looking in this direction Thank you all, I have most of it working now. Commenting out [homes] made the users' home directories disappear. The funny thing is that although I have commented out [printers], it is still visible in Windows Explorer. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] samba help
On Mon, 2006-03-06 at 10:52 -0500, Michael W. Holdeman wrote: > I have a wireless card in my laptop, > 192.168.14.102. [snip] > Now I have the necessity to use ap's that are set-up to use > 192.168.0.nn series ip addresses, so therefore samba does not work properly > to share those disk drives. As far as I remember, samba should be able to talk on all your interfaces. In fact, I don't think it binds to any particular one by default. Have a look at your smb help under "bind interfaces only" and "interfaces". " By default Samba will query the kernel for the list of all active interfaces and use any interfaces except 127.0.0.1 that are broadcast capable." For me, samba listens on all my interfaces and aliases by default. I use iptables to block some interfaces. Let us know how it goes, -- Iain Buchanan He asked me if I knew what time it was -- I said yes, but not right now. -- Steven Wright -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba 3.0.21b issue
Hi all, For some reason I can't get net-fs/samba-3.0.21b in an W2K3 AD domain to work properly unless I totally reboot the system. Stopping and restarting samba doesn't help. Without a reboot I get these errors: [2006/03/20 15:31:39, 1] smbd/sesssetup.c:reply_spnego_kerberos(286) Username CORP\CAREEROFEVIL$ is invalid on this system [2006/03/20 15:31:39, 1] smbd/sesssetup.c:reply_spnego_kerberos(286) Username CORP\CAREEROFEVIL$ is invalid on this system [2006/03/20 15:31:52, 1] smbd/sesssetup.c:reply_spnego_kerberos(286) Username CORP\CAREEROFEVIL$ is invalid on this system [2006/03/20 15:31:52, 1] smbd/sesssetup.c:reply_spnego_kerberos(286) Username CORP\CAREEROFEVIL$ is invalid on this system [2006/03/20 15:29:02, 1] smbd/sesssetup.c:reply_spnego_kerberos(180) Failed to verify incoming ticket! [2006/03/20 15:29:10, 1] smbd/sesssetup.c:reply_spnego_kerberos(180) Failed to verify incoming ticket! [2006/03/20 15:29:11, 1] smbd/sesssetup.c:reply_spnego_kerberos(180) Failed to verify incoming ticket! After an emerge the following etc-updates need attention: 1) /etc/pam.d/samba /etc/pam.d/._cfg_samba 2) /etc/openldap/schema/samba.schema /etc/openldap/schema/._cfg_samba.schema 3) /etc/samba/smb.conf.example /etc/samba/._cfg_smb.conf.example Which I replace with the new versions. I'd like to upgrade samba on some of my servers without actually rebooting them. How can I do this? thanks --- Chris Covington IT Plus One Health Management 75 Maiden Lane Suite 801 NY, NY 10038 646-312-6269 http://www.plusoneactive.com -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba ebuild problem
I'm getting this when I emerge samba. Is this an outright bug, or something wrong on 'my side'? ---snip--- ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-fhs --sysconfdir=/etc/samba --localstatedir=/var --with-configdir=/etc/samba --with-libdir=/usr/lib/samba --with-swatdir=/usr/share/doc/samba-3.0.14a-r2/swat --with-piddir=/var/run/samba --with-lockdir=/var/cache/samba --with-logfilebase=/var/log/samba --with-privatedir=/var/lib/samba/private --enable-static --enable-shared --with-smbmount --with-automount --with-libsmbclient --without-spinlocks --with-syslog --with-idmap --without-ldapsam --without-acl-support --enable-cups --without-krb5 --without-ldap --with-python --with-readline --without-winbind --with-pam --with-pam_smbpass --without-quotas --without-sys-quotas --with-expsam=xml, --with-manpages-langs=en --build=i686-pc-linux-gnu SAMBA VERSION: 3.0.14a checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed ./configure: line 3210: syntax error near unexpected token `;' ./configure: line 3210: `;' !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/samba-3.0.14a-r2/work/samba-3.0.14a/source/config.log !!! ERROR: net-fs/samba-3.0.14a-r2 failed. -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba and cups
I can use smbclient to print, but I can't use cups to add the samba printer to print. It always display the following information: Unable to connect to CIFS host after (tried 3 times) Any suggestion? -- Shaochun Wang(王绍春) <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba install fails
Hi all, emerging samba results in the following error:- !!! ERROR: net-fs/samba-3.0.22-r2 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile samba-3.0.22-r2.ebuild, line 104: Called econf '--with-fhs' '--sysconfdir=/etc/samba' '--localstatedir=/var' '--with -configdir=/etc/samba' '--with-libdir=/usr/lib/samba' '--with-swatdir=/usr /share/doc/samba-3.0.22-r2/swat' '--with-piddir=/var/run/samba' '--with -lockdir=/var/cache/samba' '--with-logfilebase=/var/log/samba' '--with- privatedir=/var/lib/samba/private' '--with-libsmbclient' '--without- spinlocks' '--with-acl-support' '--without-aio-support' '--without-a utomount' '--enable-cups' '--without-krb5' '--with-pam' '--with- pam_smbpass' '--with-python' '--without-quotas' '--without-sys- quotas' '--with-readline' '--with-smbmount' '--without-syslog' '-- with-expsam=mysql,' '--with-manpages-langs=en' '--without-ldapsam' ebuild.sh, line 541: Called die !!! econf failed I am using "~x86" Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686) Paul -- This message has been sent using kmail with gentoo linux -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba log hell
I'm having a time getting samba working after having it working for mnths. I did do a major update world. At the end when adjusting files under /etc/ I rejected the new smb.conf keeping my old config which is still in place. It seems something has suddenly chagned whereby I cannot access any linux shares from windows. Attempting to get some details of the failure from the logs seem fruitless since the log output is literally huge and nothing stands out with big letters `error'. I'm just not prepared to understand 670 lines of output for one connection attempt. And that is with `log level' cranked down to 3. The following area seems to be important but even this small chunk defies understanding far as I can see: The `Sid' lines seem to be telling something but who knows what. Then finally it shows a ACCESS_DENIED. reader and Harry are the only two authorized users What provoked this piece of log is an attempt from machine `harvey' to login to samba share on machine `reader'. The incoming user is also `reader'. [...] [2006/08/11 13:38:11, 3] lib/util_sid.c:string_to_sid(223) string_to_sid: Sid reader does not start with 'S-'. [2006/08/11 13:38:11, 3] lib/util_sid.c:string_to_sid(223) string_to_sid: Sid Harry does not start with 'S-'. [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/08/11 13:38:11, 3] smbd/uid.c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:pop_sec_ctx(339) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:push_sec_ctx(208) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/08/11 13:38:11, 3] smbd/uid.c:push_conn_ctx(345) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:pop_sec_ctx(339) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/08/11 13:38:11, 2] smbd/service.c:make_connection_snum(571) user 'reader' (from session setup) not permitted to access this share (smReader) [2006/08/11 13:38:11, 3] smbd/error.c:error_packet(146) error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED [2006/08/11 13:38:11, 3] smbd/process.c:process_smb(1110) Transaction 4 of length 43 [2006/08/11 13:38:11, 3] smbd/process.c:switch_message(914) switch message SMBulogoffX (pid 4834) conn 0x0 [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/08/11 13:38:11, 3] smbd/reply.c:reply_ulogoffX(1618) ulogoffX vuid=101 [2006/08/11 13:38:11, 3] smbd/process.c:timeout_processing(1359) timeout_processing: End of file from client (client has disconnected). [2006/08/11 13:38:11, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/08/11 13:38:11, 3] smbd/connection.c:yield_connection(69) Yielding connection to [2006/08/11 13:38:11, 3] smbd/server.c:exit_server_common(675) Server exit (normal exit) [2006/08/11 13:38:11, 3] auth/auth.c:check_ntlm_password(221) check_ntlm_password: Checking password for unmapped user [EMAIL PROTECTED] with the new password interface [...] Then about 60 more lines and I see: [2006/08/11 14:05:19, 3] auth/auth.c:check_ntlm_password(270) check_ntlm_password: sam authentication for user [reader] succeeded -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba vs. cifs
On Wed, 05 May 2010 18:42:09 +0200, KH wrote: > net-fs/mount-cifs ("net-fs/mount-cifs" is blocking net-fs/samba-3.4.6) mount.cifs is now provided by Samba. > Somba is pulled in by the samba use-flag. The PC only is "client" to a > server running samba. Do I need samba for this anymore? More specific > (don't want to hear "moo"): Will I be able to mount a samba partition > without setting the samba use flag and after unmerging samba? Samba is the server. The client tools used to be a separate package but it now looks like you should emerge samba with USE="-server smbclient". -- Neil Bothwick Home is where you hang your @. signature.asc Description: PGP signature
Re: [gentoo-user] samba vs. cifs
On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote: > Hi List, > > I just ran in a problem: > > net-fs/mount-cifs ("net-fs/mount-cifs" is blocking net-fs/samba-3.4.6) > > Somba is pulled in by the samba use-flag. The PC only is "client" to a > server running samba. Do I need samba for this anymore? More specific > (don't want to hear "moo"): Will I be able to mount a samba partition > without setting the samba use flag and after unmerging samba? > > Regards > kh I just enable cifs in the kernel and install the mount-cifs script. That lets me mount remote shares with no trouble at all. HTH Matt pgpqcohV21EdH.pgp Description: PGP signature
Re: [gentoo-user] samba vs. cifs
On Wed, 05 May 2010 23:20:01 +0200, Matt Harrison wrote about Re: [gentoo-user] samba vs. cifs: >On Wed, May 05, 2010 at 06:42:09PM +0200, KH wrote: [snip] >> specific (don't want to hear "moo"): Will I be able to mount a samba >> partition without setting the samba use flag and after unmerging >> samba? >> >> Regards >> kh > >I just enable cifs in the kernel and install the mount-cifs script. >That lets me mount remote shares with no trouble at all. I don't even install the mount-cifs script. I simply put the share definition in /etc/fstab on the client, and then use the vanilla mount command. E.g., //192.168.0.2/backups/usr/local/remote_backupscifs noauto,noexec,noatime,nodiratime,user=root,pass=eetoot 0 0 [The above should be on 1 line.] Note that my real password for root is not "eetoot"; that is simply a fake password I set up for Samba shares. Whenever I need to transfer a backup archive to the server, I simply issue: mount /usr/local/remote_backups and then copy the data across. -- Regards, Dave [RLU #314465] == dwn...@ntlworld.com (David W Noon) == signature.asc Description: PGP signature
Re: [gentoo-user] Samba start error
On 4/28/05, Richard Watson <[EMAIL PROTECTED]> wrote: > When Samba starts I get the error "lpstat: Unable to connect to server: > Connection refused". It actually doesn't seem to affect much as I can see > the shares I've created but I'm curious. Thanks, Richard This has to do with the printing support of samba, your smb.conf is probably configured to share printers as well as files, and when samba tries to access the print spooler to find out what printers are available it fails to connect. Samba regards this as non-fatal as it can still provide useful services by sharing files and directories. You should be able to find more information about samba's printing support in their HOWTO or FAQ documents. Regards, Andreas -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Samba start error
On 4/28/05, Richard Watson <[EMAIL PROTECTED]> wrote: > When Samba starts I get the error "lpstat: Unable to connect to server: > Connection refused". It actually doesn't seem to affect much as I can see > the shares I've created but I'm curious. Thanks, Richard This has to do with the printing support of samba, your smb.conf is probably configured to share printers as well as files, and when samba tries to access the print spooler to find out what printers are available it fails to connect. Samba regards this as non-fatal as it can still provide useful services by sharing files and directories. You should be able to find more information about samba's printing support in their HOWTO or FAQ documents. Thanks ... All fixed ... Richard -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 27/04/2005 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba ebuild problem
On Saturday 16 December 2006 06:44, David Corbin <[EMAIL PROTECTED]> wrote about '[gentoo-user] Samba ebuild problem': > I'm getting this when I emerge samba. Is this an outright bug, or > something wrong on 'my side'? > > ./configure: line 3210: syntax error near unexpected token `;' > ./configure: line 3210: `;' Looks like the configure script was generated incorrectly. If you are using confcache, delete your cache and try again, if that still doesn't work, disable confcache and try again. If you aren't using confcache, search for and, as needed, file a bug on b.g.o. -- "If there's one thing we've established over the years, it's that the vast majority of our users don't have the slightest clue what's best for them in terms of package stability." -- Gentoo Developer Ciaran McCreesh pgpqoySwQOnPi.pgp Description: PGP signature
[gentoo-user] samba mount on fstab
Hi all, I am trying to let a samba mount on my fstab withopu success, I got : //csdc/EngSoftware /mnt/engsoftsmbfs username=commodity\\allan,noauto0 0 ont fstab, if I try to mount /mnt/engsoft, it asks the password and could not complit the mount. if I do mount -t smbfs -o username=commodity\\allan //csdc/EngSoftware /mnt/engsoft it ask for the password and works. I have I done wrong, or what Can I make to lets this work better. Thanks, Allan -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba re-emerge everyday
Everyday I have to re-emerge samba on my laptop to get it to work. After emerging it it starts and works fine.. nmbd.log is here: Samba server CHIEFNB is now a domain master browser for workgroup PTFD on subnet UNICAST_SUBNET * [2006/07/24 09:03:37, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) become_domain_master_browser_bcast: Attempting to become domain master browser on workgroup PTFD on subnet 192.168.14.102 [2006/07/24 09:03:37, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295) become_domain_master_browser_bcast: querying subnet 192.168.14.102 for domain master browser on workgroup PTFD [2006/07/24 09:03:38, 0] nmbd/nmbd_become_dmb.c:become_domain_master_query_success(225) become_domain_master_query_success: There is already a domain master browser at IP 192.168.14.14 for workgroup PTFD registered on subnet 192.168.14.102. [2006/07/24 10:10:03, 0] nmbd/nmbd.c:terminate(58) Got SIGTERM: going down... [2006/07/24 11:22:05, 0] nmbd/nmbd.c:main(727) Netbios nameserver version 3.0.22 started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2006/07/24 11:22:05, 0] nmbd/asyncdns.c:start_async_dns(151) started asyncdns process 10090 [2006/07/24 11:22:15, 0] lib/fault.c:fault_report(36) === [2006/07/24 11:22:15, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 10089 (3.0.22) Please read the Trouble-Shooting section of the Samba3-HOWTO [2006/07/24 11:22:15, 0] lib/fault.c:fault_report(39) From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf [2006/07/24 11:22:15, 0] lib/fault.c:fault_report(40) === [2006/07/24 11:22:15, 0] lib/util.c:smb_panic2(1554) PANIC: internal error [2006/07/24 11:22:15, 0] lib/util.c:smb_panic2(1562) BACKTRACE: 2 stack frames: #0 /usr/sbin/nmbd(smb_panic2+0x8c) [0x800a7e04] #1 /usr/sbin/nmbd [0x800ea57b] -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.15-ck2 | VMWare Workstation 5.5.1 vmware.com | Win4LinPro 6.1.1-03 win4lin.com | | -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba + ldap + script php
Hi... I wrote a php script to add users on a LDAP directory. I setup samba to auth against this directory. If I use smbldap-useradd, samba authenticate the user, but if I use my script not! My script set all attributes exactly like smbldap-useradd. What I am missing? []s Leandro. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba log hell
On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I'm having a time getting samba working after having it working for mnths. I did do a major update world. At the end when adjusting files under /etc/ I rejected the new smb.conf keeping my old config which is still in place. That was probably a mistake...my experience with the samba ebuild is that it doesn't want to install it's own private copy of the configuration, but a modified version of the existing config. So it is usually an indicator that something important has changed in the configuration. [2006/08/11 13:38:11, 2] smbd/service.c:make_connection_snum(571) user 'reader' (from session setup) not permitted to access this share (smReader) [2006/08/11 13:38:11, 3] smbd/error.c:error_packet(146) error packet at smbd/reply.c(676) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED My interpretation of this is that the authentication part went fine, but this user is not allowed to access the share. I think we'll need to see your smb.conf file to make sense of this. It would also help to know what version of samba you are running, and what use flags you merged it with. -Richard -- gentoo-user@gentoo.org mailing list
[gentoo-user] samba no connect from windows
This samba problem (windows machines cannot connect to gentoo server) seems to have followed a recent update including samba. qlop shows: Mon Nov 1 05:10:33 2010 >>> net-fs/samba-3.5.6 Usually I've found I might need to redo passwords with smbpasswd. This time, that is not sufficient. Looking at the logs... which I might add seem ungodly full more or less useless gunk I'm not seeing anything that appears to be an error or rejected connection... in fact it appears to be saying the connection was successful but I'm by no means competent to determine that. I've included a snippet below, but let me say that I first restarted samba, then rm'ed all log* files under /var/log/samba. Then went to a windows machine and attempted to connect. Came back to gentoo and scanned thru the logs. 3 were from that attempt judging by name or ip. This snippet starts from the very top of the newly created log and appears to be showing the connection succeeding?: [2010/11/12 17:32:11.898234, 3] smbd/process.c:1485(process_smb) Transaction 0 of length 108 (0 toread) [2010/11/12 17:32:11.899792, 3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags) Got NTLMSSP neg_flags=0xe2088297 [2010/11/12 17:32:11.901339, 3] libsmb/ntlmssp.c:747(ntlmssp_server_auth) Got user=[harry] domain=[m2] workstation=[M2] len1=24 len2=260 [2010/11/12 17:32:11.901585, 3] smbd/map_username.c:188(map_username) Mapped user harry to reader [2010/11/12 17:32:11.901709, 3] auth/auth.c:216(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [m2]\[har...@[m2] with the new password interface [2010/11/12 17:32:11.901757, 3] auth/auth.c:219(check_ntlm_password) check_ntlm_password: mapped user is: [reader]\[read...@[m2] [2010/11/12 17:32:11.901820, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2010/11/12 17:32:11.901869, 3] smbd/uid.c:429(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [...] Many lines skipped here [2010/11/12 17:32:11.905698, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1 [2010/11/12 17:32:11.905762, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2010/11/12 17:32:11.905804, 3] auth/auth.c:265(check_ntlm_password) check_ntlm_password: sam authentication for user [harry] succeeded [2010/11/12 17:32:11.905841, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2010/11/12 17:32:11.905875, 3] smbd/uid.c:429(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2010/11/12 17:32:11.905904, 3] smbd/sec_ctx.c:310(set_sec_ctx) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2010/11/12 17:32:11.905960, 3] smbd/sec_ctx.c:418(pop_sec_ctx) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2010/11/12 17:32:11.905996, 2] auth/auth.c:304(check_ntlm_password) check_ntlm_password: authentication for user [harry] -> [reader] -> [reader] succeeded [2010/11/12 17:32:11.906055, 3] smbd/sec_ctx.c:210(push_sec_ctx) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2010/11/12 17:32:11.906135, 3] smbd/uid.c:429(push_conn_ctx) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [...] gobs more skipped... then this appears when the windows dialog finally gives up the ghost. [2010/11/12 17:58:55.756748, 3] smbd/connection.c:31(yield_connection) Yielding connection to [2010/11/12 17:58:55.756821, 3] smbd/connection.c:42(yield_connection) deleting connection record returned NT_STATUS_NOT_FOUND [2010/11/12 17:58:55.757047, 3] smbd/server.c:902(exit_server_common) Server exit (normal exit)
[gentoo-user] Samba Machine based log problem
Hi all, My samba server just doesn't create machine based log files. This is the details /var/log/samba/log.smbd [2005/06/16 16:28:56, 0] lib/debug.c:reopen_logs(589) Unable to open new log file /var/log/samba3/log.tasmanian: No such file or directory [2005/06/16 16:29:42, 0] lib/debug.c:reopen_logs(589) Unable to open new log file /var/log/samba3/log.tasmanian: No such file or directory [2005/06/16 16:31:04, 0] lib/debug.c:reopen_logs(589) Unable to open new log file /var/log/samba3/log.tasmanian: No such file or directory /etc/samba/smb.conf # 3. Logging Options: # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba3/log.%m # Put a capping on the size of the log files (in Kb). max log size = 50 # Set the log (verbosity) level (0 <= log level <= 10) ; log level = 3 Any ideas ? -- Regards, C. K. Ong (Chris) Linux System Engineer RHCT Cert No: 603004347692007 http://www.redhat.com/rhce/rhce603004347692007.html My Directory Sdn. Bhd. Your Open Source Partner. http://www.md.com.my http://www.net.my 2005 This week's fortune: --- In most countries selling harmful things like drugs is punishable. Then howcome people can sell Microsoft software and go unpunished? (By [EMAIL PROTECTED], Hasse Skrifvars) --- fortune-mod version 1.99.1 * **POWERED BY BYNARI INSIGHT SERVER* * * The Enterprise Email Server That Rocks! * * -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba 4.2.5 failing to build
Hi all, The subject says it all, Samba 4.2.5 is failing to build. I've got to do some more indepth research, ie googling, but this email is to see if anyone has any ideas off the top of their head. I've got FEATURES="keeptemp keepwork candy" set in make.conf so when I first did the emerge, the linking failed at [2749/2894], with another 150 files to go. I then reran the emerge and now it fails with: Traceback (most recent call last): File "/var/tmp/portage/net-fs/samba-4.2.5/work/samba-4.2.5/buildtools/bin/waf", line 75, in import Scripting File "/var/tmp/portage/net-fs/samba-4.2.5/work/samba-4.2.5/buildtools/wafadmin/Scripting.py", line 146 except Utils.WafError, e: If anyone has any thoughts, ideas, fixes, it would be appreciated. I'm now off to do some grunt work and try to fix this. If I can't fix it, I'll be back with more detailed config info. Regards, Andrew
[gentoo-user] samba and window 7 NTFS
I just installed windows 7 in VB and would like to mount windows 7 shares (folder) via samba on Linux. I think, I need to enable "CONFIG_NTFS_FS" in kernel? In order to format the USB stick to NTFS I need this option in kernel as well, am I correct? -- Joseph
[gentoo-user] Samba crashes after upgrading system
Hello, I just upgraded my system (emerge -u world) and after restart samba do not start. (Samba was not upgraded.) In the /var/log/messages I see: Jul 15 23:59:25 amit smbd[7829]: [2005/07/15 23:59:25, 0] lib/fault.c:fault_report(36) Jul 15 23:59:25 amit smbd[7829]: === Jul 15 23:59:25 amit smbd[7829]: [2005/07/15 23:59:25, 0] lib/fault.c:fault_report(37) Jul 15 23:59:25 amit smbd[7829]: INTERNAL ERROR: Signal 11 in pid 7829 (3.0.10) Jul 15 23:59:25 amit smbd[7829]: Please read the appendix Bugs of the Samba HOWTO collection Jul 15 23:59:25 amit smbd[7829]: [2005/07/15 23:59:25, 0] lib/fault.c:fault_report(39) Jul 15 23:59:25 amit smbd[7829]: === Jul 15 23:59:25 amit smbd[7829]: [2005/07/15 23:59:25, 0] lib/util.c:smb_panic2(1482) Jul 15 23:59:25 amit smbd[7829]: PANIC: internal error Jul 15 23:59:25 amit smbd[7829]: [2005/07/15 23:59:25, 0] lib/util.c:smb_panic2(1490) Jul 15 23:59:25 amit smbd[7829]: BACKTRACE: 22 stack frames: Jul 15 23:59:25 amit smbd[7829]:#0 /usr/sbin/smbd(smb_panic2+0x64) [0x575794] [snip] Jul 15 23:59:25 amit smbd[7829]: Jul 15 23:59:26 amit nmbd[7831]: [2005/07/15 23:59:26, 0] lib/fault.c:fault_report(36) Jul 15 23:59:26 amit nmbd[7831]: === Jul 15 23:59:26 amit nmbd[7831]: [2005/07/15 23:59:26, 0] lib/fault.c:fault_report(37) Jul 15 23:59:26 amit nmbd[7831]: INTERNAL ERROR: Signal 11 in pid 7831 (3.0.10) Jul 15 23:59:26 amit nmbd[7831]: Please read the appendix Bugs of the Samba HOWTO collection Jul 15 23:59:26 amit nmbd[7831]: [2005/07/15 23:59:26, 0] lib/fault.c:fault_report(39) Jul 15 23:59:26 amit nmbd[7831]: === Jul 15 23:59:26 amit nmbd[7831]: [2005/07/15 23:59:26, 0] lib/util.c:smb_panic2(1482) Jul 15 23:59:26 amit nmbd[7831]: PANIC: internal error Jul 15 23:59:26 amit nmbd[7831]: [2005/07/15 23:59:26, 0] lib/util.c:smb_panic2(1490) Jul 15 23:59:26 amit nmbd[7831]: BACKTRACE: 22 stack frames: Jul 15 23:59:26 amit nmbd[7831]:#0 /usr/sbin/nmbd(smb_panic2+0x64) [0x481844] [snip] Mounting network filesystems (smb shares) and various samba comands (smbtree, smbstatus) also crashes. I've tried re-emerge samba but it did not help. Any idea where could be the problem? I have amd64 system. The important packages that was upgraded are: [ebuild U ] sys-libs/zlib-1.2.2-r1 [1.2.2] -build 0 kB [ebuild U ] sys-devel/gcc-config-1.3.11-r4 [1.3.11-r3] 0 kB [ebuild U ] sys-kernel/linux-headers-2.6.11-r2 [2.6.8.1-r4] 0 kB [ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug -erandom -hardened (-multilib) +nls -nptl -nptlonly -pic (-selinux) +userlocales 0 kB [ebuild U ] sys-devel/libtool-1.5.18-r1 [1.5.16] 0 kB [snip] [ebuild NS ] sys-libs/db-4.2.52_p2 -bootstrap -doc -java -nocxx +tcltk 0 kB [ebuild U ] sys-libs/pam-0.78-r2 [0.77-r6] +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 0 kB [ebuild U ] sys-apps/shadow-4.0.7-r3 [4.0.5-r3] +nls +pam (-selinux) -skey 0 kB [ebuild U ] sys-apps/pam-login-3.17 [3.14] -livecd +nls (-selinux) 0 kB [snip] [ebuild U ] sys-fs/udev-058 [056] (-selinux) -static 0 kB Thanks Robert -- Robert Cernansky E-mail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba core dumping after update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well I seem to have another problem after updating samba on my fileserver, on starting /etc/init.d/samba I now get this: ~ * samba -> start: smbd ... /lib/rcscripts/sh/rc-daemon.sh: line 231: 15228 Aborted (core dumped) /sbin/start-stop-daemon '--start' '--quiet' '--exec' '/usr/sbin/smbd' '--' '-D' ~ * samba -> start: nmbd ... /lib/rcscripts/sh/rc-daemon.sh: line 231: 15232 Aborted (core dumped) /sbin/start-stop-daemon '--start' '--quiet' '--exec' '/usr/sbin/nmbd' '--' '-D' ~ * Error: starting services (see system logs) ~ * samba -> stop: smbd ... ~ * samba -> stop: nmbd ... System logs give me this: May 29 20:40:26 exodus smbd[15228]: [2008/05/29 20:40:26, 0] lib/fault.c:fault_report(41) May 29 20:40:26 exodus smbd[15228]: === May 29 20:40:26 exodus smbd[15228]: [2008/05/29 20:40:26, 0] lib/fault.c:fault_report(42) May 29 20:40:26 exodus smbd[15228]: INTERNAL ERROR: Signal 11 in pid 15228 (3.0.28) May 29 20:40:26 exodus smbd[15228]: Please read the Trouble-Shooting section of the Samba3-HOWTO May 29 20:40:26 exodus smbd[15228]: [2008/05/29 20:40:26, 0] lib/fault.c:fault_report(44) May 29 20:40:26 exodus smbd[15228]: May 29 20:40:26 exodus smbd[15228]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf May 29 20:40:26 exodus smbd[15228]: [2008/05/29 20:40:26, 0] lib/fault.c:fault_report(45) May 29 20:40:26 exodus smbd[15228]: === May 29 20:40:26 exodus smbd[15228]: [2008/05/29 20:40:26, 0] lib/util.c:smb_panic(1633) May 29 20:40:26 exodus smbd[15228]: PANIC (pid 15228): internal error May 29 20:40:26 exodus smbd[15228]: [2008/05/29 20:40:26, 0] lib/util.c:log_stack_trace(1737) May 29 20:40:26 exodus smbd[15228]: BACKTRACE: 17 stack frames: May 29 20:40:26 exodus smbd[15228]:#0 /usr/sbin/smbd(log_stack_trace+0x2e) [0x80219e1e] May 29 20:40:26 exodus smbd[15228]:#1 /usr/sbin/smbd(smb_panic+0x5e) [0x80219f4e] May 29 20:40:26 exodus smbd[15228]:#2 /usr/sbin/smbd [0x802049b0] May 29 20:40:26 exodus smbd[15228]:#3 [0xb7f59420] May 29 20:40:26 exodus smbd[15228]:#4 /lib/libc.so.6 [0xb7dbc3d1] May 29 20:40:26 exodus smbd[15228]:#5 /lib/libc.so.6(iconv+0x6c) [0xb7dbb9fc] May 29 20:40:26 exodus smbd[15228]:#6 /usr/sbin/smbd [0x802280d1] May 29 20:40:26 exodus smbd[15228]:#7 /usr/sbin/smbd(smb_iconv+0x51) [0x80227671] May 29 20:40:26 exodus smbd[15228]:#8 /usr/sbin/smbd [0x8020195f] May 29 20:40:26 exodus smbd[15228]:#9 /usr/sbin/smbd(convert_string+0x2a9) [0x80202019] May 29 20:40:26 exodus smbd[15228]:#10 /usr/sbin/smbd(init_doschar_table+0x92) [0x80215902] May 29 20:40:26 exodus smbd[15228]:#11 /usr/sbin/smbd(init_iconv+0x11d) [0x802009cd] May 29 20:40:26 exodus smbd[15228]:#12 /usr/sbin/smbd(lp_load+0xe05) [0x80059df5] May 29 20:40:26 exodus smbd[15228]:#13 /usr/sbin/smbd(reload_services+0xb0) [0x802d17c0] May 29 20:40:26 exodus smbd[15228]:#14 /usr/sbin/smbd(main+0x523) [0x802d2bb3] May 29 20:40:26 exodus smbd[15228]:#15 /lib/libc.so.6(__libc_start_main+0xdc) [0xb7dbafdc] May 29 20:40:26 exodus smbd[15228]:#16 /usr/sbin/smbd [0x8004eba1] May 29 20:40:26 exodus smbd[15228]: [2008/05/29 20:40:26, 0] lib/fault.c:dump_core(181) May 29 20:40:26 exodus smbd[15228]: dumping core in /var/log/samba/cores/smbd May 29 20:40:26 exodus smbd[15228]: I've run revdep-rebuild and check everything I can think of but samba just refuses to start. It was working fine 20 mins ago before the update :( Any help greatly appreciated as I'm pretty stuck without samba Thanks in advance - -- Matt Harrison [EMAIL PROTECTED] http://blog.genestate.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) iEYEARECAAYFAkg/Bw4ACgkQxNZfa+YAUWEGlwCgkhUZdQNa5CFciEd2Z2ntnXkZ BcIAnjNpq9O/IiuMRmZWvS/m/C/FKbBy =i+5g -END PGP SIGNATURE- -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] Samba and Hebrew File Names
Hi, I never could make Linux box use MS-XP files (NTFS) over samba when the file names are Hebrew. open attempts of such file names results in failure (-1) and errno set to NOENT (standard message: No such file or directory). My last attempt is with: http://www.iglu.org.il/faq/index.cgi?_recurse=1&file=74#file_77 Unfortunately the command "make_unicodemap" is missing from the package (samba 3.0.20b is what I currently have) I tried the mount with options codepage=cp862,iocharset=iso8859-8 and I have kernel configurations 2.6.17 with: NLS_CODEPAGE_437 NLS_CODEPAGE_862 NLS_ISO8859_8 NLS_ISO8859_1 (only God knows why I keep this one) NLS_UTF8 I don't know what more I can do (I'm loosing it). -- Regards. David Harel, == Home office +972 77 4422234 Fax:+972 77 4422234 Cellular: +972 54 4534502 Snail Mail: Amuka D.N Merom Hagalil 13802 Israel Email: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
> Hi all, > > I am trying to let a samba mount on my fstab withopu success, > I got : > //csdc/EngSoftware /mnt/engsoftsmbfs > username=commodity\\allan,noauto0 0 > > ont fstab, if I try to mount /mnt/engsoft, it asks the password and > could not complit the mount. > if I do mount -t smbfs -o username=commodity\\allan //csdc/EngSoftware > /mnt/engsoft it ask for the password and works. > > I have I done wrong, or what Can I make to lets this work better. > > Thanks, Allan > > You can set a password in the fstab. I use this: //192.168.0.2/Temp /mnt/temp smbfs user,uid=smash,gid=users,password= 0 0 Works fine here. Perhaps not the cleanest way. Norman -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
no, it doesn´t work, any more clues ? On 5/23/06, Norman Rieß <[EMAIL PROTECTED]> wrote: > Hi all, > > I am trying to let a samba mount on my fstab withopu success, > I got : > //csdc/EngSoftware /mnt/engsoftsmbfs > username=commodity\\allan,noauto0 0 > > ont fstab, if I try to mount /mnt/engsoft, it asks the password and > could not complit the mount. > if I do mount -t smbfs -o username=commodity\\allan //csdc/EngSoftware > /mnt/engsoft it ask for the password and works. > > I have I done wrong, or what Can I make to lets this work better. > > Thanks, Allan > > You can set a password in the fstab. I use this: //192.168.0.2/Temp /mnt/temp smbfs user,uid=smash,gid=users,password= 0 0 Works fine here. Perhaps not the cleanest way. Norman -- gentoo-user@gentoo.org mailing list -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
On 5/23/06, Allan Spagnol Comar <[EMAIL PROTECTED]> wrote: //csdc/EngSoftware /mnt/engsoftsmbfs username=commodity\\allan,noauto0 0 I do not think you need \\ here. You only need this when running on the command line since bash interprets '\' as an escape character, so you need '\\' to get a single '\;. In fstab, try commodity\allan Remember: # echo \\ \ Also, cifs is better to use unless you are trying to mount something from Win95. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
On 5/23/06, Richard Fish <[EMAIL PROTECTED]> wrote: Also, cifs is better to use unless you are trying to mount something from Win95. Oh, and checking the cifs man page (man 8 mount.cifs), the option would be: user=commodity/allan HTH, -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
nice, the bar thing solved the problem with samba, I had never used cifs, is it better ? in what things it is better then smbfs ? thanks all for the atention, Allan On 5/23/06, Richard Fish <[EMAIL PROTECTED]> wrote: On 5/23/06, Allan Spagnol Comar <[EMAIL PROTECTED]> wrote: > //csdc/EngSoftware /mnt/engsoftsmbfs > username=commodity\\allan,noauto0 0 I do not think you need \\ here. You only need this when running on the command line since bash interprets '\' as an escape character, so you need '\\' to get a single '\;. In fstab, try commodity\allan Remember: # echo \\ \ Also, cifs is better to use unless you are trying to mount something from Win95. -Richard -- gentoo-user@gentoo.org mailing list -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
On 5/23/06, Allan Spagnol Comar <[EMAIL PROTECTED]> wrote: nice, the bar thing solved the problem with samba, I had never used cifs, is it better ? in what things it is better then smbfs ? Among other things, it supports files >2G (or is it 4G?). From /usr/src/linux/Documentation/filesystems/cifs.txt: This is the client VFS module for the Common Internet File System (CIFS) protocol which is the successor to the Server Message Block (SMB) protocol, the native file sharing mechanism for most early PC operating systems. CIFS is fully supported by current network file servers such as Windows 2000, Windows 2003 (including Windows XP) as well by Samba (which provides excellent CIFS server support for Linux and many other operating systems) The intent of this module is to provide the most advanced network file system function for CIFS compliant servers, including better POSIX compliance, secure per-user session establishment, high performance safe distributed caching (oplock), optional packet signing, large files, Unicode support and other internationalization improvements. In fact I read on lwn.net that smbfs may be officially deprecated soon...possibly in 2.6.18. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
thanks for the explanation. And what about samba project ? it doesn´t use SMB ? On 5/23/06, Richard Fish <[EMAIL PROTECTED]> wrote: On 5/23/06, Allan Spagnol Comar <[EMAIL PROTECTED]> wrote: > nice, the bar thing solved the problem with samba, I had never used > cifs, is it better ? in what things it is better then smbfs ? Among other things, it supports files >2G (or is it 4G?). From /usr/src/linux/Documentation/filesystems/cifs.txt: This is the client VFS module for the Common Internet File System (CIFS) protocol which is the successor to the Server Message Block (SMB) protocol, the native file sharing mechanism for most early PC operating systems. CIFS is fully supported by current network file servers such as Windows 2000, Windows 2003 (including Windows XP) as well by Samba (which provides excellent CIFS server support for Linux and many other operating systems) The intent of this module is to provide the most advanced network file system function for CIFS compliant servers, including better POSIX compliance, secure per-user session establishment, high performance safe distributed caching (oplock), optional packet signing, large files, Unicode support and other internationalization improvements. In fact I read on lwn.net that smbfs may be officially deprecated soon...possibly in 2.6.18. -Richard -- gentoo-user@gentoo.org mailing list -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
Allan Spagnol Comar schrieb: no, it doesn´t work, any more clues ? Well you "could" tell, what exactly does not work, as it works fine with me. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
hi norman, the problem was the two bars at the username=commodity\\allan changed to commodity\allan solved the problem thanks. On 5/23/06, Norman Rieß <[EMAIL PROTECTED]> wrote: Allan Spagnol Comar schrieb: > no, it doesn´t work, any more clues ? > Well you "could" tell, what exactly does not work, as it works fine with me. -- gentoo-user@gentoo.org mailing list -- An application asked: "Requeires Windows 9x, NT4 or better", so I´ve installed Linux -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba mount on fstab
On 5/23/06, Allan Spagnol Comar <[EMAIL PROTECTED]> wrote: thanks for the explanation. And what about samba project ? it doesn´t use SMB ? It will speak SMB, but nowadays it prefers CIFS. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba no connect from windows
On 13/11/2010, at 12:04am, Harry Putnam wrote: > This samba problem (windows machines cannot connect to gentoo server) > seems to have followed a recent update including samba. > > qlop shows: Mon Nov 1 05:10:33 2010 >>> net-fs/samba-3.5.6 > > Usually I've found I might need to redo passwords with smbpasswd. > > This time, that is not sufficient. > > Looking at the logs... > > I've included a snippet below, but let me say that I first restarted > samba, then rm'ed all log* files under /var/log/samba. You haven't demonstrated you can connect using a Linux machine and the Samba command line tools. Connecting using the same machine (to localhost) should be sufficient, however it's probably better to connect from a 2nd Linux box. You haven't shown us using `ps` that smbd and nmdb are running, nor have you posted the output of `netstat` (appropriately grepped - e.g. `netstat -aep | grep -e samba -e smb -e nmb`). When you `/etc/init.d/samba restart` does Samba start and stop cleanly? I also suggest you try the Windows command line tools, `net use` &c. When you connect using the Windows GUI tools you need to be *really* verbose about which specific icons and buttons you clicked on. Mounting a network share as a drive allows you to specify a username for the share / connection, whereas Start > Run and typing "\\server\share" may not (and may use a different username, attempting to connect as guest). These articles demonstrate how to use `nmblookup` and `smbclient` for troubleshooting purposes: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html#id2553540 http://tinyurl.com/2kpojq - scroll down to "List Shares Available on the Server" http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html http://tinyurl.com/32sq32g http://oreilly.com/catalog/samba/chapter/book/ch09_02.html http://tinyurl.com/2dn3w9r http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch12_:_Samba_Security_and_Troubleshooting http://tinyurl.com/pkqfz http://www.samba.org/samba/docs/Samba24Hc13.pdf (PDF) http://tinyurl.com/35v6kqz (PDF) Three of these articles are top google hits for "troubleshooting samba". I have used the first two links personally to debug Samba within the last 4 weeks. The reason I have replied to your last two posts saying "you haven't demonstrated that ..." is not personal. My thought process before replying was "this guy hasn't given us enough information ... I'll ignore this post ... well, that's no help to him - having told us so little he'll be waiting forever for help ... hmmmn, I wonder if it's the same guy". And it was you. Sorry about that. The information you have given us is scant, and without more we're left guessing around the same as you are. I'm pretty much rehashing the famous essay "How to ask questions the smart way" here, but I'm trying to be more terse and less patronising. Sorry if I fail at that latter. But in my experience, if you make the effort to google, follow the obvious solutions and *document fully* that you've followed them (this last part is VERY important) in your post to the mailing list then 8 times out of 10 you'll solve your own problem without needing to post, and a further 9th time out of 10 someone will quickly be able to give you a one-line answer showing your error. My experience is that when you take the time to do the documenting stage of this - tediously re-doing everything you did before and copying and pasting it into an email, making sure you methodology is pristine and clear, then it forces your mental processes to slow down. It's frustrating to have to repeat things you've already tried and it takes an hour or two, but 8 times out of 10 the slower pace of re-doing your troubleshooting leads you to discover the problem for yourself. You should not to be trying to *tell* us you have a problem, you should be trying to *prove* to us that you have a problem. Samba is frikkin' nasty to troubleshoot, it's boring and it's inconvenient, and I agree that it seems more so than most other services. I don't really know why this is. I too find the logfiles pants. Particularly when it comes to Samba I find a real reluctance to sit down, roll my sleeves up and get on with what I've just suggested you do, but there's no way to know more without doing so. Stroller.
Re: [gentoo-user] samba no connect from windows
On Sat, Nov 13, 2010 at 11:04 AM, Harry Putnam wrote: > This samba problem (windows machines cannot connect to gentoo server) > seems to have followed a recent update including samba. > > qlop shows: Mon Nov 1 05:10:33 2010 >>> net-fs/samba-3.5.6 > > Usually I've found I might need to redo passwords with smbpasswd. > > This time, that is not sufficient. > > Did you miss this? LOG: postinst The default passdb backend has been changed to 'tdbsam' in samba 3.4! That breaks existing setups using the 'smbpasswd' backend without explicit declaration! Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd' backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'. For further information make sure to read the release notes at http://samba.org/samba/history/samba-3.4.9.html and http://samba.org/samba/history/samba-3.4.0.html
[gentoo-user] Samba wants to downgrade my python....
Hi all, I've got a media server that I'm in the process of installing Samba on. When I do: emerge -NuD --pretend samba I get a list of stuff that portage wants to install, including Python, V2.7.3, even though the machine already has V3.2.3 installed. I've also stripped down the USE variables to basically "server" and that's all and still for some reason portage wants to bring in Python - the older version, V2. I've even added a "-python" to packages.use and it still wants python, V2. I've had a look at the USE variables for the packages that follow Python in the emerge list and they either don't want python or already have "-python" set. Having a play around with equery also didn't reveal anything. Does anyone have any ideas as to what's causing old Python to be brought in? I haven't posted the whole "emerge --info" stuff yet as hopefully someone has come across this problem before. Any thoughts greatly appreciated, Andrew
Re: [gentoo-user] Samba Machine based log problem
Chris Ong wrote: > Hi all, > My samba server just doesn't create machine based log files. This is > the details > > /var/log/samba/log.smbd > [2005/06/16 16:28:56, 0] lib/debug.c:reopen_logs(589) > Unable to open new log file /var/log/samba3/log.tasmanian: No such > file or directory Does the directory /var/log/samba3 exist? Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba Machine based log problem
Zac Medico wrote: Does the directory /var/log/samba3 exist? Argh... "reado" (typo perhaps) error. Thanks Zac. -- Regards, C. K. Ong (Chris) Linux System Engineer RHCT Cert No: 603004347692007 http://www.redhat.com/rhce/rhce603004347692007.html My Directory Sdn. Bhd. Your Open Source Partner. http://www.md.com.my http://www.net.my 2005 This week's fortune: --- In most countries selling harmful things like drugs is punishable. Then howcome people can sell Microsoft software and go unpunished? (By [EMAIL PROTECTED], Hasse Skrifvars) --- fortune-mod version 1.99.1 * **POWERED BY BYNARI INSIGHT SERVER* * * The Enterprise Email Server That Rocks! * * -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba fails to connect to share
Hi I have a problem with getting samba to play nice with my XP boxs. In short Samba has happily allowed me to see my XP shared directories for a 3-4 months, however the other night I restarted my router therefore disabling my LAN connections without first umounting my samba shares [oops] I have found in the past that this can confuse samba and usually takes some messing to fix. However when my LAN came back up I realised my error so rebooted XP machine and Gentoo in order to reset and carry on as usual however for some reason I can no longer mount my XP shares. Note that I have changed no config files on either machines and IP's are same and so on, Some output :- genstu stuart # smbtree Password: STUNET \\NEWSTUnewstucomp failed tcon_X with NT_STATUS_DUPLICATE_NAME \\GENSTUgenstu \\GENSTU\ADMIN$ IPC Service (genstu) \\GENSTU\IPC$ IPC Service (genstu) \\GENSTU\data Samshare \\CALCOMP Calcomp \\CALCOMP\C$Default share \\CALCOMP\ADMIN$Remote Admin \\CALCOMP\E \\CALCOMP\D \\CALCOMP\C \\CALCOMP\SharedDocs \\CALCOMP\D$Default share \\CALCOMP\IPC$ Remote IPC THE ERROR 29919: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed It is NEWSTU that I am really trying to connect to and you can see that there is something wrong there, however if I try to mount one of the CALCOMP shares the same error arrives. I use Lineighbourhood to manage this and till now have had no issues. Can anyone suggest a way forward? Have there been any recent changes to a package affecting samba or somthing dependant? [I had not rebooted my Gentoo box for 18 Days so prehaps something changed on reboot?] mmm minor flash of inspiration as writing, XP made some background updates about a week ago is anyone aware if they have tightend their security in some way that may be causing this? Regardless of the result thanks for reading :] stu -- "There are 10 types of people in this world: those who understand binary, those who don't" --Unknown -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] samba and window 7 NTFS
On 04/12/14 18:49, Joseph wrote: > I just installed windows 7 in VB and would like to mount windows 7 > shares (folder) via samba on Linux. > I think, I need to enable "CONFIG_NTFS_FS" in kernel? no just cifs > > In order to format the USB stick to NTFS I need this option in kernel > as well, am I correct? > yes
Re: [gentoo-user] samba and window 7 NTFS
On 12/04/14 19:15, thegeezer wrote: On 04/12/14 18:49, Joseph wrote: I just installed windows 7 in VB and would like to mount windows 7 shares (folder) via samba on Linux. I think, I need to enable "CONFIG_NTFS_FS" in kernel? no just cifs In order to format the USB stick to NTFS I need this option in kernel as well, am I correct? yes You are correct, but I think I only need NTFS in Kernel if I want to mount USB stick on Linux amd read/wrote to it. I got around and used VB Windows 7 to format USB to NTFS and transfer the files from Linux to UBS via shared folder. -- Joseph
Re: [gentoo-user] samba and window 7 NTFS
On 4 December 2014 19:49:35 CET, Joseph wrote: >I just installed windows 7 in VB and would like to mount windows 7 >shares (folder) via samba on Linux. >I think, I need to enable "CONFIG_NTFS_FS" in kernel? No. CIFS and install Samba. >In order to format the USB stick to NTFS I need this option in kernel >as well, am I correct? No. Fuse support and install ntfs3g. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] samba and window 7 NTFS
On Thu, 04 Dec 2014 19:15:07 +, thegeezer wrote: > > In order to format the USB stick to NTFS I need this option in kernel > > as well, am I correct? > > > yes > You're probably better off not using the in-kernel NTFS and using ntfs-3g instead, which also includes mkfs.ntfs. You can't format a filesystem with just a kernel driver. -- Neil Bothwick Suicidal twin kills sister by mistake! pgpGilGcqwjlm.pgp Description: OpenPGP digital signature
Re: [gentoo-user] samba and window 7 NTFS
> On Dec 4, 2014, at 22:21, Neil Bothwick wrote: > > On Thu, 04 Dec 2014 19:15:07 +, thegeezer wrote: > >>> In order to format the USB stick to NTFS I need this option in kernel >>> as well, am I correct? >> yes > > You're probably better off not using the in-kernel NTFS and using ntfs-3g > instead, which also includes mkfs.ntfs. You can't format a filesystem > with just a kernel driver. Same opinoin here. The in-kernel driver is only good for reading files and directories. If anything else is needed use ntfs3g. -- -Matti
Re: [gentoo-user] samba and window 7 NTFS
On Friday 05 Dec 2014 16:11:26 Matti Nykyri wrote: > > On Dec 4, 2014, at 22:21, Neil Bothwick wrote: > > > > On Thu, 04 Dec 2014 19:15:07 +, thegeezer wrote: > >>> In order to format the USB stick to NTFS I need this option in kernel > >>> as well, am I correct? > >> > >> yes > > > > You're probably better off not using the in-kernel NTFS and using ntfs-3g > > instead, which also includes mkfs.ntfs. You can't format a filesystem > > with just a kernel driver. > > Same opinoin here. The in-kernel driver is only good for reading files and > directories. If anything else is needed use ntfs3g. This is right, ntfs-3g is a safe way of accessing NTFS from Linux. Just mentioned in passing that the ntfs in-kernel driver is really good for recovering corrupted NTFS partitions. I tried the same with ntfs-3g and it couldn't read it. The kernel driver had no problem doing so. YMMV. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] samba and window 7 NTFS
Am Fri, 5 Dec 2014 23:16:37 + schrieb Mick : > On Friday 05 Dec 2014 16:11:26 Matti Nykyri wrote: > > > On Dec 4, 2014, at 22:21, Neil Bothwick wrote: > > > > > > On Thu, 04 Dec 2014 19:15:07 +, thegeezer wrote: > > >>> In order to format the USB stick to NTFS I need this option in kernel > > >>> as well, am I correct? > > >> > > >> yes > > > > > > You're probably better off not using the in-kernel NTFS and using ntfs-3g > > > instead, which also includes mkfs.ntfs. You can't format a filesystem > > > with just a kernel driver. > > > > Same opinoin here. The in-kernel driver is only good for reading files and > > directories. If anything else is needed use ntfs3g. > > This is right, ntfs-3g is a safe way of accessing NTFS from Linux. > > Just mentioned in passing that the ntfs in-kernel driver is really good for > recovering corrupted NTFS partitions. I tried the same with ntfs-3g and it > couldn't read it. The kernel driver had no problem doing so. YMMV. In that vein: a couple of years ago I rescued data from a neighbours Windows 7 drive with ddrescue and, because ddrescue was "stuck" at the last 0.x percent, ntfsck, which was part of the ntfsprogs package at the time, and (I think) was already being developed as part of ntfs3g. I was pleasantly surprised that it worked. -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] samba and window 7 NTFS
Am 06.12.2014 um 00:16 schrieb Mick: Same opinoin here. The in-kernel driver is only good for reading files and directories. If anything else is needed use ntfs3g. This is right, ntfs-3g is a safe way of accessing NTFS from Linux. Actually, while there is a NTFS-kernel driver, this driver is mostly stable only for reading files, but not writing files. If you need to use NTFS on a regular basis under Linux, you want to use the FUSE ntfs-3g. It is far more advanced and far more stable than the kernel driver.
[gentoo-user] samba as AD DC on gentoo
Do people here run samba-4.x AD DCs on gentoo? If yes, pls let me know of any traps or so. Yes, I read the wiki ;-) I currently prepare the migration of an old NT4-based domain (on a samba-PDC, gentoo) to AD (other physical box, gentoo as well). Did something similar last week (but with debian involved) and learned a whole lot. As there is no step back as soon as the Windows clients talked to the AD-DC I prefer to know as much as I can in advance. Thanks, regards, Stefan
Re: [gentoo-user] Samba crashes after upgrading system
Robert Cernansky wrote: Hello, I just upgraded my system (emerge -u world) and after restart samba do not start. (Samba was not upgraded.) In the /var/log/messages I see: [snip] [snip] Mounting network filesystems (smb shares) and various samba comands (smbtree, smbstatus) also crashes. I've tried re-emerge samba but it did not help. Any idea where could be the problem? I have amd64 system. The important packages that was upgraded are: [ebuild U ] sys-libs/zlib-1.2.2-r1 [1.2.2] -build 0 kB [ebuild U ] sys-devel/gcc-config-1.3.11-r4 [1.3.11-r3] 0 kB [ebuild U ] sys-kernel/linux-headers-2.6.11-r2 [2.6.8.1-r4] 0 kB [ebuild U ] sys-libs/glibc-2.3.5 [2.3.4.20041102-r1] -build -debug -erandom -hardened (-multilib) +nls -nptl -nptlonly -pic (-selinux) +userlocales 0 kB [ebuild U ] sys-devel/libtool-1.5.18-r1 [1.5.16] 0 kB [snip] [ebuild NS ] sys-libs/db-4.2.52_p2 -bootstrap -doc -java -nocxx +tcltk 0 kB [ebuild U ] sys-libs/pam-0.78-r2 [0.77-r6] +berkdb -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 0 kB [ebuild U ] sys-apps/shadow-4.0.7-r3 [4.0.5-r3] +nls +pam (-selinux) -skey 0 kB [ebuild U ] sys-apps/pam-login-3.17 [3.14] -livecd +nls (-selinux) 0 kB [snip] [ebuild U ] sys-fs/udev-058 [056] (-selinux) -static 0 kB Thanks Robert Did you run revdep-rebuild after the update? That's always a good idea when libraries are updated. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba crashes after upgrading system
Robert Cernansky wrote: On Sat, 16 Jul 2005 11:03:02 -0700 Zac Medico <[EMAIL PROTECTED]> wrote: ZM> Robert Cernansky wrote: ZM> > Hello, ZM> > ZM> > I just upgraded my system (emerge -u world) and after restart samba do not ZM> > start. (Samba was not upgraded.) In the /var/log/messages I see: ZM> > [snip] ZM> > ZM> > Mounting network filesystems (smb shares) and various samba comands ZM> > (smbtree, smbstatus) also crashes. I've tried re-emerge samba but it did ZM> > not help. Any idea where could be the problem? I have amd64 system. The ZM> > important packages that was upgraded are: [snip] ZM> Did you run revdep-rebuild after the update? That's always a good idea when libraries are updated. Yes, I did. Only openoffice-bin and opera were listed. I've also tried emerge latest unstable version of samba (3.0.14a-r1) but it did not help. I posted bugreport about this (http://bugs.gentoo.org/show_bug.cgi?id=99184). Anyway, any sugestions/workarounds are welcome. Robert I will quote from "info gcc" The following options control optimizations that may improve performance, but are not enabled by any `-O' options. This section includes experimental options that may produce broken code. `-ftracer' Perform tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do better job. Rebuild without experimental optimization options if you want real support! ;-> -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba crashes after upgrading system
Robert Cernansky wrote: On Sat, 16 Jul 2005 11:03:02 -0700 Zac Medico <[EMAIL PROTECTED]> wrote: ZM> Robert Cernansky wrote: ZM> > Hello, ZM> > ZM> > I just upgraded my system (emerge -u world) and after restart samba do not ZM> > start. (Samba was not upgraded.) In the /var/log/messages I see: ZM> > [snip] ZM> > ZM> > Mounting network filesystems (smb shares) and various samba comands ZM> > (smbtree, smbstatus) also crashes. I've tried re-emerge samba but it did ZM> > not help. Any idea where could be the problem? I have amd64 system. The ZM> > important packages that was upgraded are: [snip] ZM> Did you run revdep-rebuild after the update? That's always a good idea when libraries are updated. Yes, I did. Only openoffice-bin and opera were listed. I've also tried emerge latest unstable version of samba (3.0.14a-r1) but it did not help. I posted bugreport about this (http://bugs.gentoo.org/show_bug.cgi?id=99184). Anyway, any sugestions/workarounds are welcome. Robert Pam and glibc are direct dependancies of samba that you upgraded. I would roll those back one by one to see if that helps. Do you have binary packages of the old versions (from quickpkg or FEATURES=buildpkg)? Oh, and like Richard said, try some normal CFLAGS before you file bugs :-p. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba crashes after upgrading system
Robert Cernansky wrote: Ouch. Should I recompile whole system (please no ;-)) or samba only? Or, maybe samba and glibc and pam as Zac wrote that these are direct dependancies. Unless you're just experimenting, it's really a bad idea to use fringe CFLAGS that most other people aren't using. If you have have binary packages of your old versions that weren't *noticeably* broken then that's a good place to start. In the long run, you want to have most of your packages, expecially the core libraries, built with known safe CFLAGS. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba crashes after upgrading system
Robert Cernansky wrote: I read in some forums that downgrading glibc is not good idea. It is true? I have not old binary packages but they are still in portage so I still can install them. But at first I'll rebuild current versions without -ftracer. In that case I would just rebuild the current version without -ftracer. In the future use quickpkg or FEATURES=buildpkg to give yourself a roll back plan. AFAICT downgrading glibc should not be much of an issue in itself because the API is still the same and it would just take you back where you were before. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba crashes after upgrading system
Zac Medico wrote: Robert Cernansky wrote: I read in some forums that downgrading glibc is not good idea. It is true? I have not old binary packages but they are still in portage so I still can install them. But at first I'll rebuild current versions without -ftracer. In that case I would just rebuild the current version without -ftracer. In the future use quickpkg or FEATURES=buildpkg to give yourself a roll back plan. AFAICT downgrading glibc should not be much of an issue in itself because the API is still the same and it would just take you back where you were before. Zac For a complete list of packages that should be rebuilt, you can run: equery belongs `ldd /usr/sbin/smbd | grep ' /' | awk '{print $3}'` | sort | uniq This will print the name of every package that contains a library that smbd depends upon. I would not rebuild the entire system at this point, but if -ftracer does turn out to be the source of your problem, then a rebuild should scheduled soon! -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba crashes after upgrading system
Robert Cernansky wrote: RF> RF> For a complete list of packages that should be rebuilt, you can run: RF> RF> equery belongs `ldd /usr/sbin/smbd | grep ' /' | awk '{print $3}'` | RF> sort | uniq RF> RF> This will print the name of every package that contains a library that RF> smbd depends upon. RF> RF> I would not rebuild the entire system at this point, but if -ftracer RF> does turn out to be the source of your problem, then a rebuild should RF> scheduled soon! Well, ldd shows that smbtree depends on popt and glibc. According to gdb, the problem seems to be in glibc (/usr/lib64/gconv/IBM852.so belongs to glibc): $ gdb smbtree [snip] (gdb) r Starting program: /usr/bin/smbtree (no debugging symbols found) (no debugging symbols found) [snip] Program received signal SIGSEGV, Segmentation fault. 0x2b4459bc in gconv () from /usr/lib64/gconv/IBM852.so (gdb) bt #0 0x2b4459bc in gconv () from /usr/lib64/gconv/IBM852.so #1 0x2b23efa2 in gconv () from /usr/lib64/gconv/UTF-16.so #2 0x2b034f78 in iconv_close () from /lib/libc.so.6 #3 0x2b03456b in iconv () from /lib/libc.so.6 #4 0x004416b0 in smb_register_charset () #5 0x004417db in smb_iconv () #6 0x004222fa in lazy_initialize_conv () #7 0x0042283b in convert_string () #8 0x00432308 in init_doschar_table () #9 0x004221c4 in init_iconv () #10 0x0041c9e4 in lp_file_list_changed () #11 0x0041dfc5 in lp_do_parameter () #12 0x0042085a in set_store_dos_attributes () #13 0x00420b98 in pm_process () #14 0x0041f83b in lp_load () #15 0x00418c68 in main () So I decide to downgrade glibc first, but it did not help. Then I downgrade linux-headers and re-emerge (downgraded) glibc and samba (for sure). Again without success. :-( I removed -ftracer at first of course. I'm stuck now. I don't believe that rebuild of whole system (without -ftracer) fixes the problem because /usr/lib64/gconv/IBM852.so depends only on libraries from glibc. $ ldd /usr/lib64/gconv/IBM852.so libc.so.6 => /lib/libc.so.6 (0x2abce000) /lib64/ld-linux-x86-64.so.2 (0x4000) $ ldd /lib/libc.so.6 /lib64/ld-linux-x86-64.so.2 (0x2aaab000) $ ldd /lib64/ld-linux-x86-64.so.2 statically linked What do you think? Robert Maybe something in your toolchain is broken. If you don't have a trusted toolchain then you can borrow the toolchain from a livecd to rebuild gcc, binutils, and libtool. Zac -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba crashes after upgrading system
Robert Cernansky wrote: Great idea with this livecd. I just replaced /usr/lib64/gconv/IBM852.so with that one from livecd and it works! When I'll have more time I'll try to rebuild toolchain as you suggested. Thank You. Robert. Great! Actually, I meant to say stage3 instead of livecd. You can chroot into a stage3 and use quickpkg to make binary packages out of anything you need (glibc, gcc, etc..). Then install those binary packages on your broken system. Zac -- gentoo-user@gentoo.org mailing list
[gentoo-user] SAMBA Windows native driver and CUPS
Hi to all!! I'm right now a bit crazy. I'm trying to setup a samba server that is sharing a printer, and setup it in a windows client with the native printer, as said is this guide http://gentoo-wiki.com/HOWTO_Native_Windows_Printing_with_CUPS/Samba Everything goes well, but when I try to print a page, nothing happens. In fact, the windows machine says that there is an error. And I don't know what to change (after 6 hours.. :)) this is the log I get from cups: d [11/Dec/2005:23:54:14 +0100] POST / d [11/Dec/2005:23:54:14 +0100] CONTENT_TYPE = application/ipp d [11/Dec/2005:23:54:14 +0100] ReadClient: 5 con->data_encoding = length, con->data_remaining = 189, con->file = -1 d [11/Dec/2005:23:54:14 +0100] ProcessIPPRequest(0xb7bda008[5]): operation_id = 000b d [11/Dec/2005:23:54:14 +0100] ProcessIPPRequest: URI="ipp://localhost/printers/Lexmark" d [11/Dec/2005:23:54:14 +0100] get_printer_attrs(0xb7bda008[5], ipp://localhost/printers/Lexmark) d [11/Dec/2005:23:54:14 +0100] add_printer_state_reasons(0xb7bda008[5], 0x8094df0[Lexmark]) d [11/Dec/2005:23:54:14 +0100] add_queued_job_count(0xb7bda008[5], 0x8094df0[Lexmark]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x80956e8[job-priority-supported,4,21]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x8095478[job-priority-default,4,21]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x8095410[copies-supported,4,33]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x80953b8[copies-default,4,21]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x808e9d8[page-ranges-supported,4,22]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x8095840[number-up-supported,4,21]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x808e9b0[number-up-default,4,21]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x80958f8[orientation-requested-supported,4,23]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x808a308[orientation-requested-default,4,23]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x80959b8[job-hold-until-supported,4,44]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x808a0f0[job-hold-until-default,4,44]) d [11/Dec/2005:23:54:14 +0100] copy_attribute(0x80bff88, 0x8095b30[job-sheets-supported,4,42]) D [11/Dec/2005:23:54:14 +0100] ProcessIPPRequest: 5 status_code=0 d [11/Dec/2005:23:54:14 +0100] ProcessIPPRequest: Adding fd 5 to OutputSet... d [11/Dec/2005:23:54:14 +0100] WriteClient: Removing fd 5 from OutputSet... d [11/Dec/2005:23:54:14 +0100] ReadClient: 5, used=0, file=-1 d [11/Dec/2005:23:54:14 +0100] ReadClient: httpGets returned EOF... D [11/Dec/2005:23:54:14 +0100] CloseClient: 5 d [11/Dec/2005:23:54:14 +0100] CloseClient: Removing fd 5 from InputSet and OutputSet... d [11/Dec/2005:23:54:15 +0100] select_timeout: 27 seconds to send browse update d [11/Dec/2005:23:54:42 +0100] select_timeout: 16 seconds to browse timeout a printer And from samba, I get no errors... Can anyone give me a clue or help me??? Thanks a lot!!! -- gentoo-user@gentoo.org mailing list
[gentoo-user] Samba build problem after system update
Hi! I have problem with installing/updating couple apps after system update. After upgrading I've done revdep-rebuild (as usual) and everything is ok. I've try to emerge autoconfig but error also occurred. What should I do with this? Any suggestions? * samba-3.0.28a.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ...[ ok ] * checking samba-3.0.28a.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking samba-3.0.28a.tar.gz to /var/tmp/portage/net-fs/samba-3.0.28a/work * Applying 3.0.26a-lazyldflags.patch ... [ ok ] * Applying 3.0.26a-invalid-free-fix.patch ...[ ok ] * Applying 3.0.28-libcap_detection.patch ... [ ok ] * Applying 3.0.28-fix_broken_readdir_detection.patch ... [ ok ] * Running autoconf -I. -Ilib/replace ... [ !! ] * Failed Running autoconf ! * * Include in your bugreport the contents of: * * /var/tmp/portage/net-fs/samba-3.0.28a/temp/autoconf-22578.out * * ERROR: net-fs/samba-3.0.28a failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3625: Called eautoconf '-I.' '-Ilib/replace' * environment, line 1276: Called autotools_run_tool 'autoconf' '-I.' '-Ilib/replace' * environment, line 572: Called die * The specific snippet of code: * die "Failed Running $1 !"; * The die message: * Failed Running autoconf ! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-fs/samba-3.0.28a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.28a/temp/environment'. Greet's Mateusz M. PS: Environment is not hardned, x86_64 architecture on Intel Core 2 Quad CPU. -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] samba doesn't map to guest account
Hi list, now after 6 hours non-stop trying to solve this issue I decided to contact the list! I actually just want to mount an samba share as guest via "mount -t cifs ...", but I alway get a "mount error 13 = Permission denied". I tried the following (and many else) mount -t cifs //172.16.0.3/ebooks /mnt/ebooks -o guest mount -t cifs //172.16.0.3/ebooks /mnt/ebooks -o user=someuser,password=somepass (both also with the sec options none,ntlm,ntlmi,ntlmv2,ntlmv2i or smbfs instead of cifs) and always got "mount error 13 = Permission denied". I just wanted samba to map me to the guest-account but it wouldn't I then tried mount -t cifs //172.16.0.3/ebooks /mnt/ebooks -o user=realuser,password=realpass (where realuser is a privileged user that really exists) and it worked!! I also tried mount -t cifs //172.16.0.3/upload /mnt/ebooks -o guest (where 'upload' has a force user/group option set. Look below in smb.conf) and it worked!! Yes, it mapped me to the right account!! But no matter what I did SAMBA-WON'T-MAP-MY-ACCOUNT-TO-GUEST on other shares than upload!!! Btw: I can connect with a windows-client and I can connect with smbclient and it works like a charm - which makes me much more confused ?:-( Greetz, M i c h a e l CLIENT-SIDE: gentoo 2.6.20-gentoo-r7 mount.cifs version: 1.10-3.0.24 SERVER-SIDE: gentoo 2.6.19-gentoo-r5 samba v3.0.24 --- smb.conf --- [global] workgroup = GALLIA netbios name = Asterix server string = Asterix log file = /var/log/samba/log.%m log level = 3 passdb:10 auth:1 winbind:2 max log size = 50 hosts allow = 172.16.0. 192.168. guest account = smbguest map to guest = bad user security = user encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = no hide dot files = no domain master = no domain logons = no preferred master = no oplocks = no display charset = UTF-8 unix charset = UTF-8 [ebooks] comment = eBook Directory path = /samba/ebooks public = yes writeable = no write list = @smbroot force group = +smbroot directory mask = 0775 create mask = 0664 [upload] comment = Upload Directory path = /samba/upload public = yes writeable = yes force user = smbguest force group = smbguest directory mask = 0775 create mask = 0664 -- - Kennt man wirklich jeden über 3 Ecken? Die Antworten gibt's bei Yahoo! Clever.
[gentoo-user] [samba] No write to linux shares
I've posted this here because I know the advice on the samba list will be to update to samba-3.0.23b from previous posts there, however it appears there is no ebuild for that in todays sync and I'm not conversant enough with doing my own to update that way. Further I'm guessing several people here are running samba-3.0.23a without this write problem... so rather than argue with developers on samba list who will just tell me to update and see if problem is still there, I'm asking for help here from any savvy samba users running the current build available on portage. I'm able to see and navigate to the linux shares from a winxp box, but not able to write to the share. I've defined the share to have write abiltity like this in smb.conf: [smWinBk] comment = "" valid users = reader Harry path = /anex2/win_bk/ writeable = yes guest ok = yes The log from an attempt to write to the above share shows there is no write priviledge: (I'm not sure where the log actually starts for this attempt but will include a few lines showing the Write=no- (Samba logs are basically unintelligable far as I can tell)) The line of note is marked off with asterisks and I've included one before and after. Following the write info line, and dozens of lines further along we finally see the denial, also marked off with asterisks. I've opened a text file named AlienSkin.txt and attempted to alter its contents using a winxp editor and working from a winxp box. Can anyone here tell me what might be causing the write failure? I see no evidence of authentication or password problems so guessing that isn't an issue here. [2006/08/25 11:04:42, 3] smbd/dosmode.c:unix_mode(147) unix_mode(AlienSkin.txt) returning 0744 *** [2006/08/25 11:04:42, 2] smbd/open.c:open_file(352) Harry opened file AlienSkin.txt read=Yes write=No (numopen=1) *** [2006/08/25 11:04:42, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(167) linux_set_kernel_oplock: got kernel oplock on file AlienSkin.txt, dev = 308, inode = 3989, file_id = 1 [...] snipped about 65 lines [2006/08/25 11:04:48, 3] smbd/dosmode.c:unix_mode(147) unix_mode(AlienSkin.txt) returning 0744 * [2006/08/25 11:04:48, 3] smbd/open.c:open_file(278) Error opening file AlienSkin.txt (Permission denied) (local_flags=2) (flags=2) [2006/08/25 11:04:48, 3] smbd/error.c:unix_error_packet(90) unix_error_packet: error string = Permission denied [2006/08/25 11:04:48, 3] smbd/error.c:error_packet(146) error packet at smbd/trans2.c(2682) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba and Hebrew File Names
Am Donnerstag 16 November 2006 21:34 schrieb David Harel: > Hi, > > > I never could make Linux box use MS-XP files (NTFS) over samba when the > file names are Hebrew. Heya, I just tested this out really quick and encountered the same problem. However I was able to mount everything without any problems using cifs instead of smbfs. If you have that in your kernel then you can try it. mount -t cifs -o user= /// / With WinXP on the otherside (or any newer samba also) you should not need to specify anything other than that above, however to get a better idea of what you can do with this you can check out the man page for mount.cifs. (man:/mount.cifs under konqueror or "man mount.cifs" from the commandline.) Hope that helps you out in your quest. Justin T -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Samba wants to downgrade my python....
On Sep 16, 2012 1:05 PM, "Andrew Lowe" wrote: > > Hi all, > I've got a media server that I'm in the process of installing Samba on. When I do: > > emerge -NuD --pretend samba > > I get a list of stuff that portage wants to install, including Python, V2.7.3, even though the machine already has V3.2.3 installed. I've also stripped down the USE variables to basically "server" and that's all and still for some reason portage wants to bring in Python - the older version, V2. I've even added a "-python" to packages.use and it still wants python, V2. I've had a look at the USE variables for the packages that follow Python in the emerge list and they either don't want python or already have "-python" set. > > Having a play around with equery also didn't reveal anything. Does anyone have any ideas as to what's causing old Python to be brought in? I haven't posted the whole "emerge --info" stuff yet as hopefully someone has come across this problem before. > > Any thoughts greatly appreciated, > > Andrew > Hi, when you are dealing with python always remember that the API has changed between version 2 and 3 so python 3 can't handle python 2 scripts. So what I think emerge is doing here is installing python 2.7 beside 3.2. When you add the verbose flag to the emerge command, you will probably see something like [ NS ] or [ uS ] at the beginning of the python line. The S stands for new slot, so both version will be installedbecause samba or one of it's dependency is using python 2 scripts. Mit freundlichen Grüßen / Best Regards Randolph Maaßen
Re: [gentoo-user] Samba wants to downgrade my python....
On Sun, 16 Sep 2012 18:59:33 +0800 Andrew Lowe wrote: > Hi all, > I've got a media server that I'm in the process of installing > Samba on. When I do: > > emerge -NuD --pretend samba > > I get a list of stuff that portage wants to install, including > Python, V2.7.3, even though the machine already has V3.2.3 installed. > I've also stripped down the USE variables to basically "server" and > that's all and still for some reason portage wants to bring in Python > - the older version, V2. I've even added a "-python" to packages.use > and it still wants python, V2. I've had a look at the USE variables > for the packages that follow Python in the emerge list and they > either don't want python or already have "-python" set. > > Having a play around with equery also didn't reveal anything. > Does anyone have any ideas as to what's causing old Python to be > brought in? I haven't posted the whole "emerge --info" stuff yet as > hopefully someone has come across this problem before. > > Any thoughts greatly appreciated, > > Andrew > Python is slotted (see gentoo docs for more info on SLOTS). Samba is not downgrading python, it is asking for python-2.7 to be installed alongside python-3.2 (so you will then have both). Just accept what portage says and let it do it;s thing - there are many packages out there that are not ported to python-3 yet so you almost certainly are going to need python-2.7 at some point anyway. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Samba wants to downgrade my python....
On Sun, 16 Sep 2012 18:59:33 +0800, Andrew Lowe wrote: > I've had a look at the USE variables for the packages > that follow Python in the emerge list and they either don't want python > or already have "-python" set. You've already had a reply about the slotted nature of python, but you also need to understand that USE flags are not dependency lists. USE flags cover optional features, if a package has an option python module, bindings or scripts, a USE flag may determine whether they are installed. But if a package needs python2, no amount of fudging with USE flags will change that fact. -- Neil Bothwick Programmer (n): A red-eyed, mumbling mammal capable of conversing with inanimate objects. signature.asc Description: PGP signature
Re: [gentoo-user] Samba wants to downgrade my python....
Am Sun, 16 Sep 2012 18:59:33 +0800 schrieb Andrew Lowe : > Hi all, Hi, > I've got a media server that I'm in the process of installing Samba on. > When I do: > > emerge -NuD --pretend samba > > I get a list of stuff that portage wants to install, including Python, > V2.7.3, even though the machine already has V3.2.3 installed. I've also > stripped down the USE variables to basically "server" and that's all and > still for some reason portage wants to bring in Python - the older > version, V2. I've even added a "-python" to packages.use and it still > wants python, V2. I've had a look at the USE variables for the packages > that follow Python in the emerge list and they either don't want python > or already have "-python" set. > > Having a play around with equery also didn't reveal anything. Does > anyone have any ideas as to what's causing old Python to be brought in? > I haven't posted the whole "emerge --info" stuff yet as hopefully > someone has come across this problem before. First of all: Python 2 and 3 are (partly) incompatible versions of the language. They can be installed in parallel in different slots (the emerge output will have contained "NS" at one point, for "New Slot"). So you are not so much downgrading python as installing an older version in addition to the current version. Although "older" and "newer" are misleading, since they have both been under active development in parallel since Python 3 was released. Second: you can use the "-t" (or "--tree") option of emerge to get a tree view of the dependencies, so that you can see what exactly is pulling in python-2.7.3. But it sounds like some dependency of samba has a hard dependency on Python 2, so you probably cannot control it. > Any thoughts greatly appreciated, > > Andrew HTH -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup signature.asc Description: PGP signature
Re: [gentoo-user] Samba wants to downgrade my python....
On 09/16/12 19:19, Randolph Maaßen wrote: On Sep 16, 2012 1:05 PM, "Andrew Lowe" mailto:a...@wht.com.au>> wrote: > > Hi all, > I've got a media server that I'm in the process of installing Samba on. When I do: > > emerge -NuD --pretend samba > > I get a list of stuff that portage wants to install, including Python, V2.7.3, even though the machine already has V3.2.3 installed. I've also stripped down the USE variables to basically "server" and that's all and still for some reason portage wants to bring in Python - the older version, V2. I've even added a "-python" to packages.use and it still wants python, V2. I've had a look at the USE variables for the packages that follow Python in the emerge list and they either don't want python or already have "-python" set. > > Having a play around with equery also didn't reveal anything. Does anyone have any ideas as to what's causing old Python to be brought in? I haven't posted the whole "emerge --info" stuff yet as hopefully someone has come across this problem before. > > Any thoughts greatly appreciated, > > Andrew > Hi, when you are dealing with python always remember that the API has changed between version 2 and 3 so python 3 can't handle python 2 scripts. So what I think emerge is doing here is installing python 2.7 beside 3.2. When you add the verbose flag to the emerge command, you will probably see something like [ NS ] or [ uS ] at the beginning of the python line. The S stands for new slot, so both version will be installedbecause samba or one of it's dependency is using python 2 scripts. Randolph, You have guessed correctly, I get NS. But to me, the question is why do I even need python at all for something that is a file sharing daemon? I've turned off CUPS etc etc, I just want file sharing to the M$ world, not all the other fluff. I suppose I'll have to have a look at the ebuild to try and work out why this thingy wants Python, any python, in the first place. Andrew
Re: [gentoo-user] Samba wants to downgrade my python....
On Sun, 16 Sep 2012 19:32:11 +0800, Andrew Lowe wrote: > I suppose I'll have to have a look at the > ebuild to try and work out why this thingy wants Python, any python, in > the first place. Portage is written in Python, which raises the question of why you didn't have python:2 installed in the first place. The samba ebuild doesn't include a dependency on python, so you'll need to do and emerge -t to see which packages do pull it in, but I suspect it is required by an eclass inherited by one of the ebuilds. If so, Samba itself does not need Python to do it's job, but portage needs Python in order to install Samba. that would make it a build dependency which could be uninstalled after Samba was merged, but I'd be nervous about removing Python from any Gentoo system that uses portage. -- Neil Bothwick Top Oxymorons Number 47: Act naturally signature.asc Description: PGP signature