[Samba] FW: Log
Hello How to log any file modification or any deleted file from a folder (directory)? Thx -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba PDC Windows XP
I have configured Samba as a PDC and I have 2 Xp computers I can logon in the domain I see the shares of the samba server from the windows XP machines but I cant see the shares of the Windows XP machines from the Samba server. I always get the sema error: added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0 Got a positive name query response from 192.168.0.3 ( 192.168.0.1 ) Password: session setup failed: NT_STATUS_TRUSTED_RELATIONSHIP_FAILURE Any Ideas? -- Jose Gabriel Garcia Araujo [EMAIL PROTECTED] Adicora.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: XP irratic delay in opening files....
This server has 512MB and only has 8 XP machines connected to it... Justin On Mon, 2003-02-24 at 21:55, Nolan Garrett wrote: I experienced the same problem - it was fixed when I added more RAM to the server. Nolan Justin Anderson wrote: I think this sorts out the problem, I had some one try it out tonight a couple of times (seems to be fine) but will try it out tomorrow to make absolutely sure... oplocks = False level2oplocks = False added to the samba config file Cheers Justin. On Mon, 2003-02-24 at 20:31, Justin Anderson wrote: Hi all I am fairly new to samba and XP. I have a client who we set up a samba server for, they are complaining about documents taking about 30 secs -2-3mins to open but only sometimes (it can be very frequent). I have seen this and captured a piece of the log file I wonder if any one can make any sense of it... I have been looking on the net and trying various things all day but to no avail... 2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560) call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646) call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls level=257 call=7 total_data=0 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7344 of length 120 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBtrans2 (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350) call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls info_level=257 totdata=40 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7345 of length 45 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBclose (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926) close fd=22 fnum=12979 (numopen=2) [2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210) nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls (numopen=1) [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7346 of length 142 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) returning 0744 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778) calling open_file with flags=0x0 flags2=0x0 mode=0744 [2003/02/24 15:53:42, 2] smbd/open.c:open_file(213) brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls read=Yes write=No (numopen=2) [2003/02/24 15:53:42, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(182) set_file_oplock: got kernel oplock on file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode = 13385874, file_id = 2048 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7347 of length 63 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBreadX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381) readX fnum=12980 min=4096 max=4096 nread=4096 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7348 of length 142 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111)
Re: [Samba] local profiles on xp
local path = should be logon path = just my typo, is correct in smb.conf. problem still stands.. Richard. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba - Expire Password
is anyone working on this? sure would be neat! On Wed, 2003-02-26 at 03:44, Tiago Cruz wrote: Hello!!! People, I`m running Samba 2.2.7 with Red Hat 8.0 and I like of know how to make`s force samba to expire password of user`s to change in the next login... Suggestions? [global] workgroup = TUX netbios name = MAQ_711 server string = Servidor de dados experimental - Samba Server %v encrypt passwords = Yes min passwd length = 4 log file = /var/log/samba/%m.log max log size = 100 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain logons = Yes os level = 64 preferred master = Yes domain master = Yes printing = lprng Very thank`s __ Brazilian GNU/Linux User #282636 My web site about GNU/Linux: http://www.linuxrapido.kit.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: XP irratic delay in opening files....
This server has 512MB and only has 8 XP machines connected to it... Justin I've tried the same with my two XP machines, but it seems that upgrading to the latest version (I believe it is the 2.2.7a release) works it out. I do not experience the periodical lock-ups any more, but now my printer starts acting funny some times. Also found out that running Linux without a swap partition results in strange breaks in large file transfers and such... /Lars -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [bug] ldap server missing from swat in 3.0
hi, in 3.0alpha form swat the ldap server parameter is missing (although it can be important:-) the other ldap parameters are there. -- Levente Si vis pacem para bellum! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.7a logon script will not run
On Wed, 26 Feb 2003, Kurt Weiss wrote: Afterwords, I booted my W2K client machine and logged on to the domain. The logon script doesn't run, but otherwise everything is fine. From the client, I can map drives manually, access files, etc. all without errors. It authenticates the user name and password throught the pdc and there aren't any error messages at all either in the server logs or the client event viewer. I put everything back w/ 'make revert' and all runs fine can u look, if the logon.bat starts in upgraded version? cdrom on z:? maybe u have to use logon drive = ? Maybe one of these evenings I'll try again w/ log level 10 and try to diagnose w/ that. please send it... here is one tiny windows users mind suggestion: check if the users logging in has Unix EXECUTE privileges ( chmod rwxrwxrwx) for the logon script as well as openfolder Privileges (chmod rwxr-xr-x) to be able to run the script. secondly, our clients run a user based login script USERNAME.cmd, as you can see here, its the *.cmd extension for W2K that works here. kind regardes florian ([EMAIL PROTECTED]) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Browsing automatic update
Hi, I've configured successfuly a Samba-LDAP PDC. When a Windows PC is up, I can see it in network neighbourhood but when it is down, I still see it in network neigbourhood. And the entry in browse.dat file still exists even the computer is down. Any suggestion ? -- Raphaël Berghmans [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] Samba - Expire Password
Very Thank's Andrew :-) I will go to search more... At least now I know that he gives to make what I want, already is a great advance :-) Richard, This server is only beta-tester, and machines with win98se is Ok... Thank's again Tiago Cruz Org. King de Contab. S/C Ltda. http://www.linuxrapido.kit.net Linux User #282636 Em Qua, 2003-02-26 às 04:54, Andrew Bartlett escreveu: See the number of other posts I've made on this subject (because I give slightly different details each time). Your two options are to use PAM, or to use Samba 3.0alpha and pdb_ldap. In pdb_ldap, you want to set the 'pwdMustChange' attribute to 0. This works well in my production environment. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem: cancel copy of file makes smbd go crazy
Hi all, When I copy any file from any of my W2K machines onto the samba server, and cancel that (copy) operation while it is in progress, the client stops responding and the samba process takes up all the cpu power of its host. If loglevel 2, then also it writes into the log file as fast as the controller can, until the hard drive is full. A tail -f logfile while this is happening shows nothing is written. A lsof lists the logfile as (deleted). This behaviour can only be stopped by killing the smbd process that went wild. I'm running a SuSE 7.3 Pro Linux with Samba 2.2.1a. The problem is repeatable and other than that samba runs fine. I've been checking the internet for some time, but could not find any information on similar behaviour on other machines. If anybody has ideas about what's going on and how to fix this problem I'd be happy to hear from you. Thank you! Sincerly, Daniel Geske -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: samba Digest, Vol 2, Issue 79
Once I have set up my Linux samba servers I would like to be able to get users to access our Novell 5 server via samba. It seems to suggest on the Samba site that Samba will run on a Novell server but does anybody know how to do this? May be it would be easier to mount Novell volumes on the samba server and export them as samba shares. I know you can do that to export Novell volumes as NFS exports. On the other side, Novell is quite good as file server, so why not use its own goodies? __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba LDAP PDC change password
Hi all, I'm running Samba 2.2.7a on RedHat8.0 with LDAP (latest RPM from redhat) Well I configured samba to act as a PDC with LDAP following IDEALX recommandations. Everything works fine BUT the password change, I cannot change the passwords from the Win2000 or WinXP WS, it always says that the password or username doesn't match Of course it matches, I tried too many things to get it working ... in vain - I tried to play on password chats (smb.conf) - I used smbldap-passwd (from idealx), ldapsync, ldappasswd : it always give the same result - the LDAP ACLs too I even put access to * by * write (just for test) someone can help ? please ? PS : if the logs are needed I'll mail'em -- Zied Fakhfakh BDM - Opennet Software 70 Av Med 5 - Tunis 1002 - Tunisia Tel : +216 71 892 377 - Fax : +216 71 892 554 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2.2.8pre1 domain logon failure
redhat 8, 2.2.8pre1 set as pdc on subnet1, adduser script for machines (works ok) bdc with security=domain, passwd server=* on subnet2 with xp-pro client. 1/ patched xp-pro joins domain, reboots login to domain ok, log out profile uploaded to pdc, won't login again. reboot and usually will login. tried remove from domain, remove machine accounts and recreate.tried new samba-only users to eliminate profile probs etc no diff. error on xp : domain controller uncontactable or no machine account.(machine account exists, xp registry is modified) error on samba pdc (sometimes): unable to unmarshall SAMR_Q_SET_USERINFO 2/ xp-pro client is difficult to join samba-domain. common errors: network connections open... even though net use reports none. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] windows packet drop problem
Hi all, I replaced a window$ 2000 server with a SuSE 8.0 installation running Samba. info xxx.xxx.xxx.xxx = our.internal.ip.addresses The Server have the following duties: 1. Provides DHCP for the internal network xxx.xxx.xxx.64 to xxx.xxx.xxx.128 netmask 255.255.255.192 2. the server also acts as the file and login server for the internal windows and linux network. The default gateway of the internal network is xxx.xxx.xxx.65 which is running on an old FreeBSD firewall. My problem is: When I use one of the internal windows 98SE or XP pc's , it seems like packets are dropped. For instance when I ping an address outside the firewall, let's say xxx.xxx.xxx.7, I get good response times but after a few pings, some of the pings stays unanswered. Even when I fixed the IP of the windows PC, the packets were still dropped. BUT, when I use a linux PC on the internal network, (was not log on to the samba server) with a fixed IP, xxx.xxx.xxx.123 no packets are dropped. I do not think it is a problem with the SuSE DHCP as it occurs with a fixed IP windows pc also. Unless there is some setting I have to make on the windows machines. Hope you can help. Regards Braam -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] smbmount and long file names question (fwd)
running samba 2.2.7a (emerged in gentoo) on the client.. server is running samba version 2.0.X from my client, I run mount -t smbfs -o workgroup=mygroup,ip=10.1.1.50,username=$USER,uid=$ID,gid=$ID2 //smbserver/$USER /home/$USER/ and everything works great.. I do an ls in that /home/$USER dir and the filenames are fine.. EXCEPT for files that have a : in them. For example dat-fil-401:1.log becomes dat-f~10.log if I rename dat-fil-401:1.log to something without : in it. the long filename works fine. Any ideas how to make long filenames with : in then not get truncated? regards, Jason -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [help] Can't Join Samba 2.2.3a to TNG+LDAP
I need to join my Samba 2.2.3a to a TNG Domain (which stores users and machines account into OpenLDAP) using it as a password server. Provided that TNG is working fine in authenticating users on W2K machines, once they are logged in they should (in my intentions) see Samba 2.2.3a shares. In order to do this I provided the following configuration for Samba: workstation = tng_domain security = DOMAIN password server = tng_server encrypt password = yes Then i inserted a trust relationshhip into LDAP just like the trusts for the W2K machines. When I perform the join: smbpasswd -j tng_domain -r tng_server -D 4 the error issued is the following (Essentially a NT_STATUS_ACCESS_DENIED): arena:[root]# smbpasswd -j LABSCIENZEMFN -r LDAPS -D 4 added interface ip7.27.241.10 bcast7.27.241.255 nmask%5.255.255.0 resolve_lmhosts: Attempting lmhosts lookup for name LDAPS0x20 getlmhostsent: lmhost entry: 127.0.0.1 localhost getlmhostsent: lmhost entry: 157.27.241.11 LDAPS Connecting to 157.27.241.11 at port 445 error connecting to 157.27.241.11:445 (Connection refused) Connecting to 157.27.241.11 at port 139 bind_rpc_pipe: pipe_name \PIPE\lsass != expected pipe \PIPE\lsarpcd. oh well! resolve_lmhosts: Attempting lmhosts lookup for name LDAPS0x20 getlmhostsent: lmhost entry: 127.0.0.1 localhost getlmhostsent: lmhost entry: 157.27.241.11 LDAPS Connecting to 157.27.241.11 at port 445 error connecting to 157.27.241.11:445 (Connection refused) Connecting to 157.27.241.11 at port 139 bind_rpc_pipe: pipe_name \PIPE\lsass != expected pipe \PIPE\netlogond. oh well! cli_net_req_chal: LSA Request Challenge from LDAPS to ARENA: ED99CD85CA9053A9 cred_session_key cred_create cli_net_auth2: srv:\\LDAPS acct:ARENA$ sc:2 mc: ARENA chal BEA9F4F74576C1C9 neg: 1ff cred_create cred_assert cred_create cli_net_srv_pwset: srv:\\LDAPS acct:ARENA$ sc: 2 mc: ARENA clnt D2D6DF1B812CFF7E 3e5ca8f5 cli_net_srv_pwset: NT_STATUS_ACCESS_DENIED modify_trust_password: unable to change password for machine ARENA in domain LABSCIENZEMFN to Domain controller LDAPS. Error was SUCCESS - 0. 2003/02/26 12:45:57 : change_trust_account_password: Failed to change password for domain LABSCIENZEMFN. Unable to join domain LABSCIENZEMFN. In your opinion, WHY? How does the machine password works? The Administrator user is available in the tng_server as valid user [uid=0(Administrator) gid=0(root) groups=0(root)] . The trust account has the following attrs. dn: cn=arena$, ou=NTMachine, ou=Samba, ou=Scienze, dc=univr,dc=it pwdMustChange: ntPassword: 8C97CD9A365825486806F43221CE1344 lmPassword: B874DAD114582F99AAD3B435B51404EE uidNumber: 3556 pwdLastSet: uid: arena$ objectClass: sambaAccount objectClass: top objectClass: account script: dummy.bat ntuid: arena$ acctFlags: [W ] cn: arena$ description: Samba Machine Account rid: de4 pwdCanChange: grouprid: 201 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Maintain file ownership when saving office documents
If a user stores an existing office document on a samba share, he takes ownership of it automatically. Office writes a new file. (Different inode, same name) Is there a possibility of going this round and keeping the owner? I don't see how. How would the server know to do this? I don't know. A win 2000 box knows this... We want to use a samba as full qualified replacement for a win 2000 file server. Is this possible? There are still some quite mysterious behaviors of the ACL management we can't solve. I think, ACL isn't maturated for a proper windows replacement. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Scripting with smbpasswd
Hi All, I'm writing a website on which users can change their Samba-password. I therefore use the smbpasswd-utility which I execute through the PHP function system (or exec, it doesn't really matter). I have to use the -s switch for smbpasswd to enable it to read input from STDIN, which I redirect to read the information from a file. I execute: /usr/local/samba/bin/smbpasswd -r ldap.domain.org -s -U maarten /tmp/password.txt and the file password.txt contains the old password, and twice (or once, also doesn't seem to matter) the new password formatted like this: oldpassword newpassword newpassword. The output from smbpasswd is: 'Password changed for user maarten', which looks quite OK to me. But... the encrypted password does not at all look like the encrypted 'newpassword' as would be generated by a 'manual' run of smbpasswd. Worse, every time I use another 'newpassword' the encoding of its encrypted equivalent remains the same. Does anybody know what I'm doing wrong? I probably feed the passwords to smbpasswd totally wrong, but, how should it be done? Many, many thanks in advance! Maarten -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Log Files
Hi there, We have Samba running on an HP-UX 11.00 machine, and I am getting ready to make the home directories available for mapping to our users running Windows 2000. Prior to that I am running a check of the log files and I noticed a large amount of systems, ie: workstations, printers, that appear to be attempting to log onto the system and failing. I'm not sure why this is occurring and I wanted to know if anyone has had a similar situation. If so, could you enlighten me on what is going on and why. Thanks. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.7a logon script will not run
hi florian - we did check this already... it was my first suggestion in this thread there are 0777 on dirs and 0777 on logon.bat but this did not solve *rich's* problem -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Scripting with smbpasswd
Maarten, have you considered your bug being a PHP matter?! with my experience with Perl and PHP handling ASCI files is sometimes tricking in the matter of processing Carriage Returns and Line Feeds. maybe it is an idea to check if the lines in your /tmp/passwd.txt contain any of these Characters?!, I think they are 'chr(10)' and 'chr(13)'?! kind regardes Florian ([EMAIL PROTECTED]) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Maarten Buiter Sent: Wednesday, February 26, 2003 3:08 PM To: [EMAIL PROTECTED] Subject: [Samba] Scripting with smbpasswd Hi All, I'm writing a website on which users can change their Samba-password. I therefore use the smbpasswd-utility which I execute through the PHP function system (or exec, it doesn't really matter). I have to use the -s switch for smbpasswd to enable it to read input from STDIN, which I redirect to read the information from a file. I execute: /usr/local/samba/bin/smbpasswd -r ldap.domain.org -s -U maarten /tmp/password.txt and the file password.txt contains the old password, and twice (or once, also doesn't seem to matter) the new password formatted like this: oldpassword newpassword newpassword. The output from smbpasswd is: 'Password changed for user maarten', which looks quite OK to me. But... the encrypted password does not at all look like the encrypted 'newpassword' as would be generated by a 'manual' run of smbpasswd. Worse, every time I use another 'newpassword' the encoding of its encrypted equivalent remains the same. Does anybody know what I'm doing wrong? I probably feed the passwords to smbpasswd totally wrong, but, how should it be done? Many, many thanks in advance! Maarten -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: file permissions
Brian, When you chmod g+s the parent directory does it also apply to subdirectories of that, or just the non-directory files immediately inside that directory? What I mean is, if I have a whole directory tree, and want everyone of a group to be able to access files in this tree, do I need to chmod g+s (add the group sticky bit? is that what this says?) ALL the directories here, or just the root of the tree? I realize the -R option applies g+s to all files/dirs, but is it necessary? Also, for clarification, step 2 below should be chgrp not chown, I believe. Brian Johnson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What I've done to try to address this (and it seems to be working) is to: 1. add all of the users to a common group 2. chown the directory above the file to the group 3. chmod -R g+s the directory above the file 4. addinherit permissions = yes to smb.conf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Richard Clemens Sent: Tuesday, February 25, 2003 16:10 To: [EMAIL PROTECTED] Subject: [Samba] file permissions Hello, I am having problems with multiple users being able to access the same file on a samba volume. I tried assigning the three users and the document all to a single group with no luck. So far we have had to chmod 777 the doc just to be able to read it. when a change is made the doc is reverted to the last person who changed it making it impossible for the next user to edit it. in addition, the group is changed back to the original settings as well. TIA Rich -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] nmb - xp
hi, finally i have able to check all the test on the linux side, but win xp still says sys err 53, no network path... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Large (3000+ users) NT to Samba migration
Hi, The size of the project and number of users suggests that you should realy know the technologies you'll be using. You should spend some time learning to set up replicated openldap servers and also test every client tweak you're using on the nt-servers today. Do you have roaming profiles? Loginscripts etc. As for migration of machine- and useraccounts, there are several scripts that can do it. Tarjei ons, 2003-02-26 kl. 07:36 skrev David Wilson: Hi Mikko, Thanks for your response. My client will only be migrating their servers to Linux, workstations will remain as is, a mixture of NT workstation, Win98 Win2000Pro PCs. Many thanks and kind regards. David Wilson DcData/LinuxBox S.A. +27 83 787 7424 ICQ#: 114636368 http://www.dcdata.co.za http://www.linuxbox.co.za NOTICE: Please note that as of 31/01/2003 all service requests must be sent to [EMAIL PROTECTED] - Original Message - From: Mikko Rautiainen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 25 February 2003 10:17 Subject: Re: [Samba] Large (3000+ users) NT to Samba migration David Wilson wrote: Hi guys and girls, A client of mine is seriously investigating migrating their 7 NT servers and 3000+ users to Linux running Samba. I've read one or two documents so far about the migration, but I'm still a little unclear about a number of things. When you have a chance I'd really appreciate your guidance on the following items. 1.) LDAP, /etc/passwd or MySQL backend (if supported). 2.) User/machine account migration utilities. 3.) Front-ends for adding user/machine accounts. 4.) Configuration of BDC(s). Or any links to the information would be great. Many thanks and kind regards. David Wilson DcData/LinuxBox S.A. +27 83 787 7424 ICQ#: 114636368 http://www.dcdata.co.za http://www.linuxbox.co.za NOTICE: Please note that as of 31/01/2003 all service requests must be sent to [EMAIL PROTECTED] Hi, Here are two things that came to my mind. 1. Are they migrating all computers (workstations and servers) to linux. If they are migrating all then I am not sure is samba the right choise. 2. If I have understood right samba 2.2.x doesn't support BDC's. But the 3.0 version will support BDC's. Mikko Rautiainen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Tarjei Huse [EMAIL PROTECTED] NU -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba corrupting files
Hi all, We use samba here at our site as an interop solution for use with ClearCase. I'm afraid I'm just a lowly ClearCase administrator not a Unix administrator. All our solaris servers are running Solaris 8 and we're using Samba version 2.2.2 First Question : Our Unix Admin guy has said that we can't upgrade our version of Samba as 2.2.2 is the latest version that Sun have fully tested and compiled binaries for. Is this right?? Is there something wrong with the binaries on the samba website or building it from source?? Second Question : We're now getting corrupt files appearing in ClearCase. The files are in tact except for a number of lines added to the beggining of the file. Lines you would normally expect to find in the samba logs. For example, [2003/02/26 13:39:49, 2] smbd/open.c:open_file(214) spark1j opened file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 read=Yes write=Yes (numopen=1) [2003/02/26 13:39:49, 2] smbd/open.c:open_file(214) spark1j opened file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 read=Yes write=No (numopen=2) [2003/02/26 13:39:49, 2] smbd/close.c:close_normal_file(206) spark1j closed file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 (numopen=1) [2003/02/26 13:39:49, 2] smbd/open.c:open_file(214) Having checked the log file creating for this specific client I find errors like this Allowed connection from (172.29.58.57) [2003/02/26 13:35:22, 0] rpc_client/cli_netlogon.c:cli_net_auth2(160) cli_net_auth2: Error NT_STATUS_ACCESS_DENIED [2003/02/26 13:35:22, 0] rpc_client/cli_login.c:cli_nt_setup_creds(72) cli_nt_setup_creds: auth2 challenge failed [2003/02/26 13:35:22, 0] smbd/password.c:connect_to_domain_password_server(1371) connect_to_domain_password_server: unable to setup the PDC credentials to machine JENKINS. Error was : NT_STATUS_ACCESS_DENIED. [2003/02/26 13:35:22, 0] smbd/password.c:domain_client_validate(1591) domain_client_validate: Domain password server not available. [2003/02/26 13:35:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) startsmbfilepwent_internal: unable to open file /usr/local/samba/private/smbpasswd. Error was No such file or directory [2003/02/26 13:35:22, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368) unable to open passdb database. [2003/02/26 13:35:22, 1] smbd/password.c:pass_check_smb(546) Couldn't find user 'spark1j' in passdb. [2003/02/26 13:35:22, 2] smbd/reply.c:reply_sesssetup_and_X(970) NT Password did not match for user 'spark1j'! [2003/02/26 13:35:22, 2] smbd/reply.c:reply_sesssetup_and_X(980) Defaulting to Lanman password for spark1j [2003/02/26 13:35:22, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(171) startsmbfilepwent_internal: unable to open file /usr/local/samba/private/smbpasswd. Error was No such file or directory [2003/02/26 13:35:22, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1368) unable to open passdb database. [2003/02/26 13:35:22, 1] smbd/password.c:pass_check_smb(546) Couldn't find user 'spark1j' in passdb. [2003/02/26 13:35:22, 1] smbd/reply.c:reply_sesssetup_and_X(995) Rejecting user 'spark1j': authentication failed [2003/02/26 13:35:22, 0] rpc_client/cli_netlogon.c:cli_net_auth2(160) cli_net_auth2: Error NT_STATUS_ACCESS_DENIED [2003/02/26 13:35:22, 0] rpc_client/cli_login.c:cli_nt_setup_creds(72) cli_nt_setup_creds: auth2 challenge failed [2003/02/26 13:35:22, 0] smbd/password.c:connect_to_domain_password_server(1371) connect_to_domain_password_server: unable to setup the PDC credentials to machine JENKINS. Error was : NT_STATUS_ACCESS_DENIED. [2003/02/26 13:35:22, 0] smbd/password.c:domain_client_validate(1591) domain_client_validate: Domain password server not available. [2003/02/26 13:39:49, 2] smbd/close.c:close_normal_file(206) spark1j closed file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 (numopen=1) [2003/02/26 13:39:49, 2] smbd/open.c:open_file(214) spark1j opened file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 read=Yes write=No (numopen=2) [2003/02/26 13:39:49, 2] smbd/close.c:close_normal_file(206) spark1j closed file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 (numopen=1) [2003/02/26 13:39:49, 2] smbd/close.c:close_normal_file(206) spark1j closed file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 (numopen=1) [2003/02/26 13:39:49, 2] smbd/open.c:open_file(214) spark1j opened file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 read=Yes write=No (numopen=2) [2003/02/26 13:39:49, 2] smbd/close.c:close_normal_file(206) spark1j closed file spark1j.vws/.s/00050/8000a1003e445e9dpcp_comp.000 (numopen=1) [2003/02/26 13:39:49, 2] smbd/close.c:close_normal_file(206) [2003/02/26 13:39:49, 0] lib/fault.c:fault_report(40) === [2003/02/26 13:39:49, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 24105 (2.2.2) Please read the file BUGS.txt in the distribution [2003/02/26 13:39:49, 0] lib/fault.c:fault_report(43)
Re: [Samba] 2.2.7a logon script will not run
I am currently seeing similar behavior on Windows XP where my own logon script does not execute but everybody else's does. This seems to have been caused by changing the Samba server's hostname (in the Windows hosts file) after setting up my PC. I know that if I set my PC's hosts file back to the original name that my logon script will run again. So far I have been unable to find out why exactly this is causing the problem. If I logon as a new user on my PC then the appropriate logon script runs regardless of what hostname I have defined for the server (although I am guessing that if I changed the hostname after the first logon of a new user that the same problem would occur for that user the next time they logged in). I am guessing that it has to do with the registry LOGONSERVER value not resolving to a valid network name, but where LOGONSERVER is getting set to the old name is not clear to me. Bob Boehmer hi florian - we did check this already... it was my first suggestion in this thread there are 0777 on dirs and 0777 on logon.bat but this did not solve *rich's* problem -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] FW: Log
On Wed, 26 Feb 2003, Gyorgy Szilard wrote: Hello How to log any file modification or any deleted file from a folder (directory)? Have you checked the VFS modules? Look at audit.so! Check the man page for samba-2.2.7a (current stable release): man smb.conf then search for vfs object and vfs options - John T. -- John H Terpstra Email: [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] Samba 3.0
Works nicely here on my older SuSE 7.1 box, I compiled and am running Samba 3.0alpha20 with no problems, SWAT works nicely too. I *HAVE* had some problems with alpha21 (error in line 6649 and syntax error in 6651 in the configure script) which I'll be looking into later on. Might only be some aging system software as some of the compilers on this system were used by a friendly stegosaurus I knew... Original Message - From: Tiago Cruz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 7:57 AM Subject: [Samba] Samba 3.0 Hi List :-) I have SuSE 8.1 and Red Hat 8.0, and package RPM of samba3 is avaliable for RH, so I download-it. I'll make upgrade... A question: Swat is functional for the Samba 3.0? Or I have vi /etc/samba/smb.conf =o] Thanks in advance -- Brazilian Regard's Tiago Cruz Org. King de Contab. S/C Ltda. http://www.linuxrapido.kit.net Linux User #282636 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Scripting with smbpasswd
Hi Florian, and rest! Problem has been solved! It had nothing to do with PHP, since I use a shell to create the text-file: system(echo 'temporary\npassword_new\npassword_new' /tmp/ . $userCN); system(/usr/local/samba/bin/smbpasswd -r ldap.domain.org -s -U . $userCN . /tmp/ . $userCN . 21 /tmp/log.txt); exec(rm -rf /tmp/ . $userCN); The problem was that apparently smbpasswd only reads the first line from the created file, uses that to check whether it is the right old password, and then continues to read from the 'command line', which provided 21 /tmp/log.txt, which was encoded to make a samba password. Removing the 21 /tmp/log.txt did the trick. It now reads the other two lines from the created file, and uses the information for the new password. Maybe I did something out of the ordinary, or this is some unexplained behaviour from smbpasswd.. I know samba 2.2.8 comes with a bugfix for some bug in smbpasswd when reading passwords from the command line... Maybe this was due to this bug. Thanks anyway! Maarten Florian Stahl wrote: Maarten, have you considered your bug being a PHP matter?! with my experience with Perl and PHP handling ASCI files is sometimes tricking in the matter of processing Carriage Returns and Line Feeds. maybe it is an idea to check if the lines in your /tmp/passwd.txt contain any of these Characters?!, I think they are 'chr(10)' and 'chr(13)'?! kind regardes Florian ([EMAIL PROTECTED]) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Maarten Buiter Sent: Wednesday, February 26, 2003 3:08 PM To: [EMAIL PROTECTED] Subject: [Samba] Scripting with smbpasswd Hi All, I'm writing a website on which users can change their Samba-password. I therefore use the smbpasswd-utility which I execute through the PHP function system (or exec, it doesn't really matter). I have to use the -s switch for smbpasswd to enable it to read input from STDIN, which I redirect to read the information from a file. I execute: /usr/local/samba/bin/smbpasswd -r ldap.domain.org -s -U maarten /tmp/password.txt and the file password.txt contains the old password, and twice (or once, also doesn't seem to matter) the new password formatted like this: oldpassword newpassword newpassword. The output from smbpasswd is: 'Password changed for user maarten', which looks quite OK to me. But... the encrypted password does not at all look like the encrypted 'newpassword' as would be generated by a 'manual' run of smbpasswd. Worse, every time I use another 'newpassword' the encoding of its encrypted equivalent remains the same. Does anybody know what I'm doing wrong? I probably feed the passwords to smbpasswd totally wrong, but, how should it be done? Many, many thanks in advance! Maarten -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SCO OpenServer 5.0.6a and missing libncurses.so.4
I've downloaded Samba 2.2.6 (binaries) from SCOs Skunkware site, but when I try and run smbclient I get a message : dynamic linker : smbclient : error opening /usr/local/lib/libncurses.so.4 Killed I've checked and there is no libncurses.so.4 (or libncurses.anything for that matter) on the system. I've also failed to find anything relevant in either the list archive or SCOs site. Could someone point me in the direction of the missing file (ie where I can get it from), and, is this specific to the OS, or would the same library from (for example) a Linux system do ? Simon -- Simon Hobson, Technical Services Engineer Colony Gift Corporation Limited Lindal in Furness, Ulverston, Cumbria, LA12 0LD Tel 01229 461100, Fax 01229 461101 Registered in England No. 1499611 Regd. Office : 100 New Bridge Street, London, EC4V 6JA. -- 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.7a - UID Problems ?
Hello! We are using samba 2.2.7a with a 2.4.20+xfs Kernel. Now we've got the problem that sometimes a database client (which is loaded from a samba share) can't find some files. It's randomly which ones are missing and it's not exactly reproduceable. What I've seen is that after some time the user id of the smbd process changes: 17:47: smbd nico 17:50: smbd bastian 17:51: smbd nico 17:58: smbd root The process keeps on beeing there, the pid does not change. It looks like when the smbd process changes the uid the connection from the client is lost. Under Linux, smbmount seems to reintitate a new connection. I can't really tell what windos does, but what I see is the lack of files (or at least the database client does..whenever I look into the explorer, I can see them...). What should I do? Do you have any suggestions ? If I can debug it or if you know howto solve, please tell me. Thanks in advance, Nico pgp0.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba 3.0
Once I enabled ldap-sam it worked. Forgot to switch that one on... - Original Message - From: Stephen P. Villano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 10:43 AM Subject: Re: [Samba] Samba 3.0 Works nicely here on my older SuSE 7.1 box, I compiled and am running Samba 3.0alpha20 with no problems, SWAT works nicely too. I *HAVE* had some problems with alpha21 (error in line 6649 and syntax error in 6651 in the configure script) which I'll be looking into later on. Might only be some aging system software as some of the compilers on this system were used by a friendly stegosaurus I knew... Original Message - From: Tiago Cruz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 7:57 AM Subject: [Samba] Samba 3.0 Hi List :-) I have SuSE 8.1 and Red Hat 8.0, and package RPM of samba3 is avaliable for RH, so I download-it. I'll make upgrade... A question: Swat is functional for the Samba 3.0? Or I have vi /etc/samba/smb.conf =o] Thanks in advance -- Brazilian Regard's Tiago Cruz Org. King de Contab. S/C Ltda. http://www.linuxrapido.kit.net Linux User #282636 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] more rpcclient weirdness
rpcclient $ adddriver Windows NT x86 HP CLJ 8500 - PCL:NULL:NULL:NULL:NULL:NULL:NULL:NULL result was NT_STATUS_UNSUCCESSFUL rpcclient $ adddriver Windows 4.0 HP CLJ 8500 - PCL:NULL:NULL:NULL:NULL:NULL:NULL:NULL Printer Driver HP CLJ 8500 - PCL successfully installed. rpcclient $ This is HEAD, bang up-to-date. I'm trying to figure it out as I mail this. Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. There's a certain uniformity of suck that must be maintained or the UNIX community won't take you seriously. - Rocco Caputo on naming books. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba LDAP PDC change password
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I found the problem, I configured my system from scratch, so, nobody figure in the /etc/shadow and in smb.conf, I activated unix password sync and that was my problem. thanx for those who tried. On Wednesday 26 February 2003 13:08, Zied Fakhfakh wrote: Hi all, I'm running Samba 2.2.7a on RedHat8.0 with LDAP (latest RPM from redhat) Well I configured samba to act as a PDC with LDAP following IDEALX recommandations. Everything works fine BUT the password change, I cannot change the passwords from the Win2000 or WinXP WS, it always says that the password or username doesn't match Of course it matches, I tried too many things to get it working ... in vain - I tried to play on password chats (smb.conf) - I used smbldap-passwd (from idealx), ldapsync, ldappasswd : it always give the same result - the LDAP ACLs too I even put access to * by * write (just for test) someone can help ? please ? PS : if the logs are needed I'll mail'em -- Zied Fakhfakh BDM - Opennet Software 70 Av Med 5 - Tunis 1002 - Tunisia Tel : +216 71 892 377 - Fax : +216 71 892 554 - -- Zied Fakhfakh BDM - Opennet Software 70 Av Med 5 - Tunis 1002 - Tunisia Tel : +216 71 892 377 - Fax : +216 71 892 554 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+XOgvDFcObavNbG8RAjjvAKC8csGylagqTRbFWw7o93qi1AV/xACcDueX MXOUEEFnmPG8nS+eLQG/pKM= =tjeR -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] can't log into Samba.
No, The Path is still the same. It does not conncet after I join Samba into NT domain. Thanks, Paul Hong - Original Message - From: Adam Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 4:05 PM Subject: Re: [Samba] can't log into Samba. On Tue, Feb 25, 2003 at 03:23:22PM -0800, Paul Hong said: I am runnning Samba 2.2.3a which act as a NT workstation connecting to CNS-NT domain. When I tried to connect to Samba, \\Bigred\home is not accessible, you might not have permission to use this network resource. Has the path changed? ie. is the share in smb.conf pointing to a directory that no longer exists? -- Adam Smith Information Technology Officer SAGE Automation Ltd. [EMAIL PROTECTED] http://www.sageautomation.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SCO OpenServer 5.0.6a and missing libncurses.so.4 (fwd)
You can download Ncurses for SCO OpenServer via ftp://ftp2.caldera.com/pub/skunkware/osr5/vols/ncurses-4.2-VOLS.tar This is a tar archive of media images suitable for installation with the SCO Software Manager (/etc/custom). Cheers, Ron Record [EMAIL PROTECTED] re: Date: Wed, 26 Feb 2003 15:54:59 + From: Simon Hobson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Samba] SCO OpenServer 5.0.6a and missing libncurses.so.4 I've downloaded Samba 2.2.6 (binaries) from SCOs Skunkware site, but when I try and run smbclient I get a message : dynamic linker : smbclient : error opening /usr/local/lib/libncurses.so.4 Killed I've checked and there is no libncurses.so.4 (or libncurses.anything for that matter) on the system. I've also failed to find anything relevant in either the list archive or SCOs site. Could someone point me in the direction of the missing file (ie where I can get it from), and, is this specific to the OS, or would the same library from (for example) a Linux system do ? -- Ronald Joe Record, Open Source Architect, SCO E-mail: [EMAIL PROTECTED] Voice: 831-427-7604 FAX: 831-427-5417 USPS: 400 Encinal Street, Santa Cruz, California 95061 WWW:http://ronrecord.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: more rpcclient weirdness
On February 26, [EMAIL PROTECTED] said: rpcclient $ adddriver Windows NT x86 HP CLJ 8500 - PCL:NULL:NULL:NULL:NULL:NULL:NULL:NULL result was NT_STATUS_UNSUCCESSFUL rpcclient $ adddriver Windows 4.0 HP CLJ 8500 - PCL:NULL:NULL:NULL:NULL:NULL:NULL:NULL Printer Driver HP CLJ 8500 - PCL successfully installed. rpcclient $ Running packet traces on this: for reasons that are still unclear to me, the NT adddriver command above gets an Access Denied response. Er. I would've thought that adddriver is just going to update a TDB file somewhere, and nothing else? Plus, why is there a difference between adding an NT and a Windows 4.0 driver? Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. Derrick says, Well, there are altar girls there. But it's a sin to hit on jailbait in the house of the Lord. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SCO OpenServer 5.0.6a and missing libncurses.so.4
I've downloaded Samba 2.2.6 (binaries) from SCOs Skunkware site, but when I try and run smbclient I get a message : dynamic linker : smbclient : error opening /usr/local/lib/libncurses.so.4 Killed I've checked and there is no libncurses.so.4 (or libncurses.anything for that matter) on the system. I've also failed to find anything relevant in either the list archive or SCOs site. Could someone point me in the direction of the missing file (ie where I can get it from), and, is this specific to the OS, or would the same library from (for example) a Linux system do ? It really was as simple as looking in the same place as the Samba VOL files, as pointed out to me off-list. Dohhh. ftp://ftp2.caldera.com/pub/skunkware/osr5/vols/ncurses-4.2-VOLS.tar Simon -- Simon Hobson, Technical Services Engineer Colony Gift Corporation Limited Lindal in Furness, Ulverston, Cumbria, LA12 0LD Tel 01229 461100, Fax 01229 461101 Registered in England No. 1499611 Regd. Office : 100 New Bridge Street, London, EC4V 6JA. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Swat, not there
Morning list, I asked yesterday if anyone has had an error message stating the cannot open swat, directory is empty? All packages are showing installed. Can some please respond? Thanks-- Kevin McCarty CCNP CCNA #CSCO10448370 Computer Sciences Corporation Defense Sector Obstacles are those annoying little bumps that occur when you take your eyes off your goals Henry Ford -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba corrupting files
--- Parker, Robin [EMAIL PROTECTED] wrote: We're now getting corrupt files appearing in ClearCase. The files are in tact except for a number of lines added to the beggining of the file. I can't explain that type of corruption, but I can suggest you disable all oplocks. In your smb.conf global section, 'kernel oplocks = No', and on each share specify 'oplocks = No' and 'level2 oplocks = No'. I'm not a member of the Samba team but a Linux administrator whose primary responsibility is several Samba servers. We had corruption on several large flat database files. When we disabled all oplocks, our databases no longer corrupted. I've not been able to test which oplock setting of the three was causing this problem (or if it was all three) so I suggest you try disabling them all at once and then gradually re-enabling them one at a time. If that doesn't fix it, be sure to set them back, as oplocks are a performance boost. Good luck, /dev/idal __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SWAT login - is password entry secure?
Samba group members, Is the password that I specify when logging into SWAT handled securely? I'd like to use the Samba Web Administration Tool (SWAT) to create and administer Samba shares that will be used by our users of ClearCase on Windows. That requires that I log in to the Samba host as root. I access SWAT via Internet Explorer (from any machine) buy specifying the URL http://machine:901;, where instead of machine I actually enter the name of the machine on which I want to administer Samba, and on which Samba (64-bit 2.2.7a) and SWAT are installed. In response to that URL, a window titled Enter Network Password is displayed, that window: * Indicates that the Site is the machine I specified * Indicates that the Realm is SWAT * Has fields for entry of User Name and Password For my ClearCase-related Samba Administration, our UNIX Sys Administrator is OK with giving me the password for user root on that machine, but he fears that the password entered in that login window will be transferred over the network as cleartext. That is, he fears that the password might be too easily observed by prying eyes. QUESTIONS: 1) Is the password handled securely during my SWAT login? 2) If the answer to Q1 is No, then might it be Yes if I used a browser (Netscape) that is running on the same machine that I'm loggng in to? Thanks, Dan Dan Rickhoff Software Configuration Management [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] Swat, not there
Hi! See here: http://www.linuxquestions.org/questions/showthread.php?s=threadid=46181highlight=swat Brazilian Regard's Tiago Cruz Em Qua, 2003-02-26 às 14:21, Kevin C McCarty escreveu: Morning list, I asked yesterday if anyone has had an error message stating the cannot open swat, directory is empty? All packages are showing installed. Can some please respond? -- Atenciosamente, Tiago Cruz Org. King de Contab. S/C Ltda. http://www.linuxrapido.kit.net Linux User #282636 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Swat, not there
On Wed, 26 Feb 2003, Kevin C McCarty wrote: Morning list, I asked yesterday if anyone has had an error message stating the cannot open swat, directory is empty? All packages are showing installed. Can some please respond? Ok. Here is a response. We all saw your request yesterday, but put yourself in our position. How would you answer? From your posting it is not at all clear: 1. What is your platform? 2. What version of Samba? 3. Is this from a publicly available binary package? - if so, how did you install it? - what did you install? 4. Did you build the package yourself? - if so, how did you install it? - what did you do to enable SWAT? 5. What have you done so far to try to trace the cause of the problem? When I see a posting like yours my observation is that you have not done anything to help us to help you. Sorry to be so blunt. - John T. -- John H Terpstra Email: [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] Swat, not there
Tiago, I had done that file, llike you had it, still no go. Then I changed the localhost to my IP and success. Gracias , Kevin McCarty CCNP CCNA #CSCO10448370 Computer Sciences Corporation Defense Sector Obstacles are those annoying little bumps that occur when you take your eyes off your goals Henry Ford Tiago Cruz tiago @grupoking.com.br Sent by: samba-bounces+kmccart6=csc.com 02/26/2003 01:41 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: [Samba] Swat, not there Hi! See here: http://www.linuxquestions.org/questions/showthread.php?s=threadid=46181highlight=swat Brazilian Regard's Tiago Cruz Em Qua, 2003-02-26 às 14:21, Kevin C McCarty escreveu: Morning list, I asked yesterday if anyone has had an error message stating the cannot open swat, directory is empty? All packages are showing installed. Can some please respond? -- Atenciosamente, Tiago Cruz Org. King de Contab. S/C Ltda. http://www.linuxrapido.kit.net Linux User #282636 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Swat, not there
Hey John,here is what I asked yesterday::: *** Hello list! Been contemplating the idea of joining for a long time,,,so it's good to be here. Well I guess now is as good a time as any to pose a question. After reading the Faq's, I didn't find the answer.. Question:when opening the browser to view xxx.xxx.xxx.xxx:901 the error the directory is empty comes up. I have xinetd .d loaded, started, chkconfig --level 35 swat on ,,,testparm says things are there... Samba is loaded, /usr/sbin has the daemon, nmbd and smbd are started,, web server works, no restrictions...(apache 2) rpm -qa show samba and swat both installed I need to take a step back and think for a bit, because I am confused, just want to use SWAT. Any help is appreciated! Have a good day. *** So today in /etc/xinetd.d/swat I changed the value from localhost to the static IP address and now 901 has a non null directory. cheers Thanks-- Kevin McCarty CCNP CCNA #CSCO10448370 Computer Sciences Corporation Defense Sector Obstacles are those annoying little bumps that occur when you take your eyes off your goals Henry Ford John H Terpstra jht @samba.org 02/26/2003 11:53 AM To: Kevin C McCarty/DEF/[EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: [Samba] Swat, not there On Wed, 26 Feb 2003, Kevin C McCarty wrote: Morning list, I asked yesterday if anyone has had an error message stating the cannot open swat, directory is empty? All packages are showing installed. Can some please respond? Ok. Here is a response. We all saw your request yesterday, but put yourself in our position. How would you answer? From your posting it is not at all clear: 1. What is your platform? 2. What version of Samba? 3. Is this from a publicly available binary package? - if so, how did you install it? - what did you install? 4. Did you build the package yourself? - if so, how did you install it? - what did you do to enable SWAT? 5. What have you done so far to try to trace the cause of the problem? When I see a posting like yours my observation is that you have not done anything to help us to help you. Sorry to be so blunt. - John T. -- John H Terpstra Email: [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] Swat, not there
Kevin, That good that I was useful in some thing I took hours to decide this... ;-) It does not leave to take this information to who to need, ok? Brazilian Regard's Tiago Cruz Em Qua, 2003-02-26 às 14:57, Kevin C McCarty escreveu: Tiago, I had done that file, llike you had it, still no go. Then I changed the localhost to my IP and success. Gracias , Kevin McCarty CCNP CCNA #CSCO10448370 Computer Sciences Corporation Defense Sector -- Atenciosamente, Tiago Cruz Org. King de Contab. S/C Ltda. http://www.linuxrapido.kit.net Linux User #282636 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Get the USER to map home directory
Hi, Everybody, How I can map the home directory using the logon script, and without create a script for each user? What is the variable that I can use to get the userid, like @userid in Windows NT? Tks, Santhyago -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Swat, not there
On Wed, 26 Feb 2003, Kevin C McCarty wrote: Hey John,here is what I asked yesterday::: Ok. Apologies, I should have checked back. Glad you have it working. If I understand you correctly, with 'localhost' in there you could not get SWAT working on the machine itself either? Is that correct? - John T. *** Hello list! Been contemplating the idea of joining for a long time,,,so it's good to be here. Well I guess now is as good a time as any to pose a question. After reading the Faq's, I didn't find the answer.. Question:when opening the browser to view xxx.xxx.xxx.xxx:901 the error the directory is empty comes up. I have xinetd .d loaded, started, chkconfig --level 35 swat on ,,,testparm says things are there... Samba is loaded, /usr/sbin has the daemon, nmbd and smbd are started,, web server works, no restrictions...(apache 2) rpm -qa show samba and swat both installed I need to take a step back and think for a bit, because I am confused, just want to use SWAT. Any help is appreciated! Have a good day. *** So today in /etc/xinetd.d/swat I changed the value from localhost to the static IP address and now 901 has a non null directory. cheers Thanks-- Kevin McCarty CCNP CCNA #CSCO10448370 Computer Sciences Corporation Defense Sector Obstacles are those annoying little bumps that occur when you take your eyes off your goals Henry Ford John H Terpstra jht @samba.org 02/26/2003 11:53 AM To: Kevin C McCarty/DEF/[EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: [Samba] Swat, not there On Wed, 26 Feb 2003, Kevin C McCarty wrote: Morning list, I asked yesterday if anyone has had an error message stating the cannot open swat, directory is empty? All packages are showing installed. Can some please respond? Ok. Here is a response. We all saw your request yesterday, but put yourself in our position. How would you answer? From your posting it is not at all clear: 1. What is your platform? 2. What version of Samba? 3. Is this from a publicly available binary package? - if so, how did you install it? - what did you install? 4. Did you build the package yourself? - if so, how did you install it? - what did you do to enable SWAT? 5. What have you done so far to try to trace the cause of the problem? When I see a posting like yours my observation is that you have not done anything to help us to help you. Sorry to be so blunt. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Windows XP, samba 2.2.7a; delayed write failure
Hello all, Summary - - - - - - - - - - I am looking for suggestions, solutions, and assistance with a problem involving Windows XP in a samba-2.2.7a workgroup with domain logons and no PDC. Other WinXP clients don't seem to be affected, so I'm endeavoring to isolate what the problem could be. Detailed Notes - - - - - - - - - - - I have a windows XP client. It was once a Windows XP client with service pack 1, and was reinstalled as Windows XP only. - Because of the increased compatibility with windows XP clients, I choose to upgrade from 2.2.1(?) to the current release, and now have a samba-2.2.7a server. - The service has been operating flawlessly with many other Windows clients including other Windows XP clients for months/years. - The windows XP client will initially appear to operate normally as an SMB client for writing new files, but will repeatedly and stubbornly refuse to properly write temporary files upon file save e.g., Word and Excel. - I (with my site contact) have tested the Windows XP clients (both vanilla installation and service pack 1 installation) with the WinXP_SignOrSeal.reg registry hack. No change in behaviour with/without this hack, but I guess that this has to do with domain logon behaviour. - some relevant global options: domain master = yes preferred master = yes domain logons = yes wins support = yes - The windows XP client has no problem browsing files on the samba shares with Windows Explorer. - The various error messages returned by the windows XP client during the entire testing procedure are: Client redirector does not calculate the SMB signature properly. (before registry tweak, I think?) The save failed due to out of memory or diskspace. (only from WinXP without service pack) Delayed write failed. (in all testing cases) Microsoft Solution - - - - - - - - - - I have found the following resources that purport to address this issue: M$ knowledge base article discussing the Delayed Write Failed error, but restricted to Windows 2000 (Server,Advanced Server,Professional) installations. http://support.microsoft.com/default.aspx?scid=kb;en-us;321733 This MSKB suggests changing the following parameter on the server: HKLM\System\CurrentControlSet\Services\lanmanserver\parameters enablesecuritysignature=0 However, I find no such parameter or discussion of such parameter (naturally) in the samba docs, because of course, I'm running Samba, not a WinNT server. Questions: - - - - - - - - - - Has anybody experienced this problem elsewhere? Can anybody point out a potential solution? Did I miss a crucial setting or documentation point? And, as always, thanks to the Samba team for this reliable software, and thanks in advance for any responses or suggestions. -Martin -- Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: [expert] Brainstorm - add user script in Samba-LDAP
BINGO!! I've got the answer to this. On a Samba-LDAP PDC, no matter what the 'add user script' will not be executed if you are using the wrong port for the ldap server. No error code, no nuthin. A simple change from ldap port = 636 to ldap port = 389 fixed everything. Jim C wrote: add user script = /usr/share/samba/scripts/smbldap-useradd.pl -w -d ... wonder if this could be fixed by re-installing them? Jim C. Key words so others can find this email: Samba LDAP PDC Perl script -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] printing using SAMBA-OSX and XP Network
mailto:[EMAIL PROTECTED] Hi, I want to use SAMBA for printing on the Mac in OSX. I downloaded the files. Now, do any of you know where I can get the information-(url) on setting up the Printers using SAMBA? Best Regards, DW -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] printing using SAMBA-OSX and XP Network
On Wednesday, February 26, 2003, at 01:42 PM, Dawn wrote: I want to use SAMBA for printing on the Mac in OSX. I downloaded the files. Now, do any of you know where I can get the information-(url) on setting up the Printers using SAMBA? I don't think that OS X can use a Windows or Samba shared printer without an addon product such as 'Dave'. Your Mac already has a version of Samba installed - installing a later version from samba.org will not help with printing. I suggest you instead investigate the use of CUPS for printing to network printers on UNIX/Linux boxes. If your printer is on a Windows 2000/XP system, you can install the LPD print server from Microsoft, and use CUPS to print to that as well. I do that all the time with my iBook to print to Samba and Windows shared printers... -- Jim Morris ([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] Get the USER to map home directory
If you open a DOS window and type 'set', you will see a list of variables that NT uses. Santhyago Bueno Gallão ([EMAIL PROTECTED]) wrote*: Hi, Everybody, How I can map the home directory using the logon script, and without create a script for each user? What is the variable that I can use to get the userid, like @userid in Windows NT? Tks, Santhyago -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba corrupting files
Chris, I am about to implement a MS Access2000 database here on the samba server. Was it MS Access that you had the trouble with specifically? Chris de Vidal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Parker, Robin [EMAIL PROTECTED] wrote: We're now getting corrupt files appearing in ClearCase. The files are in tact except for a number of lines added to the beggining of the file. I can't explain that type of corruption, but I can suggest you disable all oplocks. In your smb.conf global section, 'kernel oplocks = No', and on each share specify 'oplocks = No' and 'level2 oplocks = No'. I'm not a member of the Samba team but a Linux administrator whose primary responsibility is several Samba servers. We had corruption on several large flat database files. When we disabled all oplocks, our databases no longer corrupted. I've not been able to test which oplock setting of the three was causing this problem (or if it was all three) so I suggest you try disabling them all at once and then gradually re-enabling them one at a time. If that doesn't fix it, be sure to set them back, as oplocks are a performance boost. Good luck, /dev/idal __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Use the integrated Samba in SPARC Solaris 9 or a laterversion?
Hello, I am new to Samba. It is now included into the OS of Solaris 9. Has anyone used this version? It would save me time if other users know of any quirks or other problems. All the Samba info on Solaris 9 is general and does not relate to this integrated version (v.2.2.2) Thanks, Don ### Donald F. Parsons MB.BS, Ph.D, Research Physician,Wadsworth Ctr NY State Dept of Health, ESP Box 509, Albany NY 12201-0509 [EMAIL PROTECTED] (518)474-7047 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba corrupting files
I'd heard of people having the same issues with Access but our problem was wit FoxPro db files. You should probably disable oplocks in Windows or in Samba for Access (or any large multi-user read-write) files due to weirdness in the SMB protocol. /dev/idal --- Brent Torrenga [EMAIL PROTECTED] wrote: Chris, I am about to implement a MS Access2000 database here on the samba server. Was it MS Access that you had the trouble with specifically? Chris de Vidal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Parker, Robin [EMAIL PROTECTED] wrote: We're now getting corrupt files appearing in ClearCase. The files are in tact except for a number of lines added to the beggining of the file. I can't explain that type of corruption, but I can suggest you disable all oplocks. In your smb.conf global section, 'kernel oplocks = No', and on each share specify 'oplocks = No' and 'level2 oplocks = No'. I'm not a member of the Samba team but a Linux administrator whose primary responsibility is several Samba servers. We had corruption on several large flat database files. When we disabled all oplocks, our databases no longer corrupted. I've not been able to test which oplock setting of the three was causing this problem (or if it was all three) so I suggest you try disabling them all at once and then gradually re-enabling them one at a time. If that doesn't fix it, be sure to set them back, as oplocks are a performance boost. Good luck, /dev/idal __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba problems in RH8 and 98/Me
ok, I fixed the file permissions problem using chown... which is good. now, I am still having the problem in WIndows 98/Me. samba keeps prompting for a password to: //netbiosname//:IPC$ what in the heck is :IPC$ it works fine in windows XP or 2000, so what am I doing wrong that it doesn't work in 98/Me? I tried reinstalling windows me on my daughters computer and running the windows XP network setup wizard from the windows XP CD, still same problem.:( is :PC$ a guest account or something? I don't get it.. ___ Sent by ePrompter, the premier email notification software. Free download at http://www.ePrompter.com. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] How soon will samba be able to act as an Active DirectoryServer?
I checked the release notes of samba 3.0, it seems that now samba can act as a Active Directory client and join to a domain. How soon will samba be able to act as an Active Directory server? I read the presentation from CIFS 2000 conference, and it's my understanding that this functionality is under development, right? Thanks, Y.Ma - Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, and more -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Scripting with smbpasswd
Martin I'm not a programmer but my tests revealed the same result as yours. The encrypted password remains the same if you enter the old password again. Actually I was trying to use this to advantage by storing it in a history file for a ten or twelve values and comparing new to old to produce something like Nt4s password history check. want to give it a try? Richard Coates. On Thu, 2003-02-27 at 00:07, Maarten Buiter wrote: Hi All, I'm writing a website on which users can change their Samba-password. I therefore use the smbpasswd-utility which I execute through the PHP function system (or exec, it doesn't really matter). I have to use the -s switch for smbpasswd to enable it to read input from STDIN, which I redirect to read the information from a file. I execute: /usr/local/samba/bin/smbpasswd -r ldap.domain.org -s -U maarten /tmp/password.txt and the file password.txt contains the old password, and twice (or once, also doesn't seem to matter) the new password formatted like this: oldpassword newpassword newpassword. The output from smbpasswd is: 'Password changed for user maarten', which looks quite OK to me. But... the encrypted password does not at all look like the encrypted 'newpassword' as would be generated by a 'manual' run of smbpasswd. Worse, every time I use another 'newpassword' the encoding of its encrypted equivalent remains the same. Does anybody know what I'm doing wrong? I probably feed the passwords to smbpasswd totally wrong, but, how should it be done? Many, many thanks in advance! Maarten -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Samba corrupting files
If your going to be using samba to host foxpro files, I think you should deffinately update to a newer version.. I forget at what recent point in time, but Jerry announced a very important fix (spin locks?) that were checked in recently to prevent fox pro database corruption. I don't think it has anything to do with the log files appearing in data files problem, but I haven't heard about that one in a long time. And as for your Unix Administrator giving you a hard time about Sun not providing the packages,,, well, I don't know what to say about that one. You may want to politely suggest that Sun does not, in fact, develop Samba, so their official ok doesn't really count for much when Samba devel team acknowledges serious data corruption bugs that have been fixed. If he/she doesn't get the hint, you may have to escalate the issue with management. This probably comes down to some kind of support contract in regards to what software is allowed to be installed on the Server. But if your company's support contract locks you into software with known data corruption issues, I have to question the value of that contract. If there are no such contractual limitations, I question the competance of admin who will not update the software if required to do so. Feb 26 6:06pm They hang the man and flog the woman That steal the goose from off the common, But let the greater villain loose That steals the common from the goose. --English folk poem, circa 1764 On Wed, 26 Feb 2003, Chris de Vidal wrote: I'd heard of people having the same issues with Access but our problem was wit FoxPro db files. You should probably disable oplocks in Windows or in Samba for Access (or any large multi-user read-write) files due to weirdness in the SMB protocol. /dev/idal --- Brent Torrenga [EMAIL PROTECTED] wrote: Chris, I am about to implement a MS Access2000 database here on the samba server. Was it MS Access that you had the trouble with specifically? Chris de Vidal [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] --- Parker, Robin [EMAIL PROTECTED] wrote: We're now getting corrupt files appearing in ClearCase. The files are in tact except for a number of lines added to the beggining of the file. I can't explain that type of corruption, but I can suggest you disable all oplocks. In your smb.conf global section, 'kernel oplocks = No', and on each share specify 'oplocks = No' and 'level2 oplocks = No'. I'm not a member of the Samba team but a Linux administrator whose primary responsibility is several Samba servers. We had corruption on several large flat database files. When we disabled all oplocks, our databases no longer corrupted. I've not been able to test which oplock setting of the three was causing this problem (or if it was all three) so I suggest you try disabling them all at once and then gradually re-enabling them one at a time. If that doesn't fix it, be sure to set them back, as oplocks are a performance boost. Good luck, /dev/idal __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Guest Account causing lod.winbindd messages
RedHAt 8,0 samba 2.2.7-2 from redhat rpms. This box is a file server for approximately 45 XP clients and is fairly active. Windbind is used to authenticate users from the pdc for the domain DOMAIN and works swimmingly. Beats the pants off the NT4 box tht it replaced two weeks ago. More of an irritation than anything, but the winbindd log is filling with messages like this: [2003/02/26 14:42:41, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(121) user 'nobody' does not exist [2003/02/26 14:45:37, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(121) user 'nobody' does not exist Hmmm says I. I wonder why nobody is trying to access this sever so I did some looking through the docs and archives and found that the guest account defaults to nobody so I changed it to the guest account on the domain to see if that changed anything. Now the log is filling up with messages like this: [2003/02/26 17:38:28, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(121) user 'DOMAIN+GUEST' does not exist [2003/02/26 17:38:29, 1] nsswitch/winbindd_user.c:winbindd_getpwnam(121) user 'DOMAIN+GUEST' does not exist Well this is progress since now we know it is indeed caused by guest logins. THe only reverence to guest in the smb.conf is what I added to day: The NT Administrator tells me that as a matter of policy guest has no rights on corporate shares, or did he tell me that it was disabled? Something like that. So we purposely left it out of smb.conf file. BTW getent finds guest ok [EMAIL PROTECTED] samba]# getent passwd|grep guest DOMAIN+Guest:x:10051:10003::/home/winnt/DOMAIN/guest:/bin/bash IIUC the default samba behavior is to disallow guest access anyway, so what is the deal? any ideas? the following is my smb.conf. # Samba config file created using SWAT # Modified 2003/02/13 # Date: 2003/02/04 08:56:20 # Global parameters [global] log file = /var/log/samba/%m.log passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 obey pam restrictions = Yes wins server = 10.0.0.229 domain master = No encrypt passwords = Yes winbind uid = 1-2 passwd program = /usr/bin/passwd %u template shell = /bin/bash dns proxy = No netbios name = SOLIN printing = lprng #added by BAH 20030226 guest account = DOMAIN+GUEST server string = SOLIN password server = SOCOMM winbind gid = 1-2 unix password sync = Yes template homedir = /home/winnt/%D/%U local master = No workgroup = DOMAIN security = domain preferred master = no winbind separator = + pam password change = Yes log level = 1 [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [ADMIN] path = /admin read only = No browseable = No #valid users = @DOMAIN+Domain\ Users [APPS] path = /apps read only = No force create mode = 0774 force directory mode = 0774 [TEMP] path = /tmp read only = No Thanks Bret -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Domain Login
Okay, I'm really starting to run out of ideas here. Any help would really be handy. I'm looking after a small network, clients are running win2000 SP3 and a Linux Server running samba, doing domain logins. Everything is working fine apart from two machines (from ten). Probably once a week one of them will fail to login in after a reboot or log off. If any user tries to login into the domain it comes up with the error The system cannot log you on to the domain because the systems computer account in its primary domain is missing or the password on that account is incorrect. Now the fix for this is simple enough. I log into the local machine put the workstation back to a workgroup, reboot, log in and re-add the computer to the domain and every ones happy ( for a week or so). I've re-imaged the machines from one of the machines on the network that doesn't exhibit the problem and sure enough, after a week or so, down she goes. I've physically swapped one of the failing machines out for a working one and shortly after the new machine is failing again. There is no difference in the software or hardware between any of the machines on the network, all part of the same roll out, all on the same image. All of the machines except for one have done had this problem, but only once, after I put them to workgroup then back to domain they're happy and have been for six months, it's just these two machines that keep doing it. The two failing machines are not near each other but they are occasionally used by the same user. I've got the logs if that will help people. Any help really apreciated, Finn. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] win2k usernames with spaces
Hi all, one of the win2k clients of my network uses an ID with one space inside, e.g. jack smith. I succeeded in creating a Linux user with such a name, but have troubles in adding him to the smb users. Any suggestion? PS Running RH 8.0 Samba 2.2.5 When i had RH 6.2 Samba ?.?.? the trick worked out. Thanx maq -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Domain Login
What did you use to do the roll out? Ghost? big question... did you change the SIDs? Ghostwalker or Sysprep? I saw this problem way back before I knew anything about NT. Jim - Original Message - From: Finn Blucher [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 7:21 PM Subject: [Samba] Samba Domain Login Okay, I'm really starting to run out of ideas here. Any help would really be handy. I'm looking after a small network, clients are running win2000 SP3 and a Linux Server running samba, doing domain logins. Everything is working fine apart from two machines (from ten). Probably once a week one of them will fail to login in after a reboot or log off. If any user tries to login into the domain it comes up with the error The system cannot log you on to the domain because the systems computer account in its primary domain is missing or the password on that account is incorrect. Now the fix for this is simple enough. I log into the local machine put the workstation back to a workgroup, reboot, log in and re-add the computer to the domain and every ones happy ( for a week or so). I've re-imaged the machines from one of the machines on the network that doesn't exhibit the problem and sure enough, after a week or so, down she goes. I've physically swapped one of the failing machines out for a working one and shortly after the new machine is failing again. There is no difference in the software or hardware between any of the machines on the network, all part of the same roll out, all on the same image. All of the machines except for one have done had this problem, but only once, after I put them to workgroup then back to domain they're happy and have been for six months, it's just these two machines that keep doing it. The two failing machines are not near each other but they are occasionally used by the same user. I've got the logs if that will help people. Any help really apreciated, Finn. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Domain Login
On Thu, 27 Feb 2003, Finn Blucher wrote: Finn, What version of Samba are you running? Please email me your smb.conf file off line to [EMAIL PROTECTED]. - John T. Okay, I'm really starting to run out of ideas here. Any help would really be handy. I'm looking after a small network, clients are running win2000 SP3 and a Linux Server running samba, doing domain logins. Everything is working fine apart from two machines (from ten). Probably once a week one of them will fail to login in after a reboot or log off. If any user tries to login into the domain it comes up with the error The system cannot log you on to the domain because the systems computer account in its primary domain is missing or the password on that account is incorrect. Now the fix for this is simple enough. I log into the local machine put the workstation back to a workgroup, reboot, log in and re-add the computer to the domain and every ones happy ( for a week or so). I've re-imaged the machines from one of the machines on the network that doesn't exhibit the problem and sure enough, after a week or so, down she goes. I've physically swapped one of the failing machines out for a working one and shortly after the new machine is failing again. There is no difference in the software or hardware between any of the machines on the network, all part of the same roll out, all on the same image. All of the machines except for one have done had this problem, but only once, after I put them to workgroup then back to domain they're happy and have been for six months, it's just these two machines that keep doing it. The two failing machines are not near each other but they are occasionally used by the same user. I've got the logs if that will help people. Any help really apreciated, Finn. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Domain Controller problem
Hello, I have win2k client joined a samba domain controller (on solaris), i could join the domain succuessfully, but after a reboot, it said 'A duplicate name exists on the network', whenever users tried to login, it returned an error said the Domain is not available. What did I do wrong? Alan. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Domain Controller problem
On Wed, 26 Feb 2003, Alan Lai wrote: Hello, I have win2k client joined a samba domain controller (on solaris), i could join the domain succuessfully, but after a reboot, it said 'A duplicate name exists on the network', whenever users tried to login, it returned an error said the Domain is not available. What did I do wrong? Ok. So what is your domain name? What are the names of your hosts? I mean of course, the NetBIOS machine names! - John T. -- John H Terpstra Email: [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] Domain Controller problem
Hello John, My domain name was 'alpha', now i changed to 'alpha-lan' the clients netbios name is 'dmi', currently only 1 client this thing has never worked on my network. here also attached w/ my smb.conf Thank you for your help Alan On Thu, 27 Feb 2003, John H Terpstra wrote: On Wed, 26 Feb 2003, Alan Lai wrote: Hello, I have win2k client joined a samba domain controller (on solaris), i could join the domain succuessfully, but after a reboot, it said 'A duplicate name exists on the network', whenever users tried to login, it returned an error said the Domain is not available. What did I do wrong? Ok. So what is your domain name? What are the names of your hosts? I mean of course, the NetBIOS machine names! - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] my smb.conf file
ok here is my smb.conf file.. its basically the default for RH8 with a few additions like writable = yes for users to be able to write to their directories and such.. this .conf file works fine in XP, its just Windows Millennium I am having problems with.. Windows Me keeps prompting for a password at: //TopGun/:IPC$ TopGun is my netbiosname.. I have no clue what IPC$ is, encrypt passwords =yes but I am going to try that windows 98 hack (should work for windows Me as well I hope) to see if that fixes the problem.. I sure hope so.. samba in my case, is being used with my apache 2.0 webserver so that local users on the LAN can upload their websites to their webpage without having to use FTP.. my website is at: http://www.tcoburn.com and each of my users have a website as tcoburn.org/~username. I just want this to work so my users can upload their websites to their /home/username/public_html directories rather they are using WIndows Me, or Windows XP thats all I'm trying to do.. I am using a Linksys router using DHCP and I have a static IP that tcoburn.com points to. all this works fine in XP with this smb.conf file, just windows Me I'm having a problem with smbpasswd users and passwords are created and work fine in XP.. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba Domain Login
i like Jim's response about the SIDs if in fact you have taken care to be sure that the SIDs are unique I'd guess that for some reason the automatic password changing that windows does on machine accounts every few days is intermittently failing. Do the windows logs have anything about that in them? what about the samba logs? brad -- Bradley W. Langhorst [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] win2k usernames with spaces
On Wed, 2003-02-26 at 19:41, maq wrote: Hi all, one of the win2k clients of my network uses an ID with one space inside, e.g. jack smith. I succeeded in creating a Linux user with such a name, but have troubles in adding him to the smb users. Any suggestion? did you try jack\ smith ? i've never tried this.. another option would be to set up a user mapping between jack smith and jack_smith I think most unix stuff will not deal well with the spaces in the names brad -- Bradley W. Langhorst [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] win2k usernames with spaces
On Thu, 26 Feb 2003, Bradley W. Langhorst wrote: On Wed, 2003-02-26 at 19:41, maq wrote: Hi all, one of the win2k clients of my network uses an ID with one space inside, e.g. jack smith. I succeeded in creating a Linux user with such a name, but have troubles in adding him to the smb users. Any suggestion? did you try jack\ smith ? i've never tried this.. another option would be to set up a user mapping between jack smith and jack_smith I think most unix stuff will not deal well with the spaces in the names Best work-around is to create a Linux user without the space (eg: jacks), then in smb.conf [globals] put: usename map = /etc/samba/smbusers and in /etc/samba/smbusers: root = administrator jacks = Jack Smith - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Static Winbind SID to uid gid mapping
Hi, Winbind currently allocates uid gid's on a first found first allocated basis. When new users get added the get tacked on the end seqentially etc Forgive me if I'm wrong but couldn't the the last set of digits in the SID be used to generate the unix uid's and gid's For example two users on the same domain have SID's like: S-1-6-24-123456789-0123456789-9876543210-3616 and S-1-6-24-123456789-0123456789-9876543210-3624 An algorithm like: uid=base_uid+last_digits_of_SID; where base_uid=1 etc. This is how the mkpasswd/mkgroup utility that comes with cygwin works. This would mean that the mappings would remain constant for all winbind gremlins in the network. Has anyone made a patch for such an arrangement ? I'd be interested to hear. Matt. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NT roaming profiles unable to be updated
We have recently upgraded from Samba 2.0.4 to 2.2.7 on our test machine with a view to using W2K and WXp clients. We are using Samba on Solaris 7 version of Unix. Our client PC's are all NT 4, SP5. We have a default profile for users who login and load the major application (they don't see any of the NT desktop or have access to the Start button). Other users who have access to the desktop have their own profile in the ntconfig.pol file. Everything was as it should be with Samba 2.0.4. Users could save their mapped drives, run server and local applications. With Samba 2.2.7, the users can login, however, their previously stored mappings are no longer available. When they go to map a drive (say, thru Windows Explorer), they receive a NT message box 'Cannot change your save connection settings'. They can map to the drive during their current session, however, (as the message says) the setting are lost on subsequent logon sessions. Those users who loaded and ran the major application after logging on, now go straight to the desktop. We have set the permissions on the ../home/user_home to 777 (their profile is stored in here), but this has made no difference. We have created a new ntconfig.pol file (all default options), this has made no difference. I do not want to stay at Samba 2.0.4, I need to upgrade to 2.2.7. We have searched thru various forums for possible solutions, but have found none. This is my first posting to this group, which i am hoping can point me in the correct direction to resolve this challenge. I feel like the sailor with one foot on the boat and the other on the jetty and unsure which way to jump. TIA Greg Hobson ** This e-mail and any attachments may contain confidential or privileged information. If you are not the intended recipient, please contact the sender immediately and do not use, store or disclose their contents. Any views expressed are those of the individual sender and not of Pertech Holdings Pty Ltd unless otherwise stated. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NT roaming profiles unable to be updated
please post your smb.conf file and let use know where your profiles are stored. [EMAIL PROTECTED] writes: We have recently upgraded from Samba 2.0.4 to 2.2.7 on our test machine with a view to using W2K and WXp clients. We are using Samba on Solaris 7 version of Unix. Our client PC's are all NT 4, SP5. We have a default profile for users who login and load the major application (they don't see any of the NT desktop or have access to the Start button). Other users who have access to the desktop have their own profile in the ntconfig.pol file. Everything was as it should be with Samba 2.0.4. Users could save their mapped drives, run server and local applications. With Samba 2.2.7, the users can login, however, their previously stored mappings are no longer available. When they go to map a drive (say, thru Windows Explorer), they receive a NT message box 'Cannot change your save connection settings'. They can map to the drive during their current session, however, (as the message says) the setting are lost on subsequent logon sessions. Those users who loaded and ran the major application after logging on, now go straight to the desktop. We have set the permissions on the ../home/user_home to 777 (their profile is stored in here), but this has made no difference. We have created a new ntconfig.pol file (all default options), this has made no difference. I do not want to stay at Samba 2.0.4, I need to upgrade to 2.2.7. We have searched thru various forums for possible solutions, but have found none. This is my first posting to this group, which i am hoping can point me in the correct direction to resolve this challenge. I feel like the sailor with one foot on the boat and the other on the jetty and unsure which way to jump. TIA Greg Hobson ** This e-mail and any attachments may contain confidential or privileged information. If you are not the intended recipient, please contact the sender immediately and do not use, store or disclose their contents. Any views expressed are those of the individual sender and not of Pertech Holdings Pty Ltd unless otherwise stated. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba Kyle Loree Rendek Communications [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Short file names
I'm experiencing a very weird problem that I have been unable to solve. Basically I have a laptop running RH8 with samba installed. When I try access a share from one of my WinXP boxes I get told that the share doesn't support long file names. Now if I access my laptop share from an NT or another Linux box I can use the share with long filenames. First I thought it was the samba config on the laptop so I matched it with what I had on the RH7 box - nada. Then I tried using latest version of samba - nada. I assume it will be something with the XP box but what not sure. Google hasn't been as friendly as usual so any help would be appreciated. Thanks Nick __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] NT roaming profiles unable to be updated
The profiles is located in each users home directory on the Samba Server in /u02/home/user_name Ntconfig.pol is located in /u02/home/NetLogon The smb.conf file is: # Samba config file created using SWAT # from 10.11.12.31 (10.11.12.31) # Date: 2003/02/22 11:03:43 # Global parameters [global] workgroup = SWCL netbios name = SWCL-SUN server string = SWCL Samba Server (Test) encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *password* %n\n *password* %n\n *successfull* unix password sync = Yes log file = /tmp/smb.log logon script = %U.bat domain logons = Yes preferred master = Yes local master = No domain master = Yes wins support = Yes [homes] comment = Home Directories read only = No browseable = No [Share] comment = TABS Shares path = /u02/home/share read only = No [netlogon] comment = NetLogon directory path = /u02/home/NetLogon locking = No [tabrpt] comment = TABS Additional Reports System (TARS) path = /u02/home/tabrpt valid users = lenita_a hobsong financ_s shirle_o pcadmin margar_m john_q cassie_a write list = lenita_a hobsong financ_s shirle_o margar_m pcadmin root john_q cassie_a read only = No create mask = 0774 directory mask = 0775 [RouteMap] comment = SWCL Route Maps path = /u02/home/RouteMap valid users = lenita_a hobsong pcadmin john_q map_2 write list = lenita_a hobsong pcadmin root john_q map_2 create mask = 0774 directory mask = 0775 [Corporate] comment = SWCL Corporate Directory path = /u02/home/Corporate valid users = lenita_a hobsong pcadmin shirle_o john_q write list = lenita_a hobsong pcadmin shirle_o john_q create mask = 0775 directory mask = 0775 [Public] comment = SWCL Public Directory path = /u02/home/Public read only = No create mask = 0777 directory mask = 0777 [WinFlex] comment = WinFlex and AESTracs data Backup Directory path = /u02/home/WinFlex valid users = WinFlex pcupdate pcadmin hobsong admin users = WinFlex pcupdate pcadmin hobsong read only = No create mask = 0777 directory mask = 0777 -Original Message- From: Kyle Loree [mailto:[EMAIL PROTECTED] Sent: Thursday, 27 February 2003 1:33 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] NT roaming profiles unable to be updated please post your smb.conf file and let use know where your profiles are stored. [EMAIL PROTECTED] writes: We have recently upgraded from Samba 2.0.4 to 2.2.7 on our test machine with a view to using W2K and WXp clients. We are using Samba on Solaris 7 version of Unix. Our client PC's are all NT 4, SP5. We have a default profile for users who login and load the major application (they don't see any of the NT desktop or have access to the Start button). Other users who have access to the desktop have their own profile in the ntconfig.pol file. Everything was as it should be with Samba 2.0.4. Users could save their mapped drives, run server and local applications. With Samba 2.2.7, the users can login, however, their previously stored mappings are no longer available. When they go to map a drive (say, thru Windows Explorer), they receive a NT message box 'Cannot change your save connection settings'. They can map to the drive during their current session, however, (as the message says) the setting are lost on subsequent logon sessions. Those users who loaded and ran the major application after logging on, now go straight to the desktop. We have set the permissions on the ../home/user_home to 777 (their profile is stored in here), but this has made no difference. We have created a new ntconfig.pol file (all default options), this has made no difference. I do not want to stay at Samba 2.0.4, I need to upgrade to 2.2.7. We have searched thru various forums for possible solutions, but have found none. This is my first posting to this group, which i am hoping can point me in the correct direction to resolve this challenge. I feel like the sailor with one foot on the boat and the other on the jetty and unsure which way to jump. TIA Greg Hobson ** This e-mail and any attachments may contain confidential or privileged information. If you are not the intended recipient, please contact the sender immediately and do not use, store or disclose their contents. Any views expressed are those of the individual sender and not of Pertech Holdings Pty Ltd unless otherwise stated. ** -- To unsubscribe from this list go to the following URL and read the instructions:
[Samba] (reposting) Yo!! Anyone knows how WinXP can join Samba PDCrunning on FreeBSD ?
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] performance problem with Samba built with pread/pwrite on HP-UX 11.11
Hi everyone, One of my teammates here at HP uncovered this, and I thought it deserved proactive mention on the list: It covers non-HP builds of Samba, so HP CIFS Server (HP's version of Samba bundled with all 11.0 and above OS'es) customers are not directly affected but those of you on the list who might build Samba yourselves on 11.11 could be affected. Customers building their own Samba server can find that on 11.11 the performance is slower than on 11.0 when testing with smbtorture, and possibly slower in production. The HP produced Samba version did not have this performance drop, because the HP version did not use pread/pwrite calls. Also note that the problem only affects systems running on top of JFS file systems. Version 2.2.2 Samba can be built to use system calls pread/pwrite, instead of using a combination of lseek (to move the pointer in the file), and read/write. The pread/pwrite calls are fairly new to the HP-UX world, introduced first in 11.11, and in a patch PHKL_20349 in 11.0. The Samba build process will check if these calls are provided by the OS, and if they are use enable their use prior to the compilation step. So under 11.11 the use of these calls would be enabled by default. The reason for HP not using pread/pwrite is historic, 11.0 did not have pread/pwrite on release, and to keep the source trees the same, the 11.11 version was also build in the same way. The newly released JFS patch is PHKL_28512 for 11.11 to address a problem with pwrite calls and should be considered for installation on any Samba system using the public domain builds of Samba, that have pread/pwrite enabled. One caveat though - this problem was only found under testing using smbtorture - so we have don't have a handle how big an issue this could be in a production environment. But to give you an idea of the difference in tests we found using pwrite would be over 20 times slower than the lseek/write combinations. We also created a test program that made extensive use of pread/pwrite calls. After applying the patch this test program which would return in less than one second, previously the same executable would take over 4 minutes to run. Just to reiterate this patch does not affect the performance of HP CIFS Server, and is not necessary for systems running this version of Samba on 11.11. 11.0 systems are not affected by this issue, with OR without pread/pwrite. Hope this info may be useful to someone out there! Don -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
ports in samba
Greetings, What is the difference between two ports on which samba listens for TCP 139 and 445. -DJ __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
problem retrieving level 3 info for NT printer drivers
Hi folks, mentioned this briefly on samba@ about a week ago, but I've actually done some tracking on it now. I'm still digging, but this is a summary of what I've found. symptoms: doing rpcclient SERVER enumdrivers level 3 fetches information for the Windows 9x drivers, then stalls trying to retrieve the NT information, before returning a timeout message. Level 1 and 2 work fine. I ran ethereal and poked at the traces some, and this is what I get: client: EnumPrinterDrivers request level 3 server: EnumPrinterDrivers reply, Insufficient Buffer client: EnumPrinterDrivers request level 3 (this time with a buffer) server: EnumPrinterDrivers reply At this point, I have the Windows 4.0 drivers. client: EnumPrinterDrivers request level 3 server: EnumPrinterDrivers reply, Insufficient Buffer client: DCERPC request server: no apparent response client: SMB WriteAndXRequest server: SMB WriteAndXResponse server: SMB WriteAndXResponse client: SMB WriteAndXRequest client: SMB WriteAndXRequest and that's about it. Error message goes hereabouts. Having looked at the DCERPC request above, it appears to be contained in a SMB WriteAndXRequest whereas the corresponding request with a buffer for the Windows 4.0 drivers is a Transaction request. Also, the DCERPC request appears to have the necessary bits appended after the DCERPC header to make it a SPOOLSS request (as I'd expect) with the required amount of buffer space, but ethereal certainly doesn't want to read it as such, and my knowledge of SMB is pretty minimal. My theory, such as it is, is that the buffer size is too big, for some arbitrary meaning of the phrase too big. It's a 16452-byte buffer, where the Windows 4.0 buffer size was something like 2400 bytes. I'm going to play around with buffer sizes and see if I can at least get the message sequences the way I'd expect 'em, but any light-shedding would be appreciated :) Cheers, Waider. -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. Your broker is a half-naked blue-and-orange crypto-anarchist? - Neal Stephenson / The Great Simoleon Caper
[PATCH] fix: id_sid cache
Hi Jeremy, I have a little fix for the id_sid cache, to correct return the sidtype. metze - Stefan metze Metzmacher [EMAIL PROTECTED] uid.c-02.diff Description: Binary data
client: browse doesn't work with only win98 in workgroup
It appears that name_resolve_bcast() does not find hosts in a workgroup if there are only win98 or win95 machines in the workgroup. The request sent to 192.168.1.255 receives no response. If there is a win2000 machine in the workgroup (and thus it is the master browser), a proper response is received to the request sent to 192.168.1.255. Here's a trace with only a win98 machine in the workgroup, showing the lack of response. I would greatly appreciate hearing how to browse for servers in a workgroup with only win98 or win95 machines in the workgroup! In this trace, the workgroup in question is LIPMAN. Although I'm doing this with smbsh, client debugging is enabled and the calls to name_resolve_bcast() are shown... -- smbsh$ smbsh -n -d 9 smbw_path(.) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/. smbw_path(.) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/. smbw_path(./smbsh) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/./smbsh cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/smbsh smbw_path(./smbsh) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/./smbsh cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/smbsh fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful Initial cwd is /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1304) fcntl_lock 8191 14 0 1 1 [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1342) fcntl_lock: Lock call successful [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1304) fcntl_lock 8191 13 0 1 2 [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1342) fcntl_lock: Lock call successful [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1304) fcntl_lock 8191 14 0 1 1 [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1342) fcntl_lock: Lock call successful [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1304) fcntl_lock 8191 13 0 1 2 [2003/02/26 09:31:39, 8] lib/util.c:fcntl_lock(1342) fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful Initial cwd is /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin smbw_path(.) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/. smbw_path(.) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/. smbw_path(.) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/. smbw_path(./smbsh) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/./smbsh cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/smbsh smbw_path(./smbsh) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/./smbsh cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/smbsh smbsh$ ls /smb/LIPMAN smbw_path(.) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/. smbw_path(.) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/. smbw_path(./ls) cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/./ls cleaning /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin/ls fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful Initial cwd is /fiona/home/derrell/samba-2.2.7.sandbox-djl/source/bin smbw_path(/smb/LIPMAN) cleaning /smb/LIPMAN stat(/smb/LIPMAN) cleaning /smb/LIPMAN fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2 fcntl_lock: Lock call successful fcntl_lock 8191 14 0 1 1 fcntl_lock: Lock call successful fcntl_lock 8191 13 0 1 2
Long file names in Samba tests
Sadly, the system on which I labor supports only a 32-byte limit for a filename. This seemed plenty when we designed the file system in 1980... I've finally gotten the builds to get to the point where they can run the test suite, and I have discovered that the (head/3.0) shell script tries to create names of the form: basicsmb.smb.conf.hostsdeny.template (36 bytes). basicsmb.smb.conf.preexec_cl_fail.template (42 bytes). Would anyone object if I submit some patches to shorten such test suite file names to fit within 32 characters? Thanks PG -- Paul Green, Senior Technical Consultant, Stratus Technologies, Maynard, MA USA Voice: +1 978-461-7557; FAX: +1 978-461-3610 Speaking from Stratus not for Stratus
Samba 3.0 CVS: configure problem
I got the latest CVS copy of samba 3.0 today. I ran autogen.sh to create configure. And then I configured the system --with-quotas --with-acl-support. The configure script bombs when it gets to the part about test routines. It ends with: error: cant find test code. Aborting config I am including a gzipped copy of my config.log. The system is Solaris 9 x86. I installed the recommended GNU libiconv-1.8 in /usr/local yesterday. I tried configuring a CVS copy of Samba 3.0 from the 19th of February --with-libiconv=/usr/local. That configure failed in the same way, but configureing with only --with-quotas and --with-acl-support worked. I then tried the same with a copy from today the 26th. I cannot get configure to finish properly at all. I am not certain if the error is related to libiconv. That is why I included the log. Joe Meslovich [EMAIL PROTECTED] Associate Network/Systems Engineer IT Center Tel: (540) 828 - 5343 config.log.gz Description: Binary data
Re: ports in samba
On Wed, Feb 26, 2003 at 04:23:45AM -0800, D Jemms wrote: snip / What is the difference between two ports on which samba listens for TCP 139 and 445. Ports 137-139 serve SMB over NetBIOS over TCP/IP. This is the transport used by LANMAN versions before Windows 2000 (Windows 3.x, NT 3.x, NT 4.x, Windows 95/98/Me, etc.). Port 445 is Microsoft's direct SMB over TCP (no NetBIOS in the middle) the preferred method for Windows 2000 and XP - should be a cleaner way to work with, but I do not know it well yet... Correct me if I had any mistake here. -- Tom -- Tom Alsberg - hacker (being the best description fitting this space) Web page: http://www.cs.huji.ac.il/~alsbergt/ DISCLAIMER: The above message does not even necessarily represent what my fingers have typed on the keyboard, save anything further.
Re: [PATCH] Re: 3.0a21: net ads lookup for a child domain gotmessyoutput
This patch is definitely good. I'd like to see it tested more and also see it be rewritten to gracefully handle unexpected content. That's probably premature until we get a little more testing. It might still be a good idea to check it into HEAD. Anthony Liguori Linux/Active Directory Interoperability Linux Technology Center (LTC) - IBM Austin E-mail: [EMAIL PROTECTED] Phone: (512) 838-1208 Tie Line: 678-1208 Chere Zhou [EMAIL PROTECTED]To: Anthony Liguori/Austin/[EMAIL PROTECTED] cc: Jim McDonough/Portland/[EMAIL PROTECTED], [EMAIL PROTECTED] 02/25/2003 02:03 Subject: Re: [PATCH] Re: 3.0a21: net ads lookup for a PMchild domain got messy output Please respond to qzhou How about this new patch (as in the attachment). The change I made from your patch, is to add the while loop in pull_c_zero_string which was adopted from pull_dotted_string. Now my domains are all happy. Otherwise, a grandchild domain complains. I am posting this to samba-technical list, since I though it was what you intended to do, and we might get more testing of this. Chere On Monday 24 February 2003 01:21 pm, Anthony Liguori wrote: Lotus Notes won't let me send patches to the samba-technical list anymore (I've got to get a forwarding account it seems) but I haven't tested this patch enough to apply it to HEAD anyway. I know it works with your traffic though as I used your dumps as test data. This patch gives a _lot_ more information and makes various fixes. Note: the patch you submitted to the list doesn't actually work for domain controllers without forests. The 0xc0 stuff are deliminators for these strings. Let me know how this patch works out for you: (See attached file: net_ads_lookup.patch) Anthony Liguori Linux/Active Directory Interoperability Linux Technology Center (LTC) - IBM Austin E-mail: [EMAIL PROTECTED] Phone: (512) 838-1208 Tie Line: 678-1208 patch-net-ads-lookup has been removed from this note on February 26, 2003 by Anthony Liguori
RE: Samba 3.0 CVS: configure problem
It can't find libiconv.so.2. The test is bad because this should not have aborted configure. The clues are these lines: configure:20621: checking for test routines configure:20637: gcc -o conftest -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv 5 configure:20640: $? = 0 configure:20642: ./conftest ld.so.1: ./conftest: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1: 28954 Killed ./conftest$ac_exeext configure:20645: $? = 137 configure: program exited with status 137 configure: failed program was: [snip] configure:20655: error: cant find test code. Aborting config and now it dies. HTH PG -- Paul Green, Senior Technical Consultant, Stratus Technologies. Day: +1 978-461-7557; FAX: +1 978-461-3610 Speaking from Stratus not for Stratus -Original Message- From: Joe Meslovich [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: Samba 3.0 CVS: configure problem I got the latest CVS copy of samba 3.0 today. I ran autogen.sh to create configure. And then I configured the system --with-quotas --with-acl-support. The configure script bombs when it gets to the part about test routines. It ends with: error: cant find test code. Aborting config I am including a gzipped copy of my config.log. The system is Solaris 9 x86. I installed the recommended GNU libiconv-1.8 in /usr/local yesterday. I tried configuring a CVS copy of Samba 3.0 from the 19th of February --with-libiconv=/usr/local. That configure failed in the same way, but configureing with only --with-quotas and --with-acl-support worked. I then tried the same with a copy from today the 26th. I cannot get configure to finish properly at all. I am not certain if the error is related to libiconv. That is why I included the log. Joe Meslovich [EMAIL PROTECTED] Associate Network/Systems Engineer IT Center Tel: (540) 828 - 5343
Authenticating WinXP with Samba 3.0 CVS (plaintext) problem
I have a WinXP box that has plaintext password enabled. I have a Samba 3.0 CVS server that also does not use encrypted passwords (uses PAM). I cannot connect to shares from the WinXP box because apparantly the non-encrypted password is sent as the NT password, and nothing as the LM password. The protocol that was negotiated was NT LM 0.12. From the code, it seems that the Samba server believes that plaintext passwords should only be sent for the protocols PROTOCOL_NT1 (anything other than NT LM 0.12 or NT LANMAN 1.0). Has anyone else seen this? Am I missing something here? Getting WinXP to work with plaintext passwords is rather important for my setup. Kris -- Never underestimate a Mage with: - the Intelligence to cast Magic Missile, - the Constitution to survive the first hit, and - the Dexterity to run fast enough to avoid being hit a second time.
RE: Samba 3.0 CVS: configure problem
But what bothers me is that I have that library in /usr/local/lib. Is it not searching for it there? Joe On Wed, 26 Feb 2003, Green, Paul wrote: It can't find libiconv.so.2. The test is bad because this should not have aborted configure. The clues are these lines: configure:20621: checking for test routines configure:20637: gcc -o conftest -O -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv 5 configure:20640: $? = 0 configure:20642: ./conftest ld.so.1: ./conftest: fatal: libiconv.so.2: open failed: No such file or directory ./configure: line 1: 28954 Killed ./conftest$ac_exeext configure:20645: $? = 137 configure: program exited with status 137 configure: failed program was: [snip] configure:20655: error: cant find test code. Aborting config and now it dies. HTH PG -- Paul Green, Senior Technical Consultant, Stratus Technologies. Day: +1 978-461-7557; FAX: +1 978-461-3610 Speaking from Stratus not for Stratus -Original Message- From: Joe Meslovich [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 26, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: Samba 3.0 CVS: configure problem I got the latest CVS copy of samba 3.0 today. I ran autogen.sh to create configure. And then I configured the system --with-quotas --with-acl-support. The configure script bombs when it gets to the part about test routines. It ends with: error: cant find test code. Aborting config I am including a gzipped copy of my config.log. The system is Solaris 9 x86. I installed the recommended GNU libiconv-1.8 in /usr/local yesterday. I tried configuring a CVS copy of Samba 3.0 from the 19th of February --with-libiconv=/usr/local. That configure failed in the same way, but configureing with only --with-quotas and --with-acl-support worked. I then tried the same with a copy from today the 26th. I cannot get configure to finish properly at all. I am not certain if the error is related to libiconv. That is why I included the log. Joe Meslovich [EMAIL PROTECTED] Associate Network/Systems EngineerIT Center Tel: (540) 828 - 5343 Joe Meslovich [EMAIL PROTECTED] Associate Network/Systems Engineer IT Center Tel: (540) 828 - 5343
Re: Samba 3.0 CVS: configure problem
On Wed, Feb 26, 2003 at 11:10:25AM -0500, Joe Meslovich wrote: But what bothers me is that I have that library in /usr/local/lib. Is it not searching for it there? Could you try rerun it with --with-libiconv=/usr/local ? Also, it will greatly help if you would be able to run the test against HEAD too. -- / Alexander Bokovoy --- Gratitude, like love, is never a dependable international emotion. -- Joseph Alsop
Re: Samba 3.0 CVS: configure problem
I retried the configure in 3.0 using --with-libiconv=/usr/local, and it failed in the same way. I then downloaded the latest version of HEAD and it did the same thing either way that I ran it. Joe On Wed, 26 Feb 2003, Alexander Bokovoy wrote: On Wed, Feb 26, 2003 at 11:10:25AM -0500, Joe Meslovich wrote: But what bothers me is that I have that library in /usr/local/lib. Is it not searching for it there? Could you try rerun it with --with-libiconv=/usr/local ? Also, it will greatly help if you would be able to run the test against HEAD too. -- / Alexander Bokovoy --- Gratitude, like love, is never a dependable international emotion. -- Joseph Alsop Joe Meslovich [EMAIL PROTECTED] Associate Network/Systems Engineer IT Center Tel: (540) 828 - 5343
Re: Authenticating WinXP with Samba 3.0 CVS (plaintext) problem
On Wed, Feb 26, 2003 at 12:59:58PM -0500, Kris Van Hees wrote: I have a WinXP box that has plaintext password enabled. I have a Samba 3.0 CVS server that also does not use encrypted passwords (uses PAM). I cannot connect to shares from the WinXP box because apparantly the non-encrypted password is sent as the NT password, and nothing as the LM password. You mean that XP sends the plaintext password in the Unicode Password field? That's sick. Does it send it as ASCII or Unicode. The protocol that was negotiated was NT LM 0.12. That would be correct. From the code, it seems that the Samba server believes that plaintext passwords should only be sent for the protocols PROTOCOL_NT1 (anything other than NT LM 0.12 or NT LANMAN 1.0). No, Samba can handle plaintext just fine in the NT LM 0.12 dialect. It's just that Samba needs to know where to *find* the password. Plaintext passwords are always sent in the first password field (ASCII Password, or CaseInsensitivePassword, depending on which documentation you read). Has anyone else seen this? Am I missing something here? Getting WinXP to work with plaintext passwords is rather important for my setup. No, but I don't have an XP system available. I'd be interested in seeing the SessionSetupAndX from an Ethereal trace. Chris -)- -- Never underestimate a Mage with: - the Intelligence to cast Magic Missile, - the Constitution to survive the first hit, and - the Dexterity to run fast enough to avoid being hit a second time. I've got a fourth-level wombat teaser that's +4 on musk. -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
Re: Authenticating WinXP with Samba 3.0 CVS (plaintext) problem
On Wed, Feb 26, 2003 at 01:39:26PM -0600, Christopher R. Hertel wrote: On Wed, Feb 26, 2003 at 12:59:58PM -0500, Kris Van Hees wrote: I have a WinXP box that has plaintext password enabled. I have a Samba 3.0 CVS server that also does not use encrypted passwords (uses PAM). I cannot connect to shares from the WinXP box because apparantly the non-encrypted password is sent as the NT password, and nothing as the LM password. You mean that XP sends the plaintext password in the Unicode Password field? That's sick. Does it send it as ASCII or Unicode. That is correct, and it is in Unicode indeed (2 bytes per character). The protocol that was negotiated was NT LM 0.12. That would be correct. From the code, it seems that the Samba server believes that plaintext passwords should only be sent for the protocols PROTOCOL_NT1 (anything other than NT LM 0.12 or NT LANMAN 1.0). No, Samba can handle plaintext just fine in the NT LM 0.12 dialect. It's just that Samba needs to know where to *find* the password. Plaintext passwords are always sent in the first password field (ASCII Password, or CaseInsensitivePassword, depending on which documentation you read). Yup, and WinXP I guess is not playing nice in that sense. Has anyone else seen this? Am I missing something here? Getting WinXP to work with plaintext passwords is rather important for my setup. No, but I don't have an XP system available. I'd be interested in seeing the SessionSetupAndX from an Ethereal trace. Would a tcpdump of the dialogue also be acceptable? :) I can of course also send the samba.log and/or SMBtconX.* files etc... Kris
Re: Samba 3.0 CVS: configure problem
On Wed, Feb 26, 2003 at 12:59:47PM -0500, Joe Meslovich wrote: I retried the configure in 3.0 using --with-libiconv=/usr/local, and it failed in the same way. I then downloaded the latest version of HEAD and it did the same thing either way that I ran it. Ok, another question: do you have /usr/local/lib in your /etc/ld.so.conf? -- / Alexander Bokovoy --- I do not find in orthodox Christianity one redeeming feature. - Thomas Jefferson
Re: NT_Create: Anything special I need to know?
On Wed, Feb 26, 2003 at 12:24:09AM -0600, Christopher R. Hertel wrote: I'm going to do a very brief writeup of NT_CREATE_ANDX, but I remember hearing rumors dark lurking daemons. What do I need to know? What is there about this command that should be documented? It's *monstrous*. There are so many special cases, corners and daemons living in there that it's hard to list them all. I'm not sure I can even remember them all, but all we've found are in the smbd code. Jeremy.
Re: Authenticating WinXP with Samba 3.0 CVS (plaintext) problem
On Wed, Feb 26, 2003 at 02:54:00PM -0500, Kris Van Hees wrote: On Wed, Feb 26, 2003 at 01:39:26PM -0600, Christopher R. Hertel wrote: On Wed, Feb 26, 2003 at 12:59:58PM -0500, Kris Van Hees wrote: I have a WinXP box that has plaintext password enabled. I have a Samba 3.0 CVS server that also does not use encrypted passwords (uses PAM). I cannot connect to shares from the WinXP box because apparantly the non-encrypted password is sent as the NT password, and nothing as the LM password. You mean that XP sends the plaintext password in the Unicode Password field? That's sick. Does it send it as ASCII or Unicode. That is correct, and it is in Unicode indeed (2 bytes per character). ...and there's no ASCII password? Unicode Plaintext is a very unusual combination. I have tested this combination before (Samba can be made to do it) but since we've never had anything to test against... Would a tcpdump of the dialogue also be acceptable? :) I can of course also send the samba.log and/or SMBtconX.* files etc... Tcpdump is perfect. :) Oh! ...but use a bogus password, or change the password after you've captured the data. I don't want your real auth data. :) Send directly to me, please. If anyone else on the Team wants a look I'll share. I may run it past a few other folks as well, and I would love to have the information for my book. Thanks! Chris -)- -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
REPOST: bug fix?: 2.2.7a, printing/printing.c, print_queue_resume()
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Hurley Sent: Saturday, February 15, 2003 2:13 PM To: [EMAIL PROTECTED] Subject: bug fix?: 2.2.7a, printing/printing.c, print_queue_resume() With W2k workstation and Samba print server running LPRng: After resuming a paused print queue by right-mouse clicking on printer in Printers explorer window (via Control Panel/Printers or Start Menu/Settings/Printers), the printer status is not updated. (also, in the print queue window, Printer/Pause Printing menu option when paused). This is because the status returned via RPNCNEX rpc is stale. I believe this is due to a bug in print_queue_resume() (printing/printing.c, line# 1408). if (print_cache_expired(snum)) print_queue_update(snum); Instead, shouldn't the print cache get flushed after a queue resume with: print_cache_flush(snum); This is what's done in print_queue_pause(). Thanks, Peter Hurley [EMAIL PROTECTED]
REPOST: Question about srv_spoolss_send_event_to_client()
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Hurley Sent: Monday, February 17, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: Question about srv_spoolss_send_event_to_client() In rpc_server/srv_spoolss_nt.c:srv_spoolss_send_event_to_client(): Could someone tell me why the following lines of code were added? if (Printer-printer_type == PRINTER_HANDLE_IS_PRINTSERVER) msg-flags |= PRINTER_MESSAGE_ATTRIBUTES; The problem is that sending expanded NOTIFY_INFO_DATA in the RRPCN request for a printserver causes W2k clients to ** NOT ** send RFNPCNEX requests. The upshot is that when a W2k client opens the Printers window on the print server and selects a printer, the printer status will not change during subsequent operations (say pausing and unpausing). Commenting out the lines of code above had the desired effect (i.e., fixed that problem), but I'm concerned since someone put it in to begin with. If the above is absolutely necessary, then the fix is much more complicated. Thanks, Peter Hurley [EMAIL PROTECTED]