Re: [Samba] Samba LDAP Failover
Am 02.04.2012 07:43, schrieb Massimiliano Perantoni: Hi, the distribution is a Debian 6 but I compiled samba myself against a self compiled openldap 2.4.26. Actually the only difference is the openldap client libraries version, I do use 2.3 instead of 2.4, but using getent, as I stated before, works... If I do getent passwd I get, with the failure, the immediate list of local users and, after a timeout, I get the users list from the secondary LDAP. I guess that nscd is working or, at least, the service is up and running: never understood how does the system decide to use it or not... For what I know if I disable the service nothing changes, so that I do not know if nscd is working or not... If I stop the LDAP I get the failover with getent, but I have to wait for the timeout set in ldap.conf. I honestly don't know what's going on there. I just wanted to make sure that at getent is really working and doesn't just look that way because nscd masks the problem. I guess your secondary 389 server doesn't show a connection attempt in the log when you simulate the failure of your first server ? You wrote that you don't use ssl - is this also true in ldap.conf ? The passdb backend line doesn't look different than yours (except the server names of course ;-)). You are not running nscd by chance ? If so does getent passwd work with a simulated ldap1 failure (via iptables) and nscd shut down ? I get a timeout seconds (actualy 5 secs) delay... Then the answer, while samba waits for the timeout set in smb.conf then fails. Ciao a grazie! Am 01.04.2012 23:47, schrieb Massimiliano Perantoni: Hi, could you send me the setup? Which lines did you add? Whici distro do you run? Thanks! Il 31 marzo 2012 22:11, Stephansteff...@gmx.deha scritto: Am 31.03.2012 20:56, schrieb Steve Thompson: On Sat, 31 Mar 2012, Massimiliano Perantoni wrote: Well, did not try, but guess it happens the same. Just for completeness, which version of samba did you use for ldap failover? I was using 3.0.33 at the time, on CentOS 5 x86_64. Not sure which revision of CentOS; it was a while ago. Steve My samba 3.5.9 DCs are pointed at a bunch of LDAP servers as well. I just tried (shut down the first LDAP server in the list) and it works as expected. Regards Stephan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba LDAP Failover
Hey, the distribution is a Debian 6 but I compiled samba myself against a self compiled openldap 2.4.26. The passdb backend line doesn't look different than yours (except the server names of course ;-)). You are not running nscd by chance ? If so does getent passwd work with a simulated ldap1 failure (via iptables) and nscd shut down ? Am 01.04.2012 23:47, schrieb Massimiliano Perantoni: Hi, could you send me the setup? Which lines did you add? Whici distro do you run? Thanks! Il 31 marzo 2012 22:11, Stephansteff...@gmx.de ha scritto: Am 31.03.2012 20:56, schrieb Steve Thompson: On Sat, 31 Mar 2012, Massimiliano Perantoni wrote: Well, did not try, but guess it happens the same. Just for completeness, which version of samba did you use for ldap failover? I was using 3.0.33 at the time, on CentOS 5 x86_64. Not sure which revision of CentOS; it was a while ago. Steve My samba 3.5.9 DCs are pointed at a bunch of LDAP servers as well. I just tried (shut down the first LDAP server in the list) and it works as expected. Regards Stephan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba LDAP Failover
Am 31.03.2012 20:56, schrieb Steve Thompson: On Sat, 31 Mar 2012, Massimiliano Perantoni wrote: Well, did not try, but guess it happens the same. Just for completeness, which version of samba did you use for ldap failover? I was using 3.0.33 at the time, on CentOS 5 x86_64. Not sure which revision of CentOS; it was a while ago. Steve My samba 3.5.9 DCs are pointed at a bunch of LDAP servers as well. I just tried (shut down the first LDAP server in the list) and it works as expected. Regards Stephan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] File names with unusual characters and linux smbfs clients
I had a weird problem today that brought to light an issue that I didn't realize was happening on my samba servers. I had a windows user save a file to a samba share with an em dash character in the file name (em dash is unicode U+2014). The same user tried to find the file on another computer, a linux client using smbfs to access the same share and browsing with Nautilus, was unable to find the file. Doing a little digging, I found that going to a command line and doing an 'ls' of the directory with the file produced an error message. The error message was: ls: cannot access FooFileName?.txt: No such file or directory Where the em dash was replaced by a question mark. Windows clients can see the file just fine, it looks fine on the server, and it looks fine when browsing the directory through nautilus' smbclient, and the ssh/sftp client. It's only when the directory is mounted via smbfs or cifs that it causes problems. I am using samba version 3.4.7 (sorry it's not more up to date, it's on Ubuntu 10.04 LTS). If anyone can help me figure out why this is possibly happening, or how to point me towards a solution. I would really appreciate it. Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Browsing confusion
Am Donnerstag, den 15.09.2011, 08:26 +0900 schrieb TAKAHASHI Motonobu: From: steff...@gmx.de Date: Tue, 13 Sep 2011 17:17:23 +0200 (snip) The question is how the clients on the other subnets should find the BDC if the PDC is down if only one of them has wins support = yes set as suggested in the manpage for smb.conf. As you would understand, WINS server implementation of Samba lacks the function of replication, which means no redundancy. Unfortunately, there is no smart way to resolve that: 1) using samba4wins or WINS server on Windows server which can replicate their WINS database to each other. 2) using LMHOSTS file 3) using one of some hand-made replication solutions: I know 2 solutions in Japan. Both use wins hook parameter. - http://www.osstech.co.jp/techinfo/samba/wins-push - http://wiki.samba.gr.jp/mediawiki/index.php?title=WINS-replication If you are interested in them, I will translate them in English. Thanks, I used an automatic translator for this task and had a lot of fun reading ;-) I tried wins-push and samba4wins and decided to go with wins-push since it is much less hassle. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Browsing confusion
Am Donnerstag, den 15.09.2011, 08:26 +0900 schrieb TAKAHASHI Motonobu: From: steff...@gmx.de Date: Tue, 13 Sep 2011 17:17:23 +0200 (snip) The question is how the clients on the other subnets should find the BDC if the PDC is down if only one of them has wins support = yes set as suggested in the manpage for smb.conf. As you would understand, WINS server implementation of Samba lacks the function of replication, which means no redundancy. Unfortunately, there is no smart way to resolve that: 1) using samba4wins or WINS server on Windows server which can replicate their WINS database to each other. 2) using LMHOSTS file 3) using one of some hand-made replication solutions: I know 2 solutions in Japan. Both use wins hook parameter. - http://www.osstech.co.jp/techinfo/samba/wins-push - http://wiki.samba.gr.jp/mediawiki/index.php?title=WINS-replication If you are interested in them, I will translate them in English. Thanks, I used an automatic translator for this task and had a lot of fun reading ;-) I tried wins-push and samba4wins and decided to go with wins-push since it is much less hassle. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Unusually long time to retrieve directory listing when it contains many files
I am trying to replace a windows file server with a linux samba server to serve files on our local network only. There are a few important folders, which many users will be accessing many times a day, that include thousands of files. The biggest directory contains 15,000 files. (I'm trying to re-organize the workflow so that such long directories aren't needed, but for now things have to stay this way). When navigating to these directories in gnome, windows, or the linux command line over smbfs, it can take as long as 15 or 20 seconds to load the directory. This seems strange for two reasons: if I ssh into the samba server and ls -l one of these directories, the results are returned very quickly which leads me to believe the problem is not in the file system, and because performance is worse by orders of magnitude than using the old windows server. The hardware on the old windows server is worse in every way: slower CPU and disks, less RAM, and a worse NIC. Is it possible to tune the performance so that it becomes comparable to the windows server? I have added TCP_NODELAY and IPTOS_LOWDELAY which doesn't seem to have an appreciable effect (I didn't bench it, but it's still on the order of 15-20 seconds, not on the order of 1 second like the old server). I have also tried different values of SO_SNDBUF and SO_RCVBUF. My samba server is running smbd 3.4.0. -- Stephan E Stachurski ses1...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Installation problem
I'm not an expert in samba, I just joined the mailing list, but if I recall about ubuntu correctly, the package manage will report some errors if files fail to install correctly, for example /etc/samba/smb.conf. You might have better luck asking asking on ubuntu forums, since it sounds like a failure of aptitude, which is basically unrelated to samba. On Fri, Jun 4, 2010 at 3:44 PM, Miha Krajnc miha.krajnc...@gmail.comwrote: Hey guys, i installed samba on my Ubuntu 10.04 machine (sudo apt-get install samba) and it didnt create any config files. There is no /etc/samba or /usr/local/samba. I dont realy know what to do The samba server fails to start and i cant connect to the machine over my network. Anyone know what i should do? I tried purging / reinstalling (apt-get and aptitude), with no success. -- Lep pozdrav, Miha Krajnc. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- Stephan E Stachurski ses1...@gmail.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] permissions problem with hide dot files = No
Hi, Running 3.0.28-0.2-1625-SUSE-CODE10, if in /etc/samba/smb.conf the hide dot files parameter is set to No then on the client I see $ touch hi touch: cannot touch `hi': Permission denied $ ls -alh total 4.0K drwxrwxr-x 10 500 users0 2010-05-20 14:27 . drwxr-xr-x 29 root root 4.0K 2010-05-18 16:36 .. ... -rw-r- 1 root users0 2010-05-20 14:27 hi ... $ rm hi rm: remove write-protected regular empty file `hi'? yes $ ls hi ls: cannot access hi: No such file or directory It does not seem the permissions of the directory matter, the files created are always owned by root despite the creating process saying permission denied. And they are always deletable. No client-side options made any difference until we stumbled upon hide dot files = Yes which worked, and now files are created correctly with proper permissions. cheers, stephan PS: the entry in smb.conf [xxx] inherit acls = Yes path = /xxx read only = No valid users = browseable = Yes writeable = yes hide dot files = Yes inherit permissions = Yes admin users = xxx create mask = 660 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Domain Joined Windows 7 and Roaming Profiles
Hi all, Stephan Austermühle schrieb: has anybody managed to get Windows 7 (final) to use roaming profiles? Windows 7 is joined to my Samba 3.4.1 domain and always logs me in with a temporary profile. Windows XP works without problems. Problem solved: Finally, I deleted profile.V2 and let Windows 7 create a new one as Samba logging did not show any problems. Kind regards, Stephan smime.p7s Description: S/MIME Cryptographic Signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Domain Joined Windows 7 and Roaming Profiles
Hi Matthias, Matthias Grimm schrieb: Yes, since vista you'll need a share named profiles.v2 like this: [profiles.v2] path = /samba/profiles/.v2/%U read only = No create mask = 0700 directory mask = 0700 browseable = No csc policy = disable Thanks for your mail but it does not help. My Windows Server 2008 has no problems loading the roaming profiles (even without the profiles.V2 share) but Windows 7 has. Stephan smime.p7s Description: S/MIME Cryptographic Signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Domain Joined Windows 7 and Roaming Profiles
Hello all, has anybody managed to get Windows 7 (final) to use roaming profiles? Windows 7 is joined to my Samba 3.4.1 domain and always logs me in with a temporary profile. Windows XP works without problems. Thanks for your help, Stephan smime.p7s Description: S/MIME Cryptographic Signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Problem with AD
is that wbinfo worked yesterday (meaning I saw a list of all the users and group from AD), but I can't figure out what I changed. Any help is appreciated. Thanks guys -stephan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] samba 3.0.23 memberserver problems
Hello, Im having trouble with my samba network. I installed a samba server 3.0.23 as PDC and everything is running very well. My Windows XP clients were able to join the domain and everything works quite good. Now I tried to rejoin the domain with a Terastation from Buffalo. It is an network storage using a Linux operating system and samba 2.2.4 for filesharing. That samba is configured as Domain Memberserver using winbind for username resolution. I had installed samba 3.0.9 as PDC on my network before and there the Terastation was running very well, but with version 3.0.23 it makes trouble. When I try the command wbinfo -t on the PDC! I get an error message: NT_STATUS_INVALID_HANDLE. On the Terastation I get checking trust succeeded or something like that. When I try to lookup usernames with wbinfo u I get errors on both machines: Error looking up usernames. Direct name resolution on the PDC works: wbinfo n username is successful. I dont know whats going wrong there. I read something in the Release Notes for samba version 3.0.21 I think but I dont understand it. Does anybody know that problem or do you know what I made wrong. I hope for help. Sorry for my English. Greetings Stephan Storm -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem at include a machine in domain
Hello guys! My name its Stephan and i'm from Brazil , so sorry for my bad english. I'm configuring a Samba how a PDC in my network... working with OpenLdap. I'm using Slackware 10.2 (Default Kernel, 2.4) Samba 3.0.21c slapd 2.3.19. smbdap-tools. When i include a machine in my domain for smbldap-tools , its all right. But when i try to include tha machine for windows (for the clients) , show the message Logon fail: Wrong username or incorrect password., in the smba log show this. [EMAIL PROTECTED]:/var/log/samba# cat ajax.log [2006/03/17 11:01:24, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:24, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:24, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:24, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:24, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:24, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:24, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:25, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:25, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:25, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:25, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:25, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:26, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:26, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(2170) ldapsam_search_one_group: Problem during the LDAP search: LDAP error: (No such object) [2006/03/17 11:01:26, 0] rpc_server/srv_samr_nt.c:_samr_create_user(2415) _samr_create_user: Running the command `/usr/local/sbin/smbldap-useradd -w ajax$' gave 9 Anybody can help me? Thanks! Stephan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem to join a client to a samba domain
I'll try to test Samba in order to put on our network as file server. But actually I have some problem to join a client to a samba server domain. The message from windows client (W2K) is the follow: The following error occurred validating the name DOMAIN. This condition may be concerned by a DNS problem. For information about troubleshotting concern DNS lookup problems, please see the following Microsoft Web Site: http://go.microsoft.com/fwlink/?LinkId=5171; I've read another similar problem on samba mailing list, but it's not clear how to resolve. Stephan Nicolini Thanks a lot -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] file to large
Hi I cannont copying files larger than 2 GB over samba share (monted with smbmount). Do you have a solution? Stephan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] how to use a samba patch
Hi! Sorry for this question, but I didn`t find the answere in the documentation or the web. I use samba 3.0.8 on a SuSE linux 8.2. Now, I have found a patch for samba = 3.0.9 ( samba-3.0.9-CAN-2004-1154.patch on www.samba.org) I have the old source-files from my samba 3.0.8. Also I know that you need the tool patch to install the patch. But how? in which directory must I execute the command, which option , ...? Are newer source files necessary? I know, that the best way is to install the newer samba versions. And I will do that, but anyway I won't to know how to install such a patch, may be for the next time. Thanks in advance, Stephan -- Stephan Graf Forschungszentrum Juelich GmbH Tel: 02461/61-6578 ZAM, Abt. IuT-BuB E-Mail: [EMAIL PROTECTED] FAX: 02461/61-6656 Webseite: http://www.fz-juelich.de/zam -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Printing Problem for Win2000
Dear SMB-Gurus, I have a problem using a network-printer on a samba server with from a windows2000-computer. The printer is a raw-queue on cups. From any other computers I can use the printer nearly without problems except the printing queue in windows is not accessible (Permission denied...). Whenever I try to send a e.g. word-document to te printer, word exits emidiately without giving an error. The installed printing queue is gone from the localy installed printers and no cocument reaches the printer. My config: [global] preferred master = Yes domain master = Yes admin users = root, @smbusers printer admin = root, administrator, @smbusers encrypt passwords = yes use client drivers = yes guest account = nobody username map = /etc/samba/users.map ... [printers] comment = All Printers path = /var/spool/samba create mask = 0600 guest ok = Yes printable = Yes browseable = yes Does anybody can give me a hint für this? TIA Stephan -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] CUPS-Printing
Dear SMB-Users, I have a problem with my cups-printing queues. All my printers accessed from windows are raw cups-queues. Printing works fine. When accessing the netconfiguration on http://cupsserver:631/jobs I see the finished print-jobs sent from samba. But the finished jobs cannot be restartet. The jobs sent by linux-clients can be restarted. What do I have to do in order to restart windows-sent jobs as well? Thanks for any comments cheers Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Error reading logon.bat sript
Dear Samba-users, I cannot manage to make samba read my logon.script for windows clients where basicaly networkdrive-mapping is done. Samba complaines about not having permission... Error: switch message SMBntcreateX (pid 28286) [2004/12/03 11:27:31, 3] smbd/dosmode.c:unix_mode(110) unix_mode(logon.bat) returning 0744 [2004/12/03 11:27:31, 3] smbd/open.c:open_file(173) Error opening file logon.bat (Keine Berechtigung) (local_flags=0) (flags=0)[2004/12/03 11:27:31, 3] smbd/error.c:error_packet(94) error string = Keine Berechtigung [2004/12/03 11:27:31, 3] smbd/error.c:error_packet(118) error packet at smbd/trans2.c(1823) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED[2004/12/03 11:27:31, 3] smbd/process.c:process_smb(890) Transaction 2598 of length 110 [2004/12/03 11:27:31, 3] smbd/process.c:switch_message(685) switch message SMBntcreateX (pid 28286) [2004/12/03 11:27:31, 3] smbd/dosmode.c:unix_mode(110) unix_mode(logon.bat) returning 0744 [2004/12/03 11:27:31, 3] smbd/open.c:open_file(173) Error opening file logon.bat (Keine Berechtigung) (local_flags=0) (flags=0)[2004/12/03 11:27:31, 3] smbd/error.c:error_packet(94) error string = Keine Berechtigung I am using samba-3.0.2a-51 on Suse 9.1 as a PDC My Conf: logon script = logon.bat [netlogon] # path just for testing set to /tmp path = /tmp writable = yes browseable = yes guest ok = no printable = no directory mask = 777 Unix-permission of /tmp/logon.bat: la /tmp/logon.bat -rwxrwxrwx 1 root root 96 2004-12-03 11:19 /tmp/logon.bat This is really anoying.. I do not know where to look else. Thank you for any hints Cheers Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Error reading logon.bat sript
Hello Michael, On Fri, 03 Dec 2004 08:02:01 -0500 Michael Lueck [EMAIL PROTECTED] wrote: Stephan Holl wrote: Unix-permission of /tmp/logon.bat: la /tmp/logon.bat -rwxrwxrwx 1 root root 96 2004-12-03 11:19 /tmp/logon.bat What are the permissions on the /tmp dir? normal tmp-permissions. drwxrwxrwt 31 root root4096 2004-12-03 14:00 tmp I might also suggest /tmp is not the best place to point netlogon at. deinitely not, this is only for testing purposes. I thought it should at least work from this dir, because all permissions are granted. ..but it did not! I've noticed that the dir being shared with Samba needs 0777 mask, but root:root is fine for ownership on the dir. I've not had time to see if more restrictive will work correctly. any other suggestions/sollotions? Cheers Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Win XP + problems changing printer preference
Hi! I have a CUPS-printserver and export the printers via samba. CUPS version 1.1.20 samba 3.0.5 All printers work fine. Only the HP Color LaserJet 8500 DN (PS) causes errors. I use the original ppd file from HP. XP downloaded the printer driver, but when I want to change the preferences I recieved an error (Explorer.exe: adress 0x6a90450 e ...(Code 0x005) .. can't display properties) My work arround is to used the HP-8550-PS ppd file, which is delivered with CUPS. Can any one verify this problem? Thanks, Stephan -- Stephan Graf Forschungszentrum Juelich GmbH Tel: 02461/61-6578 ZAM, Abt. IuT-BuB E-Mail: [EMAIL PROTECTED] FAX: 02461/61-6656 Webseite: http://www.fz-juelich.de/zam -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [v3.0.4] can not set SSID
how does i do this? Jim C. wrote: | You'll have to reset all of them later of course. | One thing you might try is setting the new SID and then just giving the | system the new one when it asks. - -- -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Stephan Pfeiffer ICQ: 39844459 http://www.synopex.de/ mailto:[EMAIL PROTECTED] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [v3.0.4] can not set SSID
Hi, I have run a FileServer with Samba 2.2.8a and want to upgrade to 3.0.4. I had successfully compile and build the new version and the most of all works fine. Now i want to set my old SID to the new System how is described in this mail (http://lists.samba.org/archive/samba/2003-June/068765.html), that not all clients have to reinclude to the domain, but it does not work. old System - smb:~ # smbpasswd -X mydom SID for domain mydom is: xxx shutdown the old system and boot up the new System smb:~ # net setlocalsid xxx smb:~ # net getlocalsid mydom SID for mydom is: xyz smb:~ # net getlocalsid SID for smb is: xxx Now the local host has the SID, but not the Domain! What do I wrong or what do i misunderstood? Also I have an error on the TDB-Database: smb:~ # pdbedit -e smbpasswd -i tdbsam Unable to open/create TDB passwd Can't sampwent! For the time being I let both in the smb.conf (passwd backend = tdbsam, smbpasswd). Any instuctions? regards... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Joining 2000 ADS domain error
Hi all, I get the following error trying to join a 2000 ADS domain: realm must be set in in smb.conf for ADS join to succeed. ADS join did not work, falling back to RPC... [2004/05/27 14:43:16, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2004/05/27 14:43:16, 0] rpc_client/cli_netlogon.c:cli_nt_setup_creds(249) cli_nt_setup_creds: request challenge failed [2004/05/27 14:43:16, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(319) Error domain join verification (reused connection): NT_STATUS_INVALID_COMPUTER_NAME Unable to join domain BLABLABLA. Any help would be great! P.S. Running Suse 9.1 _ For super low premiums ,click here http://www.dialdirect.co.za/quote -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with public shares
Hello! I'm running Samba 3.0.0 with Openldap 2.1.22. Samba is my PDC and I'm using ldapsam as backend. Nearly everythings works, but I have a public share [tmp] which should be accessible without authentication from all clients even if they are no domain members. I think, my share definition is o.k. in smb.conf but if I click on the Samba server symbol on a client (Microsoft Windows XP), I have to supply username/password. Please, can anyone give me a hint what I#m doing wrong? Maybe I have a problem with user nobody? Many thanks in advance, Stephan --- Output of testparm: --- Processing section [homes] Processing section [netlogon] Processing section [profiles] Processing section [printers] Processing section [tmp] Processing section [print$] Load smb config files from /etc/samba/smb.conf Loaded services file OK. # Global parameters [global] dos charset = iso8859-1 unix charset = iso8859-1 workgroup = MIKRORECHNER server string = Samba Server passdb backend = ldapsam:ldap://localhost log file = /var/log/samba/log.%m max log size = 50 name resolve order = wins lmhosts bcast time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups domain logons = Yes os level = 65 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes ldap suffix = dc=mr,dc=inf,dc=tu-dresden,dc=de ldap machine suffix = ou=computers,dc=mr,dc=inf,dc=tu-dresden,dc=de ldap user suffix = ou=people,dc=mr,dc=inf,dc=tu-dresden,dc=de ldap group suffix = ou=group,dc=mr,dc=inf,dc=tu-dresden,dc=de ldap idmap suffix = dc=mr,dc=inf,dc=tu-dresden,dc=de ldap filter = ((uid=%u)(objectclass=sambaSamAccount)) ldap admin dn = cn=root,dc=mr,dc=inf,dc=tu-dresden,dc=de ldap ssl = no admin users = administrator printing = cups [homes] comment = Home Directories read only = No browseable = No [netlogon] comment = Network Logon Service path = /home/netlogon guest ok = Yes share modes = No [profiles] path = /home/profiles read only = No create mask = 0644 guest ok = Yes browseable = No [printers] comment = All Printers path = /var/spool/samba printer admin = root, administrator guest ok = Yes printable = Yes browseable = No [tmp] comment = Temporary file space path = /tmp read only = No guest ok = Yes [print$] comment = Printer Drivers path = /etc/samba/drivers write list = root -- List of LDAP entries: -- # MIKRORECHNER, mr.inf.tu-dresden.de dn: sambaDomainName=MIKRORECHNER,dc=mr,dc=inf,dc=tu-dresden,dc=de objectClass: sambaDomain sambaDomainName: MIKRORECHNER sambaSID: S-1-5-21-3646860325-1815257157-3205558847 sambaAlgorithmicRidBase: 1000 # computers, mr.inf.tu-dresden.de dn: ou=computers,dc=mr,dc=inf,dc=tu-dresden,dc=de ou: computers objectClass: top objectClass: organizationalUnit description: Windows Domain Computers # people, mr.inf.tu-dresden.de dn: ou=people,dc=mr,dc=inf,dc=tu-dresden,dc=de ou: people objectClass: organizationalUnit description: Users of the Organization # group, mr.inf.tu-dresden.de dn: ou=group,dc=mr,dc=inf,dc=tu-dresden,dc=de ou: group objectClass: organizationalUnit description: System Groups # Domain Users, group, mr.inf.tu-dresden.de dn: cn=Domain Users,ou=group,dc=mr,dc=inf,dc=tu-dresden,dc=de objectClass: sambaGroupMapping objectClass: posixGroup objectClass: top gidNumber: 201 cn: Domain Users description: Windows Domain Users displayName: Domain Users sambaGroupType: 2 sambaSID: S-1-5-21-3646860325-1815257157-3205558847-513 # Power Users, group, mr.inf.tu-dresden.de dn: cn=Power Users,ou=group,dc=mr,dc=inf,dc=tu-dresden,dc=de objectClass: sambaGroupMapping objectClass: posixGroup objectClass: top cn: Power Users description: Members can share directories and printers description: Windows Domain Members can share directories and printers sambaSID: S-1-5-21-3646860325-1815257157-3205558847-1447 sambaGroupType: 2 displayName: Power Users gidNumber: 223 # Account Operators, group, mr.inf.tu-dresden.de dn: cn=Account Operators,ou=group,dc=mr,dc=inf,dc=tu-dresden,dc=de objectClass: sambaGroupMapping objectClass: posixGroup objectClass: top cn: Account Operators gidNumber: 224 description: Windows Domain Users to manipulate users accounts displayName: Account Operators sambaSID: S-1-5-32-1449 sambaGroupType: 5 # Server Operators, group, mr.inf.tu-dresden.de dn: cn=Server Operators,ou=group
[Samba] No user logon from w2k/winxp
Hello I can't find same problem in list. If I don't see it, sorry... I have installed samba-3.0.0.0 an it works with guest-shares, but I can not login with an user. I have tried with smbpasswd (if i don't use encrypted password then I can connect form linux machine with smbclient and user/passwd, but not from win2k or winxp machine with encrypted password) and now I tried with tdbsam. Can someone help me? Where's my mistake? Thanks Stephan logfile snipp- [2003/11/13 23:24:37, 2] auth/auth.c:check_ntlm_password(309) check_ntlm_password: Authentication for user [] - [] FAILED with error NT_STATUS_WRONG_PASSWORD -- smb.conf-- # Global parameters [global] workgroup = blub security = SHARE passdb backend = tdbsam:/etc/samba/passdb.tdb log level = 2 time server = Yes printcap name = cups os level = 65 preferred master = Yes ldap ssl = no printing = cups [mp3] path = /musik guest ok = Yes [daten] comment = Datenlaufwerk path = /daten -- -- IT FLORA38.CH -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] (no subject)
Hy Together I have compied Samba3.0beta2 on Solaris 9 . When i want to start the smbd daemon the folloing Error occured [2003/07/14 08:52:29, 3] smbd/server.c:main(777) loaded services [2003/07/14 08:52:29, 3] smbd/server.c:main(792) Becoming a daemon. [2003/07/14 08:52:29, 0] lib/messages.c:message_init(106) ERROR: Failed to initialise messages database Configure Option's env CPPFLAGS=-I/usr/local/include -I/usr/local/include LDFLAGS= -L/usr/local/lib \ ./configure --prefix=/tools/samba/samba-3_beta_2 \ --with-krb5=/usr/local \ --with-ads=yes \ --with-codepagedir=/tools/samba/samba-2.2.8a/lib/codepages \ --localstatedir=/var/log/css/samba Can anyone help me? Regards Stephan ___ CSS Versicherung Stephan Theiler ITCE Systemtechnik Client/Server Rösslimattstrasse 40 CH-6002 Luzern Telefon ++41 (0)41 369 1470 Telefax ++41 (0)41 369 1266 [EMAIL PROTECTED] www.css.ch -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with compiling Samba3.0beta2
Hy Together I have compied Samba3.0beta2 on Solaris 9 . When i want to start the smbd daemon the folloing Error occured [2003/07/14 08:52:29, 3] smbd/server.c:main(777) loaded services [2003/07/14 08:52:29, 3] smbd/server.c:main(792) Becoming a daemon. [2003/07/14 08:52:29, 0] lib/messages.c:message_init(106) ERROR: Failed to initialise messages database Configure Option's env CPPFLAGS=-I/usr/local/include -I/usr/local/include LDFLAGS= -L/usr/local/lib \ ./configure --prefix=/tools/samba/samba-3_beta_2 \ --with-krb5=/usr/local \ --with-ads=yes \ --with-codepagedir=/tools/samba/samba-2.2.8a/lib/codepages \ --localstatedir=/var/log/css/samba Can anyone help me? Regards Stephan ___ CSS Versicherung Stephan Theiler ITCE Systemtechnik Client/Server Rösslimattstrasse 40 CH-6002 Luzern Telefon ++41 (0)41 369 1470 Telefax ++41 (0)41 369 1266 [EMAIL PROTECTED] www.css.ch -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Unwanted permission changes
Hi, I am using SuSE 8.2 with samba-2.2.7a-72 as a PDC. The ext3 partitions are mounted with the acl option and I can modify the ACL permissions with the setfacl tool. When I create a file on a share from a Windows client, the default rights specified in the ACL are applied correctly. But when I save the file a second time, the permissions for the owner and the owning group (which have explicitly named permissions) are no more listed in the ACL. The ACL permissions of the owner and group then are # owner: bolten # group: admins user::r-- group::--- instead of rwx which the named permissions had before: # owner: bolten # group: admins user:bolten:rwx group:admins:rwx This effect is caused by some applications like Word, Excel, but also some non-M$ ones. Other apps like e.g. Notepad don't cause this mess. Is this a common problem, or is there an error in my configuration? I considered setting force security mode = 770 but not all files created by a user should be accessible by the whole group. It should be directory dependent with the default permissions. Can somenone confirm this problem and / or tell me if there is a solution? Thank you in advance! Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [patch] uppercase workgroup in browse request
Am Thursday 27 March 2003 18:04 schrieb Christopher R. Hertel: On Thu, Mar 27, 2003 at 05:43:55PM +0100, Stephan Kulow wrote: Am Thursday 27 March 2003 03:43 schrieb Christopher R. Hertel: Stephan Kulow wrote: Hi! I noticed a difference between testsmbc smb://MYGRP and testsmbc smb://mygrp (it doesn't make a difference for SAMBA servers, but it does for XP and for winME) So please apply the included patch. Hang on... Do I read this correctly? Are we forgetting to up-case the workgroup name? (...it always helps to provide a little clue along with the patch.) :) Samba decodes NetBIOS names and then performs a case-insensitive comparison on the original name. Windows (the versions I've tested) simply compares the wire-format strings. That's faster, but it's also case sensitive. I don't currently have any ME or XP systems to test. I don't understand. You seem to agree with the patch, still it's not applied. I don't understand. I asked for clarification. :) There's a question above. I asked Do I read this correctly?. You added a smiley behind it, so it appeared ironicly to me. So, what is your intention with this patch? What was the problem you were detecting? You never specified. Before I dig into the patch I want to know what you are trying to accomplish. Well, host names in URLs are usually case insensitive and with samba servers smb://mygrp gives indeed the same as smb://MYGRP. But not when the server is running winME, win98 or XP (that's the versions I tried). As KDE's URL handling lower cases the host part (and that's what MYGRP is), you'll notice. Meanwhile Andrew pointed out that my patch wasn't safe, so I changed it to use STR_UPPER. Greetings, Stephan -- Pace, Peace, Paix, Paz, Frieden, Pax, Pokój
charset confusion
Hi! I've done an experiment and configured my only windows system (german win98) in the LAN to be named häßlich and be in the workgroup möbel. Then tried testsmbc on smb://m%C3%B6bel/ (correctly UTF-8 escaped samba URL). That tried a broadcast for möbel1d, which I think it shouldn't. I'm not sure what exactly it's supposed to do, but surely not UTF-8. I then tried adding a pull_utf8 into the URL parsing of libsmbclient, but that didn't change anything as the default for unix charset is already UTF8 (and that's fine for me). So I'm really wondering what's supposed to happen. I then tried smbtree and that go results, but displayed them incorrectly (from the attached log it seems to me as it wouldn't convert the names it gets/sends at all). So I'm asking for feedback how to fix that. libsmbclient.c calls cli_NetServerEnum with the supposedly correct workgroup möbel (that's unix charset at least) and the call to push_ascii is there too - so why doesn't it work? Greetings, Stephan -- Pace, Peace, Paix, Paz, Frieden, Pax, Pokój log.gz Description: GNU Zip compressed data
Re: charset confusion
Am Sunday 30 March 2003 22:46 schrieb Stephan Kulow: Am Sunday 30 March 2003 20:37 schrieb Stephan Kulow: Hi! I've done an experiment and configured my only windows system (german win98) in the LAN to be named häßlich and be in the workgroup möbel. Then tried testsmbc on smb://m%C3%B6bel/ (correctly UTF-8 escaped samba URL). That tried a broadcast for möbel1d, which I think it shouldn't. I'm not sure what exactly it's supposed to do, but surely not UTF-8. Checking the wire, it seems the conversion from UTF-8 worked fine, just the strupper() call that's happening on the input doesn't work. At least the string on the wire is M94BEL (MöBEL) for libsmbclient and M99BEL (MÖBEL) for smbtree. I then tried to change the strupper in push_ascii to a call to unix_strupper, but that failed too for me - but I'm continuing there :) Good I looked, now I understand the code much better - and I haven't said anything. Even though I'd suggest the following patch to source/Makefile.in: - @$(SHEEL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(CHARSETLIBDIR) $(CHARSET_MODULES) - @$(SHEEL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(AUTHLIBDIR) $(AUTH_MODULES) + @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(CHARSETLIBDIR) $(CHARSET_MODULES) + @$(SHELL) $(srcdir)/script/installmodules.sh $(INSTALLPERMS) $(DESTDIR)$(BASEDIR) $(DESTDIR)$(AUTHLIBDIR) $(AUTH_MODULES) Greetings, Stephan -- Pace, Peace, Paix, Paz, Frieden, Pax, Pokój
Re: [patch] uppercase workgroup in browse request
Am Thursday 27 March 2003 03:43 schrieb Christopher R. Hertel: Stephan Kulow wrote: Hi! I noticed a difference between testsmbc smb://MYGRP and testsmbc smb://mygrp (it doesn't make a difference for SAMBA servers, but it does for XP and for winME) So please apply the included patch. Hang on... Do I read this correctly? Are we forgetting to up-case the workgroup name? (...it always helps to provide a little clue along with the patch.) :) Samba decodes NetBIOS names and then performs a case-insensitive comparison on the original name. Windows (the versions I've tested) simply compares the wire-format strings. That's faster, but it's also case sensitive. I don't currently have any ME or XP systems to test. I don't understand. You seem to agree with the patch, still it's not applied. Greetings, Stephan
compiling with gcc 3.3
Hi! Compiling samba CVS with gcc 3.3 gives quite some annoying warnings in proto.h because exp and log are builtins. Attached is a patch that replaces exp with expr and log with clog (didn't know a better name for it) in the affected c files. Please apply. Greetings, Stephan Index: rpc_parse/parse_misc.c === RCS file: /cvsroot/samba/source/rpc_parse/parse_misc.c,v retrieving revision 1.111 diff -u -3 -p -u -r1.111 parse_misc.c --- rpc_parse/parse_misc.c 15 Mar 2003 07:45:51 - 1.111 +++ rpc_parse/parse_misc.c 25 Mar 2003 09:05:39 - @@ -1289,22 +1289,22 @@ void init_dom_rid4(DOM_RID4 *rid4, uint1 Inits a DOM_CLNT_SRV structure. / -static void init_clnt_srv(DOM_CLNT_SRV *log, const char *logon_srv, const char *comp_name) +static void init_clnt_srv(DOM_CLNT_SRV *clog, const char *logon_srv, const char *comp_name) { DEBUG(5,(init_clnt_srv: %d\n, __LINE__)); if (logon_srv != NULL) { - log-undoc_buffer = 1; - init_unistr2(log-uni_logon_srv, logon_srv, strlen(logon_srv)+1); + clog-undoc_buffer = 1; + init_unistr2(clog-uni_logon_srv, logon_srv, strlen(logon_srv)+1); } else { - log-undoc_buffer = 0; + clog-undoc_buffer = 0; } if (comp_name != NULL) { - log-undoc_buffer2 = 1; - init_unistr2(log-uni_comp_name, comp_name, strlen(comp_name)+1); + clog-undoc_buffer2 = 1; + init_unistr2(clog-uni_comp_name, comp_name, strlen(comp_name)+1); } else { - log-undoc_buffer2 = 0; + clog-undoc_buffer2 = 0; } } @@ -1312,9 +1312,9 @@ static void init_clnt_srv(DOM_CLNT_SRV * Inits or writes a DOM_CLNT_SRV structure. / -static BOOL smb_io_clnt_srv(const char *desc, DOM_CLNT_SRV *log, prs_struct *ps, int depth) +static BOOL smb_io_clnt_srv(const char *desc, DOM_CLNT_SRV *clog, prs_struct *ps, int depth) { - if (log == NULL) + if (clog == NULL) return False; prs_debug(ps, depth, desc, smb_io_clnt_srv); @@ -1323,22 +1323,22 @@ static BOOL smb_io_clnt_srv(const char * if(!prs_align(ps)) return False; - if(!prs_uint32(undoc_buffer , ps, depth, log-undoc_buffer)) + if(!prs_uint32(undoc_buffer , ps, depth, clog-undoc_buffer)) return False; - if (log-undoc_buffer != 0) { - if(!smb_io_unistr2(unistr2, log-uni_logon_srv, log-undoc_buffer, ps, depth)) + if (clog-undoc_buffer != 0) { + if(!smb_io_unistr2(unistr2, clog-uni_logon_srv, clog-undoc_buffer, ps, depth)) return False; } if(!prs_align(ps)) return False; - if(!prs_uint32(undoc_buffer2, ps, depth, log-undoc_buffer2)) + if(!prs_uint32(undoc_buffer2, ps, depth, clog-undoc_buffer2)) return False; - if (log-undoc_buffer2 != 0) { - if(!smb_io_unistr2(unistr2, log-uni_comp_name, log-undoc_buffer2, ps, depth)) + if (clog-undoc_buffer2 != 0) { + if(!smb_io_unistr2(unistr2, clog-uni_comp_name, clog-undoc_buffer2, ps, depth)) return False; } @@ -1349,28 +1349,28 @@ static BOOL smb_io_clnt_srv(const char * Inits a DOM_LOG_INFO structure. / -void init_log_info(DOM_LOG_INFO *log, const char *logon_srv, const char *acct_name, +void init_log_info(DOM_LOG_INFO *clog, const char *logon_srv, const char *acct_name, uint16 sec_chan, const char *comp_name) { DEBUG(5,(make_log_info %d\n, __LINE__)); - log-undoc_buffer = 1; + clog-undoc_buffer = 1; - init_unistr2(log-uni_logon_srv, logon_srv, strlen(logon_srv)+1); - init_unistr2(log-uni_acct_name, acct_name, strlen(acct_name)+1); + init_unistr2(clog-uni_logon_srv, logon_srv, strlen(logon_srv)+1); + init_unistr2(clog-uni_acct_name, acct_name, strlen(acct_name)+1); - log-sec_chan = sec_chan; + clog-sec_chan = sec_chan; - init_unistr2(log-uni_comp_name, comp_name, strlen(comp_name)+1); + init_unistr2(clog-uni_comp_name, comp_name, strlen(comp_name)+1); } /*** Reads or writes a DOM_LOG_INFO structure. / -BOOL smb_io_log_info(const char *desc, DOM_LOG_INFO *log, prs_struct *ps, int depth) +BOOL smb_io_log_info(const char *desc, DOM_LOG_INFO *clog, prs_struct *ps, int depth) { - if (log == NULL) + if (clog == NULL) return False; prs_debug(ps, depth, desc, smb_io_log_info); @@ -1379,18 +1379,18 @@ BOOL smb_io_log_info(const char *desc, D if(!prs_align(ps)) return False; - if(!prs_uint32(undoc_buffer, ps, depth, log-undoc_buffer)) + if(!prs_uint32(undoc_buffer, ps, depth, clog-undoc_buffer)) return False; - if(!smb_io_unistr2(unistr2, log-uni_logon_srv, True, ps, depth)) + if(!smb_io_unistr2(unistr2, clog-uni_logon_srv, True, ps, depth)) return False; - if(!smb_io_unistr2(unistr2, log-uni_acct_name, True, ps, depth)) + if(!smb_io_unistr2(unistr2, clog-uni_acct_name, True, ps, depth)) return False; - if(!prs_uint16
[patch] uppercase workgroup in browse request
Hi! I noticed a difference between testsmbc smb://MYGRP and testsmbc smb://mygrp (it doesn't make a difference for SAMBA servers, but it does for XP and for winME) So please apply the included patch. Greetings, Stephan Index: libsmb/clirap.c === RCS file: /cvsroot/samba/source/libsmb/clirap.c,v retrieving revision 1.30 diff -u -3 -p -u -r1.30 clirap.c --- libsmb/clirap.c 15 Mar 2003 06:45:19 - 1.30 +++ libsmb/clirap.c 25 Mar 2003 15:25:20 - @@ -233,8 +233,10 @@ BOOL cli_NetServerEnum(struct cli_state SIVAL(p,0,stype); p += 4; - p += push_pstring_base(p, workgroup, param); - + pstrcpy_base(p, workgroup, param); + strupper(p); + p += strlen(p); + if (cli_api(cli, param, PTR_DIFF(p,param), 8,/* params, length, max */ NULL, 0, CLI_BUFFER_SIZE, /* data, length, max */
SMB URL
Hi! I looked into the URL handling libsmbclient is doing and it's lacking quite some of the stuff that the DRAFT specifies (and some of the stuff that generally are required for URIs). Is someone working on that? I'm currently preparing some patches, but hate C programming enough to dump it for some other solution :) Greetings, Stephan
Re: A please report me error
Am Tuesday 25 March 2003 21:46 schrieb Dave Collier-Brown: In today's CVS, I caught this message zip by while configuring: ... checking net/if.h presence... yes configure: WARNING: net/if.h: present but cannot be compiled configure: WARNING: net/if.h: check for missing prerequisite headers? configure: WARNING: net/if.h: proceeding with the preprocessor's result configure: WARNING: ## ## configure: WARNING: ## Report this to [EMAIL PROTECTED] ## configure: WARNING: ## ## checking for net/if.h... yes Anyone want to pass it on the gnuvians, as asked? Better check your config.log and find out what header it requires. Greetings, Stephan
[Samba] too many open files , samba crashes
hello, using SuSE 7.3 with all Patches and SAMBA 2.2.7a-SuSE after a couple of days too many files are opend (bejond 16000) and samba hast to be totally stopped and restartet. the log tells us the following: [2003/03/13 09:21:44, 0] smbd/posix_acls.c:create_canon_ace_lists(919) create_canon_ace_lists: unable to map SID S-1-5-21-823518204-1202660629-842925246-2721 to uid or gid. [2003/03/13 09:31:29, 0] lib/util.c:close_low_fds(470) Can't open /dev/null [2003/03/13 09:31:29, 0] tdb/tdbutil.c:tdb_log(531) tdb(/var/lib/samba/connections.tdb): tdb_reopen: open failed (Too many open files in system) [2003/03/13 09:31:29, 0] locking/brlock.c:brl_init(235) Failed to open byte range locking database [2003/03/13 09:31:29, 0] locking/locking.c:locking_init(328) ERROR: Failed to initialise locking database [2003/03/13 09:31:29, 0] smbd/server.c:open_sockets(275) open_sockets: accept: Too many open files in system [2003/03/13 09:31:29, 0] lib/debug.c:reopen_logs(348) Unable to open new log file /var/log/samba/log.smbd: Too many open files in system [2003/03/13 10:00:13, 0] smbd/posix_acls.c:create_canon_ace_lists(919) create_canon_ace_lists: unable to map SID S-1-5-21-823518204-1202660629-842925246-2184 to uid or gid. [2003/03/13 10:01:14, 0] lib/debug.c:reopen_logs(348) Unable to open new log file /var/log/samba/log.smbd: Too many open files in system [2003/03/13 10:01:14, 0] lib/util_sock.c:open_socket_in(772) open_socket_in(): socket() call failed: Too many open files in system [2003/03/13 10:01:14, 0] smbd/oplock.c:init_oplocks(1217) open_oplock_ipc: Failed to get local UDP socket for address 17f. Error was Too many open files in system [2003/03/13 10:01:25, 0] lib/debug.c:reopen_logs(348) Unable to open new log file /var/log/samba/log.smbd: Too many open files in system [2003/03/13 10:01:25, 0] lib/util_sock.c:open_socket_in(772) open_socket_in(): socket() call failed: Too many open files in system any idea to solve the problem? thanks in advance -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[no subject]
Hi Together I have a problem with initialise the locking database. When i send the command the following command . unx10015# ./smbstatus -d -L I received the this message. using configfile = /tools/samba/samba-2.2.7/lib/smb.conf Opened /var/log/css/samba-2.2.7/locks/connections.tdb Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting Has anyone a solution about this problem thanks Stephan ___ CSS Versicherung Stephan Theiler FITCE Systemtechnik Client/Server Rösslimattstrasse 40 CH-6002 Luzern Telefon ++41 (0)41 369 1470 Telefax ++41 (0)41 369 1266 [EMAIL PROTECTED] www.css.ch
[no subject]
Hi Together I have a problem with initialise the locking database. When i send the command the following command . unx10015# ./smbstatus -d -L I received the this message. using configfile = /tools/samba/samba-2.2.7/lib/smb.conf Opened /var/log/css/samba-2.2.7/locks/connections.tdb Failed to open byte range locking database ERROR: Failed to initialise locking database Can't initialise locking module - exiting Has anyone a solution about this problem thanks Stephan ___ CSS Versicherung Stephan Theiler FITCE Systemtechnik Client/Server Rösslimattstrasse 40 CH-6002 Luzern Telefon ++41 (0)41 369 1470 Telefax ++41 (0)41 369 1266 [EMAIL PROTECTED] www.css.ch
[Samba] problem with samba and a dos application
Hello all, I am trying to export a share to several Windows clients, that start some application in a dos box. The application itself is located on the share. The first client can start it, the second cannot. It looks like a locking problem, but experiments with locking = no showed no effect. The application in question is OpenAccessIII (SPI), just in case somebody knows it. Any hints are welcome. -- Regards, Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem with samba and a dos application
On 26 Nov 2002 10:06:49 -0500 Chris Smith [EMAIL PROTECTED] wrote: On Tue, 2002-11-26 at 09:40, Stephan von Krawczynski wrote: I am trying to export a share to several Windows clients, that start some application in a dos box. The application itself is located on the share. The first client can start it, the second cannot. I have a client whose major application is a DOS based product and it works fine running just like this. Would you mind to allow me a look in the smb.conf (in private email)? Maybe there is some difference ... Is the product designed to be network shared like this? The funny part about it is: I am trying to migrate a working setup where the server is MARS (nwe) (netware server simulation under linux) to samba, everything else identical. The same dos application is working fine with nwe shares and can be started several times without any troubles. Does it work correctly when the server is a Windows box? I can't tell, I have no windows server at hand currently. What can I do to find out exactly what filesystem actions are causing the troubles? -- Regards, Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
load balancing question
Dear people on the list! I hope it's ok to ask a feature question on this core-feature list. What I would like to know is whether there are some efforts on implementing load balancing features into samba or some experiences/ experiments in this area. As standard-Windows doesn't offer these features, adding them would give samba-based systems yet another (very big) advantage over a standard nt server system. Just that you know why I'm asking for this. We have the problem to serve 3d scenes as well as image data to about 100 render nodes running under Windows NT. When starting to render, all machines are asking at exactly the same time for exactly the same data, which might be about 500 megabytes per machine. Action like this results into a server load of about 30-50 which isn't really satisfactory... Kind regards, Stephan __ Alleine + Gemeinsam = WEB.DE Spielgemeinschaften Die clevere Kombination von Gewinn-Garantie und Jackpot-Chance!
[Samba] great thx
for your answers to my questions Stephan Helas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] winbind can't access win2k sub domain
Hello I try to use wibind in subdomain. on the parent domain i get user with wbinfo -u but not in the child domain. this is the event log on the subdomain-dc. can anybody tell me what i have to change, to get users from this domain? -- Security Log Event Type: Failure Audit Event Source: Security Event Category: Directory Service Access Event ID: 565 Date: 26.09.2002 Time: 10:14:55 User: NT AUTHORITY\ANONYMOUS LOGON Computer: GT1ROOT2 Description: Object Open: Object Server: Security Account Manager Object Type:SAM_SERVER Object Name:- New Handle ID: - Operation ID: {0,11908627} Process ID: 280 Primary User Name: GT1ROOT2$ Primary Domain: GT Primary Logon ID: (0x0,0x3E7) Client User Name: ANONYMOUS LOGON Client Domain: NT AUTHORITY Client Logon ID:(0x0,0x7B09) AccessesMAX_ALLOWED Privileges - Properties: - / Security Log Thx Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] more than one wins server
Hi, how can i add more than one wins server in the smb.conf file? wins server = server1, server2 does not work. also wins server = server1 server 2 not work. only one entry works :( help? regards.. -- STEPHAN PFEIFFER ICQ: 39844459 (Home) 39064604 (Work) http://www.synopex.de/ mailto:[EMAIL PROTECTED] *** Linux is like a wigwam... *** no windows, no gates and apache inside! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] charset problems on mixed network
hi there, i setup a samba server (actually two) on a redhat box: [root@SALOMON root]# cat /etc/redhat-release Red Hat Linux release 7.2 (Enigma) [root@SALOMON samba]# uname -a Linux SALOMON 2.4.9-31 #1 Tue Feb 26 07:11:02 EST 2002 i686 unknown [root@SALOMON root]# smbd -V Version 2.2.4 and i am having the following problems: i need the files that are shared to have german umlauts, hence i need support for iso8859-1 in samba. what i have is: character set = iso8859-1 client code page = 850 this works perfectly fine for the windows machines, they see the files correctly, can create files correctly and the files are created correctly on the filesystem. but if i do a smbmount (or rather mount -t smbff) from another linux machine (this case a redhat 6.2 box with some 2.2.x kernel) it shows the umlauts as ? and creates files wrong. if i removethe above two options from smb.conf it works fine in linux, but not anymore in windows. i tried to fiddle around with include and %a a bit, but that didnt work out either. man smbmount has something calles iocharset for 2.4.x kernels, is that what i need? there has to be some way... thanks in advance, stephan -- Zensur ist Reklame auf Staatskosten --ambrose bierce -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] still problems with password-expiration
Hi folks, I knew this was recently discussed but I still couldn't get it to work. I still have the problem that the users on the W2K-Clients get the message about the password going to expire in 5 days when joining the Samba-PDC-Domain. Even if the users change the password, this message keeps coming... I have no idea what to do to avoid this message... Funny thing is, the password DOES NOT expire in 5 days.. only the popus in windows keeps on coming after logon. It always tells about 5 days... every day the same :) Did I miss a posting which told the solution ? Thanks in advynce Stephan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] File Archive bit not cleared
Hello all, I'm having a problem with our Tape Backup user not being able to clear the archive bit on files after the backup has been completed (we're running ArcServe 2000 on a Windows NT box). After looking into it closer, it looks like Samba will only permit the archive bit to be cleared if the file is owned by the tape backup user. Even if the tapebackup user is part of the same group as the file and the file has group read/write permissions. This is a serious problem because it causes the tape backup software to continually backup ALL files. We do not want to change the ownership of each file to that of our tape backup user, because this breaks our file system quota support mechanism. Is there a magic flag that can be set in the smb.conf file that permits a user who has group read/write access from setting/clearing the archive bit? We're running Samba 2.2.0a, on a quad-SMP Linux 2.2.15 kernel box. Any assistance would be greatly appreciated. Please reply to this email as well as the list. Many thanks, Stephan. ---Stephan A. Edelman, B.Eng.NewAce Corporationhttp://www.newace.comToll Free: 1-877-463-9223 x21Tel: +1 519 336-4837 x21Fax:+1 519 336-4046