[Samba] WINS question
Hello Have a trouble. I have mashine with two interfaces. Samba running at both with the same name of computer. In wins-servers wins.dat i see next string: GRAND#20 1044171787 192.168.1.1 192.168.2.1 46R It's ok. But for ALL mashines in any interfaces with any IP (192.168.1.X or 192.168.2.X) returned first IP in list: -- [2003/01/30 11:03:21, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1353) wins_process_name_query: name query for name GRAND20 from IP 192.168.2.129 [2003/01/30 11:03:21, 3] nmbd/nmbd_winsserver.c:wins_process_name_query_request(1398) wins_process_name_query: name query for name GRAND20 returning first IP 192.168.1.1. -- Now it's mashine is router for all mashines, and it's not a problem, but i want remove from they this function (router) and one of the subnet will must be connect to GRAND through router, but this mashine for clients will be in the same subnet. Question: May WINS answering there IP for name, that belong subnet where place client ? Or known You another solve this problem ? Thanks Alexander Kuznetsov. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Problem with Samba PDC and WIN2000
You have to : UNIX - add an account for the machine in /etc/passwd ended by a '$' like 'machine$' - add this machine account to the smbpasswd file with smbpasswd -am machine. The '$' is added by the smbpasswd. W2K WS - on the desktop: My Computer/Properties/Network Id./Properties/Member of clik on domain and enter the domain name. Enter the root account and password then you have a welcome message from the PDC Warning: You cannot change the machine name and join the domain in the same operation. You must 1) change the machine name 2) reboot 3)join the domain. I experienced troubles (not solved yet) while joining a domain with a W2K server. I hope this can help you. Pierre Santiago Avila wrote: Hi, I just installed a Samba Server as a PDC and my WIN9X machines worked just fine, but I can´t join WIN2000 Clients to the domain. I created the Trust Account but when a join the domain I get the message. The following error occured attempting to join the domain TECNICO Logon failure: unknown user name or bad password Also, in the /var/log/samba/taller.log I got [2003/01/29 19:41:23,0] rpc_server/srv_samr.c:api_samr_set_userinfo(672) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2003/01/29 19:41:23, 0] passdb/smbpass.c:startsmbfilepwent_internal(87) startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was Permission denied [2003/01/29 19:41:23, 0] passdb/smbpass.c:iterate_getsmbpwuid(1240) unable to open smb password database. Thanks, Santiago -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Problem with Samba PDC and WIN2000
what if I changed the machine name, Is there a script there to add a NT/2K machine name(trust account) automatically when loggoing on and delete the old machine name after say a week or so. Regards, Keith The linuX Files -- The Source is Out There. - Original Message - From: Pierre Lebrun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 1:56 PM Subject: [Samba] Re: Problem with Samba PDC and WIN2000 You have to : UNIX - add an account for the machine in /etc/passwd ended by a '$' like 'machine$' - add this machine account to the smbpasswd file with smbpasswd -am machine. The '$' is added by the smbpasswd. W2K WS - on the desktop: My Computer/Properties/Network Id./Properties/Member of clik on domain and enter the domain name. Enter the root account and password then you have a welcome message from the PDC Warning: You cannot change the machine name and join the domain in the same operation. You must 1) change the machine name 2) reboot 3)join the domain. I experienced troubles (not solved yet) while joining a domain with a W2K server. I hope this can help you. Pierre Santiago Avila wrote: Hi, I just installed a Samba Server as a PDC and my WIN9X machines worked just fine, but I can´t join WIN2000 Clients to the domain. I created the Trust Account but when a join the domain I get the message. The following error occured attempting to join the domain TECNICO Logon failure: unknown user name or bad password Also, in the /var/log/samba/taller.log I got [2003/01/29 19:41:23,0] rpc_server/srv_samr.c:api_samr_set_userinfo(672) api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO. [2003/01/29 19:41:23, 0] passdb/smbpass.c:startsmbfilepwent_internal(87) startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was Permission denied [2003/01/29 19:41:23, 0] passdb/smbpass.c:iterate_getsmbpwuid(1240) unable to open smb password database. Thanks, Santiago -- 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] Samba printers: Office stuck while changing text attributes
I experienced problems with a samba printer over Samba 2.2.7a/Solaris 7. When I change caracters attribute ex: normal to bold, change the colour there is an important data flow between the WS and the Server so it takes several seconds before the modification became effective. The printer is a Brother HL 1670 N network printer. There is no problem to print. I experienced the same problem whith 2.2.5. Can any one help me ? Thank Pierre -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: Problem with Samba PDC and WIN2000
I experienced troubles (not solved yet) while joining a domain with a W2K server. i've 2 w2k-server joined as member of my samba2.2.5.a-ldap-domain and it worked without problems! i joined them with the acctFlags [W ] and not with [S ]! lg thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Problem with Samba PDC and WIN2000
I also get [W]. The W2K Server is not added to the domain as a server but as a WS. I can join the machine to the domain but never logon. OS is W2K Server SP2. Pierre NSC - NetworkServiceCenter wrote: I experienced troubles (not solved yet) while joining a domain with a W2K server. i've 2 w2k-server joined as member of my samba2.2.5.a-ldap-domain and it worked without problems! i joined them with the acctFlags [W ] and not with [S ]! lg thomas -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] CUPs and Samba and XP
Date: Wed, 29 Jan 2003 11:06:53 -0800 From: [EMAIL PROTECTED] To: Samba [EMAIL PROTECTED] Subject: [Samba] CUPs and Samba and XP Message-ID: 007e01c2c7c9$959ddce0$ec00a8c0@tweety Content-Type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Message: 2 Hullo All. The preamble Samba 2.2.7a compiled against CUPS, CUPs v 1.1.6 (version that came with Mandrake 9.0), using client side drivers (raw printing) on XP. Printing works, cancelling jobs via the web interface works after the spooling is done. What doesn't work. Pausing jobs (though that's not as important as the next trouble) and cancelling jobs from XP. Note that you can't really have user control of print jobs unless the user is authenticating to the server, and you haven't given any detail on how you are setup. Easiest way to tell on a default installation is if you see a share on the server with the username you are logged into windows with. If you don't, you're either going to have to add unix accounts (if they don't exist) which match the windows user names (or use a username map) and set their smbpasswd (smbpasswd -a user) or provide more info on how your authentication is setup. This works fine here, using the samba-2.2.7a-3mdk RPMs available at http://ranger.dnsalias.com/mandrake/samba on mandrake 8.0-9.0. If I cancel a job by hitting the cancel button on a windows print dialogue, the program freezes until I manually restart the XP print spooler service. If I cancel a job by hitting cancel in the print spooler window, the job does get cancelled (it disappears from the spooler window), but the same problem, the program freezes until I manually restart the spooler. Anybody seen this before. I didn't have this trouble when I was using lpd, just recently with cups. One other side issue, i always have to manually refresh the spooler screen (F5) to see current activity. Is there a setting that I'm missing that will do that for me. Printing to samba also doens't work that well if you have the XP firewall enabled, which be default firewalls off 137-139, preventing samba from being able to send a reply. This also affects printers on Windows NT servers. Thanks for any and all help. Hans Rasmussen Drafting/GIS Coordinator FYI, grass-5.0.0 is in Mandrake 9.0 contribs if that would interest you ... Buchan -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -- 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 user adding
Date: Wed, 29 Jan 2003 15:36:57 -0600 (CST) From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: Jim Wharton [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] Samba LDAP user adding Message-ID: [EMAIL PROTECTED] In-Reply-To: [EMAIL PROTECTED] Content-Type: TEXT/PLAIN; charset=US-ASCII MIME-Version: 1.0 Precedence: list Message: 14 I just installed samba 2.2.7 on Mandrake 9 with OpenLDAP support. I have set up OpenLDAP and everything is cool. When I try to add a user I get: If you are using RPMs (such as from http://ranger.dnsalias.com/mandrake/samba) Note that there is a path setting in the default /etc/samba/smbldap_conf.pm that is incorrect, mkntpwd is in /usr/sbin and not /usr/local/sbin [root@luna openldap]# smbpasswd -a jim New SMB password: Retype new SMB password: Failed to issue the StartTLS instruction: Connect error Failed to issue the StartTLS instruction: Connect error Failed to add entry for user jim. Failed to modify password entry for user jim so I jumped in to smb.conf and disabled ldap ssl = start tls. Then I got: ldap ssl default to on which implies LDAPS. if you want clear text communication, you need to set ldap ssl = off Preferred option would be to fix ssl or tls, which requires that you generate an ssl cert with the hostname on it that matches the hostname set in smb.conf (and /etc/ldap.conf if you want to tls/ssl for pam_ldap/nss_ldap). Jerry, you are aware that samba defaults to using port 636 for tls when (AFIAK) it should be using port 389? (hint if you want to use tls, you need to set: ldap ssl = start_tls ldap port = 389 ) -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] winbind and enum groups
Hi All I have been struggling with winbind for over to weeks now. I have searched nearly the whole Internet for info on my problems ;) Right now I can auth Windows NT users on my Linux box (RH-8.0) with samba-2.2.7a-1. But my big problem is that when a user i authorized it can't find a group name for eg. 10. I have been considering the following debug method : 1. remove the winbindd_cache.tdb in /var/cache/samba. But I'm not sure if this is the only file I have to remove. Can anyone confirm ? (I know that I'll lose all user info) 2. restart smb nmb and winbindd. Can anyone please confirm this or give me a other solution ;) Regards Rene -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] FW: Samba authentication against a windows 2000 domain.
Hi all, I've got an authentication issue with SAMBA as a member server in a Win 2000 domain, Basically I need to authenticate users against the domain. Unfortunately my clients are not all domain members so they send something\username not domainname\username. I need to get samba to replace whatever with the domainname or to get the clients to send the right domainname. please read on... My setup: servers: Database mechanism for synchronising NIS AD and NDS passwords - working Windows 2000 AD - working NDS tree - working Mixed UNIX setup - working using NIS as authentication mechanism Samba on IRIX, Server is NIS client ONLY sharing [homes] My setup: clients: Mixed clients including... Win 95 standalone and Novell clients Win 98 standalone and Novell clients Win 2000 and win XP, both AD members and standalone Misc Linux MACs etc. but they are of lower priority. Requirements: Support encrypted logins to Samba. Previous plain text version using NIS on server is working. What I have tried... basically security = domain smbpassword -j domainname... joined OK Now the detailed question... Domain members (2000 and XP) can authenticate OK, non domain members can't. If on non domain member you enter domainname\username and your password you CAN authenticate and get your home directory, unfortunately this is not desirable as some users will struggle to get used to this. Win 9x machines, when you access network shares you cannot specify domainname\username... i.e. start-run \\server\usernameyou only get a password box, entering a valid password always results in logon failure. Is there a way on the server side (SAMBA) to specify that all usernames get authenticated as specifieddomainname\suppliedusername. As *ALL* users with only a couple of exceptions (the ones that no-one should ever log on as) exist in all of the UNIX (NIS) world, Windows AD and the NDS tree. For this reason I don't think winbindd will be any help... real users that exist on both platforms need to map to \\server\username and get their real homedir from the UNIX fileserver. I understand that the default for win 9x is to send the workgroup name i.e. workgroup\username There are reasons why I cannot change the workgroup name of these machines. Windows 2000 / xp seem to send netbiosmachinename\username when they or not domain members, when domain members they send domainname\username and this is the working case. Any help/suggestions would be very much appreciated. Thanks, Gary -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SAMBA ===== I have problem.
Hi, I need that you help me. My principal question is: I have a WinNT Domain, a Samba Server and some users WinNT. I need to available a directory structure in the Samba Server. I need to know if I really need to have a Unix user for each WinNT user that access the structure directory in the Samba Server? Please help me, because I don't find anywhere this information. Thanks... :) ___ (0 0) +V+ | Rodrigo Nascimento | | Linux Users Brazil o0o o0o| +( )---( )+ http://www.ieg.com.br -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA ===== I have problem.
look into your distribution / samba homepage, there are a view docs for different solutions. e.g.: search for Samba-HOWTO-Collection.pdf in your distribution... I have a WinNT Domain, a Samba Server and some users WinNT. I need to available a directory structure in the Samba Server. I need to know if I really need to have a Unix user for each WinNT user that access the structure directory in the Samba Server? if u check authentication on this server - as far as i know: 'yes' Please help me, because I don't find anywhere this information. Thanks... :) ___ (0 0) +V+ | Rodrigo Nascimento | | Linux Users Brazil o0o o0o| +( )---( )+ http://www.ieg.com.br -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Logon script never runs in 2.2.7a, but does in 2.2.4
we tried upgrading from 2.2.4 to 2.2.7a in order to fix a problem. We believe it fixes it, BUT, 2.2.7a causes logon scripts to never run. That is, we have 2.2.4 installed and the logon procedure works perfectly. We then upgrade the samba/samba-common (debian) packages, and everything works *except* that logon scripts never run. What are the possible causes for such a thing? What is the logon script setting in smb.conf? logon script = scripts\users\%U.bat But since I saw that there was a %U related bugfix in 2.2.6 (but I don't know what) I also tried: logon script = scripts\test.bat Which did not help. In both cases, switching back to 2.2.4 without changing the configuration fixes the problem. -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]' Key retrival: Send an E-Mail to [EMAIL PROTECTED] E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: winbind and enum groups
Rene Brask Soerensen [EMAIL PROTECTED] writes: Hi All I have been struggling with winbind for over to weeks now. I have searched nearly the whole Internet for info on my problems ;) Right now I can auth Windows NT users on my Linux box (RH-8.0) with samba-2.2.7a-1. But my big problem is that when a user i authorized it can't find a group name for eg. 10. I have been considering the following debug method : 1. remove the winbindd_cache.tdb in /var/cache/samba. But I'm not sure if this is the only file I have to remove. Can anyone confirm ? (I know that I'll lose all user info) 2. restart smb nmb and winbindd. Can anyone please confirm this or give me a other solution ;) Regards Rene Hi again I have now tried removing /var/cache/samba/locks/winbindd_cache.tdb and winbindd_idmap.tdb but no change... Still can't resolve gid... Here id part of my smb.conf : winbind separator = + winbind cache time = 300 template shell = /bin/bash template homedir = /home/%U winbind uid = 10010-4 winbind gid = 10010-4 winbind enum users = yes winbind enum groups = yes workgroup = CORP security = domain password server = * And some info from winbindd log : [2003/01/30 13:22:41, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105) [ 9956]: getpwnam CORP+supRBrS [2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314) [ 9960]: endpwent [2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189) [ 9960]: getpwuid 10010 [2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_endpwent(314) [ 9960]: endpwent [2003/01/30 13:22:42, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189) [ 9967]: getpwuid 10010 [2003/01/30 13:22:45, 3] nsswitch/winbindd_user.c:winbindd_getpwuid(189) [ 9979]: getpwuid 10010 [2003/01/30 13:22:45, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(270) [ 9979]: getgrgid 10001 [2003/01/30 13:22:45, 3] nsswitch/winbindd_group.c:winbindd_getgrgid(270) [ 9979]: getgrgid 10010 [2003/01/30 13:24:34, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105) [ 9951]: getpwnam CORP+supRBrS [2003/01/30 13:24:34, 3] nsswitch/winbindd_user.c:winbindd_getpwnam(105) [ 9956]: getpwnam CORP+supRBrS Can anyone please help ;) Regards Rene -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Using Winbindd in nsswitch.conf
WINS != winbind The appropriate hosts entry in nsswitch.conf would be wins, not winbind. You might also want to look at 'name resolve order' in smb.conf. Since you've made your samba server the wins server, make sure your windows clients know it. Winbind is for making unix users out of windows users without creating real accounts on the system. I don't think this is what you were going for. ~ Daniel -Original Message- From: Jonathan Johnson Sent: Tuesday, January 28, 2003 5:00 PM Subject: [Samba] Using Winbindd in nsswitch.conf Hello, all-- I've a question regarding using WINS for resolving names while on the unix box. As I understand it, you're supposed to add something to the /etc/nsswitch.conf file, but it's not clear to me whether it's supposed to be 'wins', 'winbind', or 'winbindd' as in the following example: hosts: files wins nisplus nis dns hosts: files winbind nisplus nis dns hosts: files winbindd nisplus nis dns Which is correct? (I'm not using nis, so I guess those could be removed but they aren't hurting anything by being there.) I believe I have the windbind options in smb.conf configured correctly, and winbindd is starting automatically. In my situation, the Samba server is also acting as a WINS server. Thanks, --Jon [EMAIL PROTECTED] -- --- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Auth PPTP X SAMBA
Good Morning, My doubt and the following one: I have a server with SuSE 8,0 using VPN PPTP, would like to know as I can make with that the users if Authentication for the samba. Regards Fabio Sena Brasil - PE -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] So SAMBA no longer supports print driver downloads
On Wednesday 29 January 2003 22:59, Robert M. Martel wrote: So SAMBA no longer supports print driver downloads. That is about the only conclusion that I can come to at this point. I've not been able to get Windows printer driver downloads to work right since Samba 2.2.2. No one but printer admins displays the correct settings for printers, everyone else gets the original printer defaults that they cannot change. I've tried this with every version since 2.2.2 up to 2.2.7a and the story is the same - printer settings get lost. I've built from scratch. I've taken a working 2.2.2 set-up, verified that the drivers loaded correctly for clients, upgraded the server to 2.2.7a and had all the settings get lost. Does anyone *REALLY* have downloading printer drivers to Windows 2000 clients working properly? Has anyone documented the steps as the ones in the available documentation DON'T work? My apologies for sounding so pissy, I've been fighting with this for some time and this mailing list has been strangely silent when I've asked for help - except for other people writing me and asking me if I've found a solution because they are having the same problem. Anyone have suggestions? I have much trouble with drivers from HP. The drivers that come with w2k XP works. If you have to use the drivers from the manufakturer of the printer try the default devmode parameter in smb.conf to initialize the driver. Once done you can remove the default devmode from smb.conf. Just a try, has worked for me with HP Deskjet 970 driver. Didi -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Auth PPTP X SAMBA
Am Don, 2003-01-30 um 14.17 schrieb EU: My doubt and the following one: I have a server with SuSE 8,0 using VPN PPTP, would like to know as I can make with that the users if Authentication for the samba. I've written a small patch that makes pppd authenticate against LDAP. If it's useful for you, I'll publish it. ciao Dariush -- PGP Fingerprint: 0x886C99A1 signature.asc Description: Dies ist ein digital signierter Nachrichtenteil -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Compiling 3.0 alpha 21 on HP-UX 11.00
Hi! I'm trying to compile 3.0 alpha 21 on a HP-UX 11.00 machine. make bombs out with the following error message: lib/snprintf.c:790: conflicting types of `snprintf´ /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493: previous declaration of `snprintf´ *** Error exit code 1 I tried to compile it with gcc 3.2, which I got from the HP-UX porting centre. I wanted to use gcc, because I've only got the bundled free cc and couldn't run ./configure with this compiler. It errored out, because it couldn't find a way to set seteuid. I've ran configure like this: ./configure \ --prefix=/extern/software/misc/samba \ --with-privatedir=/extern/software/misc/samba/private \ --with-lockdir=/extern/software/misc/samba/var/locks \ --with-piddir=/extern/software/misc/samba/var/locks \ --with-swatdir=/extern/software/misc/samba/swat \ --with-readline \ --with-libiconv=/usr/local \ --with-smbwrapper \ --with-afs \ --with-dce-dfs \ --with-ads \ --with-krb5=/opt/heimdal \ --with-ldap \ --with-xml-prefix=/usr/local \ --with-automount \ --with-pam \ --with-tdbsam \ --with-nisplus-home \ --with-winbind Did anyone get alpha21 to compile on HP-UX 11.00? Thanks a lot, Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (en) Homepage: http://www.iso-top.biz | Jabber: [EMAIL PROTECTED] iso-top.biz - Die günstige Art an Linux Distributionen zu kommen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] what's up about NETAPP and SAMBA PDC ?
Hi, I would like to known if anybody has solved connexion problem of a Network appliance filer to a SAMBA PDC. I've explored many mailing list without good news. Thanks. Francois. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems making use of 2K PDC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Jan 2003, Kenny Mann wrote: Smb.conf is [global] security = domain encrypt passwords = yes netbios name = Datasrv workgroup = CDROBOT log file = /var/log/samba/%m.log password server = mainsrv domain master = yes don't mix security = domain and domain master = yes. Bad mojo. Set domaion master = no so smbd/winbindd can find the real Windows PDC. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OT4DIR7qMdg1EfYRAvyBAKCVpQgE8G3Zfg9BQ81R+yeZjDHd0ACg8J5k oRET5v8nwFo6ooqHTSeTkyw= =agp8 -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] Having problems getting RH72 Samba to join a W2K Domain
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Jan 2003, Ben Keepper wrote: I actually did it successfully on a test network (the Win2K is mixed-mode), but when I took the same Samba server and plugged it into the real network, I could't get smbpasswd -j bottlerocket.com to fly. give the netbios name of the domain instead. [global] password server = 192.168.2.159 workgroup = bottlerocket.com You might also want to specify the netbios name is to avoid things like SAMBA.BOTTLEROC (first 15 characters of samba.bottlerocket.com) cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OUJPIR7qMdg1EfYRAqOWAKCrZ/OqUSmBadp5JUEOVhATaLwQOgCg2w1O JSqf8k2oMyRUTBCpkDJDi8I= =+tkL -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] Re: winbind and enum groups
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30 Jan 2003, Rene Brask Soerensen wrote: Rene Brask Soerensen [EMAIL PROTECTED] writes: Hi All I have been struggling with winbind for over to weeks now. I have searched nearly the whole Internet for info on my problems ;) Right now I can auth Windows NT users on my Linux box (RH-8.0) with samba-2.2.7a-1. But my big problem is that when a user i authorized it can't find a group name for eg. 10. This is not with the winbind gid range. Here id part of my smb.conf : winbind separator = + winbind cache time = 300 template shell = /bin/bash template homedir = /home/%U winbind uid = 10010-4 winbind gid = 10010-4 winbind enum users = yes winbind enum groups = yes cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OUKxIR7qMdg1EfYRAjEAAJ4tMnEBS4u7GCz84G0vW2TTUOicIQCfcrf/ KPcCHhSCoJP8+z00jlBlENA= =rjXz -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba LDAP user adding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2003, Buchan Milne wrote: ldap ssl default to on which implies LDAPS. if you want clear text communication, you need to set ldap ssl = off Preferred option would be to fix ssl or tls, which requires that you generate an ssl cert with the hostname on it that matches the hostname set in smb.conf (and /etc/ldap.conf if you want to tls/ssl for pam_ldap/nss_ldap). Jerry, you are aware that samba defaults to using port 636 for tls when (AFIAK) it should be using port 389? Yeah. I just found this yesterday. Fixed in CVS and will be in the 2.2.8pre1 out tomorrow. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OUMCIR7qMdg1EfYRAmSCAJ4rJlaiccEMbBl+cD8ZPDT3Yl1VTACfa4BO BaQHIRHUlrBnB+M9um35rck= =9o7K -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] Printing irritation
Try adding -r to the print command this deletes jobs from the samba queue after it is done spooling. No need to manually delete the files every night. -Original Message- From: Simon Chappell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 5:39 AM To: [EMAIL PROTECTED] Subject: [Samba] Printing irritation I have a few smb servers running cups or lpr. the problem i have is that some sites are turing over many print jobs and eventually printing stops. I find that the /var partition is full and on investigation /var/spool/samba is full of smbprn.blah.blah files. when i dlete the files printing is again fine and i have loads of space on the var partition (1-2gig normally). On some servers i have put a line in crontab to remove these files at 11pm every night which seems to work ok but I am not sure it is not just a bodge to get round a problem. Any ideas would be greatly received. I have trawled google and mailing lists and it looks like i have created a new problem! Simon -- 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: winbind and enum groups
Gerald (Jerry) Carter [EMAIL PROTECTED] writes: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 30 Jan 2003, Rene Brask Soerensen wrote: Rene Brask Soerensen [EMAIL PROTECTED] writes: Hi All I have been struggling with winbind for over to weeks now. I have searched nearly the whole Internet for info on my problems ;) Right now I can auth Windows NT users on my Linux box (RH-8.0) with samba-2.2.7a-1. But my big problem is that when a user i authorized it can't find a group name for eg. 10. This is not with the winbind gid range. Sorry a typo. I ment 1. Here is a example : [RBRS@lc37891 rbrs]$ ssh CORP+supRBrS@localhost CORP+supRBrS@localhost's password: /usr/X11R6/bin/xauth: creating new authority file /home/suprbrs/.Xauthority id: cannot find name for group ID 1 [SupRBRS@lc37891 suprbrs]$ Here id part of my smb.conf : winbind separator = + winbind cache time = 300 template shell = /bin/bash template homedir = /home/%U winbind uid = 10010-4 winbind gid = 10010-4 And here I have changed the range.. winbind uid = 1-4 winbind gid = 1-4 winbind enum users = yes winbind enum groups = yes cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OUKxIR7qMdg1EfYRAjEAAJ4tMnEBS4u7GCz84G0vW2TTUOicIQCfcrf/ KPcCHhSCoJP8+z00jlBlENA= =rjXz -END PGP SIGNATURE- /Rene -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] CUPs and Samba and XP
Thanks for the reply. The Samba server is setup as a PDC, and my computers and users authenticat to it properly. I don't have the XP firewall running on any machine. Printing is great, controlling printing is the problem for me. I'll set my logging to 10 in a little while and post back to the group the log as Jerry suggested. Thanks Hans - Original Message - From: Buchan Milne [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 2:17 AM Subject: Re: [Samba] CUPs and Samba and XP Date: Wed, 29 Jan 2003 11:06:53 -0800 From: [EMAIL PROTECTED] To: Samba [EMAIL PROTECTED] Subject: [Samba] CUPs and Samba and XP Message-ID: 007e01c2c7c9$959ddce0$ec00a8c0@tweety Content-Type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Message: 2 Hullo All. The preamble Samba 2.2.7a compiled against CUPS, CUPs v 1.1.6 (version that came with Mandrake 9.0), using client side drivers (raw printing) on XP. Printing works, cancelling jobs via the web interface works after the spooling is done. What doesn't work. Pausing jobs (though that's not as important as the next trouble) and cancelling jobs from XP. Note that you can't really have user control of print jobs unless the user is authenticating to the server, and you haven't given any detail on how you are setup. Easiest way to tell on a default installation is if you see a share on the server with the username you are logged into windows with. If you don't, you're either going to have to add unix accounts (if they don't exist) which match the windows user names (or use a username map) and set their smbpasswd (smbpasswd -a user) or provide more info on how your authentication is setup. This works fine here, using the samba-2.2.7a-3mdk RPMs available at http://ranger.dnsalias.com/mandrake/samba on mandrake 8.0-9.0. If I cancel a job by hitting the cancel button on a windows print dialogue, the program freezes until I manually restart the XP print spooler service. If I cancel a job by hitting cancel in the print spooler window, the job does get cancelled (it disappears from the spooler window), but the same problem, the program freezes until I manually restart the spooler. Anybody seen this before. I didn't have this trouble when I was using lpd, just recently with cups. One other side issue, i always have to manually refresh the spooler screen (F5) to see current activity. Is there a setting that I'm missing that will do that for me. Printing to samba also doens't work that well if you have the XP firewall enabled, which be default firewalls off 137-139, preventing samba from being able to send a reply. This also affects printers on Windows NT servers. Thanks for any and all help. Hans Rasmussen Drafting/GIS Coordinator FYI, grass-5.0.0 is in Mandrake 9.0 contribs if that would interest you ... Buchan -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 ___ All emails incoming and outgoing from SBS Forestry Inc. are scanned by Kaspersky Antivirus. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ls -l hangs
I just installed Samba 2.2.7a, --with-winbind --with-pam. Everything appears to be working great, as far as logging in, authenicating to a Windows 2000 domain, creating/saving files. BUT, when I login to the UNIX box as root and goto the shared directory and type ls -al, all I get is: total 4 drwxrwxrwx 2 root other512 Jan 30 09:44 . drwxr-xr-x 32 root root1024 Jan 29 14:14 .. Running ls or ls -a work just fine. I am guessing it has something to do with the users/groups. Running getent passwd returns all the local users and all the DOMAIN users, same as getent group. BTW, I have not configured pam.conf because I didn't think I needed it yet. I plan to use pam for netatalk and getting Macs to authenticate to to the Win2000 AD. Thanks for your help! System Details: SunOS tmctest 5.8 Generic_108528-14 sun4u sparc SUNW,Ultra-250 samba 2.2.7a smb.conf [global] netbios name = tmctest log level = 2 log file = /usr/local/samba/var/samba.log security = domain workgroup = MYDOMAIN password server = PDC1 encrypt passwords = yes local master = no preferred master = no winbind uid = 2-3 winbind gid = 2-3 winbind cache time = 15 winbind enum users = no winbind enum groups = no [sambasrc] path = /usr/local/src/samba-2.2.7a public = yes writable = yes [test] path = /cgu public = yes writable = yes -- 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 user adding
Gerald (Jerry) Carter wrote: Preferred option would be to fix ssl or tls, which requires that you generate an ssl cert with the hostname on it that matches the hostname set in smb.conf (and /etc/ldap.conf if you want to tls/ssl for pam_ldap/nss_ldap). Jerry, you are aware that samba defaults to using port 636 for tls when (AFIAK) it should be using port 389? Yeah. I just found this yesterday. Fixed in CVS and will be in the 2.2.8pre1 out tomorrow. ~ timeframe for 2.2.8 final? I have one or two small packaging changes I would like to get in before you cut final, but can you apply this one in the meantime? http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/~checkout~/SPECS/samba/samba-2.2.7a-mandrake-packaging.patch?rev=1.1 Will 2.2.8 include the ldap-rebind patch for referrals (sorry, my cvs is out of date ...)? (in case you don't have one handy: http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/~checkout~/SPECS/samba/samba-2.2.7a-ldap-rebind.patch?rev=1.1 ) Also, in case you have time, please look at the smbumount patch: http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/~checkout~/SPECS/samba/samba-2.2.6-smbumount_lazy.patch?rev=1.3 We will continue to include this in our packages ... but if you apply it I will need to remove it's Patch and %patch entry from the spec file ... Thanks, Buchan -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] PAM Module for SMB-LDAP
On Thu, 2003-01-30 at 05:28, Matthias Eichler wrote: And with these settings you can really change the lmpassword and ntpassword attributes in LDAP when doing a passwd under UNIX?!? yes - i am using samba3a21 but i'm pretty sure this worked with 2.2.6 when i last tried the 2.2 branch 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] unable to join 2000 to samba domain
Nobody seemed to have any idea's why this was happening as I received only one suggestion to be sure I was using root root password to join the domain (which I was doing). In any case it seems that changing the computer name solves the problem. I don't know why - the PDC box is freshly built and the workstations in question newly installed but if we change the computer name to something other than our standard that has fixed it. The computer names ARE unique too. We usually follow a formula of building_number-room_number-last_five_digits_serial_number so a typical name would look like 39-107-kqr7j or some such thing. In this case that formula seems not to work. Changing the names to contain no or only one dash seems to help. Any ideas why? Mike Rambo wrote: I have a situation where some 2000 machines are unable to join the samba domain. We have about 50 machines of which two thirds are 2000 boxes. All of the 9x boxes log to the samba domain with no trouble. Of the 2000 machines we have two groups - some IBM's and some Dell's with the Dell's being a couple of months older. All of the IBM's joined the domain without problems. None of the Dell's would. They both are 2000SP1. After wiping and reinstalling 2000SP2 on the Dell's most of them now also join the domain. However, I have a handful (4 or 5) machine that after wiping still refuse to join the domain. Here is the error I get... An error occurred attempting to join the domain CLCCA. The account used is a computer account. Use your global user account or local user account to access this server. I am logged onto the local machine as the local administrator and am using the server root user account to join the domain. I believe I have performed that same steps on all of these machines yet I have this problem with some of them. Can anyone shed some light on what this error means and what I can do to rectify it? On a related subject, is there a way to create a second user account that local building people can use to join machines to the domain without giving out the server root password? Thanks. -- Mike Rambo [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Mike Rambo [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 LDAP user adding
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2003, Buchan Milne wrote: ~ timeframe for 2.2.8 final? I have one or two small packaging changes I would like to get in before you cut final, but can you apply this one in the meantime? No specific timeframe. We'll see how the pre1 goes. I'll go ahead an aplpy this patch. Will 2.2.8 include the ldap-rebind patch for referrals (sorry, my cvs is out of date ...)? Already tested and checked in. Did that yesterday. Also, in case you have time, please look at the smbumount patch: http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/~checkout~/SPECS/samba/samba-2.2.6-smbumount_lazy.patch?rev=1.3 We will continue to include this in our packages ... but if you apply it I will need to remove it's Patch and %patch entry from the spec file ... I'll let you know. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OVLZIR7qMdg1EfYRAp1uAJ0c0K9eDv50Zy8H/t+MLky0Tw7uCwCgiRgm 3fSWIy/oVb30rKOVm/wqnVE= =tpoJ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba wins problem
Hello there, From digging the archive - it looks as if this was discussed here earlier however I could not find a decent solution to my problem. The problem is that I keep seeing the following errors on my nmbd.log: [2003/01/30 09:34:34, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(358) find_domain_master_name_query_fail: Unable to find the Domain Master Browser name WGNAME1b for the workgroup WGNAME. Unable to sync browse lists in this workgroup. smb.conf: [global] workgroup = WGNAME server string = wins server log level = 2 lock directory = /var/lock/samba security = user encrypt passwords = Yes hosts allow = xxx.xxx.xxx. wins support = Yes os level = 65 lm announce = No preferred master = Yes local master = yes dns proxy = No SNIP SNIP Any idea what am I doing wrong? Slackware 8.1 with latest current updates (running samba 2.2.7) Regards Gil Disatnik UNIX system/security administrator. GibsonLP@EFnet http://www.disatnik.com _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Windows NT has detected mouse movement, you MUST restart your computer before the new settings will take effect, [ OK ] Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit operating system, written for a 4 bit processor by a 2 bit company which can not stand 1 bit of competition. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems making use of 2K PDC
It said command completed successfully. However still the same issue. Now tha tyo uhave said that, it sounds like that could be the problem. Would I need to reboot? Win98 machines can login sometimes. Sometimes It says cannot find domain controller. If Win2K is in native mode ,I would think it would deny access all the time. I'm going to hop to the MS mail list/news groups. You'r most likely right that this Is a 2K issue and not Samba. THANKS! -Original Message- From: Jan Chorowski [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:39 AM To: Kenny Mann Subject: Re: [Samba] Problems making use of 2K PDC On Wed, Jan 29, 2003 at 03:47:09PM -0600, Kenny Mann wrote: wbinfo -u gives 0xc022 Wbinfo -t gives Secret is good your problem lies in the win2k native mode (denying access to machines older than win2k). It's a security feature enabled with the installation of windows. To disable it use: net localgroup Pre-Windows 2000 Compatible Access everyone /add --KM -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba Jan Chorowski -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problems making use of 2K PDC
I'm able to join the comain. Wbinfo -t says secret is good. Wbinfo -u shows me 0xc22 Wbinfo --sequence says CDROBOT: DISCONNECTED The catchy thing is that I joined via smbpasswd and it said I joined. 'Joined domain CDROBOT' Very odd. Thanks! --KM -Original Message- From: Gaffey, Mike [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 4:06 PM To: Kenny Mann Cc: '[EMAIL PROTECTED]' Subject: RE: [Samba] Problems making use of 2K PDC I had the same problem except mine was working for several months then decided to quit ... deleted the computers from the domain and re-added them using: smbpasswd -j DOMAIN -r DOMAINPDCSMBNAME -UAdministrator%password Works again, but I still don't understand what caused it. -Original Message- From: Kenny Mann [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:47 PM To: [EMAIL PROTECTED] Subject: [Samba] Problems making use of 2K PDC I'm having problems with samba using the 2K PDC. I've gotten it to successfully join the 2K PDC via smbpasswd. Winbindd is running and I can ping it. I've tried googling, but was unsuccessful at finding something useful. The Windows 2K event viewer shows: The session setup from the computer DATASRV failed to authenticate. The name of the account referenced in the security database is DATASRV$. The following error occurred: Access is denied. On my linux box, I'm using datasrv, does case matter? My box is Lunar-Linux. AMB Athlon XP 1700+ 256MB PC2100 DDR Memory 40GB 7200 RPM hard drive. 2 partitions. 3.5GB and a 35.5 Everything is installed on the 3.5GB PDC is Windows 2000 Server Compaq Prolient w/ 2GB of RAM 20GB Ultra3 SCSI 15K RPM and 80GB 5400 IDE 5400RPM (yeah, I know it sounds funny but the big HD is just for stale data... Mostly backup) wbinfo -u gives 0xc022 Wbinfo -t gives Secret is good Smb.conf is [global] security = domain encrypt passwords = yes netbios name = Datasrv workgroup = CDROBOT log file = /var/log/samba/%m.log password server = mainsrv domain master = yes os level = 65 winbind separator = + winbind uid = 1-2 winbind gid = 1-2 winbind enum users = yes winbind enum groups = yes template homedir = /home/winnt/%D/%U [public] comment = public path = /home/tmp read only = no public = yes Testparm complains that the winbind separator might cause problems with group memobship. I've tried using '-' and it stopped complaining, but didn't fix the problem. I use '+' because it's used in the docs. Has anyone experianced this? Sometimes the users have problems signing on the the PDC saying that no domain controller exist. Very weird, because after a few tries it seems to work on 98/ME machines. 2K XP seem to experience this as well, but logon anyway. If anyone needs more info, feel free to ask. TIA! --KM -- 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] CUPs and Samba and XP
Hi Jerry, I have a log level 10 to look at, it's 6meg though, or 800k zipped for 24 seconds of trying to print and then cancel as per below.. I took a quick peek through it, but I really don't know exactly what I'm looking at. Can I send this to you direct? Thanks Hans - Original Message - From: Gerald (Jerry) Carter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Samba [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 11:34 AM Subject: Re: [Samba] CUPs and Samba and XP -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Jan 2003 [EMAIL PROTECTED] wrote: Printing works, cancelling jobs via the web interface works after the spooling is done. What doesn't work. Pausing jobs (though that's not as important as the next trouble) and cancelling jobs from XP. If I cancel a job by hitting the cancel button on a windows print dialogue, the program freezes until I manually restart the XP print spooler service. If I cancel a job by hitting cancel in the print spooler window, the job does get cancelled (it disappears from the spooler window), but the same problem, the program freezes until I manually restart the spooler. Anybody seen this before. I didn't have this trouble when I was using lpd, just recently with cups. One other side issue, i always have to manually refresh the spooler screen (F5) to see current activity. Is there a setting that I'm missing that will do that for me. Check the Samba logs (level 10) and include timestamps to see where the hang is occurring. The refreshing issue is a known isssue in Samba 2.2. The Print change notify code is a little iffy. Much better in the SAMBA_3_0 cvs branch. I should mention that the print change notify stuff requires that the NT+ client being running the Server service (renamed to File Print Shareing for MS Networks). cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OCzhIR7qMdg1EfYRAqPlAJ9FOlYUx3qgd/O9sV2O15AT/w3zJgCeNDaJ qgQHWITLgMI4pwFlClb0XWE= =8MgN -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ___ All emails incoming and outgoing from SBS Forestry Inc. are scanned by Kaspersky Antivirus. ___ All emails incoming and outgoing from SBS Forestry Inc. are scanned by Kaspersky Antivirus. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] WinXP Printing issue
Greetings! I'm running Samba 2.2.5 on HP-UX 10.20. I've recently started adding WinXP clients to my network. Here's my issue: I installed a WinXP machine on the network. I was able to add a bunch of samba-networked printers to the Xp machine. I recently added 2 new printers to the network. I added the printer names to my samba printcap file. I'm able to add these printers to any Win98, 95 machines. But my WinXP machine doesn't see them. Even if I don't browse for it, and just type it in manually \\Server\printer it errors: Windows cannot connect to the printer. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the server. I even removed a printer from my network, removed its printer name from the printcap file.This printer STILL shows up in WinXP. It even lets me install it. Is there some sort of Cache or something that stores this information on WinXP machines? Does anyone have any ideas? It sure would be Handy to be able to add printer to my network... Thanks! Ron --- Ron Bombard, Network Administrator Meddle not in the affairs of dragons... for you are crunchy, and taste like chicken. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] WinXP Printing issue
Greetings! I'm running Samba 2.2.5 on HP-UX 10.20. I've recently started adding WinXP clients to my network. Here's my issue: I installed a WinXP machine on the network. I was able to add a bunch of samba-networked printers to the Xp machine. I recently added 2 new printers to the network. I added the printer names to my samba printcap file. I'm able to add these printers to any Win98, 95 machines. But my WinXP machine doesn't see them. Even if I don't browse for it, and just type it in manually \\Server\printer it errors: Windows cannot connect to the printer. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the server. I even removed a printer from my network, removed its printer name from the printcap file.This printer STILL shows up in WinXP. It even lets me install it. Is there some sort of Cache or something that stores this information on WinXP machines? Does anyone have any ideas? It sure would be Handy to be able to add printer to my network... Thanks! Ron --- Ron Bombard, Network Administrator Meddle not in the affairs of dragons... for you are crunchy, and taste like chicken. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] unable to join 2000 to samba domain
On Thu, 2003-01-30 at 09:05, Mike Rambo wrote: Nobody seemed to have any idea's why this was happening as I received only one suggestion to be sure I was using root root password to join the domain (which I was doing). In any case it seems that changing the computer name solves the problem. I don't know why - the PDC box is freshly built and the workstations in question newly installed but if we change the computer name to something other than our standard that has fixed it. The computer names ARE unique too. We usually follow a formula of building_number-room_number-last_five_digits_serial_number so a typical name would look like 39-107-kqr7j or some such thing. In this case that formula seems not to work. Changing the names to contain no or only one dash seems to help. Any ideas why? I don't recommend you encode information in machine names http://www.faqs.org/rfcs/rfc1178.html I don't know why - is allowed in machine names (maybe it is not) anyway i know _ is not. 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
[Samba] Samba error
Hi list, # smbclient -L \\SAMBA added interface ip=10.3.0.221 bcast=10.3.0.255 nmask=255.255.255.128 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 Got a positive name query response from 127.0.0.1 ( 10.3.0.221 ) session request to SAMBA failed (SUCCESS - 0) Got a positive name query response from 127.0.0.1 ( 10.3.0.221 ) session request to *SMBSERVER failed (SUCCESS - 0) Why I run this command occur this errors? See my conf file: # SAMBA CONFIGURATION FILE # Date: 30/01/2003 # by Rodrigo Nascimento ### # Global Settings ### [global] ## Basic Server Settings ## ### workgroup = SAPSWAP netbios name = SAMBA server string = Area de troca de arquivos ; hosts allow = IPs allowed log file = /usr/local/samba/var/log.%m log level = 1 max log size = 4098 security = server socket options = TCP_NODELAY interfaces = 10.3.0.221/25 127.0.0.1 code page directory = /usr/local/lib/codepages client code page = 850 ## Networking Browsing ## # local master = no os level = 20 ## WINS and Name Resolution ## ## wins support = yes ; wins server = ; wins proxy = yes or no ; dns proxy = yes or no ## Password and Authentication ## # password server = * ## Enter with PDC Name encrypt passwords = yes # Shares Definitions [netlogon] comment = Network Logon Service path = /usr/local/samba/lib/netlogon guest ok = yes writeable = no share modes = no [transfer] comment = Transfer Files path = /transfer writeable = yes browseable = yes Help me, please... Thanks ! ___ (0 0) +V+ | Rodrigo Nascimento | | Linux Users Brazil o0o o0o| +( )---( )+ http://www.ieg.com.br -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Unsupported action mkdir
Hello, When I copy folders from my linux box to my win xp I get this error message. Unsupported action mkdir. I can copy files and folders from winxp to linux. Does anyone have an idea of where I should start to fix this. Blair -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba error
On Thu, 30 Jan 2003, Rodrigo Nascimento wrote: Hi list, Suggest you try the following. - John T. # smbclient -L \\SAMBA added interface ip=10.3.0.221 bcast=10.3.0.255 nmask=255.255.255.128 added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0 Got a positive name query response from 127.0.0.1 ( 10.3.0.221 ) session request to SAMBA failed (SUCCESS - 0) Got a positive name query response from 127.0.0.1 ( 10.3.0.221 ) session request to *SMBSERVER failed (SUCCESS - 0) Why I run this command occur this errors? See my conf file: # SAMBA CONFIGURATION FILE # Date: 30/01/2003 # by Rodrigo Nascimento ### # Global Settings ### [global] ## Basic Server Settings ## ### workgroup = SAPSWAP netbios name = SAMBA server string = Area de troca de arquivos ; hosts allow = IPs allowed log file = /usr/local/samba/var/log.%m log level = 1 max log size = 4098 security = server socket options = TCP_NODELAY interfaces = 10.3.0.221/25 127.0.0.1 code page directory = /usr/local/lib/codepages client code page = 850 You are in USER mode security. ie: Have a local /etc/passwd and smbpasswd file. That is the default. The default applies because you have not set (do not need it to get default behaviour): security = [SHARE | USER | SERVER | DOMAIN] ## Networking Browsing ## # local master = no os level = 20 ## WINS and Name Resolution ## ## wins support = yes ; wins server = ; wins proxy = yes or no ; dns proxy = yes or no ## Password and Authentication ## # password server = * ## Enter with PDC Name ^^^ This means: Do not process username/password locally, but send it to the machine named. The '*' means ask WINS or do broadcast to find the authentication server. You do NOT want this unless security = [ SERVER | DOMAIN ]. Please remove the: password server = * encrypt passwords = yes Now this means you will use a local smbpasswd file. Did you add the user 'root' and every normal user to the smbpasswd file by doing: smbpasswd -a root smbpasswd -a 'username' If not, you need to do that if you specify ecrypted passwords. # Shares Definitions [netlogon] comment = Network Logon Service path = /usr/local/samba/lib/netlogon guest ok = yes writeable = no share modes = no [transfer] comment = Transfer Files path = /transfer writeable = yes browseable = yes Help me, please... Thanks ! ___ (0 0) +V+ | Rodrigo Nascimento | | Linux Users Brazil o0o o0o| +( )---( )+ http://www.ieg.com.br -- 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] Problems making use of 2K PDC
Em Thu, Jan 30, 2003 at 10:37:29AM -0600, Kenny Mann escreveu: I'm able to join the comain. I'm not, still getting errors... smbpasswd -j says I joined the domain. I can confirm that the samba machine shows up in the w2k AD. Nothing unusual in the logs but the excerpt below from the smbpasswd -j run: (...) Domain=[DISTRO] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager] lsa_io_sec_qos: length c does not match size 8 --- what is this? Joined domain DISTRO. Immediately afterwards I run: smbpasswd -t DISTRO -r TESTE011 -D 4 and get: (...) cli_net_req_chal: LSA Request Challenge from TESTE011 to PANDORA: 934D0AA570E6938A cred_session_key cred_create cli_net_auth2: srv:\\TESTE011 acct:PANDORA$ sc:6 mc: PANDORA chal C72569B51FC1D884 neg: 1ff cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT cli_nt_setup_creds: auth2 challenge failed modify_trust_password: unable to setup the PDC credentials to machine TESTE011. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. 2003/01/30 16:21:20 : change_trust_account_password: Failed to change password for domain DISTRO. Event viewer says: The session setup from the computer PANDORA failed because there is no trust account in the security database for this computer. The name of the account referenced in the security database is PANDORA$. Now, is this a bug? Where should the missing $ be? mc? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Wins Refresh
Samba Folks, I am facing a strange problem very in my net. I've the WINS Server, based on SAMBA(2.2.7-2) in RH 8.0. When I put on machine in the domain, the Wins registers in the browser list.. Later that I removed the machine from domain, the Wins does not give one refresh and clean the array name. I tried to remove the name wrong of the table/var/lock/samba/browser.dat and wins.dat, but when reset the SAMBA the name of schemes wrong return. How I make WINS to give refresh of times? Please help-me, Thanks a lot, Clovis -- Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola E-mail: mailto:[EMAIL PROTECTED] http://www.agr.unicamp.br Fone(0xx19) 37881031-37881038 ou FAX(55xx19) 37881010 _|_|_|_|_| _|_|_| _|_|_|_|_|_| _| _|_| (o- _|_|_| _|_|_|_| _|_| _|_| _|_| _| //\ _| _|_|_| _|_| _|_| V_/_ _|_|_|_|_|_|_|_|_|_| _|_| _| -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Wins Server Fail
Hi, I'm using samba-2.2.7-2 in RH 8.0. I'm receiving, lot off e-mails(Logwatch), with the error message: [2003/01/28 08:23:15, 0] nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(509) : 1 Time(s) I configured smb.conf to Wins Server, with global options: security = share os level = 255 preferred master = Yes lm announce = yes local master = Yes domain master = Yes What's happen? Please help-me, Clovis -- Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola E-mail: mailto:[EMAIL PROTECTED] http://www.agr.unicamp.br Fone(0xx19) 37881031-37881038 ou FAX(55xx19) 37881010 _|_|_|_|_| _|_|_| _|_|_|_|_|_| _| _|_| (o- _|_|_| _|_|_|_| _|_| _|_| _|_| _| //\ _| _|_|_| _|_| _|_| V_/_ _|_|_|_|_|_|_|_|_|_| _|_| _| -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can
Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x - 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these missing directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] PAM Module for SMB-LDAP
Date: 30 Jan 2003 10:40:50 -0500 From: Bradley W. Langhorst [EMAIL PROTECTED] To: Matthias Eichler [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] PAM Module for SMB-LDAP Message: 18 On Thu, 2003-01-30 at 05:28, Matthias Eichler wrote: And with these settings you can really change the lmpassword and ntpassword attributes in LDAP when doing a passwd under UNIX?!? yes - i am using samba3a21 but i'm pretty sure this worked with 2.2.6 when i last tried the 2.2 branch It really has no relationship to which samba you're running, since this is when changing your password on a unix machine which is not a DC, so you can't (AFAIK) use pam_smbpass, and the machine may have no samba components installed on it anyway. AFIAK, the only way around this is a hacked pam_ldap which changes ntpasswd and lmpasswd, there is one around somewhere ... The other option is to make a passwd script which calls smbpasswd -r name of pdc, and rename the old passwd binary. Buchan -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] File timestamp proble with smbmount
Hello ! Maybe my problem is a well-known one, but i don't find any answer on the web :-( I smbmount a win2k share on my linux (Debian PowerPC) box and timestamp for all directories and files is 'Jan, 1, 1970'... I don't know why, dates on both linux and windows sides are ok. It I touch a file on the mounted disk, the file is timestamped 'Jan, 1, 1970'. If I connect and browse the windows share with smbclient, the files timestamps are rights (like appearing in windows browser). I use smbd/nmbd 2.2.3a-12 on a Debian woody PPC, with the default smb.conf file. If anybody can help me on that strange problem, thanks you in advance. Best Regards, Sebastien Schneider. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] PAM Module for SMB-LDAP
On Thu, 2003-01-30 at 13:46, Buchan Milne wrote: Date: 30 Jan 2003 10:40:50 -0500 From: Bradley W. Langhorst [EMAIL PROTECTED] To: Matthias Eichler [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] PAM Module for SMB-LDAP Message: 18 On Thu, 2003-01-30 at 05:28, Matthias Eichler wrote: And with these settings you can really change the lmpassword and ntpassword attributes in LDAP when doing a passwd under UNIX?!? yes - i am using samba3a21 but i'm pretty sure this worked with 2.2.6 when i last tried the 2.2 branch It really has no relationship to which samba you're running, since this is when changing your password on a unix machine which is not a DC, so you can't (AFAIK) use pam_smbpass, and the machine may have no samba components installed on it anyway. I could be mistaken but I believe that the pam_smbpass that comes with samba uses native samba calls to change the password. Really - this does work on my setup i've just tested it by changing my password like this on the command line passwd bwlang New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: LDAP password information changed for bwlang passwd: password updated successfully now when i log in to an xp machine (joined to the samba pdc) i must use the new password here's what my auth.log says... Jan 30 13:49:22 bitc PAM_unix[29461]: username [bwlang] obtained Jan 30 13:49:22 bitc PAM_unix[29461]: Password for bwlang was changed Jan 30 13:49:22 bitc PAM_smbpass[29461]: username [bwlang] obtained Jan 30 13:49:22 bitc PAM_smbpass[29461]: password for (bwlang/603) changed by (root/0) AFIAK, the only way around this is a hacked pam_ldap which changes ntpasswd and lmpasswd, there is one around somewhere ... maybe I'm using that hacked pam_ldap but I don't remember installing it... am i smoking crack here? seems to work. 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] PAM Module for SMB-LDAP
Bradley W. Langhorst wrote: On Thu, 2003-01-30 at 13:46, Buchan Milne wrote: It really has no relationship to which samba you're running, since this is when changing your password on a unix machine which is not a DC, so you can't (AFAIK) use pam_smbpass, and the machine may have no samba components installed on it anyway. I could be mistaken but I believe that the pam_smbpass that comes with samba uses native samba calls to change the password. Well then the docs on it are really stuffed and ambiguous ... but I would be happy to know that this works ... From: samba-2.2.7a/source/pam_smbpass/README This module authenticates a local smbpasswd user database. If you require support for authenticating against a remote SMB server, or if you're concerned about the presence of suid root binaries on your system, it is recommended that you use one of the other two following modules I have already determined from Andrew Bartlett that there is ambiguity in 'smbpasswd user database', as it should be 'samba passdb backend', to be more clear that LDAP etc is supported in 2.2.7a on the DC. But it may be out of date: 25 Mar 2001 Or maybe works better on samba3 ... Really - this does work on my setup i've just tested it by changing my password like this on the command line passwd bwlang New UNIX password: BAD PASSWORD: it is based on a dictionary word Retype new UNIX password: LDAP password information changed for bwlang passwd: password updated successfully now when i log in to an xp machine (joined to the samba pdc) i must use the new password here's what my auth.log says... Jan 30 13:49:22 bitc PAM_unix[29461]: username [bwlang] obtained Jan 30 13:49:22 bitc PAM_unix[29461]: Password for bwlang was changed Jan 30 13:49:22 bitc PAM_smbpass[29461]: username [bwlang] obtained Jan 30 13:49:22 bitc PAM_smbpass[29461]: password for (bwlang/603) changed by (root/0) AFIAK, the only way around this is a hacked pam_ldap which changes ntpasswd and lmpasswd, there is one around somewhere ... maybe I'm using that hacked pam_ldap but I don't remember installing it... You can check: $ strings /lib/security/pam_ldap.so |grep -i ntpassword For example: [bgmilne@bgmilne wxgps]$ strings /lib/security/pam_ldap.so |grep -i \ userpassword userPassword am i smoking crack here? seems to work. We'll find out ... Buchan -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] So SAMBA no longer supports print driver downloads
I have much trouble with drivers from HP. The drivers that come with w2k XP works. If you have to use the drivers from the manufakturer of the printer try the default devmode parameter in smb.conf to initialize the driver. Once done you can remove the default devmode from smb.conf. Just a try, has worked for me with HP Deskjet 970 driver. Didi Dietrich, Thanks for the note. I will look into this. I still perplexed that the driver download settings were OK for printer admins, but messed-up for regular users. This looks like the same problem going back to Samba versions prior to 2.2.2, problems which I had thought fixed. -Bob ** Speaking only for myself - CSU pays better people than me to speak for them. Bob Martel - System Administrator | I met someone who looks Maxine Goodman Levin College of Urban Affairs |a lot like you Cleveland State University | She does the things you do (216) 687-2214 |But she is an IBM [EMAIL PROTECTED] | -Jeff Lynne ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Smbmount for Solaris 8?
I see that smbmount is for Linux only. I have a need for a Solaris 8 Sun to see a Win2k shared volume, currently as read-only. So I have a few questions: - Is there a read-only capability of smbmount for Solaris 8? - Is there a Solaris 8 version of smbmount in development? Is so, when would it be released? - Can you name any commercial packages that offer the ability to mount NTFS file systems (either read-only or full-access)? Thanks, Chris Kovach -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbmount for Solaris 8?
I see that smbmount is for Linux only. smbmount relies on kernel support for the smb filesystem which (to the best of my knowledge) isn't in Solaris. I believe you can use smbclient to copy files in an FTP-like fashion. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] some doubts
Greetings from Brazil, 1) how can i login with the local accounts (root and others) while winbind is running ? i can only login with domain+user accounts !!! my /etc/nsswitch.conf is already configured to check files and winbind.. what else should i do ? 2) is there an way of my win2kserver users login only with their user name and not as DOMAIN+user ? Thanx in advance Igor Vieira Debacker [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Use client driver
Good day everyone, Just a quick question. When using Samba 2.2.7a and Cups 1.17 or 1.18, is it good or bad to use Use client driver as a share setting on the Printers share? I used it with LPD, but I'm not real sure it's necessary with cups. Thanks in advance Darin Bawden TeamDME! Technical Support (615) 333-1900 [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: Smbmount for Solaris 8?
I see that smbmount is for Linux only. smbmount relies on kernel support for the smb filesystem which (to the best of my knowledge) isn't in Solaris. I believe you can use smbclient to copy files in an FTP-like fashion. The smbsh function works nicely on Solaris 8. You run smbsh, it prompts you for your login and password for the PDC and then gives you a shell prompt. The shell is taken from $SHELL by default. You can then cd to /smb and begin walking around in your SMB network like a regular directory structure. -- Robert E. Styma Principal Engineer AG Communication Systems, Phoenix - A subsidiary of Lucent Email: [EMAIL PROTECTED] Phone: 623-582-7323 FAX: 623-581-4884 Company: http://www.agcs.com Personal: http://www.swlink.net/~styma -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Wins Server Fail
On Thu, 30 Jan 2003, Clovis Tristao wrote: Hi, I'm using samba-2.2.7-2 in RH 8.0. I'm receiving, lot off e-mails(Logwatch), with the error message: [2003/01/28 08:23:15, 0] nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(509) : 1 Time(s) I configured smb.conf to Wins Server, with global options: security = share os level = 255 preferred master = Yes lm announce = yes local master = Yes domain master = Yes What's happen? Please help-me, There is nothing in the above that tells samba to be a WINS server _or_ a WINS client. If you want samba to be a WINS server then you need to add to smb.conf [globals]: wins support = Yes If you want samba to be a WINS client then you need: wins server = x.x.x.x where x.x.x.x is the IP of the WINS server. If samba is the WINS server then DO NOT add the wins server = line. Since your samba server is in SHARE mode, why do you want it to register as a domain controller? Suggest you set os level = 20 - the default, you do not need to set it higher in most situations unless you want to be a network logon server, which with SHARE mode security does not make mcuh sense. Share mode scurity (ie: security = share) is fully described in the smb.conf man pages. You might also check the smb.conf man page for what domain master really means. I hope this helps. - 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] win XP off_line
Hi I have a linux server Redhat 7.3 running samba. There are 10 XP machines on the network with a mapped samba drive. My problem is one of the XP machines on the network, has its mapped drive which goes off line periodically. It seems to be random. I am wondering what could be the cause of the problem??? This is a fairly new setup and all machines are setup identically. Any suggestions would be appreciated.. Regards Justin Anderson -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] win XP off_line
On Thu, 30 Jan 2003, Justin Anderson wrote: Hi I have a linux server Redhat 7.3 running samba. There are 10 XP machines on the network with a mapped samba drive. My problem is one of the XP machines on the network, has its mapped drive which goes off line periodically. It seems to be random. I am wondering what could be the cause of the problem??? This is a fairly new setup and all machines are setup identically. Any suggestions would be appreciated.. Are you running samba as a domain controller? If so, is the XP machine a member of the domain? If not: Is the samba server a memeber of a domain? And is your XP machine a domain member? If your samba server is running as a stand-alone server, then you have NO control over XP's decision to drop the drive connection unless you hack the registry to no do so. - 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] Can't see all of the directories in a share with 2.2.7a-1RH8...but older version/kernel can
could spaces in the names be an issue? -- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com office: 610.233.4747 direct: 610.233.4870 cell: 267.879.8321 -Original Message- From: Joe Gerkman [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:38 PM To: [EMAIL PROTECTED] Subject: [Samba] Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x - 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these missing directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J -- 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] Can't see all of the directories in a share with 2.2.7a-1RH8...but older version/kernel can
Hi Barry, Don't think so, at least not at the root level of the share...none do...some have some files within the directories with spaces though...just seems curious if it were to affect one version/kernel (the newer) and not the other (older)? -J -Original Message- From: Barry, Christopher [mailto:[EMAIL PROTECTED]] Sent: Thu 1/30/2003 1:24 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Subject:RE: [Samba] Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can could spaces in the names be an issue? -- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com office: 610.233.4747 direct: 610.233.4870 cell: 267.879.8321 -Original Message- From: Joe Gerkman [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:38 PM To: [EMAIL PROTECTED] Subject: [Samba] Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x - 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these missing directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J -- 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] [found something] Problems making use of 2K PDC
Em Thu, Jan 30, 2003 at 04:29:04PM -0200, Andreas Hasenack escreveu: Immediately afterwards I run: smbpasswd -t DISTRO -r TESTE011 -D 4 and get: (...) cli_net_req_chal: LSA Request Challenge from TESTE011 to PANDORA: 934D0AA570E6938A cred_session_key cred_create cli_net_auth2: srv:\\TESTE011 acct:PANDORA$ sc:6 mc: PANDORA chal C72569B51FC1D884 neg: 1ff cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT Ok, finally found something. It's in smb.conf. If I leave domain logons = yes in /etc/smb.conf, then the above smbpasswd command fails. If I comment domain logons, then the above command works. Also, without domain logons, I can issue: smbclient -L PANDORA -U user%pass and it will happily authenticate user against my W2K server. Now I need a way to make my workstations (winxp) try to logon on the linux samba server but authenticate against my w2k server. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] [found something] Problems making use of 2K PDC
Em Thu, Jan 30, 2003 at 07:35:58PM -0200, Andreas Hasenack escreveu: cli_net_auth2: srv:\\TESTE011 acct:PANDORA$ sc:6 mc: PANDORA chal C72569B51FC1D884 neg: 1ff cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT Ok, finally found something. It's in smb.conf. If I leave domain logons = yes in /etc/smb.conf, then the above smbpasswd command fails. If I comment domain logons, then the above command works. Also, without domain logons, I can issue: smbclient -L PANDORA -U user%pass and it will happily authenticate user against my W2K server. Just to recap in case someone is actually following this: PANDORA: samba-2.2.7a TESTE011: w2k server on a different subnet (I'm using /etc/lmhosts to reach this server) user: exists in PANDORA's /etc/passwd, but not in /etc/smbpasswd -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can
You're using smbmount, right? Sounds like you're seeing only 512 files.. do ls | wc -l. 512 is a nice round binary number and is probably what you're seeing. I don't have a direct answer, but I'm under the impression that there are many broken things in RedHat 8.0 (RedHat 7.0 also had many broken things.. cooincidence??). I wrote earlier this week about a RedHat 8-specific problem cannot find name for group ID X. Others with RedHat 8 have shared similar stories, and I'm having no issues with the same exact version of Samba on a RedHat 7.3 box. I've been using RH8 on my main workstation since introduction and I've found other weirdness. I'm not near my RH8 box at the moment but when I get back to work tomorrow I'll test an SMB mount of a Windows NT box. I could try a 2000 box if necessary. I'll do a wc -l and see what happens. I do recall having no problems with a Samba server (2000+ directories) and I can confirm that tomorrow. First, try copying the smb.conf from the 6.2 box. Smbmount seems to read a few lines from it, and there is a chance you have differences. If you have a RedHat 7.3 box handy, install the same version of Samba (I agree it doesn't sound version-specific) and try it.. it'd probably work fine. I'll try to do the same. /dev/idal --- Joe Gerkman [EMAIL PROTECTED] wrote: Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x - 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these missing directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J -- 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: some doubts
I just found this smb.conf setting recently which fixed the same problem you are having now: winbind use default domain = yes Restart both Samba and Winbind. Now we can log into webmin and ssh and netatalk and anything else that uses PAM with our NT username and password (: Oh, you do have to correctly configure PAM.. look in the Samba.org documentation under winbind. /dev/idal --- Igor Debacker [EMAIL PROTECTED] wrote: i was using at nsswitch.conf passwd files winbind group files winbind shadow files winbind then i tryed... passwd compat winbind group compat winbind shadow compat winbind none of them work.. i cant login as root :\ (for those who are wondering.. i'm making modification with a rescue disk.. i boot in and mount my local hd) any other idea ? - Original Message - From: Rich Smrcina [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 3:32 PM Subject: Re: [Samba] some doubts Local accounts should work just fine. I have nsswitch.conf set up with 'compat winbind'. On Thursday 30 January 2003 01:19 pm, Igor Debacker wrote: Greetings from Brazil, 1) how can i login with the local accounts (root and others) while winbind is running ? i can only login with domain+user accounts !!! my /etc/nsswitch.conf is already configured to check files and winbind.. what else should i do ? 2) is there an way of my win2kserver users login only with their user name and not as DOMAIN+user ? Thanx in advance Igor Vieira Debacker [EMAIL PROTECTED] -- Rich Smrcina Sr. Systems Engineer Sytek Services, A Division of DSG Milwaukee, WI [EMAIL PROTECTED] [EMAIL PROTECTED] Catch the WAVV! Stay for Requirements and the Free for All! Update your S/390 skills in 4 days for a very reasonable price. WAVV 2003 in Winston-Salem, NC. April 25-29, 2003 For details see http://www.wavv.org -- 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: some doubts
Oh and I found it with testparm | grep winbind. Followed up in man smb.conf and learned how to use it. Try testparm | less some time and see what you'll learn! /dev/idal --- Chris de Vidal [EMAIL PROTECTED] wrote: I just found this smb.conf setting recently which fixed the same problem you are having now: winbind use default domain = yes Restart both Samba and Winbind. Now we can log into webmin and ssh and netatalk and anything else that uses PAM with our NT username and password (: Oh, you do have to correctly configure PAM.. look in the Samba.org documentation under winbind. /dev/idal --- Igor Debacker [EMAIL PROTECTED] wrote: i was using at nsswitch.conf passwd files winbind group files winbind shadow files winbind then i tryed... passwd compat winbind group compat winbind shadow compat winbind none of them work.. i cant login as root :\ (for those who are wondering.. i'm making modification with a rescue disk.. i boot in and mount my local hd) any other idea ? - Original Message - From: Rich Smrcina [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 3:32 PM Subject: Re: [Samba] some doubts Local accounts should work just fine. I have nsswitch.conf set up with 'compat winbind'. On Thursday 30 January 2003 01:19 pm, Igor Debacker wrote: Greetings from Brazil, 1) how can i login with the local accounts (root and others) while winbind is running ? i can only login with domain+user accounts !!! my /etc/nsswitch.conf is already configured to check files and winbind.. what else should i do ? 2) is there an way of my win2kserver users login only with their user name and not as DOMAIN+user ? Thanx in advance Igor Vieira Debacker [EMAIL PROTECTED] -- Rich Smrcina Sr. Systems Engineer Sytek Services, A Division of DSG Milwaukee, WI [EMAIL PROTECTED] [EMAIL PROTECTED] Catch the WAVV! Stay for Requirements and the Free for All! Update your S/390 skills in 4 days for a very reasonable price. WAVV 2003 in Winston-Salem, NC. April 25-29, 2003 For details see http://www.wavv.org -- 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.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] [found something] Problems making use of 2K PDC
On Thu, 30 Jan 2003, Andreas Hasenack wrote: Em Thu, Jan 30, 2003 at 04:29:04PM -0200, Andreas Hasenack escreveu: Immediately afterwards I run: smbpasswd -t DISTRO -r TESTE011 -D 4 and get: (...) cli_net_req_chal: LSA Request Challenge from TESTE011 to PANDORA: 934D0AA570E6938A cred_session_key cred_create cli_net_auth2: srv:\\TESTE011 acct:PANDORA$ sc:6 mc: PANDORA chal C72569B51FC1D884 neg: 1ff cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT Ok, finally found something. It's in smb.conf. If I leave domain logons = yes in /etc/smb.conf, then the above smbpasswd command fails. If I comment domain logons, then the above command works. Also, without domain logons, I can issue: smbclient -L PANDORA -U user%pass and it will happily authenticate user against my W2K server. Now I need a way to make my workstations (winxp) try to logon on the linux samba server but authenticate against my w2k server. No way. Authenticate == logon! If your Win2K DC is your authentication server for your domain, then DO NOT set domain logons = Yes on samba - it can cripple your Win2K DC! Instead, in your smb.conf [globals] you want: security = domain password server = * Then join the domain by: smbpasswd -r 'PDC_name' -j 'Domain_Name' This way your MS Windows clients should be domain members and will log onto the Win2K DC and will be able to seemlessly access your samba server. If you do not want to create separate users on the samba server, then configure winbind and PAM to provide all account info and home directories on the samba server automatically. - 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] some doubts
Local accounts should work just fine. I have nsswitch.conf set up with 'compat winbind'. On Thursday 30 January 2003 01:19 pm, Igor Debacker wrote: Greetings from Brazil, 1) how can i login with the local accounts (root and others) while winbind is running ? i can only login with domain+user accounts !!! my /etc/nsswitch.conf is already configured to check files and winbind.. what else should i do ? 2) is there an way of my win2kserver users login only with their user name and not as DOMAIN+user ? Thanx in advance Igor Vieira Debacker [EMAIL PROTECTED] -- Rich Smrcina Sr. Systems Engineer Sytek Services, A Division of DSG Milwaukee, WI [EMAIL PROTECTED] [EMAIL PROTECTED] Catch the WAVV! Stay for Requirements and the Free for All! Update your S/390 skills in 4 days for a very reasonable price. WAVV 2003 in Winston-Salem, NC. April 25-29, 2003 For details see http://www.wavv.org -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can
Thanks Chris... I'll give those suggestions a try later on tonight and let you know...interested to see what you find too... Take care and thanks again... -J -Original Message- From: Chris de Vidal [mailto:[EMAIL PROTECTED]] Sent: Thu 1/30/2003 2:05 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject:Re: Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can You're using smbmount, right? Sounds like you're seeing only 512 files.. do ls | wc -l. 512 is a nice round binary number and is probably what you're seeing. I don't have a direct answer, but I'm under the impression that there are many broken things in RedHat 8.0 (RedHat 7.0 also had many broken things.. cooincidence??). I wrote earlier this week about a RedHat 8-specific problem cannot find name for group ID X. Others with RedHat 8 have shared similar stories, and I'm having no issues with the same exact version of Samba on a RedHat 7.3 box. I've been using RH8 on my main workstation since introduction and I've found other weirdness. I'm not near my RH8 box at the moment but when I get back to work tomorrow I'll test an SMB mount of a Windows NT box. I could try a 2000 box if necessary. I'll do a wc -l and see what happens. I do recall having no problems with a Samba server (2000+ directories) and I can confirm that tomorrow. First, try copying the smb.conf from the 6.2 box. Smbmount seems to read a few lines from it, and there is a chance you have differences. If you have a RedHat 7.3 box handy, install the same version of Samba (I agree it doesn't sound version-specific) and try it.. it'd probably work fine. I'll try to do the same. /dev/idal --- Joe Gerkman [EMAIL PROTECTED] wrote: Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x - 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these missing directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J -- 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.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] netlogon sometimes works (corrected with smb.confattached)
John, I have no success with packet sniffing, the netlogon share either works or it doesn't. Our boxes are not overly loaded, but I took your advice and tinkered with the loading. Over the passed week, it gets the netlogon share executed more times than not (at the moment) but it still isn't perfect (100% record is what I'd expect from a PDC). I suspect it is a problem within samba in terms of how fast it looks at certainincoming network packets, as the password logon works fine every single time, but connecting to the PDC and executing the NETLOGON share are problematic.. Anyway, thanks for your help. Hopefully, a bit more load balancing will get it working 100% of the time. Jason Walton Nomad Software Ltd 186 Regent Street London W1B 5TN Tel. +44 (20) 7292 2459 Fax. +44 (20) 7292 2401 www.nomadsoft.com John H Terpstra [EMAIL PROTECTED] 25/01/2003 05:05 To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: [Samba] netlogon sometimes works (corrected with smb.conf attached) Jason, Apologies for the dealy, I was at LinuxWorld Expo New York all week and just got home. You should use a network sniffer (like Ethereal) to capture a trace of a logon that works correctly and one that does not. Then examine the differences to find what went wrong. It should tell you where things broke down. If timing is the issue t hen your authentication server may be problematic. In this case you would need to either isolate the problem, or move the authentication (netlogon) service to another machine that is more responsive. - John T. On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: John, thanks for your help thus far. I switched switches that the PDC is plugged into and it almost had me believing that it worked, I managed to log in three times in quick succession and each time it executed the netlogon script. Alas, inconsistency reared its ugly head once more and now I either get a successful logon (netlogon script runs) or a plain logon (validates my password, creates my profile share (z drive), but fails to run the netlogon share). Which brings me to ask the question, is the netlogon share affected by network acvtivity? The PDC server is running fileservices, domino, and other items. Password validation isn't a problem, but getting samba to process the netlogon, is a pain. Everything that did run on the NT server has been migrated to the solaris machine and works better and faster than before. The PDC is the last item left, I'm wondering if Samba needs a more dedicated host to invoke netlogon? Domino can be quite intensive on network activity when replicating between sites, so would this network deluge put samba off from the 'less critical' execution of the netlogon share? FYI our NT server is an old Pentium, 64Mb RAM, 10M network card. our solaris PDC server is a dual PIII, 1Gb RAM, 100M network card. Jason Walton Nomad Software Ltd 186 Regent Street London W1B 5TN Tel. +44 (20) 7292 2459 Fax. +44 (20) 7292 2401 www.nomadsoft.com John H Terpstra [EMAIL PROTECTED] 21/01/2003 03:46 To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: [Samba] netlogon sometimes works (corrected with smb.conf attached) Jason, We have gone over a few things already. You are using WINS, that means your MS Windows clients should not have any trouble finding your samba server and the services that run on it. The only time I have seen similar behaviour, given that everything is correctly configured from a Samba and MS Windows networking perspective, has been where there has been a jabbering network card or a defective HUB. Have you tried replacing the NICs in a client and the server? Have you tried a cross-over cable between the two to validate that you the network login process correctly completes EVERY time. If with known working NICs and a cross-over cable you can reproduce the failure to execute the network logon process correctly, then it might be time to turn back to blaming the Samba or MS Windows configuration. - John T. On Mon, 20 Jan 2003 [EMAIL PROTECTED] wrote: Could anybody please help? I have tried all sorts and nothing will fix the problem permamently. I have a samba PDC which on occasion happily logs a user on and processes the NETLOGON share. However, it doesn't always run this service. I have placed preexec commands in both the profiles and netlogon shares, only the profiles preexec is executed. Reboots don't make any difference, only determed logout / logins will eventually get the netlogon share executed. I have included the full smb.conf file, samba is now running 2.2.7a, each upgrade results in the same problem. We have two domains, one controlled by an old NT PDC (this is to be retired) and one by a new samba PDC (to be the main PDC for all machines, once they are migrated). I have noticed that trying to join the samba
Re: [Samba] some doubts
i was using at nsswitch.conf passwd files winbind group files winbind shadow files winbind then i tryed... passwd compat winbind group compat winbind shadow compat winbind none of them work.. i cant login as root :\ (for those who are wondering.. i'm making modification with a rescue disk.. i boot in and mount my local hd) any other idea ? - Original Message - From: Rich Smrcina [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 3:32 PM Subject: Re: [Samba] some doubts Local accounts should work just fine. I have nsswitch.conf set up with 'compat winbind'. On Thursday 30 January 2003 01:19 pm, Igor Debacker wrote: Greetings from Brazil, 1) how can i login with the local accounts (root and others) while winbind is running ? i can only login with domain+user accounts !!! my /etc/nsswitch.conf is already configured to check files and winbind.. what else should i do ? 2) is there an way of my win2kserver users login only with their user name and not as DOMAIN+user ? Thanx in advance Igor Vieira Debacker [EMAIL PROTECTED] -- Rich Smrcina Sr. Systems Engineer Sytek Services, A Division of DSG Milwaukee, WI [EMAIL PROTECTED] [EMAIL PROTECTED] Catch the WAVV! Stay for Requirements and the Free for All! Update your S/390 skills in 4 days for a very reasonable price. WAVV 2003 in Winston-Salem, NC. April 25-29, 2003 For details see http://www.wavv.org -- 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] Smbmount for Solaris 8?
I see that smbmount is for Linux only. I have a need for a Solaris 8 Sun to see a Win2k shared volume, currently as read-only. So I have a few questions: - Is there a read-only capability of smbmount for Solaris 8? - Is there a Solaris 8 version of smbmount in development? Is so, when would it be released? - Can you name any commercial packages that offer the ability to mount NTFS file systems (either read-only or full-access)? If your Solaris is Solaris 8 x86 the following doesn't apply, however if you're running Sparc the following link might help: http://www.sun.com/solutions/interoperability/netlink/pcnetlink2_0/index.htm l or just http://www.sun.com/solutions/interoperability PC-Netlink is more of a server product than a client but it's free for Solaris Sparc platforms. If you are running Solaris x86 then you might want to look at: http://www.microsoft.com/windows/sfu/default.asp It's $99.00 but has an NFS server for MS as well as a host of other interoperability shtuff... Good Luck -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] WINS Server failing to start
Hi All, Just wondering if anyone has seen this problem before. Firstly heres some background. We run a fair few RH 7.2 servers which had been running samba 2.2.3a perfectly. I have now upgraded some of them to run samba 2.2.7a. On a few of these upgraded servers i find that when samba is stopped then started or restarted WINS fails to come up. Running smbclient -L //server reports wins_server_died(). Now having looked through the debug logs i have found that when the smb stop command is issued sometimes it fails to kill the running nmbd processes (both of them). Therefore when smb goes to start up it cant start nmbd as it is already started but is not accepting connections. If i manually kill the nmbd processes it works no worries. Basically the init script is not killing the nmbd processes, however the init script is EXACTLY the same as the servers that work fine. (I might add that all the server configurations are identical). I have tried every combination of uninstall / reinstall / upgrade of the samba rpm without luck. What puzzles me is that it only occurs on some of the servers. Obviously wins support = yes is set in the smb.conf file. Any ideas welcome. Thanks in advance. _ David Brown Systems Specialist CSM Technology Darwin, NT, Australia Email: [EMAIL PROTECTED] _ This e-mail, including any attachments, is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. Any information contained in this e-mail is not to be used or disclosed for any purpose other than the purpose for which you received it. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this e-mail by mistake, please delete this e-mail permanently from your system. WARNING: Although the company has taken reasonable precautions to ensure no viruses are present in this e-mail, the company can not accept responsibility for any loss or damage arising from the use of this e-mail or attachments. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Mandrake 9.0: rpcclient problem exporting printers to samba for windows
I am new to CUPS, after working for 4 days to get printing from WinNT to Mandrake 9.0, I give up. Here is the problem: the /etc/samba/smb.conf is setup with [printers] and [print$]. I copy the postscript drivers from adobe. I then tried to export a printer to samba with the following command cupsaddsmb -v -U dwoody canon It did all of the commands successfully except for the last one. which was: rpcclient localhost -N -Udwoody%password -c 'setdriver canon canon' It failed with NT_STATUS_UNSUCCESSFUL. I ran the same rpcclient standalone with debug and I got several error messages. They are 1) connection refused on localhost:445 (it then used port 139 - should it?) 2) WERR_ACCESS_DENIED (this was near the end of the output) 3) NT_STATUS_UNSUCCESSFUL I have not been able to fix the first two errors. BTW, the drive shares are working correctly. If anybody can help I will be very appreciative, David -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can
Update... See 554 files on rh8.0/2.2.7a machine, 627 on the rh6.2/2.0.6-9 machine (the latter being the true number). Tried copying over the same smb.conf file (which I thought I'd done before)...no change/luck. Also tried the same version of samba on a 7.3 as well as a 7.1 box (same smb.conf file too)...no luck there either...oh, all had 2.4.x kernel, well except for the working machine (if that matters). On Thu, 2003-01-30 at 14:05, Chris de Vidal wrote: You're using smbmount, right? Sounds like you're seeing only 512 files.. do ls | wc -l. 512 is a nice round binary number and is probably what you're seeing. I don't have a direct answer, but I'm under the impression that there are many broken things in RedHat 8.0 (RedHat 7.0 also had many broken things.. cooincidence??). I wrote earlier this week about a RedHat 8-specific problem cannot find name for group ID X. Others with RedHat 8 have shared similar stories, and I'm having no issues with the same exact version of Samba on a RedHat 7.3 box. I've been using RH8 on my main workstation since introduction and I've found other weirdness. I'm not near my RH8 box at the moment but when I get back to work tomorrow I'll test an SMB mount of a Windows NT box. I could try a 2000 box if necessary. I'll do a wc -l and see what happens. I do recall having no problems with a Samba server (2000+ directories) and I can confirm that tomorrow. First, try copying the smb.conf from the 6.2 box. Smbmount seems to read a few lines from it, and there is a chance you have differences. If you have a RedHat 7.3 box handy, install the same version of Samba (I agree it doesn't sound version-specific) and try it.. it'd probably work fine. I'll try to do the same. /dev/idal --- Joe Gerkman [EMAIL PROTECTED] wrote: Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x - 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these missing directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J -- 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! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Joe Gerkman UNIX/Linux Systems Engineer Gartner 308 SW First Avenue Portland, OR 97204 phone: 503-241-8036 x427 fax:503-241-8716 pager: 800-217-4529 -or- [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] WINS Server failing to start
What is in samba start script? As I recall, the Redhat startup scripts are extremely convoluted. Have you tried something simple like this? #!/bin/bash case $1 in start) killall smbd killall nmbd /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D ;; stop) killall smbd killall nmbd ;; reload) kill -SIGHUP `cat /usr/local/samba/var/locks/smbd.pid` kill -SIGHUP `cat /usr/local/samba/var/locks/nmbd.pid` ;; *) echo Usage: echo start stop reload ;; esac exit 0 Or, just put a simple killall nmbd into your Redhat script. Joel On Fri, Jan 31, 2003 at 08:32:28AM +0930, [EMAIL PROTECTED] wrote: Hi All, Just wondering if anyone has seen this problem before. Firstly heres some background. We run a fair few RH 7.2 servers which had been running samba 2.2.3a perfectly. I have now upgraded some of them to run samba 2.2.7a. On a few of these upgraded servers i find that when samba is stopped then started or restarted WINS fails to come up. Running smbclient -L //server reports wins_server_died(). Now having looked through the debug logs i have found that when the smb stop command is issued sometimes it fails to kill the running nmbd processes (both of them). Therefore when smb goes to start up it cant start nmbd as it is already started but is not accepting connections. If i manually kill the nmbd processes it works no worries. Basically the init script is not killing the nmbd processes, however the init script is EXACTLY the same as the servers that work fine. (I might add that all the server configurations are identical). I have tried every combination of uninstall / reinstall / upgrade of the samba rpm without luck. What puzzles me is that it only occurs on some of the servers. Obviously wins support = yes is set in the smb.conf file. Any ideas welcome. Thanks in advance. _ David Brown Systems Specialist CSM Technology Darwin, NT, Australia Email: [EMAIL PROTECTED] _ This e-mail, including any attachments, is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. Any information contained in this e-mail is not to be used or disclosed for any purpose other than the purpose for which you received it. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this e-mail by mistake, please delete this e-mail permanently from your system. WARNING: Although the company has taken reasonable precautions to ensure no viruses are present in this e-mail, the company can not accept responsibility for any loss or damage arising from the use of this e-mail or attachments. -- 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] WINS Server failing to start
Thanks Joel, I have found that the init script provided in official redhat packages is slightly different to the one provided in the official samba packages. I am going to replace the one in the samba package with the one in the redhat package and see how it goes. I would lke to install the official redhat rpm however it was released on Nov 22 - prior to the release of samba-2.2.7a from samba. Therefore the latest samba package doesnt have all the large file support fixes included in 2.2.7a. I'll let the list know how it goes so (hopefully) anyone who has the same problem will not tear their hair out. Regards _ David Brown Systems Specialist CSM Technology Email: [EMAIL PROTECTED] _ Joel Hammer Joel@HammersTo: [EMAIL PROTECTED], [EMAIL PROTECTED] Home.comcc: Subject: Re: [Samba] WINS Server failing to start 31/01/2003 11:54 What is in samba start script? As I recall, the Redhat startup scripts are extremely convoluted. Have you tried something simple like this? #!/bin/bash case $1 in start) killall smbd killall nmbd /usr/local/samba/bin/smbd -D /usr/local/samba/bin/nmbd -D ;; stop) killall smbd killall nmbd ;; reload) kill -SIGHUP `cat /usr/local/samba/var/locks/smbd.pid` kill -SIGHUP `cat /usr/local/samba/var/locks/nmbd.pid` ;; *) echo Usage: echo start stop reload ;; esac exit 0 Or, just put a simple killall nmbd into your Redhat script. Joel On Fri, Jan 31, 2003 at 08:32:28AM +0930, [EMAIL PROTECTED] wrote: Hi All, Just wondering if anyone has seen this problem before. Firstly heres some background. We run a fair few RH 7.2 servers which had been running samba 2.2.3a perfectly. I have now upgraded some of them to run samba 2.2.7a. On a few of these upgraded servers i find that when samba is stopped then started or restarted WINS fails to come up. Running smbclient -L //server reports wins_server_died(). Now having looked through the debug logs i have found that when the smb stop command is issued sometimes it fails to kill the running nmbd processes (both of them). Therefore when smb goes to start up it cant start nmbd as it is already started but is not accepting connections. If i manually kill the nmbd processes it works no worries. Basically the init script is not killing the nmbd processes, however the init script is EXACTLY the same as the servers that work fine. (I might add that all the server configurations are identical). I have tried every combination of uninstall / reinstall / upgrade of the samba rpm without luck. What puzzles me is that it only occurs on some of the servers. Obviously wins support = yes is set in the smb.conf file. Any ideas welcome. Thanks in advance. _ David Brown Systems Specialist CSM Technology Darwin, NT, Australia Email: [EMAIL PROTECTED] _ This e-mail, including any attachments, is intended only for the use of the individual or entity named above and may contain information that is confidential and privileged. Any information contained in this e-mail is not to be used or disclosed for any purpose other than the purpose for which you received it. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this e-mail by mistake, please delete this e-mail permanently from your system. WARNING: Although the company has taken reasonable precautions to ensure no viruses are present in this e-mail, the company can not accept responsibility for any loss or damage arising from the use of this e-mail or attachments. -- 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
[Samba] Re: Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can
To the list: We've been having some off-list conversation and I wanted to clue you in here. Our thread might be useful for posterity's (Google's?) sake. /dev/idal --- Joe Gerkman [EMAIL PROTECTED] wrote: We're using the following command (from a shell script): First (this isn't your fix but a nicety), it's easier when this is in /etc/fstab instead of with a script. It can be done automatically at boot (RedHat recognizes smbfs types and waits til network is started) or manually with the noauto option. Then, you can just run mount /blahblah/Data If you put your password in a credentials file (see below), you can protect your password. Again, not a fix for your issue but I thought you'd like to know that. mount -f -t smbfs -o Second, I had to look up -f. man mount: -f Causes everything to be done except for the actual system call; if it's not obvious, this ``fakes'' mount-ing the file system. This option is useful in conjunction with the -v flag to determine what the mount command is trying to do. It can also be used to add entries for devices that were mounted earlier with the -n option. I have little confidence this will fix your problem, but please try it without that flag anyway. It's just a shot in the dark... username=xxx,password=xxx,uid=xxx,gid=x,fmask=770,dmask=770 //blahblah/Data /blahblah/Data Another nicety; use this option with mount or in your fstab: credentials=/some/file/chown/root.root/chmod/600 with username = someuser password = somepassword inside that file. I like to put mine in /etc/smb_passwd and I run chown 0.0/chmod 600 against it. This lets you avoid putting the password in the (world-readable) fstab. Just a suggestion. Same command we've been using for a while now (1 year)...but then again, maybe one of the options could have been deprecated Also, we installed Samba via the RPMs from samba.org...but I've also tried building from source (both SRPMs and plain source)...neither changed anything... Thanks again for your help Chris Don't thank me until I can confirm or deny it from a RH 7.3 and 8.0 box to an NT and 2000 Pro (no Server/Advanced) share (: /dev/idal On Thu, 2003-01-30 at 17:45, Chris de Vidal wrote: Whoa, really strange. Might be something you're doing, but I'll post my results to you and the list tomorrow and we can see if it's a consistent problem with RedHat 7+ and 2000. You are using smbmount or mount smbfs in fstab, correct? Also, how did you install Samba? I got an RPM from Samba.org (well, an SRPM so I could tweak the ./configure line). /dev/idal --- Joe Gerkman [EMAIL PROTECTED] wrote: Update... See 554 files on rh8.0/2.2.7a machine, 627 on the rh6.2/2.0.6-9 machine (the latter being the true number). Tried copying over the same smb.conf file (which I thought I'd done before)...no change/luck. Also tried the same version of samba on a 7.3 as well as a 7.1 box (same smb.conf file too)...no luck there either...oh, all had 2.4.x kernel, well except for the working machine (if that matters). On Thu, 2003-01-30 at 14:05, Chris de Vidal wrote: You're using smbmount, right? Sounds like you're seeing only 512 files.. do ls | wc -l. 512 is a nice round binary number and is probably what you're seeing. I don't have a direct answer, but I'm under the impression that there are many broken things in RedHat 8.0 (RedHat 7.0 also had many broken things.. cooincidence??). I wrote earlier this week about a RedHat 8-specific problem cannot find name for group ID X. Others with RedHat 8 have shared similar stories, and I'm having no issues with the same exact version of Samba on a RedHat 7.3 box. I've been using RH8 on my main workstation since introduction and I've found other weirdness. I'm not near my RH8 box at the moment but when I get back to work tomorrow I'll test an SMB mount of a Windows NT box. I could try a 2000 box if necessary. I'll do a wc -l and see what happens. I do recall having no problems with a Samba server (2000+ directories) and I can confirm that tomorrow. First, try copying the smb.conf from the 6.2 box. Smbmount seems to read a few lines from it, and there is a chance you have differences. If you have a RedHat 7.3 box handy, install the same version of Samba (I agree it doesn't sound version-specific) and try it.. it'd probably work fine. I'll try to do the same. /dev/idal --- Joe Gerkman [EMAIL PROTECTED] wrote: Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've
[Samba] Windows access problems
Hello, I had the pleasure of installing a new Linux(RH8.0)/Samba(2.2.7a) server (as a PDC) at one of our locations this week. They previously were accessing a shared drive from a Win2k Pro. machine. The migration did not go very smooth. Most things have been resolved, but we have some strange issues that are still causing problems, which I was hoping someone out there would have some insight on. 1. A day or two after the server was installed, one of the 98 machines started locking up when opening files, or when left idle for a long period of time. (I know this could just be an instability of Windows 98, but being that it started just after the new server installation is peculiar). 2. A different 98 machine can't open a particular Access 97 database. It can open other Access 97 files, but on this particular one, it pretty much hangs the machine. This same Access 97 database can be opened just fine from another machine (a Win 95 machine in particular). I have veto oplocks files = /*.mbd/*.ldb/*.dbf/*.idx/*.cdx/ (I also included their upper case variants for good measure.) in the smb.conf file to avoid the oplock problems. The credibility of the new server (and Linux/Samba) and myself are not faring well in the minds of these pleasant users, so help would be very much appreciated. Thank you, Dan -- - Dan Perik Computer Services Department Lapilo Center New Tribes Mission - PNG -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] WINS question
M hi M How are u routing between 192.168.1.0 and 192.168.2.0 subnets M thanks Now, wins server is router. In win-clients, Gateway==wins-server. And no problem. In future, i want use router as different mashine, and gateway!=wins-server. Please help me. Good Luck Alexander Kuznetsov M - Original Message - M From: Alexander Kuznetsov [EMAIL PROTECTED] M To: [EMAIL PROTECTED] M Sent: Thursday, January 30, 2003 3:59 AM M Subject: [Samba] WINS question Hello Have a trouble. I have mashine with two interfaces. Samba running at both with the same name of computer. In wins-servers wins.dat i see next string: GRAND#20 1044171787 192.168.1.1 192.168.2.1 46R It's ok. But for ALL mashines in any interfaces with any IP (192.168.1.X or M 192.168.2.X) returned first IP in list: -- [2003/01/30 11:03:21, 3] M nmbd/nmbd_winsserver.c:wins_process_name_query_request(1353) wins_process_name_query: name query for name GRAND20 from IP M 192.168.2.129 [2003/01/30 11:03:21, 3] M nmbd/nmbd_winsserver.c:wins_process_name_query_request(1398) wins_process_name_query: name query for name GRAND20 returning first M IP 192.168.1.1. -- Now it's mashine is router for all mashines, and it's not a problem, but i want remove from they this function (router) and one of the subnet will must be connect to GRAND through router, but this mashine for M clients will be in the same subnet. Question: May WINS answering there IP for name, that belong subnet where place M client ? Or known You another solve this problem ? Thanks Alexander Kuznetsov. -- 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] Can't see all of the directories in a share with 2.2.7a-1RH8...but older version/kernel can
may be, thats a problem of the x-flag in the linux filesystem. in older versions u could set e.g. 0640 for a directory. in newer samba versions u need e.g. 0750 instead... i hope it helped... -Original Message- From: Joe Gerkman [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 1:38 PM To: [EMAIL PROTECTED] Subject: [Samba] Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can Hi all, Hoping someone might be able to steer me in the right direction and/or help me solve my problem. We have a number of Linux servers (RH6.2 - RH8) which connect to the same share on a Win2000 Server. We've been working kinda hard to get everything upgraded to either RH7.3 or RH8.0 since we rarely get the opportunity. 2 similar servers (one dev, one prod) access this same window share, which has a large number of directories (about 620-650), and the share itself is for a 180GB volume. Just recently we discovered that our dev server (RH6.2/2.2.14-5.0 with samba 2.0.6-9) can see all of the directories/files at the root of this share, but the prod server (RH8.0/2.4.18-19.8.0 with samba 2.2.x - 2.2.7a-1) can not, it can however see a good portion of them (about 554). There doesn't seem to be anything in common about these missing directories...have checked time, size, etc...nada in common that we can determine. We did try quite a few crazy things, like deleting a few directories to see if we saw more, but nope. And I should note that the directories are there, you just can't see them...I can 'cd' into them with no problem. Oh, and I've tried going back to the earlier version of samba (same as on the dev machine - 2.0.6-9), but no luck. Any ideas? Anyone? Please... -J -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] netlogon sometimes works (corrected with smb.confattached)
hello jason, we are using successful netlogon over years. - at first we had similar problems. the reason lied in the batch file: 1) the batch was written on linux, so the CR was missing at the end of the line... 2) we used net use without the /y flag - windows did not rebind the drive, but deleted the old link. (so onetimes the link was here, next times it missed...) hardware: if u have not the possibility/experience to look at the network packets, so u can test your stability in a simple way: use ping with a big packet size, and u will find out, if there is a problem with your network connection: in windows (stop with ctrl-c): ping -t -l 65000 XXX.XXX.XXX.XXX should look like this: == Ping wird ausgeführt für 192.168.10.1 mit 65000 Bytes Daten: Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit=16ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit10ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit10ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255 Antwort von 192.168.10.1: Bytes=65000 Zeit=15ms TTL=255 Ping-Statistik für 192.168.10.1: Pakete: Gesendet = 10, Empfangen = 10, Verloren = 0 (0% Verlust), Ca. Zeitangaben in Millisek.: Minimum = 0ms, Maximum = 16ms, Mittelwert = 12ms == in linux (stop with ctrl-c): mail:~ # ping -fs 65000 XXX.XXX.XXX should look like this: == PING 192.168.10.10 (192.168.10.10) from 192.168.10.1 : 65000(65028) bytes of data. . --- 192.168.10.10 ping statistics --- 458 packets transmitted, 457 received, 0% loss, time 6461ms rtt min/avg/max/mdev = 12.748/12.875/17.226/0.242 ms, pipe 2, ipg/ewma 14.139/12.880ms == i hope it helped... gk [EMAIL PROTECTED] schrieb: John, I have no success with packet sniffing, the netlogon share either works or it doesn't. Our boxes are not overly loaded, but I took your advice and tinkered with the loading. Over the passed week, it gets the netlogon share executed more times than not (at the moment) but it still isn't perfect (100% record is what I'd expect from a PDC). I suspect it is a problem within samba in terms of how fast it looks at certainincoming network packets, as the password logon works fine every single time, but connecting to the PDC and executing the NETLOGON share are problematic.. Anyway, thanks for your help. Hopefully, a bit more load balancing will get it working 100% of the time. Jason Walton Nomad Software Ltd 186 Regent Street London W1B 5TN Tel. +44 (20) 7292 2459 Fax. +44 (20) 7292 2401 www.nomadsoft.com John H Terpstra [EMAIL PROTECTED] 25/01/2003 05:05 To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: [Samba] netlogon sometimes works (corrected with smb.conf attached) Jason, Apologies for the dealy, I was at LinuxWorld Expo New York all week and just got home. You should use a network sniffer (like Ethereal) to capture a trace of a logon that works correctly and one that does not. Then examine the differences to find what went wrong. It should tell you where things broke down. If timing is the issue t hen your authentication server may be problematic. In this case you would need to either isolate the problem, or move the authentication (netlogon) service to another machine that is more responsive. - John T. On Wed, 22 Jan 2003 [EMAIL PROTECTED] wrote: John, thanks for your help thus far. I switched switches that the PDC is plugged into and it almost had me believing that it worked, I managed to log in three times in quick succession and each time it executed the netlogon script. Alas, inconsistency reared its ugly head once more and now I either get a successful logon (netlogon script runs) or a plain logon (validates my password, creates my profile share (z drive), but fails to run the netlogon share). Which brings me to ask the question, is the netlogon share affected by network acvtivity? The PDC server is running fileservices, domino, and other items. Password validation isn't a problem, but getting samba to process the netlogon, is a pain. Everything that did run on the NT server has been migrated to the solaris machine and works better and faster than before. The PDC is the last item left, I'm wondering if Samba needs a more dedicated host to invoke netlogon? Domino can be quite intensive on network activity when replicating between sites, so would this network deluge put samba off from the 'less critical' execution of the netlogon share? FYI our NT server is an
RE: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help
Hi Everyone, I'm forgetting about the password one at the moment, thanks for all your input :o) I still don't have a clue how to solve my main problem. I'm assuming that its not actually winbind related now, as I've recently tried pam_smb and get the same basic problem. Basically, when I log into the UNIX box, the username/password of a NT user is being authenticated, but doesn't actually log in. It doesn't get past the password line. I know it accepts the password. Its almost as if it can't find the shell. But the template variable is set within the smb.conf file. Permissions are fine. I have exactly the same problem with the pam_smb module. If there is any further information I can send let me know. Ideas? Thanks Miles -Original Message- From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]] Sent: Friday, 31 January 2003 07:06 a.m. To: STEFFENS,MICHAEL (HP-Germany,ex1); Ronan Waide Cc: '[EMAIL PROTECTED]'; Esh, Andrew; Miles Roper; '[EMAIL PROTECTED]'; 'Richard Sharpe' Subject: RE: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help Hi Everyone, This whole problem with the password command not working when winbind is included as a method in the nsswitch.conf can probably be worked around by simply using the -r files (or -r nis or -r nisplus) switch. Take a look at the man page for passwd on HP-UX 11.x and see if this won't help you out. Hope this helps, Don -Original Message- From: Michael Steffens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 11:52 To: Ronan Waide Cc: '[EMAIL PROTECTED]'; Esh, Andrew; Miles Roper; '[EMAIL PROTECTED]'; 'Richard Sharpe' Subject: Re: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help Ronan Waide wrote: On January 28, [EMAIL PROTECTED] said: I don't have HPUX, so I don't know what to suggest for that. I just know getent won't work without winbindd in nsswitch.conf on Linux. I think the point that was being made is that NSS support on HPUX only supports a few known types, of which one is LDAP. The discussion was basically about faking out the system so that what it thinks is LDAP is actually winbind. Yep. It's a HP-UX specific workaround. Please ignore it everywhere else. Michael -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help
Hi Everyone, This whole problem with the password command not working when winbind is included as a method in the nsswitch.conf can probably be worked around by simply using the -r files (or -r nis or -r nisplus) switch. Take a look at the man page for passwd on HP-UX 11.x and see if this won't help you out. Hope this helps, Don -Original Message- From: Michael Steffens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 11:52 To: Ronan Waide Cc: '[EMAIL PROTECTED]'; Esh, Andrew; Miles Roper; '[EMAIL PROTECTED]'; 'Richard Sharpe' Subject: Re: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help Ronan Waide wrote: On January 28, [EMAIL PROTECTED] said: I don't have HPUX, so I don't know what to suggest for that. I just know getent won't work without winbindd in nsswitch.conf on Linux. I think the point that was being made is that NSS support on HPUX only supports a few known types, of which one is LDAP. The discussion was basically about faking out the system so that what it thinks is LDAP is actually winbind. Yep. It's a HP-UX specific workaround. Please ignore it everywhere else. Michael -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help
On Fri, 31 Jan 2003, Miles Roper wrote: Hi Everyone, I'm forgetting about the password one at the moment, thanks for all your input :o) I still don't have a clue how to solve my main problem. I'm assuming that its not actually winbind related now, as I've recently tried pam_smb and get the same basic problem. Basically, when I log into the UNIX box, the username/password of a NT user is being authenticated, but doesn't actually log in. It doesn't get past the password line. I know it accepts the password. Its almost as if it can't find the shell. But the template variable is set within the smb.conf file. Permissions are fine. I have exactly the same problem with the pam_smb module. So what does PAM report into your /var/log files? Have you tried adding to each line in your /etc/pam.d/login (after the .so file name) the word 'audit' - this will increase the volume of debugging info spit out into /var/log/messages, or wherever PAM send this on your distro. - John T. If there is any further information I can send let me know. Ideas? Thanks Miles -Original Message- From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]] Sent: Friday, 31 January 2003 07:06 a.m. To: STEFFENS,MICHAEL (HP-Germany,ex1); Ronan Waide Cc: '[EMAIL PROTECTED]'; Esh, Andrew; Miles Roper; '[EMAIL PROTECTED]'; 'Richard Sharpe' Subject: RE: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help Hi Everyone, This whole problem with the password command not working when winbind is included as a method in the nsswitch.conf can probably be worked around by simply using the -r files (or -r nis or -r nisplus) switch. Take a look at the man page for passwd on HP-UX 11.x and see if this won't help you out. Hope this helps, Don -Original Message- From: Michael Steffens [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 11:52 To: Ronan Waide Cc: '[EMAIL PROTECTED]'; Esh, Andrew; Miles Roper; '[EMAIL PROTECTED]'; 'Richard Sharpe' Subject: Re: [Samba] RE: Winbind on HPUX11, Totally Stuck, Please Help Ronan Waide wrote: On January 28, [EMAIL PROTECTED] said: I don't have HPUX, so I don't know what to suggest for that. I just know getent won't work without winbindd in nsswitch.conf on Linux. I think the point that was being made is that NSS support on HPUX only supports a few known types, of which one is LDAP. The discussion was basically about faking out the system so that what it thinks is LDAP is actually winbind. Yep. It's a HP-UX specific workaround. Please ignore it everywhere else. Michael -- 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
Heimdal shadow global declaration
Hi Jeremy, It seems like compiling with heimdal on SuSE8.1 works, but is there a way to avoid the 'shadows a global declaration', without changing the heimdal headers? metze Compiling smbd/message.c In file included from /usr/include/heimdal/krb5.h:670, from include/includes.h:400, from smbd/message.c:26: /usr/include/heimdal/krb5-protos.h:117: warning: declaration of `close' shadows a global declaration /usr/include/unistd.h:306: warning: shadowed declaration is here /usr/include/heimdal/krb5-protos.h:1115: warning: declaration of `index' shadows a global declaration /usr/include/string.h:252: warning: shadowed declaration is here /usr/include/heimdal/krb5-protos.h:1854: warning: declaration of `ctime' shadows a global declaration /usr/include/time.h:217: warning: shadowed declaration is here /usr/include/heimdal/krb5-protos.h:2317: warning: declaration of `send' shadows a global declaration /usr/include/sys/socket.h:132: warning: shadowed declaration is here /usr/include/heimdal/krb5-protos.h:2324: warning: declaration of `send' shadows a global declaration /usr/include/sys/socket.h:132: warning: shadowed declaration is here /usr/include/heimdal/krb5-protos.h:2332: warning: declaration of `send' shadows a global declaration /usr/include/sys/socket.h:132: warning: shadowed declaration is here In file included from include/includes.h:416, from smbd/message.c:26: /usr/include/heimdal/gssapi.h:625: warning: declaration of `open' shadows a global declaration /usr/include/fcntl.h:70: warning: shadowed declaration is here metze - Stefan metze Metzmacher [EMAIL PROTECTED]
opblock breaks...
Hi Jeremy, Did you have an idea what's going wrong here? my WinXP sp1 box says the file is in use by another user... this is from the latest 3_0, but I opserved this a few days ago also with HEAD. but I can't resproduce this on demand, is this maybe a bug in WinXP? or what's the problem here? (I was trying to delete the file) thanks for feedback:-) metze [2003/01/30 09:15:57, 0, pid=16653] smbd/oplock.c:oplock_break(796) oplock_break: receive_smb timed out after 30 seconds. oplock_break failed for file metze/smb/HEAD-ioctl/source/include/includes.h.bak (dev = 903, inode = 38217175, file_id = 588). [2003/01/30 09:15:57, 0, pid=16653] smbd/oplock.c:oplock_break(868) oplock_break: client failure in oplock break in file metze/smb/HEAD-ioctl/source/include/includes.h.bak [2003/01/30 09:15:57, 0, pid=16653] smbd/reply.c:reply_lockingX(3861) reply_lockingX: Error : oplock break from client for fnum = 12859 and no oplock granted on this file (metze/smb/HEAD-ioctl/source/include/includes.h.bak). metze - Stefan metze Metzmacher [EMAIL PROTECTED]
3.0Alpha21 and W2K AD 'dorking' Samba machine acct?
Anybody seeing a scenario like this? net ads join adds our machine entry to AD just fine. The machine entry object in the AD database has: OperatingSystemSamba OperatingSystemVersion post3.0-HEAD dnsHostnameourhost Some time later something happened, and AD now has: OperatingSystemWindows OperatingSystemVersion NT 4 dnsHostnameis empty. and then authentication to ourhost fails. In the past we've seen a couple of cases where changing the config file while the smbd was running caused the AD object to change, but now that we're trying to debug this, this isn't happening any longer. Some times when we shut down ourhost, it causes this problem. Stopping and starting the smbd and nmbd doesn't have this effect. We've turned on auditing on the AD object for the machine account and happened to catch a situation where the object changed, yet the audit reports didn't show the change. (Changing the object manually through the gui did cause an audit report.) DOH! Doing a net ads leave and net ads join again puts the machine entry back again. Just curious if anybody's seen anything like this. We're continuing to debug... --nik
Re: 3.0Alpha21 and W2K AD 'dorking' Samba machine acct?
On Thu, 2003-01-30 at 23:32, Nik Conwell wrote: Anybody seeing a scenario like this? net ads join adds our machine entry to AD just fine. The machine entry object in the AD database has: OperatingSystemSamba OperatingSystemVersion post3.0-HEAD dnsHostnameourhost Some time later something happened, and AD now has: OperatingSystemWindows OperatingSystemVersion NT 4 dnsHostnameis empty. and then authentication to ourhost fails. Something is doing a NT4 password change. This can occur if 'security=domain' is set, rather than 'security=ads'. Or if 'net rpc changetrustpw' is run. 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 signature.asc Description: This is a digitally signed message part
SMB and message
I am new to samba world .Hvae many questions in mind. can anyone tell me the description of SMB and message ? What is the functionality of receive_message_or_smb() -DJ __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Jobs do not clear from Print Queue.
Is there a fix to correct a problem where when multiple print jobs are sent to a printer, the last and first jobs never clear out of the queue. In other words, if 5 jobs are sent, all jobs print, but the first and seventh (last) still appear in the queue. I have looked for timeout settings and such but have not been successful. This may be a simple question for someone out there to answer. RedHat 8.0 with Samba Version 2.2.7 Mark Fraser Sent via Network Data Systems WebMail at ndshq.com
Re: SMB and message
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2003, D Jemms wrote: I am new to samba world .Hvae many questions in mind. can anyone tell me the description of SMB and message ? What is the functionality of receive_message_or_smb() Looks like you are going to have spend a good bit more time in the code. The function is explained in the comments in process.c. / Do a select on an two fd's - with timeout. If a local udp message has been pushed onto the queue (this can only happen during oplock break processing) call async_processing() If a pending smb message has been pushed onto the queue (this can only happen during oplock break processing) return this next. If the first smbfd is ready then read an smb from it. if the second (loopback UDP) fd is ready then read a message from it and setup the buffer header to identify the length and from address. Returns False on timeout or error. Else returns True. The timeout is in milliseconds / static BOOL receive_message_or_smb(char *buffer, int buffer_len, int timeout) { ... } jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OT/eIR7qMdg1EfYRAjjTAKDUIJ/zxXYYfUPk7mnf6iTYaAEK0gCeIu9q dmAJDRQpMYH+Os1JQqNJe+w= =+bT0 -END PGP SIGNATURE-
Re: Jobs do not clear from Print Queue.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2003, Mark Fraser wrote: Is there a fix to correct a problem where when multiple print jobs are sent to a printer, the last and first jobs never clear out of the queue. In other words, if 5 jobs are sent, all jobs print, but the first and seventh (last) still appear in the queue. I have looked for timeout settings and such but have not been successful. This may be a simple question for someone out there to answer. RedHat 8.0 with Samba Version 2.2.7 This could either be (a) a bug in the print queue cache in smbd (although you have the only report of it I've seen), or (b) known bugs in Samba print change notify. Does the listing clear up on a manual refresh of the print queue window on the client (F5)? cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OUERIR7qMdg1EfYRAnRBAJ9oo4+LAQ14Xa++Fws8dt4X/4q7KgCfYphr kmzFpQSLNORY+5PGxmnLzVY= =OKOn -END PGP SIGNATURE-
Re: opblock breaks...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2003, Stefan (metze) Metzmacher wrote: metze [2003/01/30 09:15:57, 0, pid=16653] smbd/oplock.c:oplock_break(796) oplock_break: receive_smb timed out after 30 seconds. oplock_break failed for file metze/smb/HEAD-ioctl/source/include/includes.h.bak (dev = 903, inode = 38217175, file_id = 588). [2003/01/30 09:15:57, 0, pid=16653] smbd/oplock.c:oplock_break(868) oplock_break: client failure in oplock break in file metze/smb/HEAD-ioctl/source/include/includes.h.bak [2003/01/30 09:15:57, 0, pid=16653] smbd/reply.c:reply_lockingX(3861) reply_lockingX: Error : oplock break from client for fnum = 12859 and no oplock granted on this file (metze/smb/HEAD-ioctl/source/include/includes.h.bak). Looks like the client responded after the oplock break timed out. A network trace would be helpful to see what other packets are flying around. cheers, jerry -- Hewlett-Packard- http://www.hp.com SAMBA Team -- http://www.samba.org GnuPG Key http://www.plainjoe.org/gpg_public.asc You can never go home again, Oatman, but I guess you can shop there. --John Cusack - Grosse Point Blank (1997) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OUFzIR7qMdg1EfYRAtQAAJ9rjGcWB1bcJPrcrsOzyMsJJzeFsQCfROwW bvj8JZ4rTcLmvho1EvSNHng= =+TC5 -END PGP SIGNATURE-
Ownership of CIFS?
The following article implies that Microsoft is selling licenses for CIFS, as if they control the ownership of that protocol: http://www.byteandswitch.com/document.asp?doc_id=27508 My understanding is that CIFS is an open protocol, and it is characterized as such by Microsoft on this page: http://www.microsoft.com/mind/1196/cifs.asp What do you folks think? Is this just a mix-up of terms? --- Andrew C. Eshmail:[EMAIL PROTECTED] Adaptec, Inc. 2905 Northwest Blvd., Suite 20763-557-9005 (main) Plymouth, MN 55441-2644 USA 763-551-6418 (direct)
Resend of patch to configure.in for VOS
This is a resend. I hope that by using a different account I won't get the lines wrapped (and also won't fall prey to spamassassin). -Original Message- From: Green, Paul [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 8:15 AM To: Samba Technical (E-mail) Subject: Patch to configure.in for Stratus VOS The following patch to samba*/source/configure.in adjusts some global variables and sets up the compiler options for the Stratus VOS operating system. It is parallel to similar configure.in code for other operating systems. I have tested this patch on VOS against the samba_2_2, samba_3_0, and samba head branches, and it applies correctly and cleanly against yesterday's code bases, and the builds see the benefit. This is a VOS-specific patch and will not affect any other OS. I respectfully request that it be applied to head and 3_0; if 2_2 is indeed still undergoing some basic maintenance, I'd like to request that it be applied there as well. (It turns out that 2_2 won't fully build on VOS and the problems is that it is still trying to build libsmbclient, despite the setting of BLDSHARED. If the Samba team is willing to let me correct this, I'll submit a version of the patch I sent in the other day for 2_2 as well. That should do the trick). ** Patch follows ** diff -urp old/samba/source/configure.in new/samba/source/configure.in --- old/samba/source/configure.in Tue Jan 28 18:32:43 2003 +++ new/samba/source/configure.in Wed Jan 29 09:30:51 2003 @@ -411,6 +411,26 @@ case $host_os in esac ;; # +# VOS may need to have POSIX support and System V compatibility enabled. +# +*vos*) +case $CPPFLAGS in + *-D_POSIX_C_SOURCE*) + ;; + *) + CPPFLAGS=$CPPFLAGS -D_POSIX_C_SOURCE=199506L + AC_DEFINE(_POSIX_C_SOURCE, 199506L, [Whether to enable POSIX support]) + ;; +esac +case $CPPFLAGS in + *-D_SYSV*|*-D_SVID_SOURCE*) + ;; + *) + CPPFLAGS=$CPPFLAGS -D_SYSV + AC_DEFINE(_SYSV, 1, [Whether to enable System V compatibility]) +esac +;; +# # Tests needed for SINIX large file support. # *sysv4*) @@ -1081,6 +1101,10 @@ case $host_os in fi LDSHFLAGS=-G AC_DEFINE(STAT_ST_BLOCKSIZE,512) + ;; + *vos*) AC_DEFINE(STAT_ST_BLOCKSIZE,4096) + BLDSHARED=false + LDSHFLAGS= ;; *) AC_DEFINE(STAT_ST_BLOCKSIZE,512) ** End of Patch ** Thanks PG -- Paul Green, Senior Technical Consultant, Stratus Technologies. Voice: +1 978-461-7557; FAX: +1 978-461-3610 Speaking from Stratus not for Stratus
Re: Proposal for extending 'netbios aliases' to 'netbios virtualhosts' for nmbd
Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 29 Jan 2003, Kashif Shaikh wrote: In my case, I get multiple IPs on a subnet through virtual IPs. So in Linux I have eth0, eth0:1, eth0:2. Let's attach some numbers to them for illustration: eth0 = 192.168.2.1, eth0:1 192.168.2.101, and eth0:2 192.168.2.102. Now if such a configuration exists, nmbd when operating as a B-node, will only register names and aliases on eth0, not on the eth0:1 or eth0:2 virtual interfaces. This can be done now actually by running multiple Samba instances. I'm guessing your already knew this, but just in case What I propose is changing netbios aliases to simple netbios virtual hosts, where I can specify netbios name/IP mappings. So a sample configuration item would be: interfaces = 192.168.2.0/255.255.255.0 virtual netbios hosts = SALES/192.168.2.101 DEVELOPMENT/192.168.2.101 Sounds interesting, but this is only for name registration right? Effectively you could just run one smbd using netbios aliases and then run a separate nmbd instance per name (bound to a specific NIC) and get the exact behavior you are asking for. Well honestly, I had incorrectly assumed network port space was global, when in fact it is private for each IP address(which is why I didn't bother to running multiple instances). Also, AFAIK in the Using Samba book(1st ed), 'interfaces' is described as network/netmask pairs. That's inconsistent with intrepret_interfaces() comment, but then again the book is over 2 years old:) So thanks, I can now run multiple s/nmbds per IP address which gives the behavior I was looking for with virtual hosts ;) Regards, Kashif cheers, jerry
RE: Patch to configure.in for Stratus VOS
@#$%T My mailer wrapped some lines here! Beware. I'll see if I can repost this.
Re: Patch to configure.in for Stratus VOS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2003, Green, Paul wrote: The following patch to samba*/source/configure.in adjusts some global variables and sets up the compiler options for the Stratus VOS operating system. It is parallel to similar configure.in code for other operating systems. I have tested this patch on VOS against the samba_2_2, samba_3_0, and samba head branches, and it applies correctly and cleanly against yesterday's code bases, and the builds see the benefit. This is a VOS-specific patch and will not affect any other OS. This looks ok. I'll apply after I'm done with email. Go ahead and send me to the patches for SAMBA_2_2. I'll put those in and am planning on doing a 2.2.8pre1 release tomorrow. Paul, if you don't mind, send the patches as an attachment. Makes it easier to extract and doesn't munge tabs. Thanks. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+OUCcIR7qMdg1EfYRAqsqAKCbi+P6RPYLqjNPYyQFovUH5UZviwCg04lw uGKamYvd/+wqgTpGBLMLW4Y= =x747 -END PGP SIGNATURE-
Re: SMB and message
On Thu, Jan 30, 2003 at 04:56:53AM -0800, D Jemms wrote: I am new to samba world .Hvae many questions in mind. can anyone tell me the description of SMB and message ? What is the functionality of receive_message_or_smb() If you want to know more about the internals of the SMB protocol, you'll need to do a bit of reading. See: http://ubiqx.org/cifs/References.html 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]