[Samba] Problem with Everyone SID (S-1-1-0)
Hi, I'm running Samba 3.0.25b as a PDC. In log.smbd (at Debug level 10) I have noticed: log.smbd: Could not convert SID S-1-1-0 to gid, ignoring it This problem occurs in function sid_to_gid in lookup_sid.c. An attempt is made for winbind to then resolve the group, but this results in log.winbindd: Could not find domain for sid S-1-1-0 log.winbindd: sid2gid_lookupsid_recv: Could not convert get sid type for S-1-1-0 However, S-1-1-0 is a well known SID as defined in util_sid.c I have tried adding a group mapping for S-1-1-0 (but I don't think this should be necessary because S-1-1-0 is well known) i.e. # net groupmap list | egrep Everyone Everyone (S-1-1-0) -> Everyone but (even with this mapping) the error message persists. Could someone please advise how this issue could be resolved. Regards, Patrick -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Miserable read performance (factor ~60 too slow)
I'm curious - do you see an unusually high TCP retransmission rate during these slow transfers? You may need to look on the "Server" first ... I think the command is something like "netstat -s" and look in the TCP section. Steve -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Execute on file access
On Thu, Jul 05, 2007 at 08:29:47AM +0200, [EMAIL PROTECTED] wrote: > I'd like to store images on a samba server, and from each image stored a > thumbnail should be calculated. Thus, after a file is created/modified, I > need to call a program passing the path name of the stored/modified file > as a parameter. Write a VFS module that connects to the close operation. Volker pgpp7NKbcRse5.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Execute on file access
>> I'd like to store images on a samba server, and from each image stored a >> thumbnail should be calculated. Thus, after a file is created/modified, >> I >> need to call a program passing the path name of the stored/modified file >> as a parameter. > > Write a VFS module that connects to the close operation. Simple enough! Yes, give me two or three minutes, and I'll be done. ;-) Open Source makes everybody a brilliant programmer, true? However, thank you for your answer, which reads to a non-programmer like me as: "no, that feature is missing". Peter -- - Angaben gemäß §35a GmbH-Gesetz: ITServ GmbH Sitz der Gesellschaft: 65474 Bischofsheim Eingetragen unter der Registernummer HRB54785 beim AG Darmstadt Vertretungsberechtigter Geschäftsführer: Peter Bauer Umsatzsteuer-ID: DE182270475 - -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Miserable read performance (factor ~60 too slow)
On Thursday 05 July 2007 00:48, Arno Schäfer wrote: > - copying a 700MB file from the CIFS share of the Windows XP box to a > different Windows PC starts immediately and takes about two minutes. > > - copying the same file via HTTP from the new Samba server takes a > little more than one minute (10.5 MB/sec). > > - copying the file from the Samba share varies hugely. It can take > between 90 seconds and literally hours (!). > > - sometimes it goes faster, but almost always the startup time is > between 20 and 90 seconds, that is the time before the copying even begins. > > - I have found repeatedly that when I am copying a file from the Samba > share, and it goes extremely slow (estimated time 90 minutes), and I > start copying a second file (from the same or a different PC), suddenly > the copying speeds up to "normal" speed. Run tcpdump and watch what is going on the wire. This very likely to give more info: you will see retransmits, or data being sent in very small packets, or big spans of nothing being sent... strace -p can also be useful. -- vda -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Excel - share Access Denied after opening file
I have a strange problem with Excel + Word from an XP Pro (SP2) PC to a Linux Samba share (HOME). If I 1 - open Excel, 2 - then open a file on my Samba share HOME, 3 - any subsequent attempts to save or open a file on the HOME share immediately result in an 'Access Denied' windows error message as soon as I select the root of the HOME share! The same thing happens if I open a file from anywhere else 1st. I am just using Workgroups - no Domains. The same thing happens if I have Windows simple file sharing enabled or disabled. I have tried amending various Samba options (using SWAT). e.g. 'nt acl support', locking, dos filemode/filetimes. There are no error messages in my samba logs or Windows Firewall. All Windows Explorer activities work OK. I have one other Samba server running on my network - a Linksys NSLU2. I can successfully access shares on this device when I am denied access on my HOME share. Does anyone have any idea what causes this - or how to fix it? - - SMB.CONF - Samba version 3.0.3-5 - Fedora Core 2 [global] workgroup = DATAHOME netbios name = DMZ server string = DMZ Samba Server password server = None passwd program = /usr/bin/passwd %u username map = /etc/samba/smbusers unix password sync = Yes log file = /var/log/samba/%m.log max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 33 preferred master = No local master = No domain master = No dns proxy = No ldap ssl = no remote announce = 192.168.200.255/DATAHOME printer admin = miket nt acl support = No strict locking = No dos filemode = Yes dos filetimes = Yes [homes] comment = Home Directories valid users = %S read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [HOME] path = /home read only = No create mask = 0774 force create mode = 0774 force security mode = 0777 directory mask = 0775 force directory mode = 0775 force directory security mode = 0777 inherit permissions = Yes fstype = Samba ~ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Execute on file access
On Thu, Jul 05, 2007 at 12:22:57PM +0200, [EMAIL PROTECTED] wrote: > >> I'd like to store images on a samba server, and from each image stored a > >> thumbnail should be calculated. Thus, after a file is created/modified, > >> I > >> need to call a program passing the path name of the stored/modified file > >> as a parameter. > > > > Write a VFS module that connects to the close operation. > > Simple enough! Yes, give me two or three minutes, and I'll be done. ;-) > > Open Source makes everybody a brilliant programmer, true? > > However, thank you for your answer, which reads to a non-programmer like > me as: "no, that feature is missing". Yep. Feel free to look at http://samba.org/samba/support/ to find someone do it for you :-) Volker pgpaa7tgHmkXA.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] winbind rpc only
I have sat the parameter in smb.conf: winbind rpc only = Yes Testparm says: Unknown parameter encountered: "winbind rpc only" Ignoring unknown parameter "winbind rpc only" The man-page for smb.conf do document it. Is that wrong? Samba 3.0.25b. -- Thorkil Olesen, Hanstholm, Denmark. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0.25 & OpenLDAP 2.3 issues
Am Mittwoch, 4. Juli 2007 18:13 schrieb Eric Masson: > Hi, > [..] > smbd then complains about accounts it can't create. > > I've already opened the acl in slapd.conf with no result : > > access to dn.subtree="ou=Domains,dc=interne,dc=example,dc=org"" > by self write > by dn="cn=Manager,dc=interne,dc=example,dc=org" write > by * auth > > Any idea ? Are you sure samba tries to add the user in ou=Domains? Allow access to the whole LDAP for testing purposes, AFAIR samba will add the user under the LDAP-base. Regards Ingo Steuwer -- Ingo Steuwer Projektmanagement[EMAIL PROTECTED] Univention GmbHLinux for your Business fon: +49 421 22 232-43 Mary-Somerville-Str.1 28359 Bremen fax: +49 421 22 232-99 http://www.univention.de -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Custom "Windows Welcome message"
Hello - I running Samba as a PDC on FC6 with roaming profiles. I need to setup a custom Windows logon/welcome message... to tell users want they can expect using this domain. Is it also possible to place different PDF files on the users desktop when he or she logs on, but only referencing one source file, so I don't have a copy for each user? What is the best approach? Thank You. Ralf Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] winbind rpc only
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thorkil, > I have sat the parameter in smb.conf: > > winbind rpc only = Yes > > Testparm says: > > Unknown parameter encountered: "winbind rpc only" > Ignoring unknown parameter "winbind rpc only" > > The man-page for smb.conf do document it. Is > that wrong? The parameter is only supported in the upcoming 3.0.26 series and later. Which is also why is is not mentioned in the release notes. cheers, jerry = Samba--- http://www.samba.org Centeris --- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGjPf8IR7qMdg1EfYRAheWAJ9mx9IAwMdCNlBB8wNUOBKdfz3DbQCcDRR/ FNPKXqmFd9rEiT5oukNjq8c= =TKG/ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem jioning domain using "net rpc join"
Hi, I have a samba PDC running on Centos4 with several hundred Windows PS's using it for authentication. I've just upgraded the fileserver which serves the users home directories to Centos5. The problem is how to get the upgraded fileserver to join the existing domain. On the server JANUS I have an account for the upgraded fileserver in /etc/passwd same as before. When I try and join the domain from the fileserver I get [EMAIL PROTECTED] ~]# net rpc join MEMBER -U root -d 2 [2007/07/05 14:13:37, 2] lib/interface.c:add_interface(81) added interface ip=10.220.1.153 bcast=10.220.1.255 nmask=255.255.255.0 [2007/07/05 14:13:37, 1] utils/net_rpc.c:run_rpc_command(170) rpc command function failed! (NT_STATUS_ACCESS_DENIED) Password: x [2007/07/05 14:13:43, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(350) Error in domain join verification (credential setup failed): NT_STATUS_ACCESS_DENIED Unable to join domain CSIS. [2007/07/05 14:13:43, 2] utils/net.c:main(988) return code = 1 Tony -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem jioning domain using "net rpc join" SOLVED
On Thursday 05 July 2007 14:15, Tony Molloy wrote: > Hi, > > > I've just upgraded the fileserver which serves the users home directories > to Centos5. The problem is how to get the upgraded fileserver to join the > existing domain. > > On the server JANUS I have an account for the upgraded fileserver > in /etc/passwd same as before. OOP's I forgot to recreate the account in the smbpasswd file. So now it joined the domain. Tony -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Files rename problem
Hi folks i using debian stable (with samba v3.0.24-6) When I try to rename (from windows host) a file in the sharing of samba, the file isn't renamed :-/ Example: readme.txt to Readme.txt (i renamed only the letter R) I press enter (and f5 to refresh) but the file is always readme.txt Instead if i rename completly the file (all letters) the rename is correct (Readme.txt) Why? I remember that old version of samba doesn't have this problem. Can I resolve this problem? Thanks! Regards Pol -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Problem With Big File Transfer on Windows Client
Hi After your sugestion i have been testing samba with the options keepalive, dead time, debug level = 4, but the final result was the same apparently, even the logs dont show any useful information. During the test i notice a peak in the CPU usage bye the process "pdflush" and "smbd". I think pdflush is a kernel process dont konw if this helps to identify the problem origin. Aravinda Guzzar thanks for the sugestion on the ftruncate function and the packets situation, but i dont think i have the know-how to do it thanks NP -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Custom "Windows Welcome message"
On 7/5/07, Ralf Wiegand <[EMAIL PROTECTED]> wrote: Hello - I running Samba as a PDC on FC6 with roaming profiles. I need to setup a custom >Windows logon/welcome message... to tell users want they can expect using this >domain. I am sorry to ask you to stfw: http://www.google.nl/search?q=windows%20welcome%20message the first result is spot on. Is it also possible to place different PDF files on the users desktop when he or she logs >on, but only referencing one source file, so I don't have a copy for each user? What is the best approach? use a login script or a mandatory desktop. These 2 questions have nothing to do with samba, though ;), they are normal windows networking in action. -- Groeten, J.Asenjo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Custom "Windows Welcome message"
Thanks for the tip. In a windows AD domain, this is accomplished by using a group policy... so how do you do this in samba. I don't want to added each XP box. If it is done via a logon script, do you have an example? Ralf - Original Message From: Natxo Asenjo <[EMAIL PROTECTED]> To: samba@lists.samba.org Sent: Thursday, July 5, 2007 10:50:20 AM Subject: Re: [Samba] Custom "Windows Welcome message" On 7/5/07, Ralf Wiegand <[EMAIL PROTECTED]> wrote: > Hello - I running Samba as a PDC on FC6 with roaming profiles. I need to > setup a custom >Windows logon/welcome message... to tell users want they can > expect using this >domain. I am sorry to ask you to stfw: http://www.google.nl/search?q=windows%20welcome%20message the first result is spot on. >Is it also possible to place different PDF files on the users desktop when he or she logs >on, but only referencing one source file, so I don't have a copy for each user? > What is the best approach? use a login script or a mandatory desktop. These 2 questions have nothing to do with samba, though ;), they are normal windows networking in action. -- Groeten, J.Asenjo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Custom "Windows Welcome message"
> Thanks for the tip. In a windows AD domain, this is accomplished by using a > group policy... so how do you do this in samba. I don't want to added each > XP box. > If it is done via a logon script, do you have an example? Through NT domain policies (ntconfig.pol). This isn't a Samba related question; just the same techniques and tools as with an NT4 PDC. http://www.microsoft.com/technet/archive/winntas/maintain/featusability/prof_pol.mspx?pf=true -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Miserable read performance (factor ~60 too slow)
Could it be the disk? Can you do a: hdparm -t /dev/sda Then benchmark your XP disk with www.hdtune.com HTH Oliver Arno Schäfer wrote: Hi, I am trying to migrate my files from a Windows XP Pro box to a new server running OpenSuSE 10.2/Linux 2.6.18 (x86_64) and Samba 3.0.25b. The Server is a new Athlon 64 X2 4000+/1GB with two 400GB SATA disks in a software RAID1 configuration. The share file system is reiserfs on a 350GB RAID1 partition. I have a small LAN with three PCs on 100MBit Ethernet and a Laptop on WLAN on a 4 Port Switch/WLAN/DSL router. I am experiencing extremely (an I really mean EXTREMELY) bad performance. It is so bad that it can not have anything to do with performance "tuning", it must be a configuration error somewhere. Doing some comparisons, I find that - copying a 700MB file from the CIFS share of the Windows XP box to a different Windows PC starts immediately and takes about two minutes. - copying the same file via HTTP from the new Samba server takes a little more than one minute (10.5 MB/sec). - copying the file from the Samba share varies hugely. It can take between 90 seconds and literally hours (!). - sometimes it goes faster, but almost always the startup time is between 20 and 90 seconds, that is the time before the copying even begins. - I have found repeatedly that when I am copying a file from the Samba share, and it goes extremely slow (estimated time 90 minutes), and I start copying a second file (from the same or a different PC), suddenly the copying speeds up to "normal" speed. ifconfig does not show any collisions or errors, and as I said, copying via HTTP is extremely fast. The Linux installation is as barebones as I could make it, no X11, no firewall (for now), no ZENWorks or AppArmor or anything. I already once reinstalled everything from scratch, to no avail. Any ideas would be immensely appreciated, as I am seriously considering going back to Windows XP ;-) Best Regards, Arno Here is my smb.conf: [global] workgroup = MSHEIMNETZ printing = cups printcap name = cups printcap cache time = 750 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 = Yes add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = No domain master = No security = share netbios name = FILESERVER2 [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 [share] comment = share path = /share read only = No guest ok = Yes browsable = Yes -- Oliver Schulze L. | http://tinymailto.com/oliver Asuncion - Paraguay | http://www.solojuegos.mobi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Big problem with USERIDs
Have you tried reparing the .tdb files? Look at the howto, I the command is tdbbackup HTH Oliver -- Oliver Schulze L. | http://tinymailto.com/oliver Asuncion - Paraguay | http://www.solojuegos.mobi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with Everyone SID (S-1-1-0)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Rynhart wrote: > Hi, > > I'm running Samba 3.0.25b as a PDC. > > In log.smbd (at Debug level 10) I have noticed: > log.smbd: Could not convert SID S-1-1-0 to gid, ignoring it There are a couple of well known sids added to the user's NT token in smbd. I doubt you really needs these converted to a SID, but if you do, please explain exactly what you are trying to accomplish. cheers, jerry = Samba--- http://www.samba.org Centeris --- http://www.centeris.com "What man is a man who does not make the world better?" --Balian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGjSCAIR7qMdg1EfYRAk4qAJ4rIxhv1qjpgQN6vdCgnp5m/g4xswCeKZoJ 0S3Buate/KQWOzHlEPnImmk= =cKvK -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Execute on file access
On Thu, Jul 05, 2007 at 12:22:57PM +0200, [EMAIL PROTECTED] wrote: > >> I'd like to store images on a samba server, and from each image stored a > >> thumbnail should be calculated. Thus, after a file is created/modified, > >> I > >> need to call a program passing the path name of the stored/modified file > >> as a parameter. > > > > Write a VFS module that connects to the close operation. > > Simple enough! Yes, give me two or three minutes, and I'll be done. ;-) > > Open Source makes everybody a brilliant programmer, true? > > However, thank you for your answer, which reads to a non-programmer like > me as: "no, that feature is missing". You always have the option to purchase programmer time to implement a feature like that. On closed source systems "no, that feature is missing" would be your only answer until enough people complained or the company providing the software went out of business. Jeremy -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Miserable read performance (factor ~60 too slow)
On Thu, 5 Jul 2007, Arno Schäfer wrote: Hi, I am trying to migrate my files from a Windows XP Pro box to a new server running OpenSuSE 10.2/Linux 2.6.18 (x86_64) and Samba 3.0.25b. The Server is a new Athlon 64 X2 4000+/1GB with two 400GB SATA disks in a software RAID1 configuration. The share file system is reiserfs on a 350GB RAID1 partition. I have a small LAN with three PCs on 100MBit Ethernet and a Laptop on WLAN on a 4 Port Switch/WLAN/DSL router. I am experiencing extremely (an I really mean EXTREMELY) bad performance. It is so bad that it can not have anything to do with performance "tuning", it must be a configuration error somewhere. Doing some comparisons, I find that - copying a 700MB file from the CIFS share of the Windows XP box to a different Windows PC starts immediately and takes about two minutes. - copying the same file via HTTP from the new Samba server takes a little more than one minute (10.5 MB/sec). - copying the file from the Samba share varies hugely. It can take between 90 seconds and literally hours (!). - sometimes it goes faster, but almost always the startup time is between 20 and 90 seconds, that is the time before the copying even begins. - I have found repeatedly that when I am copying a file from the Samba share, and it goes extremely slow (estimated time 90 minutes), and I start copying a second file (from the same or a different PC), suddenly the copying speeds up to "normal" speed. ifconfig does not show any collisions or errors, and as I said, copying via HTTP is extremely fast. The Linux installation is as barebones as I could make it, no X11, no firewall (for now), no ZENWorks or AppArmor or anything. I already once reinstalled everything from scratch, to no avail. Any ideas would be immensely appreciated, as I am seriously considering going back to Windows XP ;-) You have an Ethernet duplex mismatch between your server and the switch port. Based on the symptoms you describe, your server is probably at full duplex and the switch port is at half duplex. Andy-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: winbind rpc only
Gerald (Jerry) Carter samba.org> writes: > The parameter is only supported in the upcoming 3.0.26 > series and later. Which is also why is is not mentioned in > the release notes. So the documentation in the man-page is a little ahead ;-) Thanks for the answer! -- Thorkil Olesen, Hanstholm, Denmark. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Promoting BDC to PDC
Hi, Does someone know how will all my client machines find the BDC when the PDC is stopped. Both PDC and BDC are running Samba with LDAPSAM backend replicated on both the PDC with master LDAP database and BDC with replicated LDAP database. But when I stop PDC the clients are not detecting the BDC broadcast. The replication on all domain controllers are perfect. I went as far as making BDC the new PDC by doing the following on smb.conf. There's actually a little success when I did this. preferred master = Yes domain master = Yes I was able to login but then could not access the shared drive running on a member server. I made sure that the smb.conf file on the member server that contains all the shared drive is set to: "Password Server = new PDC hostname" Any idea of where I may be wrong? I guess to make it short, how can I promote a BDC to a PDC, if in case the PDC crashed. I want to make sure that if I promote one of the BDC to PDC, that all my user can still login and access shared files. We have 4 machine running samba, 3 with LDAP backend (PDC, 2 BDC) and 1 machine as fileserver or member server only and used for filesharing. Thanks, -Ivan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] OS/2 Warp 4 Access Issues
OK, here are the versions: OS/2 Warp 4.50 Debian Etch Samba 3.0.24-6etch4 linux kernel 2.6.18 I actually started having problems before upgrading to etch. Then, I was on a 2.4 kernel, and had upgraded to what was then the latest security fix for samba for the debian "stable" version previous to etch. I was hoping that upgrading to etch might fix the problem, but it did not. FWIW, I did a "clean" upgrade to etch, using the netinstall CD, so all of the previous binaries and config files were over-written (nothing left behind to cause problems). As for the problem... on the OS/2 box, the shares on the debian box are displayed (just as the shares on the Win9x box are), but when I "click" on any of the debian shares, OS/2 reports that "No objects were found that match the specified find criteria." So, none of the files that reside in the shared folders are displayed. It is as if the shares have no files in them (but they do!). OS/2 does appear to access the "PDF Printer" share OK, and acts as though it is printing to it, but I have no idea where the PDF files that it is "printing" are being saved. ;-) It cannot access any of the disk shares. Here is the smb.conf config file (with certain bits replaced with 'X'): [global] netbios name = XX server string = debian workgroup = XX hosts allow = 127. 192.168.X. #printcap name = /etc/printcap printcap name = cups load printers = yes printing = cups cups options = raw guest account = smbguest log file = /var/log/samba/samba.log max log size = 1000 security = user username level = 8 password level = 8 username map = /etc/samba/smbusers add user script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u' smb passwd file = /etc/samba/smbpasswd encrypt passwords = yes unix password sync = no passwd program = /usr/bin/passwd '%u' passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*\n null passwords = no socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 127.0.0.1/8 192.168.X.X remote browse sync = 192.168.X.255 remote announce = 192.168.X.255 local master = no os level = 33 domain master = no preferred master = no time server = no domain logons = no logon drive = m: logon home = \\%L\homes\%u logon path = \\%L\profiles\%u logon script = %G.bat name resolve order = wins lmhosts bcast wins support = no msdfs root = yes wins proxy = no dns proxy = no preserve case = no winbind use default domain = yes idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /dev/null [homes] comment = Home Directories path = /home read only = no available = yes browseable = yes writable = yes guest ok = no public = no printable = no share modes = no locking = no [netlogon] comment = Network Logon Service path = /home/netlogon read only = no available = yes browseable = yes writable = no guest ok = no public = no printable = no share modes = no locking = no Thanks for your assistance! On Sat, 30 Jun 2007 17:33:51 -0400 Felix Miata <[EMAIL PROTECTED]> wrote: > Problems between OS/2 and Samba have been the rule rather than the > exception since Samba 3 replaced Samba 2. Most issues are resolved in > the latest versions, but to really be able to help you'll probably need > to provide more information on your versions, kernel, Debian and Samba, > plus Samba configuration. > > My SUSE box is running 3.0.26pre1 compiled from SVN plus a recompiled > kernel that includes SMBFS, as CIFS remains broken for use with OS/2. I > stay out of trouble by mounting all OS/2 shares ro, and using only OS/2 > to move or copy files from Samba shares to OS/2. > -- > "Respect everyone." I Peter 2:17 NIV > > Team OS/2 ** Reg. Linux User #211409 > > Felix Miata *** http://mrmazda.no-ip.com/ > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] error when trying to execute net join.."
I get this error after executing the net join ads command: ads_connect: Invalid or incomplete multibyte or wide character anybody have any idea what that means? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba PDC LDAP HowTo 4 U
Chris Smart wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I've written a HowTo for 'Samba domain with LDAP back end' and am looking for people to test it and tell me the stupid things I did. I also wanted to put the HowTo out there in case others wanted to do something similar and because I know you've got nothing better to do on your weekend than play with Linux ;) I'm by no means a Samba expert so please let me know if you have any suggestions or improvements :) It's wikified online at : "http://wiki.makethemove.net/index.php?title=LDAP-Samba"; Am still reading it... :) However, I wanted to take a moment to mention the smbldap-installer at http://majen.net/smbldap/ It rocks! I am glad to see you covering some areas not covered in many howto's. Questions that may come up in setting up a pdc may be... Folder redirection using policy files, etc. How to copy existing profiles to the roaming profiles. Giving a user permission to join the domain. (so folks aren't running around with the root password) net rpc rights grant "Domain Admins" SeMachineAccountPrivilege and possibly these as well.. SeMachineAccountPrivilege \ SeTakeOwnershipPrivilege \ SeBackupPrivilege \ SeRestorePrivilege \ SeRemoteShutdownPrivilege \ SePrintOperatorPrivilege \ SeAddUsersPrivilege \ -- This message has been scanned for viruses and dangerous content by RCRnet, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] gosa web gui
Any comments on gosa for management? Looks pretty.. Haven't tried it yet though. :) -- This message has been scanned for viruses and dangerous content by RCRnet, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Promoting BDC to PDC
Ivan Ordonez wrote: Hi, Does someone know how will all my client machines find the BDC when the PDC is stopped. Both PDC and BDC are running Samba with LDAPSAM backend replicated on both the PDC with master LDAP database and BDC with replicated LDAP database. But when I stop PDC the clients are not detecting the BDC broadcast. The replication on all domain controllers are perfect. I went as far as making BDC the new PDC by doing the following on smb.conf. There's actually a little success when I did this. preferred master = Yes domain master = Yes I was able to login but then could not access the shared drive running on a member server. I made sure that the smb.conf file on the member server that contains all the shared drive is set to: "Password Server = new PDC hostname" Any idea of where I may be wrong? I guess to make it short, how can I promote a BDC to a PDC, if in case the PDC crashed. I want to make sure that if I promote one of the BDC to PDC, that all my user can still login and access shared files. We have 4 machine running samba, 3 with LDAP backend (PDC, 2 BDC) and 1 machine as fileserver or member server only and used for filesharing. Thanks, -Ivan Having the password server set to * should be sufficient to get the rollover to work. Accessing the files should require that the shares are declared in the smb.conf on each domain controller. Other than that, once the new domain controller takes over, everything should work. I don't believe Samba actually differentiates between types of domain controllers. In your case, the distinction just revolves around the LDAP replication. Beyond that, I don't think the problem would be related to your use of LDAP. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] OS/2 Warp 4 Access Issues
Am Donnerstag, 5. Juli 2007 22:38 schrieb Michael Powell: > OK, here are the versions: > > OS/2 Warp 4.50 > Debian Etch > Samba 3.0.24-6etch4 > linux kernel 2.6.18 > > I actually started having problems before upgrading to etch. Then, I was on > a > 2.4 kernel, and had upgraded to what was then the latest security fix for > samba for the debian "stable" version previous to etch. I was hoping that > upgrading to etch might fix the problem, but it did not. FWIW, I did a > "clean" upgrade to etch, using the netinstall CD, so all of the previous > binaries and config files were over-written (nothing left behind to cause > problems). > > As for the problem... on the OS/2 box, the shares on the debian box are > displayed (just as the shares on the Win9x box are), but when I "click" on > any of the debian shares, OS/2 reports that "No objects were found that > match the specified find criteria." So, none of the files that reside > in the shared folders are displayed. It is as if the shares have no files > in them (but they do!). > > OS/2 does appear to access the "PDF Printer" share OK, and acts as > though it is printing to it, but I have no idea where the PDF files that > it is "printing" are being saved. ;-) It cannot access any of the > disk shares. > > Here is the smb.conf config file (with certain bits replaced with 'X'): > > [global] > netbios name = XX > server string = debian > workgroup = XX > hosts allow = 127. 192.168.X. > #printcap name = /etc/printcap > printcap name = cups > load printers = yes > printing = cups > cups options = raw > guest account = smbguest > log file = /var/log/samba/samba.log > max log size = 1000 > security = user > username level = 8 > password level = 8 > username map = /etc/samba/smbusers > add user script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba > Machine Account' -s /dev/null -M '%u' > smb passwd file = /etc/samba/smbpasswd > encrypt passwords = yes > unix password sync = no > passwd program = /usr/bin/passwd '%u' > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully*\n > null passwords = no > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = 127.0.0.1/8 192.168.X.X > remote browse sync = 192.168.X.255 > remote announce = 192.168.X.255 > local master = no > os level = 33 > domain master = no > preferred master = no > time server = no > domain logons = no > logon drive = m: > logon home = \\%L\homes\%u > logon path = \\%L\profiles\%u > logon script = %G.bat > name resolve order = wins lmhosts bcast > wins support = no > msdfs root = yes > > wins proxy = no > dns proxy = no > preserve case = no > winbind use default domain = yes > idmap uid = 16777216-33554431 > idmap gid = 16777216-33554431 > template shell = /dev/null > > [homes] > comment = Home Directories > path = /home > read only = no > available = yes > browseable = yes > writable = yes > guest ok = no > public = no > printable = no > share modes = no > locking = no > > [netlogon] > comment = Network Logon Service > path = /home/netlogon > read only = no > available = yes > browseable = yes > writable = no > guest ok = no > public = no > printable = no > share modes = no > locking = no > > Thanks for your assistance! > Hi Michael, add the following to the [global] section of smb.conf: ea support = yes Cheers, Guenter -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Custom "Windows Welcome message"
On 7/5/07, Ralf Wiegand <[EMAIL PROTECTED]> wrote: Thanks for the tip. In a windows AD domain, this is accomplished by using a group policy... so how do you do this in samba. I don't want to added each XP box. with the old nt policy editor. If it is done via a logon script, do you have an example? the script would be to copy the pdf files to the desktop of the user, not for the welcome stuff because you cannot modify hklm keys as a normal user. And no, I do not have an example handy, but come on ..., are you a windows admin or what ? ;) -- Groeten, J.Asenjo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA ADS to NIS mapping
I am working in an environment with an HP-UX NIS that my Red Hat ES 4.x system is using for Unix access controls. My Red Hat system is serving as an NFS server for the HP-UX users who also could be Windows users coming from a Windows Server 2003 active directory. I have tested some configurations of SAMBA using winbind, but I don't get the results I want. What happens when using winbind (via authconfig) is that if I have the template directory for homedir configured as per below, the home directory must be owned by REALM\user, rather than mapping over to the NIS user owned directory in the same location. For now, I've disabled winbind since we don't actually have need for it outside of helping to map usernames from Windows ADS to Unix NIS (if we are actually supposed to use it there). What I want to have happen is that REALM\username maps over to a user from the NIS. As an example, what I am expecting is that I need to have an smbpasswd file that includes all of the users from my NIS. I have done that via instructions taken from http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-samb a-configuring.html that instruct to do: ypcat passwd | mksmbpasswd.sh > /etc/samba/smbpasswd I have set username map = /etc/samba/smbusers and have added a few specific users (for testing) to the mapping there with unixname = windowsname for the users I am testing on. The Red Hat server has been joined to the Windows domain, kerberos is working fine, and when I have winbind running I can successfully use wbinfo -g or wbinfo -u to dump the group or user names. (Though I have winbind off at the moment). Again though, what I really want to have happen is for windows usernames to be mapped over to NIS usernames so that when a Windows user attempts to access their home directory they will be able to. Anyone able to help clear up my confusion here and point me in the proper direction to have names from one side mapped to names on the other side? Snippets from smb.conf [global] security = ADS username map = /etc/samba/smbusers # WINBIND stuff template homedir = /exports/home/%u template shell = /bin/bash # Share Definitions == # idmap uid = 16777216-33554431 # idmap gid = 16777216-33554431 idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 password server = WINDOWSPASSWORDSERVER realm = REALM # winbind use default domain = no Thanks in advance! Bcd -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] SAMBA ADS to NIS mapping
D'oh! I think I have things figured out actually, but have a remaining issue to unburden if someone is able to help. First, the username mapping (without winbind in effect) seems to be working for me now. I had thought it wasn't functioning properly because when I browsed to \\sambaserver I would see my named folder (home directory there) showing up, but couldn't access same. I was not paying enough attention to see that the real problem there is that samba was trying to map my home folder based on the path noted in the NIS ( which is just /home/username ) rather than the path that the samba server is using to get there currently ( /exports/home/username ) I updated the path under the [homes] tag in the samba.conf to get that resolved and woohoo! Things work there now. But, I'm left with a final issue, or what I think is a final issue. My Windows names typically do not exactly match the Unix usernames. As an example I have users in Windows in the following format: FirstInitialMiddleInitialLastname so Joe The User would be JTUSER. Over on Unix I have that same user as JUSER. During earlier testing, even with the smbusers file noting that juser = REALM\jtuser jtuser the mapping that samba was doing for the home directory always seemed to be attempting to go to a folder named after the windows user, rather than one named after the NIS username. How do I make sure that the home directory that is shown is the properly named NIS username folder, rather than one that doesn't exist (the longer windows named folder)? Thanks in advance again for helping to clear this all up for me. Bcd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Dowell Sent: Thursday, July 05, 2007 6:24 PM To: samba@lists.samba.org Subject: [Samba] SAMBA ADS to NIS mapping I am working in an environment with an HP-UX NIS that my Red Hat ES 4.x system is using for Unix access controls. My Red Hat system is serving as an NFS server for the HP-UX users who also could be Windows users coming from a Windows Server 2003 active directory. I have tested some configurations of SAMBA using winbind, but I don't get the results I want. What happens when using winbind (via authconfig) is that if I have the template directory for homedir configured as per below, the home directory must be owned by REALM\user, rather than mapping over to the NIS user owned directory in the same location. For now, I've disabled winbind since we don't actually have need for it outside of helping to map usernames from Windows ADS to Unix NIS (if we are actually supposed to use it there). What I want to have happen is that REALM\username maps over to a user from the NIS. As an example, what I am expecting is that I need to have an smbpasswd file that includes all of the users from my NIS. I have done that via instructions taken from http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-samb a-configuring.html that instruct to do: ypcat passwd | mksmbpasswd.sh > /etc/samba/smbpasswd I have set username map = /etc/samba/smbusers and have added a few specific users (for testing) to the mapping there with unixname = windowsname for the users I am testing on. The Red Hat server has been joined to the Windows domain, kerberos is working fine, and when I have winbind running I can successfully use wbinfo -g or wbinfo -u to dump the group or user names. (Though I have winbind off at the moment). Again though, what I really want to have happen is for windows usernames to be mapped over to NIS usernames so that when a Windows user attempts to access their home directory they will be able to. Anyone able to help clear up my confusion here and point me in the proper direction to have names from one side mapped to names on the other side? Snippets from smb.conf [global] security = ADS username map = /etc/samba/smbusers # WINBIND stuff template homedir = /exports/home/%u template shell = /bin/bash # Share Definitions == # idmap uid = 16777216-33554431 # idmap gid = 16777216-33554431 idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 password server = WINDOWSPASSWORDSERVER realm = REALM # winbind use default domain = no Thanks in advance! Bcd -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba