Re: [Samba] Sorry, Gerald (Jerry) Carter now please help me
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, (sorry, I am not Jerry) >In the project I am planning to achieve server independency > , means ---Consider an organization is having 2 kinds of server SAMBA and > NFS, then if a request is made from a Samba client and required file is on > NFS server then the request should get satisfied. I will be planning to > convert a SAMBA request into a NFS request that is finally be given to the > NFS server. The client does not care about the thing that to which server > it has made request. > > Also, I have to make the similar thing in case of NFS > client and SAMBA server. In this way it will help the system administrator > to achieve a server independency. > > Can anybody please rate this idea as > very simple > simple > good to do a project > very difficult > best one > don't do such project. Sounds quite simple to me: Install samba on an NFS client and you have the first part ready. Then take a linux box, smbmount an smb share and reexport it via NFS, and you are ready. BUT: You will get into trouble with - - file locking - - authentication (there is _no_ authentication with NFS) - - permissions - - speed ... I even don't think that such a setup would be useful for a system administrator, so better look for something else. Just my opinion (and I am not Gerald Carter), Christopher - -- == Dipl.-Ing. Christopher Odenbach Zentrum IT-Dienste N5.110 [EMAIL PROTECTED] Tel.: +49 5251 60 5315 == -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBPVG+hxiCJKeLY0IRAg0OAKCzYusjLy43P09oaFAYbUINuyVIUACeOsRT dTWvEHljlDs65bBrwg/Txk0= =cIIT -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printing an extra blank page all the time.
Hi, I'm running samba-3.0.5 on OpenBSD 3.5. I'm trying out using samba as a print server for the first time, and it works ok, but I have this problem where everytime I print anything, a additional blank page comes out of the printer at the end of what was just printed. It's an old HP Laserjet 4 connected to the parallel port of the samba server. /etc/printcap lp|HP4|HP Laserjet 4:\ :sh:lp=/dev/lpt0:sd=/var/spool/output:lf=/var/log/lpd-errs: smb.conf [global] printing = bsd load printers = yes disable spoolss = yes [printers] path = /tmp printable = yes public = yes writable = no use client driver = no Any ideas Thanks, Craig -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] IPv6 smb and dcerpc captures
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi *, I'm currenly working on a generic socket library for samba4. I would like to see what happens woth smb over ipv6 and dcerpc over ipv6. e.g. - when you connect to a share by ipv6 address and share name ~ - what address type is inside the krb5 tickets... ~ - what happens when a workstation starts and a user logs in ~ - what happens on a domain join Does anyone have such captures or can make some for me? - -- metze Stefan Metzmacher www.samba.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3-nr1 (Windows XP) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBPUWQm70gjA5TCD8RAg8HAJ4kT6lkWZGpBlB3cTJ/qCh1ZCPR8wCghYfG GANTCcPR1u68wmXphx/0Yw8= =wzCM -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] windows printer status not update
I got the following problems using samba 3.06(with patch from samba site) on RH7.3: 1.windows printer status not update printer status on client windows machine keep all the printed jobs if no delete the job status. 2. smbd has the following log: [2004/09/07 11:27:22, 0] lib/substitute.c:alloc_sub_basic(505) alloc_sub_basic: NULL source string! This should not happen [2004/09/07 11:27:22, 0] printing/print_generic.c:print_run_command(67) Invalid snum 5 for command lpq -P'%p' [2004/09/07 11:27:22, 3] printing/printing.c:print_queue_update_internal(1060) 0 jobs in queue for [2004/09/07 11:27:23, 2] tdb/tdbutil.c:tdb_log(725) tdb(unnamed): tdb_open_ex: /usr/local/samba/var/locks/printing/.tdb (770,0) is already open in this process [2004/09/07 11:27:23, 0] printing/printing_db.c:get_print_db_byname(106) get_print_db: Failed to open printer backend database /usr/local/samba/var/locks/printing/.tdb. my smb.conf configure has " lpq command = lpq -P'%p' Printting is OK. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] CUPS printing postscript code not my document
Hello: I have a machine running Fedora Core 2 with an HP Color LaserJet 2550L printer connected via a USB cable. Local printing from the fedora machine is just fine. It uses CUPS. I am trying to set this printer up using Samba, but I keep getting postscript code when I try to print from Windows. Here is my smb.conf file: [global] log file = /var/log/samba/%m.log load printers = yes idmap gid = 16777216-33554431 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 encrypt passwords = yes winbind use default domain = no template shell = /bin/false dns proxy = no netbios name = dsl printing = cups server string = Samba Server idmap uid = 16777216-33554431 os level = 20 printcap name = /etc/printcap security = user max log size = 50 [HP] postscript = yes printer = HP printable = yes path = /var/spool/samba comment = HP Color LaserJet 2550L valid users = @samba I created an account for myself in the samba group on the server. I went to my windows machine (running XP Pro). I added a network printer with the address \\192.168.1.1\HP and it seemed to go fine. When it asked for the driver, I pointed it to the HP 2550 postscript drivers I downloaded from HP's site. Any ideas why this is not working? Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less! http://newsletter.JAMMConsulting.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 'point-and-print' general questions
> On Mon, 06 Sep 2004 06:32:37 -0500, Gerald (Jerry) Carter > <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > Chris McKeever wrote: > > | I have gotten 'point-and-print' working, but there are > > | a couple small issues/questions I am trying to get my > > | grasp around: > > | > > | - rpcclient print-1201 -U root%secret -c 'enumdrivers' > > | this lists the drivers twice > > > > Twice? or once for 'Windows 4.0' and once for "Windows NT x86'? > > > > Actually Twice: > > [Windows NT x86] > Printer Driver Info 1: > Driver Name: [TOSHIBA e-STUDIO810 srs-PS3UC] > > [Windows NT x86] > Printer Driver Info 1: > Driver Name: [TOSHIBA e-STUDIO810 srs-PS3UC] > > This was mentioned in one other archive post: > http://groups.google.com/groups?q=samba+enumdrivers++twice&hl=en&lr=&ie=UTF-8&newwindow=1&selm=1suSn-52l-7%40gated-at.bofh.it&rnum=1 > > I uninstalled SAMBA and reinstalled - thinking that maybe something got corrupt in the .TDB files - after uploading the driver - same issue - dual driver display: pcclient print-1201 -U root%SECRET -c 'enumdrivers' [Windows NT x86] Printer Driver Info 1: Driver Name: [TOSHIBA e-STUDIO810 srs-PS3UC] [Windows NT x86] Printer Driver Info 1: Driver Name: [TOSHIBA e-STUDIO810 srs-PS3UC] > > | - When adding drivers via the Windows APW, after > > | uploading the drivers and the APW closing - are you > > | supposed to CANCEL out of the printers property window? If > > | not, the printer on the server get renamed with how the driver > > | wants to name it > > > > The Windows client is renaming the printer. You can just > > rename it again. > > > > makes sense > > > | - When the above happens, I have only found the > > | ability to delete the printer from windows, I have'n't found > > | a rpcclient (or similar) to delete the printer > > | (ie addprinter opposite) > > > > There's not one currently i don't think. > > > > I also realized that the cause of this new printer was a side-effect > of the renaming above, and after setting it back - everything is fine > - it didnt actually 'ADD' anything > > > | - Lastly, what happens _if_ two separate print > > | drivers have a same file name? Everything gets tucked > > | into the same directory?? > > > > The is a problem in the Windows printing design. Yes > > there could be naming collisions, but most responsible > > driver writers manage their namespace to avoid this. > > > > those pikers!! > > >>I am testing this with Windows 2000 - and noticed something rather > strange..after > >.>installing the printer for two different accounts, if I go int oone and > edit the > >.>preferences using an account with PRINT ADMIN priviledges, it actually > updates the > >.defaults on the other users preferences > > > Changes made to the printing defaults (Advanced Tab) will be reflected > > on the other machines where the drivers have been downloaded. Changes > > made to the printing preferences will be local to that machine only. > > if I understand correctly - which is also what I see happen - is that > when the changes are made to the ADVANCED TAB - it gets reflected even > on those machines that have previosuly downloaded and installed off > the server --- > The only reason I ask for clairifaction is that it seems > semi-contradictory to the HOWTO 'If you want all clients to have the > same defaults, you need to conduct these steps as 'printer admin' > before a client downloads the driver' -- > > > > > > The settings stored on the Samba server will be reflected in > > "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > > NT\CurrentVersion\Print\Providers\LanMan Print Services\Servers" > > > This is what you see when you invoke the Advanced properties. > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem with net rpc samdump
On Thu, 2004-09-02 at 01:15, Heinz Allerberger wrote: > High, > > I've a samba-3.0.5 installation on a Debian Testing distri box, and I > try to join a Windows 2000 PDC in an real ADS environment. > > I joined successfully the PDC with: > # net rpc join -U Administrator > Password: > Joined domain NEURO > > After that I tried to list the sam: > # net rpc samdump > [2004/09/01 16:58:28 , 0] utils/net_rpc_samsync.c:rpc_samdump_internals(222) > Error connecting to NETLOGON pipe > > That's all what I got. > Is it, because it is a real ADS environment, or is there anything what I > do wrong? Did you join as a BDC? 'net rpc join bdc' should force it, or setup your smb.conf as a BDC, per the docs. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Authentication Developer, Samba Teamhttp://samba.org Student Network Administrator, Hawker College [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba 3 / AD / krb5_cc_get_principal failed
Update your kerberos5 to version 1.3.* . Best Regards! Jacky Kim . >Hi all, > >I successfully joined my Samba 3.0.6 box to our AD tree. wbinfo -t and -u >work as expected. But when I try to access a share on the samba box (Windows >AD controller), I am asked for a password, Samba then logs > >[2004/09/06 11:49:28, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) > Failed to verify incoming ticket! > > >winbindd sometimes logs > >[2004/09/06 11:42:55, 1] libsmb/clikrb5.c:ads_krb5_mk_req(313) > krb5_cc_get_principal failed (No credentials cache found) > > >What is wrong here? Any ideas? > >Regards >Olaf >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file context menu takes for ever with 3.0.6, both sernet and suse
Hi, suse 9.0 is running a 2.4.21 kernel suse deployed security fixes to the kernel. So use of suse 9.0 after yast update is no security problem. I had no failure with upgrade samba to version 3.06 ( but i had Problems with sernet rpms and cups before ) acting as pdc with packs from here ftp://ftp.suse.com/pub/projects/samba/3.0/i386/ for compatility reason in this setup i used the smbpasswd backend, so i cant promise no problems with other backends or setups as member server etc, but for now no problems , i noticed. For my bigger production systems with ldap i will wait for samba 3.07 this just for Info As my knowledge suse 9 kernel can be upgraded to 2.6 if desired by suses kernel packs ftp://ftp.suse.com/pub/projects/kernel/kotd/i386/ after all a few packs must be upgraded too, which are on the suse 9.0 cd. Running suse 9.1 might be a better choice, but it is known for a few other bugs/features...? ( no .local zone in dns) kernel bugs with xfs etc ) so a kernel update with yast for suse 9.1 is recommended, too Suse distros older than 9.0 can be seen as outdated, as i think. But if you need to use suse 8.1 and 8.2 should be possible kernel upgraded to 2.4.21 with packs from here ftp://ftp.suse.com/pub/people/mantel/2.4/RPM/ i did this a few times before and noticed no hard problems so this is a way to bring older suse distros to a higher kernel level. Best Regards Jeremy Allison schrieb: On Mon, Sep 06, 2004 at 12:11:00PM -0500, Dragan Krnic wrote: I've tested SerNet's ans SuSE's versions of Samba 3.0.6 on a test member server. Joining domain, attaching share all works but if I right-click a file, the context menu takes for ever to pop up. If I select Properties, it takes even longer until the dialog box appears. Right-clicking a directory pops up the context menu without delay and the Properties dialog box also comes fast, but files are very lazy. The smb.conf (as well as the SuSE 8.2) is a clone of another hardwarewise identical member server's configuration file with only the name of the server changed accordingly. The problem does not occur with samba 3.0.4. What's wrong? What kernel is SuSE8.2 running ? If it's a 2.4.20 or similar kernel try turning off sendfile. We'll disable sendfile by default on 2.4.x kernels in the next release, we didn't realise it was so widely broken. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Network LookUp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >Kristyan, sorry, i must be explain the situation. >I have squid and samba in the some server. With squid log, i have the >list of machines contected to the server. With this ip, i want to do a >lookup to give the machine name. I build my program in C++, with him i >audit the squid log to make the ip, but i don't have idea about the >samba api and libsmbclient api to give the samba name from ip. >Thank's again. I forgot to mention if you want to do the lookup when the client is on you can use: smbstatus -S | grep ipaddy Cheers - - Kristyan Osborne - IT Technician Longhill High School 01273 391672 / 304086 - -- Computers are like airconditioners: They stop working properly if you open windows. Win95: A 32-bit patch for a 16-bit GUI shell running on top of an 8-bit operating system written for a 4-bit processor by a 2-bit company who cannot stand 1 bit of competition. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (MingW32) iD8DBQFBPNWLqrr+KdRYU5gRAgqYAJ0TEW53x0JWtyruTWVgXeu5dGhgjwCgunNU c2gqBcrCphKpscqtfOWEIcQ= =CZop -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file context menu takes for ever with 3.0.6, both sernetand suse
>> I've tested SerNet's ans SuSE's versions of Samba 3.0.6 >> on a test member server. Joining domain, attaching share >> all works but if I right-click a file, the context menu >> takes for ever to pop up. If I select Properties, it >> takes even longer until the dialog box appears. > > i had serveral failures in the past with sernet rpm s > try suse samba rpms for 8.1 > ftp://ftp.suse.com/pub/projects/samba/3.0/i386/ SerNet's rpms were quite up-to-date. Until 3.0.6 I had no problems with their builds. Unfortunately, the same problem affects SuSE's own rpms as well. Did you actuall mean that I should use 8.1 rpm for my 8.2 system? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: Network LookUp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >Kristyan, sorry, i must be explain the situation. >I have squid and samba in the some server. With squid log, i have the >list of machines contected to the server. With this ip, i want to do a >lookup to give the machine name. I build my program in C++, with him i >audit the squid log to make the ip, but i don't have idea about the >samba api and libsmbclient api to give the samba name from ip. >Thank's again. My best suggestion would be to use the /etc/hosts file. This file (if you have added the entries) will list IPs against hostnames. This will allow you to use programs like ping from the command line using hostnames, and you can use it to cross refernce your squid logs. If you don't fancy setting up a hosts file, you could set samba up as a WINS server. Then you can cross reference the wins data against the squid logs. Cheers - - Kristyan Osborne - IT Technician Longhill High School 01273 391672 / 304086 - -- Computers are like airconditioners: They stop working properly if you open windows. Win95: A 32-bit patch for a 16-bit GUI shell running on top of an 8-bit operating system written for a 4-bit processor by a 2-bit company who cannot stand 1 bit of competition. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (MingW32) iD8DBQFBPNPvqrr+KdRYU5gRAn3eAKCJqRnwFsmSZWj+DEahvn+h0Ut7/wCgmxMW NjA/eikxpHCrNoy8sleIXUM= =Iy8f -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file context menu takes for ever with 3.0.6, both sernet and suse
Hi, i had serveral failures in the past with sernet rpm s try suse samba rpms for 8.1 ftp://ftp.suse.com/pub/projects/samba/3.0/i386/ Regards Dragan Krnic schrieb: I've tested SerNet's ans SuSE's versions of Samba 3.0.6 on a test member server. Joining domain, attaching share all works but if I right-click a file, the context menu takes for ever to pop up. If I select Properties, it takes even longer until the dialog box appears. Right-clicking a directory pops up the context menu without delay and the Properties dialog box also comes fast, but files are very lazy. The smb.conf (as well as the SuSE 8.2) is a clone of another hardwarewise identical member server's configuration file with only the name of the server changed accordingly. The problem does not occur with samba 3.0.4. What's wrong? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file context menu takes for ever with 3.0.6, both sernetand suse
>> I've tested SerNet's ans SuSE's versions of Samba 3.0.6 >> on a test member server. Joining domain, attaching share >> all works but if I right-click a file, the context menu >> takes for ever to pop up. If I select Properties, it >> takes even longer until the dialog box appears. > > Are these XP clients? I should have mentioned it. No, the problem affects both XP and w2k > Try setting "large readwrite = no" (be sure to restart the client on a new > smbd or you won't know for sure) and see if that changes the behaviour. > I have several systems with the same exact issues you describe. Changing > that value helped me...I'm hoping Jeremy can help me understand why in an > email I sent to samba-technical. Thanks, Bill. I'll try both your suggestion and Jeremy's sendfile hint first thing in the morning. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Excel Word XP slow response from Samba
I have a problem on a Redhat 9 box with Samba. The first few times I open a file from Samba with Word or Excel running on XP I have no problem with speed. After that it takes 4 to 5 minutes to react. I copied the setup of the Redhat box from the Samba setup of a Mandrake 10 box. On the Mandrake 10 box I don't have this speed problem. I include the Global settings of the Radhat Box, which are the same as the Mandrake Box. The problems only seems to be between XP and Samba as the 95 and 98 Workstations are working fine. #=== Global Settings = [global] workgroup = OurWorkGroup netbios name = ServerName server string = Server Description printcap name = cups load printers = yes printing = cups printer admin = @"Domain Admins" log file = /var/log/samba/log.%m max log size = 50 hosts allow = 10.10.15. 10.11.15. 127. map to guest = bad user security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes pam password change = yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n \ *passwd:*all*authentication*tokens*updated*successfully* winbind uid = 1-2 winbind gid = 1-2 winbind separator = + winbind use default domain = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = yes os level = 64 domain master = yes preferred master = yes domain logons = no add user script = /usr/sbin/useradd -s /bin/false '%u' delete user script = /usr/sbin/userdel '%s' add user to group script = /usr/bin/gpasswd -a '%u' '%g' delete user from group script = /usr/bin/gpasswd -d '%u' '%g' set primary group script = /usr/sbin/usermod -g '%g' '%u' add group script = /usr/sbin/groupadd %g && getent group '%g'|awk -F: '{print $3}' delete group script = /usr/sbin/groupdel '%g' add machine script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u passdb backend = smbpasswd guest name resolve order = wins lmhosts bcast wins support = yes dns proxy = no Anton Blignaut MAB Solutions [EMAIL PROTECTED] 082 495 2923 -- This message has been scanned for viruses and dangerous content by MAB Solutions, and is believed to be clean. http://www.mabonline.co.za -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LDAP WBEL
On Mon, 06 Sep 2004 10:38:17 -0500 Ganeshram Iyer <[EMAIL PROTECTED]> wrote: > Does anyone have any good suggestions for a tool which I can use to > check the HD before I install? Most disk vendors have a test tool you can download, usually to create a standalone boot floppy. If your vendor doesn't, try Maxtor's Powermax program, which is supposed to work for all manufacturers' drives (I've only tried it on Maxtor drives). I've found the vendors' test programs to be very good. Keith -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Sorry, Gerald (Jerry) Carter now please help me
Sir, Sorry Sir (Gerald Carter). It was a typograhic mistake i came to know late. I am a student of computer science. I have in my course of study a project to be done. I am interested in doing project related to Samba. I have got one of the ideas for the project. Can anybody be kindly help me regarding this idea? Please do reply about this idea. In the project I am planning to achieve server independency , means ---Consider an organization is having 2 kinds of server SAMBA and NFS, then if a request is made from a Samba client and required file is on NFS server then the request should get satisfied. I will be planning to convert a SAMBA request into a NFS request that is finally be given to the NFS server. The client does not care about the thing that to which server it has made request. Also, I have to make the similar thing in case of NFS client and SAMBA server. In this way it will help the system administrator to achieve a server independency. Can anybody please rate this idea as very simple simple good to do a project very difficult best one don't do such project. If the ideas is not up to the mark, can anybody please send me a good idea for the project. Better to have a new idea. Please Thank You. Regards, Amar. - Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file context menu takes for ever with 3.0.6, both sernet and suse
Are these XP clients? Try setting "large readwrite = no" (be sure to restart the client on a new smbd or you won't know for sure) and see if that changes the behaviour. I have several systems with the same exact issues you describe. Changing that value helped me...I'm hoping Jeremy can help me understand why in an email I sent to samba-technical. Good luck! Bill On Mon, 6 Sep 2004, Dragan Krnic wrote: > I've tested SerNet's ans SuSE's versions of Samba 3.0.6 > on a test member server. Joining domain, attaching share > all works but if I right-click a file, the context menu > takes for ever to pop up. If I select Properties, it > takes even longer until the dialog box appears. > > Right-clicking a directory pops up the context menu > without delay and the Properties dialog box also comes > fast, but files are very lazy. > > The smb.conf (as well as the SuSE 8.2) is a clone of > another hardwarewise identical member server's > configuration file with only the name of the server > changed accordingly. The problem does not occur with > samba 3.0.4. > > What's wrong? > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file context menu takes for ever with 3.0.6, both sernet and suse
On Mon, Sep 06, 2004 at 12:11:00PM -0500, Dragan Krnic wrote: > I've tested SerNet's ans SuSE's versions of Samba 3.0.6 > on a test member server. Joining domain, attaching share > all works but if I right-click a file, the context menu > takes for ever to pop up. If I select Properties, it > takes even longer until the dialog box appears. > > Right-clicking a directory pops up the context menu > without delay and the Properties dialog box also comes > fast, but files are very lazy. > > The smb.conf (as well as the SuSE 8.2) is a clone of > another hardwarewise identical member server's > configuration file with only the name of the server > changed accordingly. The problem does not occur with > samba 3.0.4. > > What's wrong? What kernel is SuSE8.2 running ? If it's a 2.4.20 or similar kernel try turning off sendfile. We'll disable sendfile by default on 2.4.x kernels in the next release, we didn't realise it was so widely broken. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] file context menu takes for ever with 3.0.6, both sernet and suse
I've tested SerNet's ans SuSE's versions of Samba 3.0.6 on a test member server. Joining domain, attaching share all works but if I right-click a file, the context menu takes for ever to pop up. If I select Properties, it takes even longer until the dialog box appears. Right-clicking a directory pops up the context menu without delay and the Properties dialog box also comes fast, but files are very lazy. The smb.conf (as well as the SuSE 8.2) is a clone of another hardwarewise identical member server's configuration file with only the name of the server changed accordingly. The problem does not occur with samba 3.0.4. What's wrong? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Network LookUp
Kristyan, sorry, i must be explain the situation. I have squid and samba in the some server. With squid log, i have the list of machines contected to the server. With this ip, i want to do a lookup to give the machine name. I build my program in C++, with him i audit the squid log to make the ip, but i don't have idea about the samba api and libsmbclient api to give the samba name from ip. Thank's again. On Mon, 6 Sep 2004 17:52:50 +0100, "Kristyan Osborne" <[EMAIL PROTECTED]> wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >>I'm building a litle program to audit my samba network, by i don't >>know how can get a machine name from ip. Can anybady help me? >>Thanks > >It depends on your setup and how you want to aquire the ip. > >Assuming you want to do it from a shell. If your clients are on DHCP and you are >updating a DNS server with the clients ips. A simple nslookup ip.add.re.ss would do >the job. > >Or if you want to do it whils someone is logged on. You can use smbstatus -S. This >will show you user,machine name and ip addy stats. > >Cheers > >- - >Kristyan Osborne - IT Technician >Longhill High School >01273 391672 / 304086 > >- -- >Computers are like airconditioners: They stop working properly if you open windows. >Win95: A 32-bit patch for a 16-bit GUI shell running on top of an > 8-bit operating system written for a 4-bit processor by a > 2-bit company who cannot stand 1 bit of competition. >-BEGIN PGP SIGNATURE- >Version: GnuPG v1.2.4 (MingW32) > >iD8DBQFBPJXiqrr+KdRYU5gRAvxGAJ9TH2Dze5ur6vGzL+N83DhKOaCAoQCfRCfv >IPxtTnEJhD6jyB/Yak1PMz0= >=bCrT >-END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Win2K and Samba 2.2.5
Hi, this doesnt sound like a samba problem. I have noticed equal failures with playing mp3, in my case i notice that if a connect is interupted , by what failure ever ( switch network etc ) the player stops playing mp3. For playing mp3 on a 24 hour i would recommend to use linux and store the mp3 direct on the playing machine. ( using mp3blaster console , or many other ) maybe a nfs mount would do it better. Using real mp3 streaming may also help you out, cause in streaming the player caches the sound ,so small interupts are not from interest. Perhaps you should upgrade you samba version for suse new samba bins are here for 8.1 ftp://ftp.suse.com/pub/projects/samba/3.0/i386/8.1/ there are many other possibilities which will work also what you want http://www.ampache.org/ http://www.shoutcast.com/ http://www.turnstyle.com/andromeda/ http://www.videolan.org/ http://ffmpeg.sourceforge.net/ switching to reiser may also help at last you should upgrade to suse 9.1 and samba 3.06 for many security reasons, also check your cabeling and hubs switches For win xp i cant say the behavior playing mps from a samba share is really different depending on the player ( winamp, media play etc ) so changing the player may help too. turning on log level high will show you more info in your current setup. Best Regards Chris Roubekas schrieb: Dear all, I have a SuSE 8.1 Installation running on a box and mixed windows versions on clients doing domain loggons etc on the SuSE8.1 box (I have activated Samba on it and all works just fine!). One of them has Win2K and it is running a software that plays MP3s from the SuSE server on a 24hour basis (that is non-stop). For the past few months, the Win2K client will show an unexpected error stating :"There is a problem on your hard disk or the network" which causes all MP3 playing to cease. At that point, I have to terminate the program and restart it so it can continue. This doesn't make any sense since all other clients on the network can play those mp3s without any problems, however they do not play on a 24hour basis. I have checked for bad clusters etc on the SuSE machine, none found. I have checked the MP3s which caused the system to stop but they are absolutely fine and I can play them on any other PC including the one that stopped!! In addition, whenever something like this happens, I get the following error in the /var/log/messages log file: Jul 20 18:01:41 mp3 smbd-classic[18241]: [2004/07/20 18:01:41, 0] lib/util_sock.c:read_data(436) Jul 20 18:01:41 mp3 smbd-classic[18241]: read_data: read failure for 4. Error = Connection reset by peer Also I do not seem to get any errors in the /var/log/samba/log.smb or log/nmb files which I wonder why I have tried to figure out what the hell that error means and I cannot find anything for the life of me!!! I even changed my network cards on both (client and server) still nothing! The error continues to appear on the client and the server. It does not appear on a periodic interval (i.e. every 6 hours or something like that) so I cannot seem to trace it in any way I even re-installed my entire SuSE from scratch and fully patched it from fou4s and still no results! The only thing that I have not done yet is to upgrade it to Samba 3 (in case the Samba-Team has fixed something like this for which I have no idea since I am a very new linux user). Please, please, please help me with this one! It is driving me absolutely CRAZY Thank you in advance for your time and effort Kind Regards, Chris PS : The client that has these problems is running Windows 2000 SP:2. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Network LookUp
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >I'm building a litle program to audit my samba network, by i don't >know how can get a machine name from ip. Can anybady help me? >Thanks It depends on your setup and how you want to aquire the ip. Assuming you want to do it from a shell. If your clients are on DHCP and you are updating a DNS server with the clients ips. A simple nslookup ip.add.re.ss would do the job. Or if you want to do it whils someone is logged on. You can use smbstatus -S. This will show you user,machine name and ip addy stats. Cheers - - Kristyan Osborne - IT Technician Longhill High School 01273 391672 / 304086 - -- Computers are like airconditioners: They stop working properly if you open windows. Win95: A 32-bit patch for a 16-bit GUI shell running on top of an 8-bit operating system written for a 4-bit processor by a 2-bit company who cannot stand 1 bit of competition. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (MingW32) iD8DBQFBPJXiqrr+KdRYU5gRAvxGAJ9TH2Dze5ur6vGzL+N83DhKOaCAoQCfRCfv IPxtTnEJhD6jyB/Yak1PMz0= =bCrT -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LDAP WBEL
On Monday 06 September 2004 12:08 pm, Ganeshram Iyer wrote: > One > thing I am unable to understand is which directory is equivalent to > Windows "Program Files" where all users have common programs installed > for use. Linux is a bit different but logical (maybe more so) nonetheless, but this isn't the place for that discussion. Understand that with Windows most installs place dll's in other folders (%windir%\system32 for one) and stuff data in the registry (usually multiple places) and sometimes creating and editing other supplementary files/folders as well. I think that for the most part Linux is a lot "cleaner" (very close to, if not at the same point it was before the install) after a program uninstall than Windows. Use 'linux filesystem structure' (without the quotes) in a Google search and you will find enough informational assistance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Network LookUp
I'm building a litle program to audit my samba network, by i don't know how can get a machine name from ip. Can anybady help me? Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LDAP WBEL
On Monday 06 September 2004 11:38 am, Ganeshram Iyer wrote: > But I was even having many unclean shutdowns after which the system > check told me that there were bad blocks on my HD My experience is that bad blocks almost always means your hard drive is toast. Would certainly replace the drive before doing any more work on a re-install. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2 servers
n Mon, 6 Sep 2004 17:58:26 +0200, Joachim Schwendtner <[EMAIL PROTECTED]> wrote: > hello, > > I am newbie in configuring samba and I have special question: > > in our school we have one server (debian woody) which hosts the mail > server (exim) - this server can be reached from the internet. > the second server (debian woody fileserver) is not reachable from the > internet. this server hosts the home directories of our users (samba). > the user-directories and the mail-adresses have the same structures: > > mail: [EMAIL PROTECTED] > home: /home/prenome.surname > and there should only be ONE password! > > when I add oder delete users I use webmin on the mailserver. is it > possible, to share the passwd file, that I have only ONE user database > for mailserver (192.168.23.1) AND fileserver (192.168.23.2)? samba also uses a smbpasswd file - so it gets a bit trickier these are quick and off the top of my head - but there are a few solutions: 1-you can modify webmin so it makes a call a creates/deletes the samba users 2-you can convert exim and samba to use LDAP for authentication 3-you could change it so you modify users on the samba server using webmin, and then rsync the passwd file to the exim machine number 1 would probably be the simplest > > joachim > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LDAP WBEL
Alan Munday wrote: Thanks to everyone for their LDAP recommendations. But as my luck would have it, I managed to crash my Whitebox server. The X server just never starts up. And this happened after I installed Firefox 0.9.3 to /usr/lib/firefox. As soon as I did that my server crashed. With the number of problems I am encountering with my Linux server I think I am just going to reinstall everything. My gnome-desktop has crashed at least a dozen times in the last month (and the machine has been running only for that long). Try checking the directory tree where you installed firefox to. I had a bunch of directories disappear around /usr/local/ when I installed firefox. Alan I guess I posted this to the wrong list but thanks for your reply. One thing I am unable to understand is which directory is equivalent to Windows "Program Files" where all users have common programs installed for use. I tried to install Firefox to the same directory sturcture where Mozilla is installed and BOOM. But I guess that is a question for general Linux lists. If you prefer you can continue to post your reply directly to me. Thanks Ganesh -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2 servers
hello, I am newbie in configuring samba and I have special question: in our school we have one server (debian woody) which hosts the mail server (exim) - this server can be reached from the internet. the second server (debian woody fileserver) is not reachable from the internet. this server hosts the home directories of our users (samba). the user-directories and the mail-adresses have the same structures: mail: [EMAIL PROTECTED] home: /home/prenome.surname and there should only be ONE password! when I add oder delete users I use webmin on the mailserver. is it possible, to share the passwd file, that I have only ONE user database for mailserver (192.168.23.1) AND fileserver (192.168.23.2)? joachim -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Win2K and Samba 2.2.5
fou4s and still no results! The only thing that I have not done yet is to upgrade it to Samba 3 (in case the Samba-Team has fixed something like this Maybe you could try to go to 2.2.11 first since that could require less work depending on your setup. PS : The client that has these problems is running Windows 2000 SP:2. Could always upgrade this too unless you've got a good reason not to. SP4 is the current patch level. -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Information Systems Consultant Fax:701-281-1322 URL: www.ae-solutions.commailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] LDAP WBEL
> -Original Message- > From: > [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > ba.org] On Behalf Of Ganeshram Iyer > Sent: Monday, September 06, 2004 4:38 PM > To: [EMAIL PROTECTED] > Subject: Re: [Samba] LDAP WBEL > > > Thanks to everyone for their LDAP recommendations. But as my > luck would > have it, I managed to crash my Whitebox server. The X server > just never > starts up. And this happened after I installed Firefox 0.9.3 to > /usr/lib/firefox. As soon as I did that my server crashed. With the > number of problems I am encountering with my Linux server I > think I am > just going to reinstall everything. My gnome-desktop has crashed at > least a dozen times in the last month (and the machine has > been running only for that long). Try checking the directory tree where you installed firefox to. I had a bunch of directories disappear around /usr/local/ when I installed firefox. Alan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] LDAP WBEL
Thanks to everyone for their LDAP recommendations. But as my luck would have it, I managed to crash my Whitebox server. The X server just never starts up. And this happened after I installed Firefox 0.9.3 to /usr/lib/firefox. As soon as I did that my server crashed. With the number of problems I am encountering with my Linux server I think I am just going to reinstall everything. My gnome-desktop has crashed at least a dozen times in the last month (and the machine has been running only for that long). I have never been able to install j2re-1.4.2_05. Samba although working, could never get it to work as a PDC with single sign-on. I tried using all the links that were sent for the LDAP administration, but without j2re, one choice was gone (no applets in my browser) and without php4 i could not run another (i have not tried to install php yet) and www.webmin.com although installed was never able to start the module (kept telling my configuration was wrong). But I was even having many unclean shutdowns after which the system check told me that there were bad blocks on my HD. So I am just scrapping my install and restarting all over. Does anyone have any good suggestions for a tool which I can use to check the HD before I install? I thank all of you in advance for any help you may offer. I am currently desperate as I had promised my lab that I would have this server up and running by the end of last month. They are starting to question if Linux is worth all this trouble especially since the XP install on this machine has never caused problems. Thanks Ganesh Jeff Saxton wrote: Get the LDAP Administration book by O'Reilly Jeff Saxton Sr. Support Engineer Addamark Technologies, Inc. http://www.addamark.com mailto:[EMAIL PROTECTED] CELL: +1 415-640-6392 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 'point-and-print' general questions
Jerry and Sandeep - thank you for you thorough answers, I have followed up inline below thank you On Mon, 06 Sep 2004 06:32:37 -0500, Gerald (Jerry) Carter <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris McKeever wrote: > | I have gotten 'point-and-print' working, but there are > | a couple small issues/questions I am trying to get my > | grasp around: > | > | - rpcclient print-1201 -U root%secret -c 'enumdrivers' > | this lists the drivers twice > > Twice? or once for 'Windows 4.0' and once for "Windows NT x86'? > Actually Twice: [Windows NT x86] Printer Driver Info 1: Driver Name: [TOSHIBA e-STUDIO810 srs-PS3UC] [Windows NT x86] Printer Driver Info 1: Driver Name: [TOSHIBA e-STUDIO810 srs-PS3UC] This was mentioned in one other archive post: http://groups.google.com/groups?q=samba+enumdrivers++twice&hl=en&lr=&ie=UTF-8&newwindow=1&selm=1suSn-52l-7%40gated-at.bofh.it&rnum=1 > | - When adding drivers via the Windows APW, after > | uploading the drivers and the APW closing - are you > | supposed to CANCEL out of the printers property window? If > | not, the printer on the server get renamed with how the driver > | wants to name it > > The Windows client is renaming the printer. You can just > rename it again. > makes sense > | - When the above happens, I have only found the > | ability to delete the printer from windows, I have'n't found > | a rpcclient (or similar) to delete the printer > | (ie addprinter opposite) > > There's not one currently i don't think. > I also realized that the cause of this new printer was a side-effect of the renaming above, and after setting it back - everything is fine - it didnt actually 'ADD' anything > | - Lastly, what happens _if_ two separate print > | drivers have a same file name? Everything gets tucked > | into the same directory?? > > The is a problem in the Windows printing design. Yes > there could be naming collisions, but most responsible > driver writers manage their namespace to avoid this. > those pikers!! >>I am testing this with Windows 2000 - and noticed something rather strange..after >.>installing the printer for two different accounts, if I go int oone and edit the >.>preferences using an account with PRINT ADMIN priviledges, it actually updates the >.defaults on the other users preferences > Changes made to the printing defaults (Advanced Tab) will be reflected > on the other machines where the drivers have been downloaded. Changes > made to the printing preferences will be local to that machine only. if I understand correctly - which is also what I see happen - is that when the changes are made to the ADVANCED TAB - it gets reflected even on those machines that have previosuly downloaded and installed off the server --- The only reason I ask for clairifaction is that it seems semi-contradictory to the HOWTO 'If you want all clients to have the same defaults, you need to conduct these steps as 'printer admin' before a client downloads the driver' -- > The settings stored on the Samba server will be reflected in > "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows > NT\CurrentVersion\Print\Providers\LanMan Print Services\Servers" > This is what you see when you invoke the Advanced properties. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Problem when switching from NIS+ to LDAP
Much as I dislike replying to my own posts (http://marc.theaimsgroup.com/?l=samba&m=109422314927203&w=2), for completeness the problem was my having stopped nscd (because no one logs on to the machine). Running truss against smbd showed a missing nscd door. With nscd going everything is fine Thanks for a great piece of software John Landamore School of Mathematics & Computer Science University of Leicester University Road, LEICESTER, LE1 7RH [EMAIL PROTECTED] Phone: +44 (0)116 2523410 Fax: +44 (0)116 2523604 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Upgrade from Samba 3.0.2 to 3.0.6 smbclient -k fails
Hello! I hope someone can point me in the correct direction. I'm trying to upgrade my Samba installation from 3.0.2 to 3.0.6 and, at least for me, the upgrade introduces a problem with Kerberos. 3.0.2 smbclient //server/share -k works 3.0.6 smbclient //server/share -k fails I have updated my smb.conf to include 'use kerberos keytab = yes' and I have updated my /etc/krb5.conf from blank to: [libdefaults] default_keytab_name = FILE:/etc/krb5.keytab When smbclient fails I see the following in my log files: [2004/09/06 01:50:08, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! I'm running: RedHat ES 3.0 with: kernel-smp-2.4.21-20.EL krb5-libs-1.2.7-28 Please, someone, give me the clue I need to solve this! Thanks, ...Pat -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.6 & "string overflow by 1" revisited
Gerald Carter wrote: >| every time I access a printer my logs flood with messages >| like to those below. It seems I can set printer >| properites, etc... but when I print the jobs seem to go >| to never-never land (still researching where the jobs go). >| >| [2004/08/20 08:46:27, 0] lib/util_str.c:safe_strcpy_fn(600) >| ERROR: string overflow by 1 (32 - 31) in safe_strcpy >| [\\192.168.1.12\HP Business Inkjet 2250 PS] > This is a warning a shouldn't impact the print jobs in any way. Gerald Carter wrote: >| This messages are side-effects of setting the printername >| To "\\servername\drivername", when assigning drivers to >| printers. >| AFAIK the message is caused by the safe_strcpy call in >| printing/nt_printing.c : construct_nt_devicemode () >| or get_a_printer2 (). >| >| The MAXDEVICENAME macro is set to 32 whereas printername plus >| servername is usually longer than that. > > This is the size defined by MS. (see MSDN and one the > wire traces). Hello Jerry, After the upgrade from 3.0.4 to 3.0.6 I also get the lib/util_str.c:safe_strcpy_fn(600) ERROR: string overflow by 1 (32 - 31) in safe_strcpy [\\192.168.100.151\DUSSEL_LASER01] messages in my logs. I use Samba on a RHL9 server with CUPS and the Samba server is a domain member in a W2k3 ADS environment. >From the ADS login script my workstations get their printers installed via DNS name(e.g \\DUSSEL.XX-XXX.COM\DUSSEL_LASER01) and this obvious longer than 32 characters. My workstatations get with 3.0.6 besides the "DUSSEL_LASER01 on dussel" printer (installed by 3.0.4) also the "DUSSEL_LASER01 on 192.168.100.151" printer (which is the same) installed. When I remove the profile of the user on the workstation and put in the login script \\DUSSEL\DUSSEL_LASER01 as printer (the old NETBIOS name, which is less than 32 characters) I still get the "string overflow by 1 (32 - 31) in safe_strcpy" error messages. This new profile gets the "DUSSEL_LASER01 on 192.168.100.151" printer installed and after a reboot also the "DUSSEL_LASER01 on dussel" printer (which is the same). Even when I login as administrator on the workstation, browse via "My Network Places" to the printer (\\DUSSEL\DUSSEL_LASER01) and use "Connect" then I also get the "string overflow by 1 (32 - 31) in safe_strcpy" error messages. Whatever I do with 3.0.6 I always get these error messages, while printing seems to be Ok. Only a new profile on a workstation doesn't get the default printer installed (first printer in the ADS login script) and that's quite annoying (this works fine with 3.0.4). Besides that my (samba) log files are flooded with these messages and, not nice, also my /var/log/messages file. Downgrading to 3.0.4 resolves all of the above. I'd like to upgrade my samba sites to 3.0.6, but if I encounter these kind of problems with printers I'm really considering to wait with the upgrade on real production sites (I've upgraded an experimental production site so far). Can you tell me what can be expected in future versions of samba concerning this and how to act on this current issue? Thanx, Alex. (sorry for the stupid disclaimer). Visit our Web site: http://www.nh-hotels.com This message is from NH HOTELES and it is private and confidential. Its content may be legally protected.Reception by a non-intended person does not waive legal protection rights. If you receive this message by mistake, please delete it from your system and report the sender. Although this message has been cleared for viruses using currently available virus definitions before sending, it is the responsibility of the receiver to ensure it is virus-free.Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win2K and Samba 2.2.5
Dear all, I have a SuSE 8.1 Installation running on a box and mixed windows versions on clients doing domain loggons etc on the SuSE8.1 box (I have activated Samba on it and all works just fine!). One of them has Win2K and it is running a software that plays MP3s from the SuSE server on a 24hour basis (that is non-stop). For the past few months, the Win2K client will show an unexpected error stating :"There is a problem on your hard disk or the network" which causes all MP3 playing to cease. At that point, I have to terminate the program and restart it so it can continue. This doesn't make any sense since all other clients on the network can play those mp3s without any problems, however they do not play on a 24hour basis. I have checked for bad clusters etc on the SuSE machine, none found. I have checked the MP3s which caused the system to stop but they are absolutely fine and I can play them on any other PC including the one that stopped!! In addition, whenever something like this happens, I get the following error in the /var/log/messages log file: Jul 20 18:01:41 mp3 smbd-classic[18241]: [2004/07/20 18:01:41, 0] lib/util_sock.c:read_data(436) Jul 20 18:01:41 mp3 smbd-classic[18241]: read_data: read failure for 4. Error = Connection reset by peer Also I do not seem to get any errors in the /var/log/samba/log.smb or log/nmb files which I wonder why I have tried to figure out what the hell that error means and I cannot find anything for the life of me!!! I even changed my network cards on both (client and server) still nothing! The error continues to appear on the client and the server. It does not appear on a periodic interval (i.e. every 6 hours or something like that) so I cannot seem to trace it in any way I even re-installed my entire SuSE from scratch and fully patched it from fou4s and still no results! The only thing that I have not done yet is to upgrade it to Samba 3 (in case the Samba-Team has fixed something like this for which I have no idea since I am a very new linux user). Please, please, please help me with this one! It is driving me absolutely CRAZY Thank you in advance for your time and effort Kind Regards, Chris PS : The client that has these problems is running Windows 2000 SP:2. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] What is the correct SambaPrimaryGroupSID
Hi, I ask to you for a small question : I have some user with this SambaPrimaryGroiupSID = S-1-5-21-X-X--1443 And other user with this SambaPrimaryGroiupSID = S-1-5-21-X-X--513 What is correct SambaPrimaryGroiupSID ? The SambaSID of my primary group is S-1-5-21-X-X--513 The S-1-5-21-X-X--1443 is the result of GID 221*2 + 1001 RID algorithm I use samba 3.0.4. thanks Stéphane --- Stéphane PURNELLE [EMAIL PROTECTED] Service Informatique Corman S.A. Tel : 00 32 087/342467 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 3.0.6 speed problem
Hi, I'm running a samba server version 3.0.6-2.FC2 on a Dell PowerEdge 2600 SC RAID5, linux Fedora Core 2 (Up to date). Windows user often experience critical speed problem when writing files on a samba share (ex: 19mn for a 36 mb file instead of nearly 10s), or printing. A "top", or "ps -ax", or even samba log files do not indicate anything. I have to make a 'kill -HUP' on their smbd pid in order for them to recover a normal writing/printing speed !!! Am I the only one to experience this problem ??? Regards, Fabrice Robin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba + Exchange 5.5 SP4 (UPDATE)
Sorry for my ignorance but were can I search for that information? -Original Message- From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED] Sent: Monday, September 06, 2004 12:45 PM To: Bruno Guerreiro Cc: '[EMAIL PROTECTED]' Subject: Re: [Samba] Samba + Exchange 5.5 SP4 (UPDATE) -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Guerreiro wrote: | After installing ethereal on the samba server | itself, I've found this: | | WIN2K -> SAMBA LsarLookupSids2 request | SAMBA -> WIN2K Fault: call_id: 4 ctx_id: 0 status: nca_op_rng_error This is normal and ok. The client falls back to LsarLookupSids() | WIN2K -> SAMBA LsarLookupSids request | SAMBA -> WIN2K LsarLookupSids response, STATUS_NONE_MAPPED What name is it asking for ? Do you need to create that account ? cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPE2qIR7qMdg1EfYRAsheAKCu0yyRmsstYaSev/8a7RwRzuHLrQCeOPur R1mvTMnuMOEnxPxKzjrFh4M= =JUaK -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: process hang when accessing a mounted smbfs (details)
Here are some traces from the /var/log/messages file, logged when I perform the mount of a smbfs. The error is transparent to the user, that's why I thought mount was successful, but actually this explain why following accesses to the mount point fail and why smbumount fails. Again, any comment would be very helpful, thanks, Grégoire. from /var/log/messages: Sep 6 09:29:06 cb000731 kernel: smb_lookup: find //.Trash-pichong failed, error=-5 Sep 6 09:29:06 cb000731 kernel: Unable to handle kernel NULL pointer dereference at virtual address Sep 6 09:29:06 cb000731 kernel: printing eip: Sep 6 09:29:06 cb000731 kernel: Sep 6 09:29:06 cb000731 kernel: *pde = Sep 6 09:29:06 cb000731 kernel: Oops: [#1] Sep 6 09:29:06 cb000731 kernel: CPU:0 Sep 6 09:29:06 cb000731 kernel: EIP:0060:[<>]Not tainted Sep 6 09:29:06 cb000731 kernel: EFLAGS: 00210246 (2.6.5-1.358) Sep 6 09:29:06 cb000731 kernel: EIP is at 0x0 Sep 6 09:29:06 cb000731 kernel: eax: 0b0eda80 ebx: 1227e290 ecx: 0214edcd edx: 165a9fa0 Sep 6 09:29:06 cb000731 kernel: esi: 303a783a edi: 03127d80 ebp: 0b0eda80 esp: 165a9f14 Sep 6 09:29:06 cb000731 kernel: ds: 007b es: 007b ss: 0068 Sep 6 09:29:06 cb000731 kernel: Process nautilus (pid: 2717, threadinfo=165a9000 task=20300cb0) Sep 6 09:29:06 cb000731 kernel: Stack: 2256f976 165a9f38 0b3ec000 12269254 0abf1e18 1c068080 0214edcd Sep 6 09:29:06 cb000731 kernel:165a9fa0 746f6f72 00136131 723a303a 0b3ec000 0002 Sep 6 09:29:06 cb000731 kernel: 0001 0004 00200246 22577020 0abf1e80 0b0eda80 Sep 6 09:29:06 cb000731 kernel: Call Trace: Sep 6 09:29:06 cb000731 kernel: [<2256f976>] smb_readdir+0x346/0x3f1 [smbfs] Sep 6 09:29:06 cb000731 kernel: [<0214edcd>] filldir64+0x0/0x12e Sep 6 09:29:06 cb000731 kernel: [<0214eaba>] vfs_readdir+0x7a/0x9b Sep 6 09:29:06 cb000731 kernel: [<0214edcd>] filldir64+0x0/0x12e Sep 6 09:29:06 cb000731 kernel: [<0214ef60>] sys_getdents64+0x65/0xaa Sep 6 09:29:06 cb000731 kernel: [<0214e26c>] generic_file_fcntl+0xd7/0x140 Sep 6 09:29:06 cb000731 kernel: Sep 6 09:29:06 cb000731 kernel: Code: Bad EIP value. Gregoire Pichon wrote: Hi all, I installed the samba 3.0.3 on a Fedora Core 2 and then samba 3.0.6-1 and still have the following problem. When I mount a smbfs, it sucesses but processes hang when they access the mount point and smbumount returns "Device busy". Since even system halt fails unmounting the filesystem, I have to switch off the machine. I tested either with smbmount command, or /etc/fstab entry and mount command, as root or common user, with a Linux or Windows server, but the problem still occurs. Note that is happens only with the first smbfs mount of the system. Applications that access another smbfs mount point mounted after the first one work very well. Thanks for any help or advice, Grégoire. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba + Exchange 5.5 SP4 (UPDATE)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Guerreiro wrote: | After installing ethereal on the samba server | itself, I've found this: | | WIN2K -> SAMBA LsarLookupSids2 request | SAMBA -> WIN2K Fault: call_id: 4 ctx_id: 0 status: nca_op_rng_error This is normal and ok. The client falls back to LsarLookupSids() | WIN2K -> SAMBA LsarLookupSids request | SAMBA -> WIN2K LsarLookupSids response, STATUS_NONE_MAPPED What name is it asking for ? Do you need to create that account ? cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPE2qIR7qMdg1EfYRAsheAKCu0yyRmsstYaSev/8a7RwRzuHLrQCeOPur R1mvTMnuMOEnxPxKzjrFh4M= =JUaK -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Samba + Exchange 5.5 SP4 (UPDATE)
Hi again. After installing ethereal on the samba server itself, I've found this: WIN2K -> SAMBA LsarLookupSids2 request SAMBA -> WIN2K Fault: call_id: 4 ctx_id: 0 status: nca_op_rng_error WIN2K -> SAMBA LsarLookupSids request SAMBA -> WIN2K LsarLookupSids response, STATUS_NONE_MAPPED Once again i'm completely lost. Anyone? Best regards. Bruno Guerreiro -Original Message- From: Bruno Guerreiro Sent: Monday, September 06, 2004 11:22 AM To: [EMAIL PROTECTED] Subject: [Samba] Samba + Exchange 5.5 SP4 Hi all. Scenario: Fedora Core 2 Samba 3.0.6 PDC with ldap Exchange 5.5 on Win2K SP4 Whenever a try to install Exchange SP4 I run in to a situation similar to the one reported in bugzilla's bug 1076 (https://bugzilla.samba.org/show_bug.cgi?id=1076 ) and to this http://lists.samba.org/archive/samba/2003-November/001828.html Also found this on another list: - Begin quote Hello, I've been poking at this problem for a couple of days, and I've narrowed the focus on what's going wrong to this: Exchange 5.5 SP4 install gets most of the way through, but generates a Dr. Watson near the end exactly the same problem as reported here: http://lists.samba.org/archive/samba/2003-November/001828.html Running an ethereal trace, I see this conversation at the time of the crash: exchange -> pdc:NT Create AndX Request, Path: samr pdc -> exchange:NT Create AndX Response, FID: 0x7499 exchange -> pdc:Bind: call_id: 143 UUID: SAMR pdc -> exchange:Bind_ack: call_id: 143 accept max_xmit: 4280 max_recv: 4280 exchange -> pdc:SamrEnumerateAliasesInDomain request[Malformed Packet] pdc -> exchange:Fault: call_id: 145 ctx_id: 0 status: nca_s_fault_context_mismatch exchange -> pdc:Close Request, FID: 0x7499 pdc -> exchange:Close Response End quote Has anyone managed to find a workaround/solution to this problem? Best regards. Bruno Guerreiro -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] netbios alias upper case file name problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 steven wrote: | Hi, | everybody there. | | I get problems when using netbios alias with samba 3.04a. | Upper case file names for alias will not work for me. | I have to change to lower case file name. | for example, config file "SMB.CONF.BACKUP_SVR-1" for alias server | BACKUP_SVR-1 will not work until I change the file name to | "smb.conf.backup_svr-1". | How can I fix the problem? I like to use uppercase. You can't currently. The name is converted to lowercase before smbd attempts load it. cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPEwUIR7qMdg1EfYRAhyHAKDNUcgGqmFIgRZk7cVAl3/PD1oe7QCbBfA/ SfLA3wKN+E8EthRN8UlG8Wg= =GZYA -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba + Exchange 5.5 SP4
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Guerreiro wrote: | Hi all. | | Scenario: | Fedora Core 2 | Samba 3.0.6 PDC with ldap | Exchange 5.5 on Win2K SP4 ... | exchange -> pdc: SamrEnumerateAliasesInDomain request | pdc -> exchange: Fault: call_id: 145 ctx_id: 0 status: | nca_s_fault_context_mismatch | exchange -> pdc: Close Request, FID: 0x7499 | pdc -> exchange: Close Response | | End quote Ahhok that makes sense. Can you send me an ethereal trace of the installation process? cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPEt9IR7qMdg1EfYRApgxAKDMUMxGyRZoRa9j0ZimbzTtk0yvqwCgiiRu xTBHrkz4op2fEfuZsBwG8O8= =lF0E -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 'point-and-print' general questions
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris McKeever wrote: | I have gotten 'point-and-print' working, but there are | a couple small issues/questions I am trying to get my | grasp around: | | - rpcclient print-1201 -U root%secret -c 'enumdrivers' | this lists the drivers twice Twice? or once for 'Windows 4.0' and once for "Windows NT x86'? | - When adding drivers via the Windows APW, after | uploading the drivers and the APW closing - are you | supposed to CANCEL out of the printers property window? If | not, the printer on the server get renamed with how the driver | wants to name it The Windows client is renaming the printer. You can just rename it again. | - When the above happens, I have only found the | ability to delete the printer from windows, I have'n't found | a rpcclient (or similar) to delete the printer | (ie addprinter opposite) There's not one currently i don't think. | - Lastly, what happens _if_ two separate print | drivers have a same file name? Everything gets tucked | into the same directory?? The is a problem in the Windows printing design. Yes there could be naming collisions, but most responsible driver writers manage their namespace to avoid this. cheer,s jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPErVIR7qMdg1EfYRAmeQAJ9UIJyhjvMwxi4lGla8xb4gq+cFUwCfbwbB ZBGQyqFfXVjqH+TX30U9Q+I= =u/+x -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Segfault in Samba
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pirkka Luukkonen wrote: | Jerry! | | My Samba stopped panicing, but refuses to authenticate. | With default log level all I get is: | | [2004/09/05 15:37:17, 0] auth/auth_util.c:make_server_info_info3(1122) | make_server_info_info3: pdb_init_sam failed! | | I found your reply from linuxforum.com about some | winbind patch, but don't know what to do with it. I've uploaded a README top http://samba.org/~jerry/patches/ Hope this helps. cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPEnPIR7qMdg1EfYRAr4+AJ9X5UdpfFdq8bxT3UZFxkNAo+gV2ACfVXEY IhS1odiaF1N8fcD6aK/CqEk= =R/cv -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] kinit username@REALM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joseph wrote: | Do I need to do the command "kinit [EMAIL PROTECTED]" | every single time I boot up my system? | | Also, why does the kinit "username" not accept the | winbind separator "+"? For example: "kinit | [EMAIL PROTECTED]" instead of just "[EMAIL PROTECTED]". The domain is implied by the REALM. The domain is just a backwards compatible means in AD domains to specify the realm for NTLM authentication. | I have my system setup to login via gdm with my domain | user account (which uses the winbind separator "domain+user"), | so why can't kinit login at that time? This would make it | seamless, instead of having to open a command line each time | the system boots and manually running the kinit command. You should probably look at the pam_krb5 module instead of pam_winbind if you want to deal with krb5 tickets. See the 'creds' pam_krb5 option for maintaining the ticket cache. cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPEhOIR7qMdg1EfYRAurYAJ9lQNl2FYWsymBVhXxqVdvAMkDBiwCg5cJK 0qVTinfo7Z6r3Q6/1pJWrDQ= =bYIW -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] HELP
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 MUDRANKIT AMAR wrote: | In the project I am planning to achieve server independency | means ---Consider an organization is having 2 kinds of | server SAMBA and VFS, then if a request is made from a | Samba client and required file is on VFS server then the | request should get satisfied. I will be planning to | convert a SAMBA request into a VFS request that is | finally be given to the VFS server. The client does not | care about the thing that to which server it has made | request. | | Also, I have to make the similar thing in case of VFS | client and SAMBA server. | | In this way it will help the system administrator to achieve | a server independency. | Amar, I'm not quite sure I follow you. When you say VFS, I think of Virtual File Systems such as used by the kernel or similar to the one we use internally to smbd. It sounds like you want to have Samba act as a protocol proxy (which is doable). But until i understand exactly what you want to proxy to, I can't really comment any more. cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPEeSIR7qMdg1EfYRAuycAKDgfxMhOmtwFUSGlewwgOnMsg3oEACgs6DV E/xuQoCyKN2ABySiqPxIMHk= =h1ZW -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file open problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Erik Thiele wrote: | Hi. am running a samba server version 3.0.5 on a gentoo | linux machine, kernel 2.6.7-gentoo-r8. I would recommend testing 3.0.6 (or at least get the 3.0.4/5 patches from http://samba.org/~jerry/patches/post-3.0.4/ You might also want to test the current 3.05 svn tree since there have been some return code fixes recently. ... | I am installing some proprietary commercial software we | bought. it wants to put some of its data on network. if i | supply this network drive from an empty share of my NT | 4.0 server, all works. if i supply this network drive from | my linux server, many files get installed and after a while | he sais he cannot open a certain file on the network | share. he asks if i have enough free space (some gigabytes are | free) or if i have enough rights. that file has already | been created by the setup program itself. i can open it in | windows explorer. i can write there, save, erase, whatever. | it works. cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBPEVmIR7qMdg1EfYRAhQmAKC8fF2Vmav9mOedy1A/bF2GIJtfUgCfX/Zg itkc2No2/ZGn0HQSx2rMafo= =n7+6 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Winbind and NT PDC
Hi I am trying to get my linux box authenticate from an NT PDC. I am using samba 2.2.11. The linux box joins the pdc by the smbpasswd -j domain -r pdc -U admin command but it is not getting authenticated by the PDC . has anyone tried this and have some info/doc on this .. this is my system-auth file #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. authrequired /lib/security/pam_env.so authsufficient/lib/security/pam_winbind.so authsufficient/lib/security/pam_unix.so likeauth nullok use_first_pass authrequired /lib/security/pam_deny.so my login file #%PAM-1.0 auth required /lib/security/pam_securetty.so auth sufficient /lib/security/pam_winbind.so auth sufficient /lib/security/pam_unix.so use_first_pass auth required /lib/security/pam_stack.so service=system-auth auth required /lib/security/pam_nologin.so accountrequired /lib/security/pam_stack.so service=system-auth accountsufficient /lib/security/pam_winbind.so password required /lib/security/pam_stack.so service=system-auth sessionrequired /lib/security/pam_stack.so service=system-auth sessionoptional /lib/security/pam_console.so my nsswitch.conf passwd: files winbind shadow: files winbind group: files winbind my /etc/pam.d/samba #%PAM-1.0 auth required pam_nologin.so auth required pam_stack.so service=system-auth auth required /lib/security/pam_winbind.so accountrequired /lib/security/pam_winbind.so accountrequired pam_stack.so service=system-auth sessionrequired /lib/security/pam_mkhomedir.so skel=/etc/samba/skel umask=0022 sessionrequired pam_stack.so service=system-auth password required pam_stack.so service=system-auth and my smb.conf extracts workgroup = NT-Domain-Name or Workgroup-Name workgroup = WORKGROUP # Netbios name netbios name = MACHINE_NAME # server string is the equivalent of the NT Description field server string = Samba Server # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page hosts allow = 192.168.1. 192.168.2. 127. # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used ; guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 10 # logging level 0 thru 3, none to most log level = 1 # Security mode. Most people will want user level security. See # security_level.txt for details. security = domain # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to auto-locate the domain controller/s # password server = * password server = PDC BDC # Winbind config. My additions. winbind separator = + winbind uid = 1-2 winbind gid = 1-2 winbind cache time = 15 winbind enum users = yes winbind enum groups = yes template homedir = /home/%U template shell = /bin/bash # this is the key, otherwise Exim sees Domain+Username and fails winbind use default domain = yes # Password Level allows matching of _n_ characters of the password for # all combinations of upper and lower case. ; password level = 8 ; username level = 8 # You may wish to use password encryption. Please read # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation. # Do not enable this option unless you have read those documents encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd # The following is needed to keep smbclient from spouting spurious errors # when Samba is built with support for SSL. ; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt # The following are needed to allow password changing from Windows to # update the Linux system password also. # NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above. # NOTE2: You do NOT need these to allow workstations to change only #the encrypted SMB passwords. They allow the Unix password #to be kept in sync with the SMB password. unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* # You can use PAM's password change control flag for Samba. If # enabled, then PAM will be used for password changes when requested # by an SMB client instead of the program listed in passwd program. # It should be possible to enable this without changing you
[Samba] Samba + Exchange 5.5 SP4
Hi all. Scenario: Fedora Core 2 Samba 3.0.6 PDC with ldap Exchange 5.5 on Win2K SP4 Whenever a try to install Exchange SP4 I run in to a situation similar to the one reported in bugzilla's bug 1076 (https://bugzilla.samba.org/show_bug.cgi?id=1076 ) and to this http://lists.samba.org/archive/samba/2003-November/001828.html Also found this on another list: - Begin quote Hello, I've been poking at this problem for a couple of days, and I've narrowed the focus on what's going wrong to this: Exchange 5.5 SP4 install gets most of the way through, but generates a Dr. Watson near the end exactly the same problem as reported here: http://lists.samba.org/archive/samba/2003-November/001828.html Running an ethereal trace, I see this conversation at the time of the crash: exchange -> pdc:NT Create AndX Request, Path: samr pdc -> exchange:NT Create AndX Response, FID: 0x7499 exchange -> pdc:Bind: call_id: 143 UUID: SAMR pdc -> exchange:Bind_ack: call_id: 143 accept max_xmit: 4280 max_recv: 4280 exchange -> pdc:SamrEnumerateAliasesInDomain request[Malformed Packet] pdc -> exchange:Fault: call_id: 145 ctx_id: 0 status: nca_s_fault_context_mismatch exchange -> pdc:Close Request, FID: 0x7499 pdc -> exchange:Close Response End quote Has anyone managed to find a workaround/solution to this problem? Best regards. Bruno Guerreiro -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba 3 / AD / krb5_cc_get_principal failed
Hi all, I successfully joined my Samba 3.0.6 box to our AD tree. wbinfo -t and -u work as expected. But when I try to access a share on the samba box (Windows AD controller), I am asked for a password, Samba then logs [2004/09/06 11:49:28, 1] smbd/sesssetup.c:reply_spnego_kerberos(173) Failed to verify incoming ticket! winbindd sometimes logs [2004/09/06 11:42:55, 1] libsmb/clikrb5.c:ads_krb5_mk_req(313) krb5_cc_get_principal failed (No credentials cache found) What is wrong here? Any ideas? Regards Olaf -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ADS/DFS Problem
Hi everybody, i have following Problem with ADS/DFS. ---SPNEGO login failed: Undetermined error-- I try to mount an ADS/DFS Share to a Linux- Mashine We have an Kerberos heimdal 0.4 with SuSE Linux Enterprise Edition 8 an The aktuall Sambaversion. Any adjustments from this forum here i tried, but im not familiar with Kerberos!!! Please send any Comment to solve this Problem. thanks a lot Jens -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file open problems
To tell more exactly where the problem lies, I did the following: 1) create an empty share on both my NT4.0 server and my samba server. 2) perform the software installation on both NT4.0 and samba share. the NT4.0 runs through, the samba fails at some point. 3) do the installation again. because the samba share based install stops very early now. directly at the first file he wants to do. the file already exists from the prior install of course. also redo the installation on the nt share. 4) i dumped step 3) with ethereal. what you see there is the beginning of the session. the ntserver based session continues but is clipped here. but the samba based session ends where the log ends. he then shows a popup window saying there are not enough rights or diskspace free. the logs are on http://www.thiele-hydraulik.de/sambaproblem/ i hope we will find some solution to this as it confuses me very much. If not i have to stick with the NT server, which i don't like too much. it's interesting to do a side-by-side diff of the two logs, but i am not enough a SMB expert to find the problem here :) but there must be some point that convinces the software of some problem i do not know of yet. cya thx erik On Fri, 3 Sep 2004 16:09:00 +0200 Erik Thiele <[EMAIL PROTECTED]> wrote: > Hi. am running a samba server version 3.0.5 on a gentoo linux machine, > kernel 2.6.7-gentoo-r8. > > the client is a windows XP machine. > > the PDC is a windows NT 4.0 machine. > > this is my smb.conf: > > [global] > workgroup = FOO > hosts allow = 192.168.30.0/255.255.255.0 127.0.0.1 > local master = no > log file = /var/log/samba3/log.%m > os level = 0 > preferred master = no > security = domain > username map = /etc/samba/smbusers > wins server = ntserver.firm-internal > password server = ntserver.firm-internal > load printers = no > domain master = no > bind interfaces only = yes > interfaces = eth0 lo > > [tshare] > comment = Test Share > path = /tshare > read only = no > > the tshare directory is empty. i am logging into the XP machine as > "Administrator". it gets mapped to user root. i can verify that by > creating files with windows explorer and having a look at them on > linux server. > > I am installing some proprietary commercial software we bought. it > wants to put some of its data on network. if i supply this network > drive from an empty share of my NT 4.0 server, all works. if i supply > this network drive from my linux server, many files get installed and > after a while he sais he cannot open a certain file on the network > share. he asks if i have enough free space (some gigabytes are free) > or if i have enough rights. that file has already been created by the > setup program itself. i can open it in windows explorer. i can write > there, save, erase, whatever. it works. > > the whole issue seems to me to be some race condition. i had a running > printjob on the samba server over slow unoptimized parallel port, then > suddenly the setup ran through. but it seems not be reproducible. now > each time he stops on the same file. > > please enlighten me about where the problem could be. the setup > program is a "Wise installation assistent", probably this should > clarify what kind of windows setup tool it is. I am not a windows > expert. > > if i erase all files on the network share prior to the next attempt to > run the setup tool, then the error will always be at the same file. > but if i instead do not erase the files, he will make an error on the > first file he wants to write to (which already exists from last > setup). i verified that it is the first file by watching with ethereal > network sniffer. he asks about information on the file, receives it, > closes the file and makes error box. > > i tried to disable oplocks, and level2 locks. didn't change anything. > > i tried to fiddle around with name mangling, didn't change anything. > > > help :) > Erik -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Forcing RIDs to desired value
Radek Svoboda wrote: Why don't you use your old samba-databases from /var/lib/samba ? matze Actually I did. But this copies only SID of the server (stored in secrets.tdb), not the RIDs. It seems that samba calculates them by the fixed algorithm as 2*UID+1000. And because I must have different UIDs on the new system, the profile mapping in Windows does not work. I found the possibility to force RID using -U option (with full SID and RID) of pdbedit program. Unfortunately, samba really *DISLIKES* the RIDs being different from the algorithmic ones: # smbpasswd someuser New SMB password: Retype new SMB password: Unable to modify TDB passwd ! Error: Record does not exist occured while storing the RID index (RID_07da) Failed to modify entry for user someuser. Failed to modify password entry for user someuser Luckily, even with such complaints, the password has been changed succesfully. Is this normal? No-one is moving samba to different UIDs server and having similar problems Radek Svoboda Neovision s.r.o., Prague [EMAIL PROTECTED] http://www.neovision.cz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba