Re: [Samba] gosa web gui
Links? Linux Guy wrote: Any comments on gosa for management? Looks pretty.. Haven't tried it yet though. :) -- 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] 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] Error when upgrading to samba 3.0.25b: NT_STATUS_OBJECT_PATH_NOT_FOUND
Many thanks Simo, A reboot in the Windows PCs was the solution. Regards, Oliver simo wrote: Read the release notes and learn about root msdfs (ie reboot your windows clients after the upgrade). Simo -- 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] Error when upgrading to samba 3.0.25b: NT_STATUS_OBJECT_PATH_NOT_FOUND
FYI, Downgraded to 3.0.24 and my setup is working again. 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
[Samba] Error when upgrading to samba 3.0.25b: NT_STATUS_OBJECT_PATH_NOT_FOUND
Hi, I just upgraded from: samba-3.0.23d-1 to: samba-3.0.25b-3 After starting samba, I could no longer connect to any share, I get this error: NT_STATUS_OBJECT_PATH_NOT_FOUND I builded both samba rpm using the packaging/RHEL/makerpms.sh script on Centos 4.5 Is there any big change in 3.0.25? I readed all releases notes and didn't found any cause for this error. Thanks Oliver Here is the log with: log level = 3 vfs:1 ... [2007/07/01 00:47:48, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (500, 460) - sec_ctx_stack_ndx = 0 [2007/07/01 00:47:48, 1] smbd/service.c:make_connection_snum(1033) sojourner (192.168.1.1) connect to service tmp initially as user user1 (uid=500, gid=460) (pid 12923) [2007/07/01 00:47:48, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2007/07/01 00:47:48, 3] smbd/reply.c:reply_tcon_and_X(574) tconX service=TMP [2007/07/01 00:47:48, 3] smbd/process.c:process_smb(1068) Transaction 29 of length 96 [2007/07/01 00:47:48, 3] smbd/process.c:switch_message(926) switch message SMBtrans2 (pid 12923) conn 0x86af568 [2007/07/01 00:47:48, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (500, 460) - sec_ctx_stack_ndx = 0 [2007/07/01 00:47:48, 3] smbd/trans2.c:call_trans2qfilepathinfo(3252) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2007/07/01 00:47:48, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(3273) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_PATH_NOT_FOUND [2007/07/01 00:47:48, 3] smbd/process.c:process_smb(1068) Transaction 30 of length 92 [2007/07/01 00:47:48, 3] smbd/process.c:switch_message(926) switch message SMBtrans2 (pid 12923) conn 0x86a8190 [2007/07/01 00:47:48, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2007/07/01 00:47:48, 3] smbd/msdfs.c:get_referred_path(624) get_referred_path: |tmp| in dfs path \server1\tmp is not a dfs root. [2007/07/01 00:47:48, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(6201) cmd=50 (SMBtrans2) NT_STATUS_NOT_FOUND [2007/07/01 00:47:48, 3] smbd/process.c:process_smb(1068) Transaction 31 of length 96 [2007/07/01 00:47:48, 3] smbd/process.c:switch_message(926) switch message SMBtrans2 (pid 12923) conn 0x86af568 [2007/07/01 00:47:48, 3] smbd/sec_ctx.c:set_sec_ctx(241) setting sec ctx (500, 460) - sec_ctx_stack_ndx = 0 [2007/07/01 00:47:48, 3] smbd/trans2.c:call_trans2qfilepathinfo(3252) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2007/07/01 00:47:48, 3] smbd/error.c:error_packet_set(106) error packet at smbd/trans2.c(3273) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_PATH_NOT_FOUND -- 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] can't create workstation account
You need to post the error from the .log file not the error that appears in the output of the command. Try looking at the log files in the samba server 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] can't create workstation account
`/usr/sbin/smbldap-useradd -w blackhawk$' gave 9 The command smbldap-useradd exit with exit code 9, which means error. It should exit with error 9, try running something like this: /usr/sbin/smbldap-useradd -w test123$ and see if there is an error 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
[Samba] Problem with MacOSX and filenames ending in white space
Hi, I have an OSX Client to a Linux Samba server (samba-3.0.23c-4 on CentOS4) When the client saves a filename that ends in one or more white spaces, OSX create also files starting with a dot. The filenames are correct in Linux but the OSX client see only garbage as the filename. I think is a problem with the .DS_Store file created by OSX. If you delete the whitespace of the filename in OSX and then copy the file, the problem is gone. Is this a know issue between OSX and Samba, or is a problem with OSX and any Windows server? Many thanks Oliver -- Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Disconnected network drive
Found this nice info: Net Config Server /autodisconnect:-1 Credits: http://lists.samba.org/archive/samba/1999-July/013511.html HTH Oliver Paul Abrahams wrote: I have a couple of Linux directories that are being exported via Samba running under SuSE 10.0. On the Windows side, each of them is assigned a (mapped) drive letter. In the My Computer list they initially show up as Disconnected Network Drive. If I attempt to access a file within one of them, the access fails with an indication that the drive does not exist. (For example, if the drive letter is H:, doing H: from a C prompt gives that message.) However, if in Windows I click on the drive, I get to see its contents and the status changes to Network Drive. At that point the drive contents become available to my Windows applications. I get this behavior on three different machines, all running Windows XP. In the Windows drive mapping, I've checked the Reconnect at Logon box, but that makes no difference. I'm guessing that the problem is on the Linux side since each Windows machine can access exported directories from other Windows machines without any difficulty. It's only the drives exported from Linux that have the problem. I can of course work around the problem by opening up My Computer when I start the Windows machine and clicking on the drive in question, but that should not be necessary. Is this a known problem? Is there a workaround or a fix? Paul -- Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Disconnected network drive
Thanks for the tip about the registry, I found this interesting articles: http://support.microsoft.com/kb/138365/en-us http://support.microsoft.com/kb/297684/EN-US/ From here: http://lists.samba.org/archive/samba/1999-July/013511.html HTH Oliver Adam Williams wrote: If I recall correctly there is some registry tweak which relates to this. -- Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Network drive disconnecting
Hi, I have a network drive where I save development source file. I have been using this network drive for years. Recently, after upgrading to samba-3.0.23c-4 on Centos 4, I have problems where the network drive just become in-accessible for a few seconds. I use a text editor in windows and when saving I get the error that the file could not be saved, I try again after 20seconds and it works. Anyone is having this issue too? I'm using the recicle vfs module. Thanks Oliver -- Oliver Schulze L. | Get my e-mail after a captcha in: Asuncion - Paraguay | http://tinymailto.com/oliver -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] how to make folders invisible
Remove the r attribute, like: $ chmod -r folder HTH Oliver Peter wrote: Hi everyone. Can someone please tell me how to make shares invisible to users who do not have any access to? Why should a user see a dozen shares if they can access only one of them? -- Peter __ Find your next car at http://autos.yahoo.ca -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] VFS audit
Which version of samba are you using? In samba 3.0.21b, syslog = 0 is working as expected. HTH Oliver Ryan Taylor wrote: I have it set now as: ... log level = 0 vfs:2 syslog = 0 ... -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Patch for vfs_extd_audit.c
Hi, just created: https://bugzilla.samba.org/show_bug.cgi?id=3518 Should I announce here when I post a patch in bugzilla? Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Tip for modifying vfs_recycle.c
Hi, I'm seeking a little assistance for modifying vfs_recycle.c What I want to do is that any user can write to the recycle. But, the deleted file should maintain the owner.group of the user that deleted the file. So, I searched a way to pass the SMB_VFS_NEXT_UTIME() define, but searching the code I noted that the process is already running as the user who deleted the file. I mainly want to modify the recycle vfs module because I have problems when 1 user delete a file and later another user delete the same file. Or I also have problems when a user first create a directory in the recycle directory(by deleting a file), later another user deleting the a file in the same directory can not access that directory in the recycle. maybe I can solve the problem using unix permisions too. Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba rpm and /var/*/samba directory for .tdb files
Hi Jerry, I checked the latest rpm (samba-3.0.10-1.4E.2.i386.rpm) for RHEL 4.2, extracted the /usr/sbin/smbd file from the .rpm and run this: $ strings smbd | grep /var/lib/samba (no output) $strings smbd |grep /var/cache/samba /var/cache/samba RedHat is using /var/cache/samba/ in RHEL4.2 HTH Oliver Gerald (Jerry) Carter wrote: You could probably check the stock Fedora RPMs and see what they use. IIRC they are using /var/lib/samba/ as well. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Regarding samba problem
Check your smbd.log file for errors. It is in /var/log/samba/ HTH Oliver Niranjan Madhukar Karvekar wrote: hi, I am using samba on red hat linux9.0 system. But when i try to start samba service using service smb restart it's output : Stooping smb :failed stopping nmb :ok starting smb : ok starting nmb : ok and then when i try service smb status smb stopped nmb running why? can anyone help me Thanks in advance Niranjan -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Samba rpm and /var/*/samba directory for .tdb files
Hi, I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba for storing the .tdb files. Then I compilled the fedora .src.rpm from samba.org and it points now to /var/cache/samba I will build tonight the .rpm from the .tar.gz and see which directory samba choose for the .tdb files in CentOS4. Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba ? Many thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba rpm and /var/*/samba directory for .tdb files
Hi Josh and Dimitri, thanks for your comments. I tested samba 3.0.21b and can confirm that in CentOS 4.2 the directory selected is /var/cache/samba I build the rpm like this in CentOS 4.2: tar xzf samba-3.0.21b.tar.gz cd samba-3.0.21b/packaging/RHEL/ sh makerpms.sh I will keep using /var/cache/samba/ since I plan to manually build and update my samba installation from samba.org HTH Oliver Josh Kelley wrote: On 2/6/06, Oliver Schulze L. [EMAIL PROTECTED] wrote: I use CentOS4 (RHEL4) and it seems that I was using /var/lib/samba for storing the .tdb files. Then I compilled the fedora .src.rpm from samba.org and it points now to /var/cache/samba I noticed this too (and it tripped me up until I noticed it). Anyone can confirm this list of distro/.tdb directory: Fedora: /var/cache/samba CentOS4: /var/lib/samba RH9: /var/lib/samba Unless I'm missing something, samba-3.0.10-1.4E.2.i386.rpm, as included with CentOS 4.2, uses /var/cache/samba. Older Fedora .src.rpms from the Samba site used /var/lib/samba, so if you're upgrading from there, that explains the change. Josh Kelley -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.21 and Rejecting auth request from client
Andrew Bartlett wrote: On Wed, 2005-12-28 at 10:41 -0300, Oliver Schulze L. wrote: Hi, I have migrate from samba 3.0.20b to 3.0.21. I restored the backup of all .tdb and when starting samba and a Windows XP tries to connect, I get this error: [2005/12/28 09:19:04, 0] libsmb/credentials.c:creds_server_check(159) creds_server_check: credentials check failed. [2005/12/28 09:19:04, 0] rpc_server/srv_netlog_nt.c:_net_sam_logon(667) _net_sam_logon: creds_server_step failed. Rejecting auth request from client COMPUTER machine account COMPUTER$ I still can access the shares in the samba PDC. You can, because the above is compiling about domain membership problems. Your machine thinks it is part of the domain, but your DC/sever does not. It will now however prevent you accessing a share, if you can somehow log in. Hi Andrew, I can use the samba server normally. I can log in, and use all shares normally, this is what this error confuses me Will try with 3.0.21a and see what happend. Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Error when migrating from 3.0.20b to 3.0.21x
Hi, I migrated from samba 3.0.20b PDC to 3.0.21x using the rpm -Uvh and now I get these errors: [2006/01/04 19:48:08, 0] libsmb/credentials.c:creds_server_check(159) creds_server_check: credentials check failed. [2006/01/04 19:48:08, 0] rpc_server/srv_netlog_nt.c:_net_sam_logon(667) _net_sam_logon: creds_server_step failed. Rejecting auth request from client COMPUTER1 machine account COMPUTER1$ The problem is that I can still log-in in samba and use the share normally. I'm downgrading to 3.0.20b until this problem is resolved or I understand it correctly ;) What does this messages mean? And why do they only appears in 3.0.21x ? Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.21 and Rejecting auth request from client
Hi Joern, Happy 2006 to you too! I'm having this same errors on samba 3.0.21x, so I'm downgrading to samba 3.0.20b because I'm having some errors in printer shares. HTH Oliver Joern Nettingsmeier wrote: hi andrew, hi oliver! a happy new year to you all (provided you are using the same calender as i am, if not, a happy generic 365 days!) Andrew Bartlett wrote: On Wed, 2005-12-28 at 10:41 -0300, Oliver Schulze L. wrote: Hi, I have migrate from samba 3.0.20b to 3.0.21. I restored the backup of all .tdb and when starting samba and a Windows XP tries to connect, I get this error: [2005/12/28 09:19:04, 0] libsmb/credentials.c:creds_server_check(159) creds_server_check: credentials check failed. [2005/12/28 09:19:04, 0] rpc_server/srv_netlog_nt.c:_net_sam_logon(667) _net_sam_logon: creds_server_step failed. Rejecting auth request from client COMPUTER machine account COMPUTER$ I still can access the shares in the samba PDC. same problem here with 3.0.21a. i have just migrated from 3.0.20b using lars mueller's suse packages. os is suse linux 9.1 on ia32, clients are win2k/winxp. the error is definitely caused by the new samba version, there are no such messages in my old logs. to me it looks like either i have a latent configuration problem that the new samba version chokes on, or the new samba behaves differently (bug?/feature?). could you or some other samba elder clarify? You can, because the above is compiling about domain membership problems. Your machine thinks it is part of the domain, but your DC/sever does not. It will now however prevent you accessing a share, if you can somehow log in. hmm. the funny thing is that everything works - i can access server shares, login, you name it. regards, jörn -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Error when migrating from 3.0.20b to 3.0.21x
I have been doing some debug and it seems that my: # net groupmap list is lost. In which .tbd is that info stored? Thanks Oliver Oliver Schulze L. wrote: Hi, I migrated from samba 3.0.20b PDC to 3.0.21x using the rpm -Uvh and now I get these errors: [2006/01/04 19:48:08, 0] libsmb/credentials.c:creds_server_check(159) creds_server_check: credentials check failed. [2006/01/04 19:48:08, 0] rpc_server/srv_netlog_nt.c:_net_sam_logon(667) _net_sam_logon: creds_server_step failed. Rejecting auth request from client COMPUTER1 machine account COMPUTER1$ The problem is that I can still log-in in samba and use the share normally. I'm downgrading to 3.0.20b until this problem is resolved or I understand it correctly ;) What does this messages mean? And why do they only appears in 3.0.21x ? Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Error when migrating from 3.0.20b to 3.0.21x
I restored a backup of group_mapping.tdb and not its working the groupmapping again. It worked on 3.0.21a and in 3.0.20b Tks Oliver Raymond Lillard wrote: Oliver Schulze L. wrote: I have been doing some debug and it seems that my: # net groupmap list is lost. In which .tbd is that info stored? group_mapping.tdb ... looks promising. Try: tdbdump group_mapping.tdb Ray -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Error when migrating from 3.0.20b to 3.0.21x
Hi Jeremy, many thanks for clarifying that! I just downgraded to 3.0.20b because of those errors. Let me try one more time 3.0.21a thanks to your comments. Regards, Oliver Jeremy Allison wrote: On Wed, Jan 04, 2006 at 07:59:01PM -0300, Oliver Schulze L. wrote: You can safely ignore them. I'm working on removing them in 3.0.22, they're harmless and to do with an initial lack of setup creds - the client re-establishes them correctly and we probably shouldn't be printing a level 0 message in that case. Jeremy. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Error when migrating from 3.0.20b to 3.0.21x
Just upgraded to 3.0.21a, all seems to be working fine now. Will stress test the server tomorrow. It seems that when upgraded to 3.0.21a I missed to restore the group_mapping.tdb and that caused all the problems. Many thanks to all for your help. Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.21 and Rejecting auth request from client
Hi Andrew, the WinXP machine was in the domain in samba 3.0.20b, I have done a backup off all .tdb, upgraded, started without the old .tdb(I forgot to restore them), and finally restarted samba with the old .tdb I will try doing a tdbbackup and joining the domain again in a test PC Oliver Andrew Bartlett wrote: You can, because the above is compiling about domain membership problems. Your machine thinks it is part of the domain, but your DC/sever does not. It will now however prevent you accessing a share, if you can somehow log in. Andrew Bartlett -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Yum install samba
Henrik Zagerholm wrote: Hi, I just wonder why my yum repos only shows samba 3.0.14a which is quite old. Do I have to set up a special repo for the samba packages? Which distro are you using? For example in CentOS4, samba versions does not update to the latest samba release, instead, they just patch the samba version that is shipped with the distro to mantain compatibility. Your only solucion is to download the latest version from samba.org or as you said, configure a new repo where the latest version of samba is available HTH Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Fedora 4 3.0.20b rpm doownload?
You can download that version from here: http://us3.samba.org/samba/ftp/old-versions/ untar the .tar.gz, go to samba-3.0.20b/packaging/Fedora and run # sh makerpms.sh That will compile that version of samba for Fedora Also, a .src.rpm is found here: http://us3.samba.org/samba/ftp/Binary_Packages/Fedora/SRPMS/ You can compile it with: # rpmbuild --rebuild samba-3.0.20b-1.src.rpm HTH Oliver Henrik Zagerholm wrote: Hi! Does anyone know where I can find samba-3.0.20b.i386.rpm for fedora core 4? It has been replaced with 3.0.21 but i think there is a bug in the new one and would like to test with 3.0.20b again. Cheers, Henrik --To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] 3.0.21 and Rejecting auth request from client
Hi, I have migrate from samba 3.0.20b to 3.0.21. I restored the backup of all .tdb and when starting samba and a Windows XP tries to connect, I get this error: [2005/12/28 09:19:04, 0] libsmb/credentials.c:creds_server_check(159) creds_server_check: credentials check failed. [2005/12/28 09:19:04, 0] rpc_server/srv_netlog_nt.c:_net_sam_logon(667) _net_sam_logon: creds_server_step failed. Rejecting auth request from client COMPUTER machine account COMPUTER$ I still can access the shares in the samba PDC. Is this a warning or an error? Many thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- 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.21 Available for Download
Gerald (Jerry) Carter wrote: I'm adding this change, but you should probably be using the Fedora specfile. The single RPM package is really for RedHat 7 - 9. Eventually it will phase out. Many thanks, will use the Fedora spec instead. Sorry about the confusion. Cheers, Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 3.0.21 and Rejecting auth request from client
Hi Ray, how do you rebuilded the tdb files? Maybe that can help. Oliver Raymond Lillard wrote: Sorry, I don't have an answer for you, but I'm seeing the same thing. In my case I re-built the tdb files anew. The PDC I just upgraded was v3.0.7. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba 3.0.21 Available for Download
Hi Mark, I added those 2 lines at the end of packaging/RedHat/samba3.spec and run makerpms.sh. I still have the same problem. It seems that the samba3.spec is overwriten by makerpms.sh Will check compilling using the .spec file since the makerpms.sh created the .tar.bz2 file Regards, Oliver Mark Campbell wrote: I got these errors as well. Comes from files that exsist but are not being packaged. I fixed this by adding the following two lines to the samba3.spec file under %files: %{prefix}/share/swat/images/* %{prefix}/share/swat/lang/tr/* You can read more on the error at: http://www.rpm.org/hintskinks/unpackaged/ Mark Gary MacKay wrote: Same here. I'm running RedHat ES 4 and get the same errors. Oliver Schulze L. wrote: Hi, I was testing the makerpms.sh in CentOS 4.2 and it fails to build the .rpm, here is the last lines of the output: ... Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28980 + umask 022 + cd /usr/src/redhat/BUILD + cd samba-3.0.21 + DOCDIR=/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + export DOCDIR + rm -rf /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + /bin/mkdir -p /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr README COPYING Manifest Read-Manifest-Now /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr WHATSNEW.txt Roadmap /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr docs /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr examples /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + exit 0 Provides: CP437.so CP850.so audit.so cap.so config(samba) = 3.0.21-1 default_quota.so expand_msdfs.so extd_audit.so fake_perms.so full_audit.so idmap_rid.so libmsrpc.so.0 libnss_winbind.so libnss_wins.so libsmbclient.so.0 netatalk.so pam_smbpass.so pam_winbind.so perl(smbldap_tools) = 1.00 readonly.so recycle.so samba = 3.0.21 script.so shadow_copy.so Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1 rpmlib(VersionedDependencies) = 3.0.3-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh /usr/bin/perl config(samba) = 3.0.21-1 cups krb5-libs libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libreadline.so.4 libresolv.so.2 libssl.so.4 openldap pam perl(Exporter) perl(strict) perl(vars) Obsoletes: samba-common samba-client samba-swat Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.21-root error: Installed (but unpackaged) file(s) found: /usr/share/swat/images/globals.gif /usr/share/swat/images/home.gif /usr/share/swat/images/passwd.gif /usr/share/swat/images/printers.gif /usr/share/swat/images/samba.gif /usr/share/swat/images/shares.gif /usr/share/swat/images/status.gif /usr/share/swat/images/viewconfig.gif /usr/share/swat/images/wizard.gif /usr/share/swat/lang/tr/images/globals.gif /usr/share/swat/lang/tr/images/home.gif /usr/share/swat/lang/tr/images/passwd.gif /usr/share/swat/lang/tr/images/printers.gif /usr/share/swat/lang/tr/images/samba.gif /usr/share/swat/lang/tr/images/shares.gif /usr/share/swat/lang/tr/images/status.gif /usr/share/swat/lang/tr/images/viewconfig.gif RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/swat/images/globals.gif /usr/share/swat/images/home.gif /usr/share/swat/images/passwd.gif /usr/share/swat/images/printers.gif /usr/share/swat/images/samba.gif /usr/share/swat/images/shares.gif /usr/share/swat/images/status.gif /usr/share/swat/images/viewconfig.gif /usr/share/swat/images/wizard.gif /usr/share/swat/lang/tr/images/globals.gif /usr/share/swat/lang/tr/images/home.gif /usr/share/swat/lang/tr/images/passwd.gif /usr/share/swat/lang/tr/images/printers.gif /usr/share/swat/lang/tr/images/samba.gif /usr/share/swat/lang/tr/images/shares.gif /usr/share/swat/lang/tr/images/status.gif /usr/share/swat/lang/tr/images/viewconfig.gif Done. Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- 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.21 Available for Download
Hi Jerry, Great news!!! Many thanks! Just a note, the makerpms.sh patch for building in RHEL4 (CentOS4) did not make it into 3.0.21 In case someone wants to build a rpm in these distros, use this micro patch: --- makerpms.sh.ori 2005-12-21 21:33:35.0 -0300 +++ makerpms.sh 2005-12-21 21:29:35.0 -0300 @@ -46,7 +46,7 @@ ## now catch the right command to build an RPM (defaults ro 'rpm' ## case $RPMVER in -4.[12]*) +4.[123]*) RPM=rpmbuild ;; esac HTH, Regards Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba 3.0.21 Available for Download
Hi, I was testing the makerpms.sh in CentOS 4.2 and it fails to build the .rpm, here is the last lines of the output: ... Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.28980 + umask 022 + cd /usr/src/redhat/BUILD + cd samba-3.0.21 + DOCDIR=/var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + export DOCDIR + rm -rf /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + /bin/mkdir -p /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr README COPYING Manifest Read-Manifest-Now /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr WHATSNEW.txt Roadmap /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr docs /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + cp -pr examples /var/tmp/samba-3.0.21-root/usr/share/doc/samba-3.0.21 + exit 0 Provides: CP437.so CP850.so audit.so cap.so config(samba) = 3.0.21-1 default_quota.so expand_msdfs.so extd_audit.so fake_perms.so full_audit.so idmap_rid.so libmsrpc.so.0 libnss_winbind.so libnss_wins.so libsmbclient.so.0 netatalk.so pam_smbpass.so pam_winbind.so perl(smbldap_tools) = 1.00 readonly.so recycle.so samba = 3.0.21 script.so shadow_copy.so Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) = 3.0.4-1 rpmlib(PayloadFilesHavePrefix) = 4.0-1 rpmlib(VersionedDependencies) = 3.0.3-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh /usr/bin/perl config(samba) = 3.0.21-1 cups krb5-libs libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.3) libc.so.6(GLIBC_2.3) libcom_err.so.2 libcrypt.so.1 libcrypto.so.4 libcups.so.2 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgssapi_krb5.so.2 libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7 libldap-2.2.so.7 libncurses.so.5 libnsl.so.1 libnsl.so.1(GLIBC_2.0) libpam.so.0 libpopt.so.0 libreadline.so.4 libresolv.so.2 libssl.so.4 openldap pam perl(Exporter) perl(strict) perl(vars) Obsoletes: samba-common samba-client samba-swat Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/samba-3.0.21-root error: Installed (but unpackaged) file(s) found: /usr/share/swat/images/globals.gif /usr/share/swat/images/home.gif /usr/share/swat/images/passwd.gif /usr/share/swat/images/printers.gif /usr/share/swat/images/samba.gif /usr/share/swat/images/shares.gif /usr/share/swat/images/status.gif /usr/share/swat/images/viewconfig.gif /usr/share/swat/images/wizard.gif /usr/share/swat/lang/tr/images/globals.gif /usr/share/swat/lang/tr/images/home.gif /usr/share/swat/lang/tr/images/passwd.gif /usr/share/swat/lang/tr/images/printers.gif /usr/share/swat/lang/tr/images/samba.gif /usr/share/swat/lang/tr/images/shares.gif /usr/share/swat/lang/tr/images/status.gif /usr/share/swat/lang/tr/images/viewconfig.gif RPM build errors: Installed (but unpackaged) file(s) found: /usr/share/swat/images/globals.gif /usr/share/swat/images/home.gif /usr/share/swat/images/passwd.gif /usr/share/swat/images/printers.gif /usr/share/swat/images/samba.gif /usr/share/swat/images/shares.gif /usr/share/swat/images/status.gif /usr/share/swat/images/viewconfig.gif /usr/share/swat/images/wizard.gif /usr/share/swat/lang/tr/images/globals.gif /usr/share/swat/lang/tr/images/home.gif /usr/share/swat/lang/tr/images/passwd.gif /usr/share/swat/lang/tr/images/printers.gif /usr/share/swat/lang/tr/images/samba.gif /usr/share/swat/lang/tr/images/shares.gif /usr/share/swat/lang/tr/images/status.gif /usr/share/swat/lang/tr/images/viewconfig.gif Done. Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2
Hi Jerry, I'm could build sucessfully in Centos4.2 (RHEL4 U2 compatible) with this patch to the file: packaging/Redhat/makerpms.sh # diff makerpms.sh makerpms.sh.centos4 49c49 4.[12]*) --- 4.[123]*) In centos4.2 I have this: $ rpm --version RPM version 4.3.3 HTH Oliver Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 9 Dec 2005, Oliver Schulze L. wrote: I think rpmbuild picks the packaging/Fedora/samba.spec file. run sh makerpms.sh. Don't use the spec file directly. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2
I think rpmbuild picks the packaging/Fedora/samba.spec file. Will try compilling with the Redhat and Fedora .specs Also, I just compilled the .src.rpm for fedora4 that is posted in the news announcement. No problem with that. Oliver Josh Kelley wrote: On 12/8/05, Oliver Schulze L. [EMAIL PROTECTED] wrote: Hi, I'm trying to compile samba 3.0.21rc2 in Centos 4.2 and I get this errors: Which spec file / source RPM are you using? Josh Kelley -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Build error of rpm for samba-3.0.21rc2 on Centos 4.2
Hi, I'm trying to compile samba 3.0.21rc2 in Centos 4.2 and I get this errors: First, this easy one: [EMAIL PROTECTED] SOURCES]# rpmbuild -ta --clean --target=i686 samba-3.0.21rc2.tar.gz Building target platforms: i686 Building for target i686 error: File /usr/src/redhat/SOURCES/samba-3.0.21rc2.tar.bz2: No such file or directory I solved by creating a .bz2 file: tar xzf samba-3.0.21rc2.tar.gz tar cjf samba-3.0.21rc2.tar.bz2 samba-3.0.21rc2 mv samba-3.0.21rc2.tar.bz2 /usr/src/redhat/SOURCES But, then, I get this error: rpmbuild -ta --clean --target=i686 samba-3.0.21rc2.tar.bz2 ... + mkdir -p /var/tmp/samba-3.0.21rc2-root/etc/xinetd.d + install -m644 /usr/src/redhat/SOURCES/samba.xinetd /var/tmp/samba-3.0.21rc2-root/etc/xinetd.d/swat + mkdir -p /var/tmp/samba-3.0.21rc2-root/etc/sysconfig + install -m644 /usr/src/redhat/SOURCES/samba.sysconfig /var/tmp/samba-3.0.21rc2-root/etc/sysconfig/samba + rm -f /var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/log2pcap.1 + rm -f '/var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/smbsh.1*' + rm -f /var/tmp/samba-3.0.21rc2-root/usr/share/man/man1/vfstest.1 + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip + /usr/lib/rpm/brp-strip-static-archive + /usr/lib/rpm/brp-strip-comment-note error: Bad file: /usr/src/redhat/SOURCES/filter-requires-samba.sh: No such file or directory RPM build errors: Bad file: /usr/src/redhat/SOURCES/filter-requires-samba.sh: No such file or directory How do I solve this issue? I think its a .spec problem Regards, Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba+LDAP Groups resolving problem
Does: net groupmap list works? Oliver [EMAIL PROTECTED] wrote: Hi, I have managed to configure Samba+LDAP+smbldap-tools. Everything works fine, except one strange problem is appearing. When I connect with Windows tool UserManagerForDomains or I want to create a share on a Wndows box I can see the users but no groups. With UserManagerForDomains is see following: Users:All the users Groups: none, just description of Replicators Group and the description Domain Unix Group When I try to add a group on share via selecting it I see nothing. The strange thing is that everything works fine and when I add a group like DOMAIN\group it works normally. The only error I found was the LDAP error bdb_equality_candidates: (sambaGroupType) index_param failed (18) but I can't find any clues. In the slapd.conf file I use access control policy like in the idealx manual. The LDAP log file : Oct 20 14:34:31 kope slapd[6707]: conn=1 op=28 SRCH base=ou=Users,dc=r-kb,dc=si scope=2 deref=0 filter=((uid=*)(objectClass=sambaSamAccount)) Oct 20 14:34:31 kope slapd[6707]: conn=1 op=28 SRCH attr=uid sambaSid displayName description sambaAcctFlags Oct 20 14:34:32 kope slapd[6707]: conn=1 op=28 SEARCH RESULT tag=101 err=0 nentries=511 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=29 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaGroupType=4)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=29 SRCH attr=cn sambaSid displayName description sambaGroupType Oct 20 14:34:32 kope slapd[6707]: = bdb_equality_candidates: (sambaGroupType) index_param failed (18) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=29 SEARCH RESULT tag=101 err=0 nentries=0 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=30 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaGroupType=5)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=30 SRCH attr=cn sambaSid displayName description sambaGroupType Oct 20 14:34:32 kope slapd[6707]: = bdb_equality_candidates: (sambaGroupType) index_param failed (18) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=30 SEARCH RESULT tag=101 err=0 nentries=5 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=31 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-544)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=31 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 20 14:34:32 kope slapd[6707]: conn=1 op=31 SEARCH RESULT tag=101 err=0 nentries=1 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=32 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-548)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=32 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 20 14:34:32 kope slapd[6707]: conn=1 op=32 SEARCH RESULT tag=101 err=0 nentries=1 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=33 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-550)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=33 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 20 14:34:32 kope slapd[6707]: conn=1 op=33 SEARCH RESULT tag=101 err=0 nentries=1 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=34 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-551)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=34 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 20 14:34:32 kope slapd[6707]: conn=1 op=34 SEARCH RESULT tag=101 err=0 nentries=1 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=35 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaSID=s-1-5-32-552)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=35 SRCH attr=gidNumber sambaSID sambaGroupType sambaSIDList description displayName cn objectClass Oct 20 14:34:32 kope slapd[6707]: conn=1 op=35 SEARCH RESULT tag=101 err=0 nentries=1 text= Oct 20 14:34:32 kope slapd[6707]: conn=1 op=36 SRCH base=ou=Groups,dc=r-kb,dc=si scope=2 deref=0 filter=((objectClass=sambaGroupMapping)(sambaGroupType=2)) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=36 SRCH attr=cn sambaSid displayName description sambaGroupType Oct 20 14:34:32 kope slapd[6707]: = bdb_equality_candidates: (sambaGroupType) index_param failed (18) Oct 20 14:34:32 kope slapd[6707]: conn=1 op=36 SEARCH RESULT tag=101 err=0 nentries=6 text= Thanks -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with example: Chapter 15 of howto
Hi, In Chapter15 of the official Howto, in this section: Users Cannot Write to a Public Share http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id2595814 The point 5 is not working on RHEL4 (CentOS): -- Now type: $ su - jill $ cd /foodbar $ touch Afile $ ls -al You should see that the file Afile created by Jill will have ownership and permissions of Jack, as follows: -rw-r--r-- 1 jack engr 0 2003-02-04 09:57 Afile -- I only see this: -rw-r--r-- 1 jill engr 0 2003-02-04 09:57 Afile Is this a problem with RHEL4? Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] smbstatus -b shows bogus connections
Hi, I have samba 3 (samba-3.0.10-1.4E) on RHEL4.1. I have updated from RH9 and samba 2.x The 'smbstatus -b' command shows connections that does not exists. For example, a user connects to their windows XP session and then disconnects. But smbstatus -b shows that the user still connected even if that user have used only 10 minutes the cliente PC. I think it should be a problem with .tdb files. Is this normal? Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] unix_convert problem?
Hi, I'm getting this error in my log: [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(108) unix_convert called on file data/8WBS0043.TMP [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(179) unix_convert begin: name = Data/8WBS0043.TMP, dirpath = Data, start = 8WBS0043.TMP [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(328) New file 8WBS0043.TMP [2005/06/03 10:34:11, 5] smbd/trans2.c:call_trans2findfirst(1412) dir=Data, mask = 8WBS0043.TMP [2005/06/03 10:34:11, 5] smbd/dir.c:start_dir(334) start_dir dir=Data [2005/06/03 10:34:11, 3] smbd/dir.c:dptr_create(491) creating new dirptr 256 for path Data, expect_close = 1 [2005/06/03 10:34:11, 4] smbd/trans2.c:call_trans2findfirst(1442) dptr_num is 256, wcard = 8WBS0043.TMP, attr = 22 [2005/06/03 10:34:11, 5] smbd/trans2.c:call_trans2findfirst(1493) call_trans2findfirst - (2) closing dptr_num 256 [2005/06/03 10:34:11, 4] smbd/dir.c:dptr_close_internal(224) closing dptr key 256 [2005/06/03 10:34:11, 3] smbd/error.c:error_packet(105) error string = No such file or directory [2005/06/03 10:34:11, 3] smbd/error.c:error_packet(129) error packet at smbd/trans2.c(1504) cmd=50 (SMBtrans2) NT_STATUS_NO_SUCH_FILE Anyone know if there is a problem with unix_convert? Or maybe it is a case sensitive problem? It seems that this file is tried to create: data/8WBS0043.TMP But the path should be: Data/8WBS0043.TMP Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] unix_convert problem?
Hi Jeremy, it was a open issue and a permision problem in Linux. This issue is solved, thanks for the reply. I solved by: - deleting the -s attribut to the directory of the share: chmod g-s -R Data - adding these parameters to the share config force create mode = 0660 force directory mode = 0770 Thanks Oliver I send the more logs so others can search the archive of the list: [2005/06/03 10:34:11, 3] smbd/process.c:switch_message(886) switch message SMBntcreateX (pid 2700) conn 0x9c25fe8 [2005/06/03 10:34:11, 4] smbd/uid.c:change_to_user(194) change_to_user: Skipping user change - already user [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(108) unix_convert called on file data/8WBS0043.TMP [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(179) unix_convert begin: name = Data/8WBS0043.TMP, dirpath = Data, start = 8WBS0043.TMP [2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(328) New file 8WBS0043.TMP [2005/06/03 10:34:11, 3] smbd/dosmode.c:unix_mode(111) unix_mode(Data/8WBS0043.TMP) returning 0764 [2005/06/03 10:34:11, 5] smbd/files.c:file_new(122) allocated file structure 7550, fnum = 11646 (9 used) [2005/06/03 10:34:11, 4] smbd/open.c:open_file_shared1(1244) calling open_file with flags=0x2 flags2=0x240 mode=0764 [2005/06/03 10:34:11, 3] smbd/open.c:open_file(178) Error opening file Data/8WBS0043.TMP (Permission denied) (local_flags=66) (flags=578) [2005/06/03 10:34:11, 5] smbd/files.c:file_free(385) freed files structure 11646 (8 used) [2005/06/03 10:34:11, 3] smbd/error.c:error_packet(105) error string = Permission denied [2005/06/03 10:34:11, 3] smbd/error.c:error_packet(129) error packet at smbd/trans2.c(2243) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED [2005/06/03 10:34:11, 5] lib/util.c:show_msg(486) [2005/06/03 10:34:11, 5] lib/util.c:show_msg(496) Jeremy Allison wrote: Are you sure it was a create issue ? Maybe the client only asked for open privillages, not create. I'd need more log to be sure. Jeremy. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Mirrored samba servers.
Maybe you can use RAID1 and on top of that, LVM. So you can just add 2 more disk for adding a new RAID1 and then just resize your LVM partition. HTH Oliver Richmond Dyes wrote: Paul Gienger wrote: I have a customer that is using 250 gig drives for his business data. I have been using rsync to keep mirror copies of his data on a second machine. In the last 3 months I have lost 2 of four drives, the last one being the system drive. I have been doing a manual switchover. Each time rsync runs, I copy my samba conf files, passwd, shadow and group files from etc. Has anyone setup a HA configuration for samba servers on separate machines. If so, where can I get information for this kind of setup? This isn't going to answer your question, but... I'm curious... has your client heard of RAID? It sounds like you would be well served with a simple set of mirrored drives. The problem is he has an ata system. If we went with a raid, we would want a 0,1 raid. striped with mirroring and I can't find a raid ata card to do that. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Installing network printers for roaming users
Solved here: http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2578503 Nework printers are configured per user, so I need to add the printer at every logon, it only takes seconds. HTH Oliver Oliver Schulze L. wrote: Hi, I'm configuring a network with RH9(samba 2.2.7) and Windows XP SP2 clients. All my users are roaming users and they login/logou without problems. I have 2 printers in one Windows XP workstation thar are shared. I login as a local (administrator) user in another workstation, install the network printers. Then, I logout from the local user and when I login with the roaming users, the network printers does not appears. If I login again with the local user, the printers are installed. So, my question is, how do I configure network printers for roaming users? Many thanks, Oliver -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Installing network printers for roaming users
Hi, I'm configuring a network with RH9(samba 2.2.7) and Windows XP SP2 clients. All my users are roaming users and they login/logou without problems. I have 2 printers in one Windows XP workstation thar are shared. I login as a local (administrator) user in another workstation, install the network printers. Then, I logout from the local user and when I login with the roaming users, the network printers does not appears. If I login again with the local user, the printers are installed. So, my question is, how do I configure network printers for roaming users? Many thanks, Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Mapping roaming users to local XP groups
Hi, I have setup a network with: samba 2.2.7a on RedHat 9 and Windows XP Client, all using roaming profiles. All if working ok. My question is, how do I configure that certain users to be in the Administrator group of all PCs? Or how do I put some users to be in the Backup/LimitedUsers/etc builtin groups the Windows XP Clients? How do I do this user to Windows XP groups mapping? Many thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] VFS module to block directory listing
Hi, no, because you need the x permision in order to enter the diretory. Maybe I need to install the ext3 ACL in the kernel. Oliver Adam Tauno Williams wrote: I wonder if it is posible to write a VFS module to block the listing of directory in a share? The files inside the directory should be accesible for read/write operations, but should be able to list the files in the directory. Is that posible? Can't you do this exact thing with UNIX filesystem permissions? Remove the x permission from the directory. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] VFS module to block directory listing
Hi, I wonder if it is posible to write a VFS module to block the listing of directory in a share? The files inside the directory should be accesible for read/write operations, but should be able to list the files in the directory. Is that posible? Many thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [ACL] granting modify but not delete permission to a file
Hi. In WinXP I can setup the permission of a file so that a user can modify the file, but he can not delete the file. I wonder if this is posible in Linux + ACL patch + Samba 3.0 compilled with --with-acl? Many thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] os level question
Hi, I'm running samba 2.2.8a and want to setup samba as a PDC. I have read many howtos and found that there are 2 settings for the OS LEVEL parameter in smb.conf: os level = 64 os level = 99 Which one is correct? Many thanks Oliver -- Oliver Schulze L. [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] os level question
Many thanks. I'm having problem with a Win98 saying: Could not get the list of users. Try again later I think maybe this could be the problem. Will keep searching Regards Oliver John H Terpstra wrote: On Mon, 7 Jul 2003, Oliver Schulze L. wrote: Hi, I'm running samba 2.2.8a and want to setup samba as a PDC. I have read many howtos and found that there are 2 settings for the OS LEVEL parameter in smb.conf: os level = 64 os level = 99 Which one is correct? os level = 33 or more So the correct answer is that both are. - John T. -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Using the list of user in a Win98 Share
Hi, I'm running samba 2.2.7a in RH9 I configured samba as a PDC for Windows 98SE clients. When I try to configure a share in a windows machine, and try to ge the list of users, I get this error(translated from spanish): The list of users is not available at this time. Please try again later How can I solve this? I know the list of users can used in Win98, but this time, it is not working. Thanks Oliver -- Oliver Schulze L. [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] Huh... 2.2.8 exploit?!
Signal 11, mmm, that could be a memory error(hardware). Is the hardware certified? (www.memtest86.com) HTH Oliver Vizitiu, Ciprian wrote: Are you really shure, that the computer was breaked through samba, you can be sure only if just the samba ports (137,138,139,445) was opened to the Internet?! Yes, totally agree with you. Maybe my message was... No, for sure my message was badly formulated. I had a RH8 machine with qmail, latest pure-ftpd and latest Courier IMAP and samba. It was exposed to the Internet and was cracked. From logs like: -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba 2.2.8a + LDAP: smbstatus -b does not show username
Hi, I'm running Samba 2.2.8a in RH9 with a LDAP DB for my Linux users(passwd, shadow, etc). Samba uses the smbpasswd file normally. The samba server is running as a PDC. The clients are Windoes 98SE machines. When I run the command: 'smbstatus -b', some usernames appears as the user 'nobody' instead of the real username. Some rows in the the smbstatus output display the username and some rows display the username nobody. Is there a problem in my installation? Many thanks Oliver** -- Oliver Schulze L. [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] NT MD4 password check failed
Hi, Thanks for the email. So, is normal for Win98 to do not use NT MD4 passwords? Oliver Andrew Bartlett wrote: On Sat, 2003-06-14 at 00:46, Oliver Schulze L. wrote: My clients are Windows 98SE that are configured to run in the PDC Domain. Win9X can't supply the NT MD4 password. Andrew Bartlett -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win98 Printer problem with Samba PDC
Hi, I have a Samba 2.2.7 PDC running on a RH9. The Windows 98SE clients get the user/permisions from the PDC server. They can connect to the file shares with no problem. They can also get the list of users from the PDC server. In one Win98 PC, there is an HP LaserJet 1000 printer that is being shared. The problem I'm getting is that the users sometimes can not print in the printer. The network printer appears as not conected Anyone know why the users can not connect to the Printer in the Win98SE PC? Also, in the log of the PC that is sharing the HP printer, I see this errors: [2003/06/13 07:37:12, 2] smbd/reply.c:reply_sesssetup_and_X(985) Defaulting to Lanman password for userxxx What does this Defaulting to Lanman password means? Many thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NT MD4 password check failed
Hi, I'm running Samba 2.2.7a as a PDC on a RH9 Server with LDAP configured only for system accounts. Samba is not configured with LDAP(still use the smbpasswd file) I have these errors in the log files: [2003/06/13 09:24:56, 4] smbd/password.c:smb_password_ok(499) smb_password_ok: Checking NT MD4 password [2003/06/13 09:24:56, 4] smbd/password.c:smb_password_ok(504) smb_password_ok: NT MD4 password check failed [2003/06/13 09:24:56, 4] smbd/password.c:smb_password_ok(518) smb_password_ok: Checking LM password [2003/06/13 09:24:56, 4] smbd/password.c:smb_password_ok(520) smb_password_ok: LM password check succeeded I wonder if this is a problem or is normal not to find the NT MD4 password? My clients are Windows 98SE that are configured to run in the PDC Domain. Here is my smb.conf, HTH [global] workgroup = WORKGROUP netbios name = REDHAT server string = RedHat Linux 9 encrypt passwords = Yes min passwd length = 1 pam password change = No unix password sync = No passwd program = /usr/bin/passwd %u log level = 4 log file = /var/log/samba/%m.log max log size = 1024 domain admin group = inf domain guest group = nobody logon script = %G.bat logon path = \\%N\profiles\%u logon drive = h: domain logons = Yes os level = 64 preferred master = Yes domain master = Yes wins support = Yes hosts allow = 127.0.0.1 192.168.210.0/24 hosts deny = ALL Thanks Oliver -- Oliver Schulze L. [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba