[Samba] Not able to login to Samba PDC.
Hello All, I am getting Windows cannot create profile directory, when I try to log on to the Samba PDC, on Win2K m/c Also I am not getting any log messages, this is the only log I got, the second log I got a long time back the log file is not getting appended after further logins [2003/02/03 17:06:24, 0] smbd/service.c:make_connection(384) administrator logged in as admin user (root privileges) [2003/02/03 17:13:29, 0] lib/util_sock.c:read_data(436) read_data: read failure for 4. Error = Connection reset by peer But earlier for the same problem I was getting these logs [2003/02/01 13:53:08, 0] smbd/service.c:make_connection(252) iwave-123 (192.168.2.157) couldn't find service profiles Please help me I tried all the docs googled around quite a bit but still I cannot solve the problem Please help me. Regards Manjunath DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Drive already connected Error in Windows 2000
The W2K client systems may be at different service pack levels: most are probably at 2 or 3. Samba 2.2.7 is running on HP-UX 11. The last entries in the log.smbd before this happens are: [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) There is nothing strictly reproducible as it seems like a random thing! -Original Message- From: Green, Paul [mailto:[EMAIL PROTECTED]] Sent: 02 February 2003 15:46 To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED] Subject: RE: Drive already connected Error in Windows 2000 (please reply to list) Some standard questions... What service pack level for W2K? What operating system are you running under samba 2.2.7? Do you have a reproducible test case you can post? Anything out of the ordinary in your smb.conf file? Sounds like an operating system resource-limit issue... PG -Original Message- From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 7:45 AM To: [EMAIL PROTECTED] Subject: FW: Drive already connected Error in Windows 2000 The log.smbd file has lots of (No locks available) errors.. Any help? -Original Message- From: Grierson, Garry (UK07) Sent: 28 January 2003 11:36 To: '[EMAIL PROTECTED]' Subject:Drive already connected Error in Windows 2000 I have been successfully running with Samba 2.0.7 for more than a year now but am having problems using version 2.2.7 Drive connections to windows 2000 systems have started coming up with 'Drive already connected' errors. When I look at the SMBD processes running on the samba server there are several deamons running that are not currently used. There is also more than one connection per client machine and I cant seem to kill -15 (or even kill -9) these smbd deamons. Any help would be gratefully appreciated! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] howto kill connection to an smbclient
You should be able to use the kill -15 (or kill -9 if you really must!) command to stop the relevant UNIX smbd deamon process. You can find out what process number you need to kill by using the smbstatus command found in your ../samba/bin directory. A relatively simple script could be used to do this. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] eliminating password authentication??
i have added a linux system (acting as a client) in my windows network. but i have to maintain a list of userspasswords using smbpasswd. and if i am accessing a share on the windows terminal i have to specify its password. the vice-versa is also true. so is it possible to eliminate password authentication. regards. --- Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy the best in Movies at http://www.videos.indiatimes.com Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows 2000 Terminal Server Environment
Yes, there are a few. I'll try to explain what todo and why. What: In your samba source directory before compiling change the MAX_CONNECTION in smbd/conn.c to a larger value than the default 128. We use 768. Why: In windows 2000 TS the connections (typically mounting disks) you will fast run out of connections on the samba server. This is due to the samba server only having one smbd process for each TS. So if you have 30 users with 5 mounted disks on the TS you will use 150 connections through that one smbd process. Thus you need to raise the MAX_CONNECTIONS to more than 128. What: Use the [homes] ( Path = /homes/%S )feature in smb.conf instead of making a regular share as your home-disk ie [home-disk] Path=/homes/U%. Why: if you use h: \\aixsamba\home-disk you will get conflict with matching files across user environments. Files will be locked by the TS because it thinks a matching file is already being used by another user. Scenario: User1 opens a file called 'iloveyou.doc' on his home directory the TS will open \\aixsamba\home-disk\iloveyou.doc. User2 opens a file called 'iloveyou.doc' on his home directory the TS will open \\aixsamba\home-disk\iloveyou.doc. Even though the *ix part opens up the /homes/User2/iloveyou.doc file for User2 the TS has placed a lock on the file thinking it is the same as User1 opened. Using the [homes] special share for home-dirs the UNC path will be \\aixsamba\User1\iloveyou.doc versus \\aixsamba\User2\iloveyou.doc thus placing locks on two diffrent files. What: If possible compile your samba for a 64bit environment. Why: You might run out of filedescriptors. I have no knowledge on AIX systems and file descriptors there, but on solaris a 32 bit application have max 256 filedescriptors unless you compile it as a 64 bit application (gcc -m64 worked for me). You might want to change the /etc/system file (again i dont know how AIX does it) to something like: Set rlim_fd_cur = 512 Set rlim_fd_max = 2048 But these will not matter if you do not compile samba as a 64 bits application. Well, that is what the solaris documentation claims anyway. AIX.. You know best. There might be some more issues, but at the moment I cant think of others than you might get problems with 'oplocks'. We turned all oplocks off on all shares on the samba server after users having word files corrupted on a daily basis. Hope this helps. Regards Per Kjetil Grotnes --- Emne: [Samba] Windows 2000 Terminal Server Environment I am running Citrix Metaframe XP on Windows 2000 server and would like to have the ability to access files on my AIX Unix server. Are there any issues with Samba in a Windows Terminal Server environment? Thanks, Tim Brooks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Hashing for short pathnames
Hi, using samba 2.2.5-UL (on a SuSE-SLOX-System) we have to mangle long pathnames to short ones. We need this for some of our apps which generate batch-files (*.bat) for compilation. Normally this works correctly, exept for a directory named Only_for_generation. This directory is mangled into Only_~%0 (it' s NULL at the end). And this is the problem. In batch-files (*.bat) you shouldn't use this, because it meens to call the batch itself (like $0 in bash-scripts). There must be a possibility to exclude % from the resulting hash values. Perhaps other special characters, like $§... could leed to faults too. I've changed the hash mathod to hash2: mangling method = hash2 but doesn't help. For our special case if inserted a mangled map: mangled map = (Only_for_generation Only_~01) but this is very special. Perhaps someone else would get a similar hash value for one of his paths. Thanks in advance for any hints how to avoid this or how to manage it. Bye Holger -- Dipl.-Math. Holger Biber MLaP - Universität Paderborn Fakultät Maschinenbau Pohlweg 98 , 33098 Paderborn Tel : 05251/60-5585 Fax : 05251/60-5579 [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] security = 'domain' 'server'
(sorry if this post is repeated, i am having problems with my email client) i would like to know whats the difference between security = server security = domain i saw the docs and found that the 'server' does the authentication with and SMB server while 'domain' does an authentication with a NT PDC . am i rite? also isnt it that an NT PDC can act as a SMB server also? -- Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com Buy the best in Movies at http://www.videos.indiatimes.com Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Using working devmode from windows clients on sambaserver?
Stuff usually works when the client installs their own drivers locally. Is there any way to grab the devmode generated by the windows clients and inject it some place in samba's files to get a working devmode so driver downloads with spools can work with these drivers? Not without writing some win32 code. Effectively what you could do is to create a local printer and then use GetPrinter() to grab the devmode of the local printer. Then run GetPrinter() on the remote Samba printer to get the current properties and issue a SetPrinter() with the new devmode. If you have problems with this I can code it up in a few minutes. Let me know. I should have done this a long time ago probably. Glad it's simple! I'd really appreciate this, and I imagine others would find it handy too. I no longer have windows devel tools unless you count VBA a la MS Office macros, so if you could find the time to whip something together that would be great. I really appreciate you offering, thank you. ~ Daniel --- 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] Fails to install libsmbclient on Solaris
Latest CVS version, Solaris 2.9, Forte C. when (g)make install, wrong arguments to install and libsmbclient.a/.so dont get installed. Steve -- home steve at gbnet.org NetTek Ltdtel/fax +44-(0)207 483 2455 Email to SMS steve - pager (at) gbnet dot net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 2939 Dark Reality
Enter The Site http://teenz-baby.com/rapemix/ -BEGIN PGP SIGNATURE- Version: 2.5.5 y34a5bMrCq94qABA5U5bC3kT8/qm6UlvuzVcYQqDg0FnRgpi/qCBBivenEyTa3xf g7YF9glOxqlBDLL4kyre0X7xQUvreoy25MvLh44fUF8R=7apUi/1456AgwDAyp=L hhmzrg7gjnqB8tl7a8QS=mq5O25qpfPrx85gR9SlA+AFp2lmq+hAnhtO8937t h1aaBj1vVjqAbot1nt8O/2qPBJDVbp+Q+i6mHRhUF0QE8mvjsF/EWWFQ6/=UmSZo 9gwHL22E/Rc0OollD=z4p64l8o=h4oORe/k/4Tgy=1ZhUYnZ=VEVsd/8UB5n5K+g aou4AE6jWmokLwVJ6Z52QunAj8/88qmFHE+oAKl/Xd+yptVH9jEixtI0YOOtXiom 4q36RmBBmia=7SOcPRP4Ylm8ueBPPR+Ol=RqaZgymt2Fk+pdDuO8Jep67z0n5R8 -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] Error in configure Last CVS and 3.0.alpha21 on Solaris 8
Hi all, I'm having problems trying to configure samba with the lastest source. The command I'm using is env CPPFLAGS=-I/usr/local/kerberos/include -I/usr/local/ldap/include LDFLAGS=-L/usr/local/kerberos/lib -L/usr/local/ldap/lib ./configure --with-ads --with-ldap --with-kerberos=/usr/local/kerberos --with-pam --with-winbind and the error is checking whether to check to support sendfile... no checking whether to build winbind... yes checking whether struct passwd has pw_comment... yes checking whether struct passwd has pw_age... yes checking for poptGetContext in -lpopt... no checking whether to use included popt... yes checking configure summary... configure: error: summary failure. Aborting config In the config.log nothing I can understand configure:16008: gcc -o conftest -O-I/usr/local/kerberos/include -I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c -lpopt -lsec -lgen -lresolv -lsocket -lnsl -ldl -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5 -llber -lldap 15 ld: fatal: library -lpopt: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 15997 configure #include confdefs.h /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char poptGetContext(); int main() { poptGetContext() ; return 0; } configure:16032: checking whether to use included popt configure:16086: checking configure summary configure:16095: gcc -o conftest -O-I/usr/local/kerberos/include -I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c -lsec -lgen -lresolv -lsocket -lnsl -ldl -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5 -llber -lldap 15 configure: failed program was: #line 16091 configure #include confdefs.h #include ./tests/summary.c I've made some search in the newsgroup, but nothing seems to be fixed. Anyone has some ideas to fix it? Thanks in advance Alessandro Bruni Brussels, Belgium -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba on OSX
The only example they have of this is on a MacOSX server, but I am running the client version of OSX. Not being an expert on NetInfo, I tried the instructions with no luck. Any suggestions are welcome. Thanks! --- Sean Roulet [EMAIL PROTECTED] wrote: Hi Delmar, Best place to go is www.afp48.com. They have a tutorial to set up OS X as a PDC. I have followed it and have my OS X server as a PDC for Win 2K computers. On 2/1/03 11:31 PM, delmar watkins [EMAIL PROTECTED] wrote: Hi all, new to the list but have read the archives. I am trying to get my OSX box to be a PDC with win2k clients, but am having trouble. I can't seem to find any documentation on this, nor have I seen anyone with experience doing this. Can someone point me to some resources I could RTFM before I start asking questions to the list? Thanks! __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com Sean Roulet Technology Manager Artradis Fund Management Pte Ltd #11-01 Royal Brothers Building Raffles Place, 22 Malacca Street Singapore 048980 Tel: +65 6538 1998 Fax: +65 6538 8331 - This message is strictly confidential and intended solely for the use of the intended recipient(s). The recipient of this communication should not copy, disclose or distribute this communication without permission from Artradis Fund Management Pte Ltd. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, or as an official statement of Artradis Fund Management Pte Ltd. The material is based upon information that we consider reliable, but we do not represent that it is accurate or complete, and it should not be relied upon as such. As such, we accept no responsibility or liability for the accuracy or otherwise of such information. - __ 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] WinXP Printer problem
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. I've even restarted samba just for the sheer fun of 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] getent passwd and getent group
I am running HP UX and having nothing but problems getting samba to show me the correct groups. getent passwd and getent group may be the source but I don't have this program on HP UX. I am playing with samba on my linux box (working fine) and I do have these options. Is this not native on HPUX? If not, where can I d/l it? Thanks Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Please, Help me with this == SWAT
Hello list, the message: Server error 400 chdir failed - the server is not configured correctly The browser shows this messages when I access the address http://ednode02:901/ What's happen? I found in Google and many messages says that the path is not correct. My samba config file is: /usr/local/samba/lib/smb.conf My SWAT path is: /usr/local/swat My SWAT bin file is: /usr/local/sbin/swat Help me ___ (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] Auth. from Win2k Works
We have been able to get windows workstations to validate against win2k for authentication, but in looking at local shares on the linux box (via samba), do the users need to be localized to a group in /etc/group to allow access to files on the linux system that samba is running on. Here is the smb.conf we have come up with (along with modifications): [global] workgroup = donbest netbios name = servlets comment = Servlets Machine os level = 34 # # modified from domain to * # password server = * security = domain encrypt passwords = Yes smb passwd file = /etc/samba/smbpasswd guest account = Nobody map to guest = Bad User username map = /etc/linuxtowin2k # # modified name resolve order to use WINS instead of local file # name resolve order = wins lmhosts bcast # This tells samba to use the file smbusers for user mapping. ; username map = /etc/samba/smbusers # This tells samba to write log files per machine. ; log file = /var/log/samba/%m # This sets an alternate log level. Default is 2. ; log level = 3 # # password level (to match current username/password scheme in office) # password level = 12 username level = 12 # Uncomment the following, if you want to use an existing NT-Server to # authenticate users, but don't forget that you also have to create them # locally! ; security = server ; password server = 192.168.1.10 printing = LPRNG printcap name = /etc/printcap load printers = Yes # These settings are a suggestion for a local network. Cf. section # 'socket options' in the man page of smb.conf and socket(7). socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY # Uncomment this, if you want to integrate your server # into an existing net e.g. with NT-WS to prevent nettraffic local master = No # Please uncomment the following entry and replace the ip number and # netmask with the values of your network interface configuration. # # values are subject to change once we assign permanent addr # interfaces = 172.21.2.117/255.255.255.0 remote announce = 172.21.2.117 hosts allow = 172.21.2. 172.21.3. localhost # If you want Samba to act as a wins server, please set # 'wins support' to yes. wins support = No # If you want Samba to use an existing wins server, please uncomment the # following line and replace the dummy with the wins server's ip number. # # Points at current auth. machine in domain donbest # wins server = 172.21.2.6 dns proxy = No # # Windows Bind Config # winbind separator = + winbind gid = 1-2 winbind uid = 1-2 template shell = /bin/bash template homedir = /home/%D/%U winbind enum groups = yes winbind enum users = yes # Set these two parameters to your DOS code page and appropriate UNIX # character set. These values are for west European languages (Latin-9) # UNIX character and MS-DOS Latin 1 code page. character set = ISO8859-15 client code page = 850 # This is a simple measure against Nimba Worm. Cf. README.Win32-Viruses veto files = /*.eml/*.nws/riched20.dll/*.{*}/ # Do you wan't samba to act as a logon-server for your windows 95/98 # clients, so uncomment the following: ; domain logons = Yes domain master = No preferred master = no # For a specific logon script per user ; logon script = %U.bat # For a specific logon script per machine ; logon script = %m.bat # Where to store the logon scripts. ;[netlogon] ; comment = Network Logon Service ; path = /var/lib/samba/netlogon # Where profiles of Windows 9x systems are stored. # First example for a centralized place. ; logon home = \\%L\profiles\%U # Second example for a subdirectory of the users home. ; logon home = \\%L\%U\profile # Where profiles of Windows NT systems are stored. ; logon path = \\%L\profiles\%U # Extra share for profiles. Default is the home of the user. ;[profiles] ; comment = Network Profiles Service ; path = /var/lib/samba/profiles ; browseable = No [temp] comment = Temporary File Space path = /tmp read only = No guest ok = Yes [test] comment = Test Network on Servlets path = /dbs/share valid users = @testgroup ; force group = @dbsapps read only = No writeable = Yes guest ok = No create mask = 0777 force create mode = 0777 directory mask = 0777 force directory mode = 0777 [homes] comment = Home Directories path = /home read only = No writable = Yes create mask = 0640 directory mask = 0750 browseable = no -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] any news on samba as a BDC?
Are there any news on samba as a BDC for NT or w2k? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] How to enforce client to download the profile form server
Dear all, i have the following problem, the outlook express desktop settings are being overwritten every time i change the host. i was helped by Laurent HOFMANN (thanks a lot), who pointed out that the exclusion list in ntuser.ini excludes Local Settings from the files, which are being synchronized. However, I still can not figure out the way to change this list for all users. Even if i change it manually (in the user profile on the server) it is being overwritten with the same exclusion list after i log out. i also tried to make changes in the registry, but it did not help either. Any idia what might fix the problem? Thanks for your help. Dimirty - Original Message - From: Dimitry Surkov [EMAIL PROTECTED] To: sbaron [EMAIL PROTECTED] Sent: Saturday, December 21, 2002 4:30 PM Subject: Fw: [Samba] Re: How to enforce client to download the profile form server - Original Message - From: Laurent Hofmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 20, 2002 8:53 PM Subject: [Samba] Re: How to enforce client to download the profile form server hello, as a clue you should take a look at ntuser.ini in the profile location of an user : [General] ExclusionList=Local Settings;Temporary Internet Files;Historique;Temp;Local Settings\Application Data\Microsoft\Outlook; This is the list of folders of the profile that do not synchronize... I think this can help ;) Please send me your feedback :) Laurent HOFMANN Owens, Bob [EMAIL PROTECTED] a Ècrit dans le message de news: [EMAIL PROTECTED] Help to see your smb.conf but here is mine it may help. [global] logon path = \\%L\Profiles\%U [Profiles] path = /data/domain/Profiles/ browseable = no writable = yes valid users = @domusers create mode = 0770 directory mode = 0770 force group = root -Original Message- From: Dimitry Surkov [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 10:07 AM To: [EMAIL PROTECTED] Subject: [Samba] How to enforce client to download the profile form server Dear all, i have the following problem. my smb.conf is working, but clients cannot download their profiles from the server. I explain this on an example: i have two windows machines: #1 and #2 i) i delete all local profiles in windows and a profile of user in unix ii) login to machine #1, have the win dialog as though i just started the machine for the first time (which is true), set my personal settings in Outlook. logout iii) login to machine #1 again and everything functions o.k., logout iii) login to machine #2, i have the same win dialog as though i just started the machine, although it is not the case, since i was on machine #1 already and no settings in Outlook. logout iv) login to machine #1, the profile is gone, i do not have the win start dialog again, but my outlook settings are gone. What could it be? It seems that the windows machine uploads the profile to the server, but in case of start on the same machine the local profile is being used. However the new machine does not download the profile, but overwrites it with a new locally created profile. SO, as i see it the problem is: the client does not download the profile form the samba server. Please help. Thanks in advance. Dimitry Surkov mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] eliminating password authentication??
If you simply want to connect you're SAMBA server to an existing Domain you can do this by typing: smbpasswd -j DOMAIN-NAME -r PRIMARY-DOMIN-SERVER-NAME (RETURN) at the UNIX prompt. This will then use the domain login information (IDPassword) to allow access to the SAMBA server. IF you simply want to access the samba server with ought having the windows Login-Box pop up make sure that you log into windows using the same ID and Password as the one setup in the SMBPASSWD file. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Not able to login to Samba P
I believe that your issue is related to UNIX permissions. The location of your profiles directory must be set to allow all users R/W to it. Create a new group in your group file and add every user to it. Then change the ownership of the profiles directory. Also make sure that all of your users have R/W permissions on that directory. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Manjunath H N [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 5:37 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Not able to login to Samba PDC. Hello All, I am getting Windows cannot create profile directory, when I try to log on to the Samba PDC, on Win2K m/c Also I am not getting any log messages, this is the only log I got, the second log I got a long time back the log file is not getting appended after further logins [2003/02/03 17:06:24, 0] smbd/service.c:make_connection(384) administrator logged in as admin user (root privileges) [2003/02/03 17:13:29, 0] lib/util_sock.c:read_data(436) read_data: read failure for 4. Error = Connection reset by peer But earlier for the same problem I was getting these logs [2003/02/01 13:53:08, 0] smbd/service.c:make_connection(252) iwave-123 (192.168.2.157) couldn't find service profiles Please help me I tried all the docs googled around quite a bit but still I cannot solve the problem Please help me. Regards Manjunath DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. -- 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 2.2.7a: Compilation error on QNX 6.2 fix
Hello, I tried to install Samba as standard source code software on QNX 6.2 NC: ./configure make The compiler report error in libsmb/cli_samr.c row 419 about uint type of ptr. I changed the type to uint32 since init_samr_q_query_useraliases function accept uint32 pointer. After that the compilation finished successfully. Also smbpasswd do not prompt for a password in comparison with v2.2.4. As a result the new password is always null. Thanks, Ianev -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] RAV for Samba (Linux i386)
Ryan, This should be looked as one of those security or convenience issues. While it is a little inconvenient and sometimes quite costly to have AV software installed and configured for automatic updates across an entire network. It is one of the safest and most secure things you can do. I am not discounting having AV software installed on your server, as that is something that should also be done, as that will definitely increase the security and integrity of your network. With some of the current self-installing spyware software that takes advantage of flaws(features) in Microsoft Internet Explorer and the Microsoft OS platform having AV on local workstations is incredibly important. With the supporting evidence that such spyware software can be installed with little to no user interaction, the leap is very easy to make that malicious code writers could include a payload to infect web-sites along with their next slammer/NIMDA-type virus. With that in mind, these users could unwittingly infect the internal network one computer at a time, through E-mail and any direct shares that might be created out of convenience. This could inevitably lead to an insecure network with the tendrils of some malicious cracker now reading all company data. Personally, I find AV an extremely useful and very important tool that must be installed upon any Microsoft based platform. If there is no reason to utilize a MS based platform on a computer system within your network, then don't use one. As an example, I will provide some base info about what we do. We are a small stamping plant. There are a few systems, CAD/CAM and CMM and Accounting systems that require Windows in order to function, as there is no other OS supported by the makers of the software we use. However, virtually all of our other PC's just use MS Office to work within our VERY manual job management system. So, I have been given the green light to implement all new workstations on Red Hat Linux using one of the free office packages that will easily allow the user to complete the basic tasks he/she will be required to do. In the immediate future, I am having a consulting firm build a web-based groupware system that will fit in nicely with our QS9000 program giving us the ability to perform virtually all of our administrative tasks from any and all OS platforms that supports web browsing. One that is in place, I will have the go ahead to start eliminating the purchase of any new MS Windows based computer systems, thus mitigating our risks from the platform that has the most virii written for it. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. Ph. 586-254-5800 Fx. 586-254-5804 -Original Message- From: Ryan Beisner [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 02, 2003 10:29 AM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] RAV for Samba (Linux i386) Just wondering if anyone has thoughts (good or bad) about this product (RAV AntiVirus for Samba (Linux i386))...or any other? I have a client that wants to have A/V *on* their samba server, rather than just scanning the shares from a WS. Any comments regarding ANTIVIRUS PROTECTION and SAMBA are gratefully welcome! TIA -Ryan Beisner -- 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: So SAMBA no longer supports print driver downloads
On Sat Feb 1 11:00:04 GMT 2003, Gerald (Jerry) Carter wrote: On Sat, 1 Feb 2003, Dr. Hansjoerg Maurer wrote: Hi, could it be a problem with the operating system, samba runs on? On Solaris 2.8 I have the same problems, decribed above, but not on linux (both running samba 2.2.7a and cups-1.1.18). Could be. I don't have a Solaris box locally to run regular tests. This morning I set up a linux box to test 2.2.7a on along with the HP printer drivers that have been giving me problems. I followed the documentation for loading and tickling the printer drivers. Initial tests were successful - the printer device settings downloaded for a non-printer admin user. Looks like an issue where Solaris and samba do not play nice together. Jerry, if you or the development team have something you want to test against Sun Solaris 9 let me know. I need to get this resolved, but I don't know where to start looking for clues. -Bob Martel ** 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
Re: [Samba] Windows 2000 Terminal Server Environment
I am running Citrix Metaframe XP on Windows 2000 server and would like to have the ability to access files on my AIX Unix server. Are there any issues with Samba in a Windows Terminal Server environment? In addition to the suggestions already given: 1) Run the latest Samba 2.2.7a--there are some problems in 2.2.5 with opening certain files (especially databases) over the samba share. This comes up rather dramatically in multi-user environments 2) Run at least SP2 on the terminal server. There were a few fixes (not all available as separate hotfixes) pertaining to multiple users on one terminal server having the same file open on the smb server--if one user closed the file, it was closed for all. Otherwise I've been very happy with this configuration (although we're using Linux on the samba end). -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] release-date of 3.0
To the samba-people when can we expect a stable 3.0 release? I´ve heard of the massive changes using ldap between 2.2.7a and 3.0. Does it make sense to wait for 3.0 to change my systems to ldap? Thanks! Peter -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Not able to login to Samba P
On Monday, February 03, 2003 7:56 PM Robert Adkins [EMAIL PROTECTED] wrote: I believe that your issue is related to UNIX permissions. The location of your profiles directory must be set to allow all users R/W to it. Create a new group in your group file and add every user to it. Then change the ownership of the profiles directory. Also make sure that all of your users have R/W permissions on that directory. Yea I changed the permissions but now on Win 2k m/c I am getting the following error Windows cannot log on you bcos it cannot find the file specified. (i.e The Profile ) Detail - The system cannot find the file specified. -Original Message- From: Manjunath H N [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 5:37 PM To: [EMAIL PROTECTED]; Robert Adkins Subject: [Samba] Not able to login to Samba PDC. Hello All, I am getting Windows cannot create profile directory, when I try to log on to the Samba PDC, on Win2K m/c Also I am not getting any log messages, this is the only log I got, the second log I got a long time back the log file is not getting appended after further logins [2003/02/03 17:06:24, 0] smbd/service.c:make_connection(384) administrator logged in as admin user (root privileges) [2003/02/03 17:13:29, 0] lib/util_sock.c:read_data(436) read_data: read failure for 4. Error = Connection reset by peer But earlier for the same problem I was getting these logs [2003/02/01 13:53:08, 0] smbd/service.c:make_connection(252) iwave-123 (192.168.2.157) couldn't find service profiles DISCLAIMER: This e-mail and any attachment (s) is for authorised use by the intended recipient (s) only. It may contain proprietary material, confidential information and/or be subject to the legal privilege of iWave Systems Technologies Private Limited. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, alerting or disclosing the content of this message. Thank you for your co-operation. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: So SAMBA no longer supports print driver downloads
Robert M. Martel wrote: On Sat Feb 1 11:00:04 GMT 2003, Gerald (Jerry) Carter wrote: On Sat, 1 Feb 2003, Dr. Hansjoerg Maurer wrote: Hi, could it be a problem with the operating system, samba runs on? On Solaris 2.8 I have the same problems, decribed above, but not on linux (both running samba 2.2.7a and cups-1.1.18). Could be. I don't have a Solaris box locally to run regular tests. This morning I set up a linux box to test 2.2.7a on along with the HP printer drivers that have been giving me problems. I followed the documentation for loading and tickling the printer drivers. Initial tests were successful - the printer device settings downloaded for a non-printer admin user. Looks like an issue where Solaris and samba do not play nice together. Jerry, if you or the development team have something you want to test against Sun Solaris 9 let me know. I need to get this resolved, but I don't know where to start looking for clues. Hi, we have solaris 2.8 here (I initially described the problem at our site), and I can help testing to. Could there be any connections to the Solaris fcntl bug, described in other E-Mails, or is this a completly differnt area. Thank you Hansjoerg Hansjörg -Bob Martel ** 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 ** -- _ Dr. Hansjoerg Maurer | LAN- System-Manager | Deutsches Zentrum | DLR Oberpfaffenhofen f. Luft- und Raumfahrt e.V. | Institut f. Robotik | Postfach 1116 | Muenchner Strasse 20 82230 Wessling | 82234 Wessling Germany | | Tel: 08153/28-2431 | E-mail: [EMAIL PROTECTED] Fax: 08153/28-1134 | WWW: http://www.robotic.dlr.de/ __ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] release-date of 3.0
On Mon, 3 Feb 2003, peter grotz wrote: To the samba-people when can we expect a stable 3.0 release? No firm promises! We are hoping to get 3.0.0 out by mid-April. I´ve heard of the massive changes using ldap between 2.2.7a and 3.0. Does it make sense to wait for 3.0 to change my systems to ldap? 3.0.0 has more mature LDAP support, but only you can weigh up the value of maturity versus the time utility value. One possibility is to start using the current Alpha versions and update as new Alpha's ship. Here you need to weigh the risks. Note: We do need good feedback. Cheers, 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] Error in configure Last CVS and 3.0.alpha21 on Solaris 8
Alessandro Bruni wrote: In the config.log nothing I can understand configure:16008: gcc -o conftest -O-I/usr/local/kerberos/include -I/usr/local/ldap/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -L/usr/local/kerberos/lib -L/usr/local/ldap/lib conftest.c -lpopt -lsec -lgen -lresolv -lsocket -lnsl -ldl -lcom_err -lk5crypto -lkrb5 -lgssapi_krb5 -llber -lldap 15 ld: fatal: library -lpopt: not found The last line is the important one, I think: you need the popt library. On Solaris 8, for example, I believe that even the pre-packaged versions from sunfreeware.com require that the popt package be installed at the same time. Look at www.sunfreeware.com for a pre-compiled binary or source code. -wde -- Will Enestvedt UNIX System Administrator Johnson Wales University -- Providence, RI -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: FreeBSD 5.0 + ACLs
--- Adam Smith [EMAIL PROTECTED] wrote: The next step (and what you're probably missing) is compiling samba --with-acl-support (or something like that.. do ./configure --help | grep -i acl). I tweaked a .spec file in a SRPM and you might have to edit your port's Makefile or something. I installed Samba from the ports with a make install. The configuration screen ? A screen? We don't have those niceties in Linux. Still, I can recompile SRPMs and install the resulting RPM on our file servers with ease; compile once, install anywhere (: I believe *BSDs use a compile-on-the-server method, which seems more time consuming. It's all about choices (: allowed me to select ACLs, but to be safe, I recompiled it and reinstalled it manually with a 'make --with-acl-support.' Good. The output from mount says: /dev/ar0s1g on /data (ufs, local, acls) Good. We also had to install acl/libacl/libacl-devel and attr/libattr/libattr-devel (e.g. binaries, libraries, and development headers+includes) packages in order to compile. I did a quick search on freebsd.org and Google but found nothing extremely helpful :/ If the ./configure script showed that ACLs were turned on, you're good. I believe there's a log that ./configure generates that you can grep.. perhaps its called configure.log? Anyway, grep -ir acl /path/to/samba/sources/after/compilation | less and look around for something that looks like the output of configure, that has something like Configuring with acl extensions... Am I supposed to be able to modify 'extended' ACLs on the UFS2 file system? We use get/setfacl in Linux.. it might be the same for you. Perhaps you should man -k ufs2 or man -k acl and see what you can find about getting and setting ACLs. The finished result would be that you'd be able to add multiple groups to a file's permissions from Windows Explorer. Works here. Something could be wrong with it. Whenever I do an 'ls -la' I get the following results: ls: ./.: Operation not supported drwxrwx--- 10 root administration 512 Jan 29 11:08 . ls: ./..: Operation not supported drwxr-xr-x 12 root wheel 512 Jan 29 16:28 .. ls: ./Accounts: Operation not supported drwxrwx--- 3 root administration 512 Jan 29 09:02 Accounts ls: ./Accounts Payable: Operation not supported drwxrwx--- 4 root administration 512 Jan 29 08:36 Accounts Payable ls: ./Finance: Operation not supported drwxrwx--- 26 root administration1536 Jan 29 08:37 Finance Every directory brings that up. It is the -l option causing the problem. A normal 'ls' on its own doesn't display these errors. This is a different problem. I had to install a specially-modified fileutils package, which included ls and a few other ACL-enabled binaries. After installing it, I noticed ls -l showed a plus sign after the permissions for files on ACL-enabled partitions. Most likely your standard ls is reading the extra ACL attributes when it says not supported. I also got the fileutils package from acl.bestbits.at. I think read about it in Teach Yourself Samba in 24 Hours, which is about the most up-to-date source of Samba information available right now (AFAIK), and contains topics like Winbind, ACLs, and Windows PDC replacement (: Good luck, /dev/idal __ 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] Hello friend
Good day, I have to first of all apologise for taking you unawares by the contents of this message. I had to send the message straightaway because of the short time involved in what I demand of you. Please treat this message with utmost seriousness and swiftness. Apart from the fact that you will be adequately rewarded, I will forever show my gratitude. I am Mr. Aroujo Tao Savimbi, son of the late Angolan Leader Jonas Savimbi who was killed last year. I got your contact details from the internet because I really have no time and I needed an anonymous person abroad whom I hope I can trust. I pray I am not making wrong judgement by coming to you. Jonas Savimbi deposited a large sum of money with a security vault in Europe that is my late fathe. The movement of members of his family (including me) is restricted. Our movement are monitored but I have managed to enter South Africa where I intend to lie very low until I complete this transaction with you. Other members of my family and I do not have access to any of these deposits with banks in Angola and Europe so you can see how desperately we need your assistance. Both government officials and fraudulent relatives are trying to get their hands on my fathers wealth by claiming that the wealth was gotten through arms smuggling and illegal sale of diamonds. You can find out more about my late father by checking this profile at URL below: www.kwacha.com/edoc2.htm His wealth is estimated to be over US$1billion and my mother, being the only one with some of the documents has aided me to sneak into South Africa refugee Camp and conclude this transaction with any one I choose. I have spoken with the security company and the operations manager has agreed to release the two trunk boxes in their possession to whomevers name I issue a power of attorney as the new beneficiary of the deposit. This security company has US$50,000,000.00 each and precious materials which my father lodged in their safe keep in Europe before his death so I will give you their contact and relevant documents including power of attorney to allow you access to the two trunk boxes of money. The whole idea is for you to receive this money physically, set up bank accounts in Europe and transfer in bits into your home bank accounts before my government even knows what is happening. My father was a rebel leader in Angola before his death. You must follow my instructions as stated above the transfer of the funds because it will be difficult for the Angolan government to trace my fathers money to an individuals account moreso, when you have no prior relationship with us. I am currently and temporarily living in South Africa refugee camp and I will be communicating with you on a satellite phone and GSM to avoid intervention by the authorities. We have to keep this transaction very secret because of the political situation in Angola at the moment. I shall send you a password and information that will include power of attorney and the contact of the security company as soon as you are ready to proceed. Could you please send your full names, address, confidential telephone and fax number to enable me issue a power of attorney to you and refer you to the security company in Amsterdam for immediate payment. Please reply to my confidential e-mail [EMAIL PROTECTED] Yours sincerely, Aroujo Tao Saimbi -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] I need no profiles.
Hi, I'm running samba-2.2.7a with LDAP. I have almost 1200 users and more than 200 workstations divided in 7 classrooms. All my users have access to all workstations, it means that I have more than 1000 profiles in each workstations. I don't want to use remote profile because I have limited disk space and my users (students) don't even know what is a profile. I know one man who is using ZenNetworks (from Novell) an it erases the profile every time the user logon. Is it possible with samba? Thank's Bruno Gimenes Pereti -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Error in configure Last CVS and 3.0.alpha21 on Solaris 8
ld: fatal: library -lpopt: not found The last line is the important one, I think: you need the popt library. On Solaris 8, for example, I believe that even the pre-packaged versions from sunfreeware.com require that the popt package be installed at the same time. Look at www.sunfreeware.com for a pre-compiled binary or source code. You shouldn't need it. Samba has a built-in popt in the event that you don't...it should be detecting this. Are you sure this is the problem? This is one of the last steps before it finishes...you can try --with-included-popt. If that doesn't help, you've got a different problem. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] help needed : Error : The specified user does not exist.
i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. please help me in this regard becuase i tried many tutorials to solve this problem, but its still annoying me. thnaks best regards Adil __ 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] passwd: Authentication token manipulation error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 2 Feb 2003, John H Terpstra wrote: On Sun, 2 Feb 2003, Thorsten D. Marsen wrote: Hi John, The smbpasswd utilitiy only changes the password in /etc/samba/smbpasswd. It does NOT use PAM at all. The system tool 'passwd' (/bin/passwd or /usr/bin/passwd) will use PAM. Whatever you configure PAM to do it will follow. Firstly, pam_smbpass.so does NOT do unix system password changing! It can be added to your PAM configuration to update the /etc/samba/smbpasswd file. In the case LDAP is configured, smbpasswd will change the lm/ntPassword Fields in the Samba Schemata instead of /etc/samba/smbpasswd. Do you know if pam_smbpass.so also regognizes this configuration? No. pam_smbpass.so is a PAM module that directly acts on the /etc/samba/smbpasswd file. No John. Thorsten is right. If compiled with --with-ldapsam, pam_smbpass.so will change the lm/nt password atribute in an LDAP directory. The reason is that pam_smbpass uses the pdb interface for updating account information. 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+Pr+wIR7qMdg1EfYRAkoBAJ9GP2lsT6ibiNOyO4zz30ptJ74B9wCglHf9 aDnBlokdcRurjMAXciFrAbo= =8zwK -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] passwd: Authentication token manipulation error
On Mon, 3 Feb 2003, Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 2 Feb 2003, John H Terpstra wrote: On Sun, 2 Feb 2003, Thorsten D. Marsen wrote: Hi John, The smbpasswd utilitiy only changes the password in /etc/samba/smbpasswd. It does NOT use PAM at all. The system tool 'passwd' (/bin/passwd or /usr/bin/passwd) will use PAM. Whatever you configure PAM to do it will follow. Firstly, pam_smbpass.so does NOT do unix system password changing! It can be added to your PAM configuration to update the /etc/samba/smbpasswd file. In the case LDAP is configured, smbpasswd will change the lm/ntPassword Fields in the Samba Schemata instead of /etc/samba/smbpasswd. Do you know if pam_smbpass.so also regognizes this configuration? No. pam_smbpass.so is a PAM module that directly acts on the /etc/samba/smbpasswd file. No John. Thorsten is right. If compiled with --with-ldapsam, pam_smbpass.so will change the lm/nt password atribute in an LDAP directory. The reason is that pam_smbpass uses the pdb interface for updating account information. Gerry, Thanks for clearing that up. I should have checked the code more carefully. - 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] Winbind error
Samba Gurus, I have successfully compiled samba with the winind option on Solaris 8. When I try to configure winbind by using the smbpasswd -j option I get the following message:See 'net join' for this functionality Please advise -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't connect to Samba server
Hi, I have a small LAN; 3 Win XP clients plus a Samba server. It was all working fine till recently. Now, only one XP client can connect to the Samba server. It does so with no problems. The other two XP clients cannot connect. The Samba server shows up in network neighborhood but when I try to browse it (by double clicking the icon in network neighborhood) I get a message: \\Smbserver file://\\Smbserver is not accessible. You might not have permission to use this network resource... Windows cannot find the network path. Verify that the network path is correct.. is not accessible. You might not have permission to use this network resource... Windows cannot find the network path. Verify that the network path is correct.. I have also tried to connect by mapping a network drive and specifying my Linux/Samba user name and password. The message here is Network path \\smbserver\pool could not be found. The only thing I see in the Samba logs is in log.nmbd. I don't know if it's relevant, but there are multiple messages that all say, in part, response packet id received with no matching record. Why does this work on one XP but not the other two? What could be different: Thanks, Ed -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Net Send?
Hello everyone. Does anyone know if you can use Samba to send messages over the network using Windows' Messenger service (which uses mailslots which are part of the SMB protocol - hence why I ask) in the same was as using 'NET SEND' on a Windows machine? If the answer is no, does anyone know if there are any Linux programs around to do this? Thanks, -Steve -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Net Send?
On Mon, Feb 03, 2003 at 08:52:00PM +, root wrote: Does anyone know if you can use Samba to send messages over the network using Windows' Messenger service (which uses mailslots which are part of the SMB protocol - hence why I ask) in the same was as using 'NET SEND' on a Windows machine? smbclient can send winpopup messages with the -M flag. -- Michael Heironimus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Winbind error
I think it was an oversight on my part I found the net command in the samba directory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sajesh Singh Sent: Monday, February 03, 2003 3:08 PM To: [EMAIL PROTECTED] Subject: [Samba] Winbind error Samba Gurus, I have successfully compiled samba with the winind option on Solaris 8. When I try to configure winbind by using the smbpasswd -j option I get the following message:See 'net join' for this functionality Please advise -- 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] Runtime error
Compiled 3.0alpha22cvs on solaris 8 with ads and winbind support getting the following errors # ./net ads testjoin [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from UCS-2LE to CP850 not supported [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from ASCII to CP850 not supported [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UCS-2LE not supported [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to ASCII not supported [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from CP850 to UTF8 not supported [2003/02/03 17:00:54, 0] lib/charcnv.c:init_iconv(93) Conversion from UTF8 to CP850 not supported ADS support not compiled in Anyone have an idea as to how to remedy Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Binary distribution for AIX 4.3
Hi all, Does anyone know of a binary distribution of a fairly recent version of samba for AIX 4.3 ? I've tried the 2.2.5 binary distribution from www.bullfreeeware.com but when I ran testparm and smbstatus, just as a quick check, I got symbol table errors. Thanks in advance. Gavin Lowe RHCE Senior Systems Engineer gen-i technology*passion*success Level 1, Charles Luney House 250 Oxford Terrace Christchurch Ph: +64 3 353 0809 Fax:+64 3 379 5768 Mob:+64 27 492 3028 E-mail: [EMAIL PROTECTED] Web:www.gen-i.co.nz * The might of our people equals the power of our company * -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] restricting concurrent logons
Hello. Is there any way to prevent user billyg from logging onto a samba pdc more then once? Or perhaps is there a better way of dealing with the following scenario: Consider this, billyg logs onto the domain in the morning, creates volumns of work, then decides he needs to scan a picture so then logs onto the machine with the scanner, meanwhile, his computer obiediantly follows instructions given to it by the befuddled system administrator and automatically logs billyg off after N minutes of inactivity (by means of winexit.scr). After billyg has completed his scanning he logs off, returns to his [primary] workstation and naturally logs back into it, only to find out HE HAS LOST ALL OF HIS MOST RECENT WORK. oh the horror. Alternatively, he scans his picture, saves it to My\ Documents and logs off before N minutes has passed. He returns to his [primary] workstation, finishes up his work and logs off before leaving. The next morning billyg wants to set his recently scanned picture of Nuffles, his pet hamster, as his background image. He double-clicks My\ Documents only to find out HE HAS LOST THE SCANNED HAMSTER JPEG. oh the horror. This was my experiance while testing logons with roaming profiles. It would seem though, if roaming profiles could be used for the initial logon, and subsequent logons used a local cached profile then [important] data would not overwritten like in the first-part scenario. The plus side is that there is a default message explaining to the user that they could not connect to the roaming profile and that a local copy will be used instead. If this were to happen billyg would instinctively save Nuffles.jpg to his home drive. Why not use the home drive for all data? billyg has a laptop, and using roaming profiles is a very easy way to get his current projects onto the server for backup and synchronizing. I am dealing with the combined inherent weaknesses of both the software and my users. At least the software I can reconfigure. Any suggestions? -dxd Darius Xerxes Desiderio -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [LONG] Can't see the XP shares in my linux samba acting as aPDC
Hi, I'm trying to solve a problem for about 3 weeks ago and can't... I have debian here with samba (Version 2.999+3.0.alpha21-3 for Debian) acting as the PDC of domain CASA. I have two Windows XP Professional here in my home and since I was having problems with the local browser and browse lists of shares I installed samba as a PDC instead of just a Local Master. My pc isEpilog (192.168.0.1) (Master) First XPCajo (192.168.0.2) Second XP Rui(192.168.0.3) here's my smb.conf # Global parameters [global] # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d ; Basic server settings workgroup = CASA netbios name = EPILOG server string = %h.ath.cx interfaces = 127.0.0.1 192.168.0. hosts allow = 127.0.0.1 192.168.0.1 192.168.0.2 192.168.0.3 ; we should act as the domain and local master browser security = user update encrypted = Yes passdb backend = tdbsam, unixsam pam password change = Yes passwd program = /usr/bin/passwd password level = 8 username level = 8 unix password sync = Yes password server = * add user script = /usr/sbin/useradd -g machines -d /dev/null -s /bin/false -c Machine %m$ ; logging log file = /var/log/samba/%m.log log level = 5 passdb:5 auth:10 winbind:2 #max log size = 100 timestamp logs = No socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE IPTOS_LOWDELAY ; domain options os level = 250 preferred master = True localmaster = Yes domainmaster = Yes domain logons = yes wins support = yes ; do not show files starting with dots hide dot files = yes guest ok = no invalid users = bin deamon sys man postfix mail ftp admin users = @root dns proxy = No message command = /usr/bin/linpopup %f %m %s; rm %s admin users = root lock directory = /var/lock/samba # show add printer wizard = yes time server = Yes unix extensions = Yes utmp = yes #character set = ISO8859-15 # load printers = yes printing = cups printcap name = cups ; where to store user profiles? logon path = \\%N\profiles\%u ; where is a user's home directory and where should it ; be mounted at? logon drive = H: logon home = \\%N\%u ; specify a generic logon script for all users ; this is a relative **DOS** path to the [netlogon] share logon script = logon.cmd ; If this is enabled, you can see active connections using the ; smbstatus command. #status = yes ; This is a form of caching that, when enabled, may improve ; performance when reading files. #read prediction = true ; A list of services that should be added automatically to the ; browse-list. auto services = cdrom [Admin] comment = Drive C path = / valid users = root read only = No [MP3] comment = Share dos MP3's path = /mp3 [Win98] comment = Windows98 path = /mnt/win98 [Videos] comment = Videos do Sobry path = /home/duckman/Videos [CDROM] comment = CDROM path = /mnt/cdrom [ZIP] comment = Iomega ZIP 100 Megas path = /mnt/zip read only = No [printers] comment = All Printers path = /var/spool/samba create mask = 0600 browseable = yes public = yes guest ok = yes writable = no printable = yes printer admin = root [print$] comment = Printer Drivers path = /etc/samba/drivers browseable = yes guest ok = yes read only = yes write list = root ; necessary share for domain controller [netlogon] path = /var/lib/samba/netlogon #public = no writeable = no #browsable = no #valid users = root @smbusers #read only = yes #write list = root guest ok = yes share modes = no ; share for storing user profiles [profile] path = /var/lib/samba/ntprofile writeable = yes create mask = 0700 directory mask = 0700 browsable = no valid users = root @smbusers profile acls = yes here's my smb.conf ## I added machines accounts and user accounts: $[root] /home/duckman/# pdbedit -l Trying to load: tdbsam Attempting to find an passdb backend to match tdbsam (tdbsam) Found pdb backend tdbsam (at pos 2) pdb backend tdbsam has a valid init Trying to load: unixsam Attempting to
[Samba] ppt
Hello. Excuse the double post. The previous wasnt wrapped nicely Is there any way to prevent user billyg from logging onto a samba pdc more then once? Or perhaps is there a better way of dealing with the following scenario: Consider this, billyg logs onto the domain in the morning, creates volumns of work, then decides he needs to scan a picture + so then logs onto the machine with the scanner, meanwhile, his computer obiediantly follows instructions given to it by the + befuddled system administrator and automatically logs billyg off after N minutes of inactivity (by means of winexit.scr). + After billyg has completed his scanning he logs off, returns to his [primary] workstation and naturally logs back into it +, only to find out HE HAS LOST ALL OF HIS MOST RECENT WORK. oh the horror. Alternatively, he scans his picture, saves it to My\ Documents and logs off before N minutes has passed. He returns to his [p +rimary] workstation, finishes up his work and logs off before leaving. The next morning billyg wants to set his recently s +canned picture of Nuffles, his pet hamster, as his background image. He double-clicks My\ Documents only to find out HE HAS +LOST THE SCANNED HAMSTER JPEG. oh the horror. This was my experiance while testing logons with roaming profiles. It would seem though, if roaming profiles could be used for the initial logon, and subsequent logons used a local cached prof +ile then [important] data would not overwritten like in the first-part scenario. The plus side is that there is a default me +ssage explaining to the user that they could not connect to the roaming profile and that a local copy will be used instead. If this were to happen billyg would instinctively save Nuffles.jpg to his home drive. Why not use the home drive for all data? billyg has a laptop, and using roaming profiles is a very easy way to get his cu +rrent projects onto the server for backup and synchronizing. I am dealing with the combined inherent weaknesses of both the software and my users. At least the software I can reconfigure. Any suggestions? -dxd Darius Xerxes Desiderio -- 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
Hi Chris, Did the checks you recommended (which are some of the ones I always do when troubleshooting too, but definitely something to keep in mind). -No changes from default (including binaries/conf files)...no corrupt files/libraries from what I can tell. -Tried forced reinstall of Samba 2.2.7a ...no luck -Same directories are missing from the listing on all 2.2.7a/RH8 hosts (they're all consistent)...only the RH6.2/2.0.6-9 can sreinstallingee the full list Hate to say this, but I ended up using sharity-light just to try it and it worked, so that's what I'm using until I can figure out why this seems to only affect our RedHat 8.0/2.2.7a clients. If anyone finds anything out that sounds similar, please let me knowas I'd really like to go back to using smbmount/Samba. Thanks again...and take care, -J On Fri, 2003-01-31 at 13:35, Chris de Vidal wrote: --- Joe Gerkman [EMAIL PROTECTED] wrote: On Fri, 2003-01-31 at 07:47, Chris de Vidal wrote: Update: From a RedHat 8 box with Samba 2.2.7a from a Samba.org RPM, I could see 1000 directories on a Windows 2000 Pro share. From a RedHat 7.3 box with Samba 2.2.7a from a Samba.org SRPM tweaked to include ACL support, I could see 1000 directories on a Windows 2000 Pro share. I created them with a for loop from my smbmount, not from within Windows, in case it matters. I figured it wasn't a directory/file number limitation, but wasn't entirely sure...I guess this confirms it...just as a check, were there any particularly large files/directories in there? I know that we have some directories that can get as big a 8 GB in size...just not sure if size plays into this at all either... This is what I did from the RH 8 box: for ((i=1;i=1000;i++)); do mkdir $i; done ls | wc -l 1000 At your question, I made a 2GB file in 10 directories (I couldn't create a 10GB file.. a Windows problem?): for ((i=1;i=10;i++)); do dd if=/dev/zero of=$i/2GB bs=1M count=2000; done ls | wc -l 1000 I can't explain it. Perhaps some weird/corrupt binary or library? Try rpm -Va | grep '^..5' | grep -v ' c ' | less which will show every non-config file that has been modified since being installed from its original RPM. Look at libraries and binaries in particular. Reinstall a damaged RPM with rpm -Uvh --replacepkgs --force some_package.rpm paying special attention to any .rpmsave/orig/new files created, which might move an original conf file (so diff the *.rpmorig/save/new with the existing file). Also, ensure you are seeing the exact same files missing each time: ls missing_at_12-24pm.txt later, after umounting/remounting ls missing_at_2-56pm.txt diff missing_at_12-24pm.txt missing_at_2-56pm.txt Any differences might tell me to look at intermittent network connectivity... it's yet another shot in the dark. Sorry I could not offer more specific help; these are the troubleshooting steps I go through when looking at weird problems like these. Someone shared that the permissions were possibly incorrect, but that would only seem to apply to a Samba server, not smbmount. And you're not using a umask, so the default umask is the one from the system, which is 0022, making permissions for folders and files 755. The only thing I can offer now is possibly ensuring that the username you access from the 6.2 box is the same you use on the 7.x+ boxen. If the usernames were different, perhaps permissions on Windows hide those directories from view (but obviously not from cd). Yep...same id...same password. Oh, and check the DOS permissions on those directories.. make sure they're not hidden. I don't know if smbmount obeys that, but it's worth a shot. I'll double-check that and let you know...but as most of the directories are created by a script (on the windows side), and there haven't been any changes to the script, they *should* all be the same...but again, I'll confirm that. /dev/idal Thanks again Chris... -Joe --- Chris de Vidal [EMAIL PROTECTED] wrote: 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
Re: [Samba] Re: So SAMBA no longer supports print driver downloads
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 3 Feb 2003, Hansjoerg Maurer wrote: we have solaris 2.8 here (I initially described the problem at our site), and I can help testing to. Could there be any connections to the Solaris fcntl bug, described in other E-Mails, or is this a completly differnt area. This looks like a Samba on Solaris bug. I will fix it when I get back into the office next week. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+PvcyIR7qMdg1EfYRAvZ/AJ9LNtLLB9qORbmWrqhB/Ap3I7mmEgCfchIZ N3WeXtmC+8SkMLh/bmq0F7k= =+GYy -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] So SAMBA no longer supports print driver downloads
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 31 Jan 2003, Brian Johnson wrote: Would you mind pointing us to a howto that works? I'm partial to the one in the Samba-HOWTO-Collection. See my other posts about an unconfirmed bug with Samba on Solaris wrt to driver downloads... 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+PvdlIR7qMdg1EfYRAvMKAJ0bdUU9pfavy3qZdIF6nnXzt1C5QwCfXThP 1mzNTn2zb4JzLn7lKRpqZ3s= =U4pq -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] Re: smb dealing with extended attributes
--- Eric Chen [EMAIL PROTECTED] wrote: Does anyone know if smb 3.0 supports the network file transfer of files with extended attributes and retains them? I want to do a backup from one server, SOURCE, to another server, DEST, and I want the extended attributes to be intact. I have been doing some research on protocols that I can use to do this file copy, but I have not had any luck. If anyone has any suggestions or can direct me to some helpful resources, please let me know. I could use some help on this matter. You might have to use star on either end of an SSH session. Something like: star cpvf - /some/share | ssh DEST star xpvf - /some/share but look up the star syntax. This might be faster than a typical Samba file copy. Or, dump the ACLs into a flat file. Instructions on doing this are on acl.bestbits.at. Good luck, /dev/idal __ 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: Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can
--- Joe Gerkman [EMAIL PROTECTED] wrote: Hi Chris, Did the checks you recommended (which are some of the ones I always do when troubleshooting too, but definitely something to keep in mind). -No changes from default (including binaries/conf files)...no corrupt files/libraries from what I can tell. -Tried forced reinstall of Samba 2.2.7a ...no luck -Same directories are missing from the listing on all 2.2.7a/RH8 hosts (they're all consistent)...only the RH6.2/2.0.6-9 can sreinstallingee the full list Hate to say this, but I ended up using sharity-light just to try it and it worked, so that's what I'm using until I can figure out why this seems to only affect our RedHat 8.0/2.2.7a clients. And 7.x clients, right? I'd like to hear from you when/if you install RedHat 8.1+ or another distro. Could you send me a testparm output offlist? /dev/idal If anyone finds anything out that sounds similar, please let me knowas I'd really like to go back to using smbmount/Samba. Thanks again...and take care, -J On Fri, 2003-01-31 at 13:35, Chris de Vidal wrote: --- Joe Gerkman [EMAIL PROTECTED] wrote: On Fri, 2003-01-31 at 07:47, Chris de Vidal wrote: Update: From a RedHat 8 box with Samba 2.2.7a from a Samba.org RPM, I could see 1000 directories on a Windows 2000 Pro share. From a RedHat 7.3 box with Samba 2.2.7a from a Samba.org SRPM tweaked to include ACL support, I could see 1000 directories on a Windows 2000 Pro share. I created them with a for loop from my smbmount, not from within Windows, in case it matters. I figured it wasn't a directory/file number limitation, but wasn't entirely sure...I guess this confirms it...just as a check, were there any particularly large files/directories in there? I know that we have some directories that can get as big a 8 GB in size...just not sure if size plays into this at all either... This is what I did from the RH 8 box: for ((i=1;i=1000;i++)); do mkdir $i; done ls | wc -l 1000 At your question, I made a 2GB file in 10 directories (I couldn't create a 10GB file.. a Windows problem?): for ((i=1;i=10;i++)); do dd if=/dev/zero of=$i/2GB bs=1M count=2000; done ls | wc -l 1000 I can't explain it. Perhaps some weird/corrupt binary or library? Try rpm -Va | grep '^..5' | grep -v ' c ' | less which will show every non-config file that has been modified since being installed from its original RPM. Look at libraries and binaries in particular. Reinstall a damaged RPM with rpm -Uvh --replacepkgs --force some_package.rpm paying special attention to any .rpmsave/orig/new files created, which might move an original conf file (so diff the *.rpmorig/save/new with the existing file). Also, ensure you are seeing the exact same files missing each time: ls missing_at_12-24pm.txt later, after umounting/remounting ls missing_at_2-56pm.txt diff missing_at_12-24pm.txt missing_at_2-56pm.txt Any differences might tell me to look at intermittent network connectivity... it's yet another shot in the dark. Sorry I could not offer more specific help; these are the troubleshooting steps I go through when looking at weird problems like these. Someone shared that the permissions were possibly incorrect, but that would only seem to apply to a Samba server, not smbmount. And you're not using a umask, so the default umask is the one from the system, which is 0022, making permissions for folders and files 755. The only thing I can offer now is possibly ensuring that the username you access from the 6.2 box is the same you use on the 7.x+ boxen. If the usernames were different, perhaps permissions on Windows hide those directories from view (but obviously not from cd). Yep...same id...same password. Oh, and check the DOS permissions on those directories.. make sure they're not hidden. I don't know if smbmount obeys that, but it's worth a shot. I'll double-check that and let you know...but as most of the directories are created by a script (on the windows side), and there haven't been any changes to the script, they *should* all be the same...but again, I'll confirm that. /dev/idal Thanks again Chris... -Joe --- Chris de Vidal [EMAIL PROTECTED] wrote: 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.
[Samba] Re: Can't see all of the directories in a share with 2.2.7a-1 RH8...but older version/kernel can
On Mon, 2003-02-03 at 15:24, Chris de Vidal wrote: --- Joe Gerkman [EMAIL PROTECTED] wrote: Hi Chris, Did the checks you recommended (which are some of the ones I always do when troubleshooting too, but definitely something to keep in mind). -No changes from default (including binaries/conf files)...no corrupt files/libraries from what I can tell. -Tried forced reinstall of Samba 2.2.7a ...no luck -Same directories are missing from the listing on all 2.2.7a/RH8 hosts (they're all consistent)...only the RH6.2/2.0.6-9 can sreinstallingee the full list Hate to say this, but I ended up using sharity-light just to try it and it worked, so that's what I'm using until I can figure out why this seems to only affect our RedHat 8.0/2.2.7a clients. And 7.x clients, right? I'd like to hear from you when/if you install RedHat 8.1+ or another distro. Yep, 7.x/8.x...anything with a 2.4.x kernel seems to have the problem... Could you send me a testparm output offlist? Sure...will do. /dev/idal If anyone finds anything out that sounds similar, please let me knowas I'd really like to go back to using smbmount/Samba. Thanks again...and take care, -J On Fri, 2003-01-31 at 13:35, Chris de Vidal wrote: --- Joe Gerkman [EMAIL PROTECTED] wrote: On Fri, 2003-01-31 at 07:47, Chris de Vidal wrote: Update: From a RedHat 8 box with Samba 2.2.7a from a Samba.org RPM, I could see 1000 directories on a Windows 2000 Pro share. From a RedHat 7.3 box with Samba 2.2.7a from a Samba.org SRPM tweaked to include ACL support, I could see 1000 directories on a Windows 2000 Pro share. I created them with a for loop from my smbmount, not from within Windows, in case it matters. I figured it wasn't a directory/file number limitation, but wasn't entirely sure...I guess this confirms it...just as a check, were there any particularly large files/directories in there? I know that we have some directories that can get as big a 8 GB in size...just not sure if size plays into this at all either... This is what I did from the RH 8 box: for ((i=1;i=1000;i++)); do mkdir $i; done ls | wc -l 1000 At your question, I made a 2GB file in 10 directories (I couldn't create a 10GB file.. a Windows problem?): for ((i=1;i=10;i++)); do dd if=/dev/zero of=$i/2GB bs=1M count=2000; done ls | wc -l 1000 I can't explain it. Perhaps some weird/corrupt binary or library? Try rpm -Va | grep '^..5' | grep -v ' c ' | less which will show every non-config file that has been modified since being installed from its original RPM. Look at libraries and binaries in particular. Reinstall a damaged RPM with rpm -Uvh --replacepkgs --force some_package.rpm paying special attention to any .rpmsave/orig/new files created, which might move an original conf file (so diff the *.rpmorig/save/new with the existing file). Also, ensure you are seeing the exact same files missing each time: ls missing_at_12-24pm.txt later, after umounting/remounting ls missing_at_2-56pm.txt diff missing_at_12-24pm.txt missing_at_2-56pm.txt Any differences might tell me to look at intermittent network connectivity... it's yet another shot in the dark. Sorry I could not offer more specific help; these are the troubleshooting steps I go through when looking at weird problems like these. Someone shared that the permissions were possibly incorrect, but that would only seem to apply to a Samba server, not smbmount. And you're not using a umask, so the default umask is the one from the system, which is 0022, making permissions for folders and files 755. The only thing I can offer now is possibly ensuring that the username you access from the 6.2 box is the same you use on the 7.x+ boxen. If the usernames were different, perhaps permissions on Windows hide those directories from view (but obviously not from cd). Yep...same id...same password. Oh, and check the DOS permissions on those directories.. make sure they're not hidden. I don't know if smbmount obeys that, but it's worth a shot. I'll double-check that and let you know...but as most of the directories are created by a script (on the windows side), and there haven't been any changes to the script, they *should* all be the same...but again, I'll confirm that. /dev/idal Thanks again Chris... -Joe --- Chris de Vidal [EMAIL PROTECTED] wrote: To the list: We've been having some off-list conversation and I wanted to clue you in here. Our thread might be
[Samba] Windows 2k Home directories junk
Has anyone had the home directories of some Windows 2000 users become inundated with thousands (15k or so) of directories all of a sudden? This is of course a samba share on the samba PDC. It really renders the H:\ pretty useless. It also seems to occur only if you are logged onto a certain machine. Is anyone aware of any causes? Certain software packages that maybe create odd directories in a user's home path? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Windows access problems
See below. On Fri, 2003-01-31 at 23:19, Pierre Lebrun wrote: Can you send smb.conf please ? Pierre Dan Perik wrote: 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 # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2003/01/23 10:28:44 # Global parameters [global] client code page = 437 workgroup = NTMA netbios name = NTMA-SERVER server string = NTMA Server encrypt passwords = Yes map to guest = Bad User username map = /etc/samba/smbusers log file = /var/log/samba/log.%m max log size = 50 time server = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = @smbusers add user script = /usr/sbin/adduser -n -g machines -c 'ntmachine' -d /dev/null -s /bin/false %m$ logon script = logon.bat logon path = logon drive = H: domain logons = Yes os level = 65 preferred master = Yes domain master = Yes dns proxy = No printer admin = @smbadmins create mask = 0770 directory mask = 02770 printing = lprng [homes] comment = Home Directories read only = No browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [netlogon] comment = for domain logon path = /home/samba/netlogon write list = @smbadmins guest ok = Yes browseable = No [groups] comment = Group Directory path = /home/samba/groups read only = No veto oplock files = /*.dbf/*.DBF/*.cdx/*.CDX/*.idx/*.IDX/*.mdb/*.MDB/*.ldb/*.LDB/ [print$] comment = Printer drivers path = /home/samba/printdrivers write list = @smbadmins -- - 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
[Samba] Re: Windows 2k Home directories junk
Yes, sorry about that... They look to be hexidecimal. Maybe up to 8 or 10 digits at most. Really odd, it seems like there may be directories named 0 through a really large heax number... As there are around 15000 of these directories, you can imagine how hard it is to really do a listing. Or do anything once with the listing once it is complete... ...and windows explorer has a wonderful time looking at them all too. Adam Smith [EMAIL PROTECTED] wrote in message 001d01c2cbde$52261180$ee08a8c0@adamsmith">news:001d01c2cbde$52261180$ee08a8c0@adamsmith... Has anyone had the home directories of some Windows 2000 users become inundated with thousands (15k or so) of directories all of a sudden? This is of course a samba share on the samba PDC. It really renders the H:\ pretty useless. What are the directories? -- Adam Smith Information Technology Officer SAGE Automation Ltd. [EMAIL PROTECTED] http://www.sageautomation.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba and Winbindd problem
Hi all, I am trying to get Samba 2.2.7a working with my Windows2000 PDC. My RedHat Linux 7.2 box successfully joined the domain. However, when I use the wbinfo -g command while Samba and Winbindd are running, I get the error 0xc233 instead of the DOMAIN+username I am expecting. What is going wrong here? This is my second Samba box on this domain and the first one is working fine using Samba 2.2.3a. All help is very much appreciated! Kevin Bramblett Network Administrator No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Windows 2k Home directories junk
Ever heard of a virus? They tend to do things like that. *** Has anyone had the home directories of some Windows 2000 users become inundated with thousands (15k or so) of directories all of a sudden? This is of course a samba share on the samba PDC. It really renders the H:\ pretty useless. What are the directories? -- Adam Smith Information Technology Officer SAGE Automation Ltd. [EMAIL PROTECTED] http://www.sageautomation.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] [LONG] Can't see the XP shares in my linux samba actingas aPDC
What username and password are you trying to use to log on to the XP machines? If you are trying to do it anonymously, have you checked to see that anonymous file sharing is actually enabled? There is more than one setting in windows XP that can disable anonymous sharing. You could check very quickly, by creating a new user account on one of the XP machines, (that doesn't exist on the other one) and then try to access you shares... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] how can i preserve extended attributes?
Hi, I have 2 linux machines, SOURCE and DEST on a network. I create some snapshots of the file structure on SOURCE and these snapshots have extended attributes. I want to copy the snapshots from SOURCE over to DEST over the network, but I don't want to lose the information on the extended attributes. Is there a way to do this using the samba protocol? Or do I have to modify the source code to allow the preservation of EA's. If anyone has any suggestions or can direct me to some helpful resources, please let me know. I could use some help on this matter. If there is another protocol that can support this file copy + preservation of EA's, please let me know. Thanks, Eric -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba xp domain login trouble
here is a snippet from xp after i try to login to the samba domain... any help would be appreciated... dns is working on linux box followed directions for samba PDC setup. The following error occurred when DNS was queried for the service location (SRV) resource record used to locate a domain controller for domain RINUXUNIX.COM: The error was: DNS name does not exist. (error code 0x232B RCODE_NAME_ERROR) The query was for the SRV record for _ldap._tcp.dc._msdcs.MINUXUNIX.COM Common causes of this error include the following: - The DNS SRV record is not registered in DNS. - One or more of the following zones do not include delegation to its child zone: MINUXUNIX.COM COM . (the root zone) For information about correcting this problem, click Help. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] [LONG] Can't see the XP shares in my linux samba actingas aPDC
On Tuesday 04 February 2003 01:34, Daniel Armbrust wrote: What username and password are you trying to use to log on to the XP machines? The duckman login of my smbpasswd, the duckman login of XP that I added and both didn't work, also I have putted all the passwords equal, the smbpasswd db and their pass in XP If you are trying to do it anonymously, have you checked to see that If I try anonymous I get a Access Denied in smbclient anonymous file sharing is actually enabled? There is more than one setting in windows XP that can disable anonymous sharing. Could you tell me what do I need to check in order to get anonymous listing like share mode in samba? You could check very quickly, by creating a new user account on one of the XP machines, (that doesn't exist on the other one) and then try to access you shares... Gonna try that but I guess it won't work cuz I still don't know what the error means. BR Carlos Sobrinho -- ## # I don't want to achieve immortality through my work, # # I want to achieve it through not dying. -- Woody Allen # ## -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba wont join a work group behind iptables doing dnat ....
Hi, I have Samba running on a Linux box with a non-routable IP address (192.168.y.y), I have a second Linux box with a real world IP 132.x.x.x doing destination network address translation (dnat) using iptables forwarding all incoming traffic tcp and udp ports 137 through 139 to the box with samba running on it (192.168.y.y). I am unable to get my samba machine (192.168.y.y) to appear in a workgroup on the 132.x.x.x network. The [globals] section of my smb.conf file looks like this, workgroup = ADMIN netbios name = jersey netbios aliases = santacruz server string = Samba Server encrypt passwords = Yes username level = 3 log file = /var/log/samba/log.%m max log size = 5 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 load printers = No preferred master = False local master = No domain master = False dns proxy = No remote announce = 132.x.x.a/ADMIN 132.x.x.b/ADMIN hide unreadable = Yes hide dot files = Yes Notes 1. The 'netbios name' is the name of the samba server as reported by hostname the 'netbios alias' is the name of the machine on the 132.x.x.x network doing the dnat. 2. 132.x.x.a is a Microsoft Windows NT PDC, 132.x.x.b is a Microsoft Windows NT BDC. I have a valid logon account on the Microsoft Windows domain I am trying to join. Mark -- You don't know what you don't know! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] [LONG] Can't see the XP shares in my linux samba actingas aPDC
Do you want anonymous access, or username/password access to the XP machines? If you want username/password access to the machines, have you checked to make sure you are using encrypted passwords on the samba server? If you are using anonymous shares, have you been able to access one XP machine from the other anonymously (meaning, you use an account on one machine that doesn't exist on the other, and still access the shared files) - If this doesn't work, you need to figure XP first, as it is your problem, not samba. Personally, I never muck around with all these config files... Install webmin (www.webmin.com) on the machine, and then have a decent GUI to do the work for you. It has a nice configuration module for samba. I don't know all the steps offhand for enabling anonymous access in XP.. (I'm not even sure which ones are required, and which ones aren't, but I have see a lot of different things that could disable anonymous access. -Original Message- From: Carlos Sobrinho [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 8:30 PM To: [EMAIL PROTECTED] Cc: Daniel Armbrust Subject: Re: [Samba] [LONG] Can't see the XP shares in my linux samba acting as aPDC On Tuesday 04 February 2003 01:34, Daniel Armbrust wrote: What username and password are you trying to use to log on to the XP machines? The duckman login of my smbpasswd, the duckman login of XP that I added and both didn't work, also I have putted all the passwords equal, the smbpasswd db and their pass in XP If you are trying to do it anonymously, have you checked to see that If I try anonymous I get a Access Denied in smbclient anonymous file sharing is actually enabled? There is more than one setting in windows XP that can disable anonymous sharing. Could you tell me what do I need to check in order to get anonymous listing like share mode in samba? You could check very quickly, by creating a new user account on one of the XP machines, (that doesn't exist on the other one) and then try to access you shares... Gonna try that but I guess it won't work cuz I still don't know what the error means. BR Carlos Sobrinho -- ## # I don't want to achieve immortality through my work, # # I want to achieve it through not dying. -- Woody Allen # ## -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
FW: [despammed] [Samba] Samba - winXP lookup
Might not be it...but the '30 second lockup' triggered a memory... Could this be the 'looking for scheduled tasks' problem? Here's a blurb from the windows-net-mag site (http://www.win2000mag.net/Articles/Index.cfm?ArticleID=24546) . Like Windows 2000, XP suffers from a little-documented browse delay. When you browse to a Windows 9x computer name (\\computername), your XP computer checks for Scheduled Tasks on computers to which it's connecting. This search can cause as much as a 30-second delay. If you browse to the share name (\\computername\share), this delay won't occur. To eliminate the search for Scheduled Tasks and increase your browse speed, delete the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF } subkey, which is of type REG_SZ. -linda -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Gabriele Carioli Sent: January 31, 2003 05:19p To: [EMAIL PROTECTED] Subject: Re: [despammed] [Samba] Samba - winXP lookup Hi from time to time I get a ~30 second lockup Same for me! -- 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] [LONG] Can't see the XP shares in my linux samba actingas aPDC
On Tuesday 04 February 2003 02:41, Daniel Armbrust wrote: Do you want anonymous access, or username/password access to the XP machines? I just want access, anonymous or not but with username/password would be better If you want username/password access to the machines, have you checked to make sure you are using encrypted passwords on the samba server? I am... at least I think so, encrypt passwords = yes is the default so... If you are using anonymous shares, have you been able to access one XP machine from the other anonymously (meaning, you use an account on one machine that doesn't exist on the other, and still access the shared files) - If this doesn't work, you need to figure XP first, as it is your problem, not samba. The other guys are sleeping so I'll try that tomorrow and post here... Personally, I never muck around with all these config files... Install webmin (www.webmin.com) on the machine, and then have a decent GUI to do the work for you. It has a nice configuration module for samba. I don't know all the steps offhand for enabling anonymous access in XP.. (I'm not even sure which ones are required, and which ones aren't, but I have see a lot of different things that could disable anonymous access. -- # # Tu bi or not tu bi DICK -- Começo de musica brega -- # # DICK vale o céu azul ... # # -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] please help me.....
i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. please help me in this regard becuase i tried many tutorials to solve this problem, but its still annoying me. thnaks best regards Adil __ 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] Hashing for short pathnames
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 3 Feb 2003, Holger Biber wrote: using samba 2.2.5-UL (on a SuSE-SLOX-System) we have to mangle long pathnames to short ones. We need this for some of our apps which generate batch-files (*.bat) for compilation. Normally this works correctly, exept for a directory named Only_for_generation. This directory is mangled into Only_~%0 (it' s NULL at the end). And this is the problem. In batch-files (*.bat) you shouldn't use this, because it meens to call the batch itself (like $0 in bash-scripts). There must be a possibility to exclude % from the resulting hash values. Perhaps other special characters, like $§... could leed to faults too. How about mangling chr = ^ I've changed the hash mathod to hash2: mangling method = hash2 but doesn't help. For our special case if inserted a mangled map: mangled map = (Only_for_generation Only_~01) This is probably suffering from bit rot so I wouldn't use it unless you are willing to debug it. 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+P17yIR7qMdg1EfYRAjr4AKDf540Svx/0QJgVYUABSb9CNSJToQCgq9Zu 0CrqXrHgx8+HbkPCbPKnjDw= =Fslz -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] please help me.....
On Tue, 2003-02-04 at 00:38, Adil Hussain wrote: i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. are you sure that the root user exists in smbpasswd? check to be sure that you are not disallowing the root user in smb.conf. 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
Drive already connected Error in Windows 2000
The W2K client systems may be at different service pack levels: most are probably at 2 or 3. Samba 2.2.7 is running on HP-UX 11. The last entries in the log.smbd before this happens are: [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) There is nothing strictly reproducible as it seems like a random thing! -Original Message- From: Green, Paul [mailto:[EMAIL PROTECTED]] Sent: 02 February 2003 15:46 To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED] Subject: RE: Drive already connected Error in Windows 2000 (please reply to list) Some standard questions... What service pack level for W2K? What operating system are you running under samba 2.2.7? Do you have a reproducible test case you can post? Anything out of the ordinary in your smb.conf file? Sounds like an operating system resource-limit issue... PG -Original Message- From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 7:45 AM To: [EMAIL PROTECTED] Subject: FW: Drive already connected Error in Windows 2000 The log.smbd file has lots of (No locks available) errors.. Any help? -Original Message- From: Grierson, Garry (UK07) Sent: 28 January 2003 11:36 To: '[EMAIL PROTECTED]' Subject:Drive already connected Error in Windows 2000 I have been successfully running with Samba 2.0.7 for more than a year now
A Union of two directories
Hi All! I am new to Samba and this group and I have a question... My company wants to make a custom version of Samba which is capable of creating a share which is actually a union of two directories. ie: instead of the share \\samba\arthur being /home/arthur, we want the share \\samba\arthur to be the union of the two directories /home/common and /home/arthur Why? It's all to do with version control and limitations in other software. The idea is to create a reserved checkout in a single directory. ie: all the read only code is in /home/common and the checked out code is in /home/arthur, but the silly end product software wants all the files in 1 directory (\\samba\arthur). Oh woe is me! So my question is: which source code file is the one that actually opens files in the unix file system ? Additionally - is anyone else interested in the result ? Regards, Arthur Barrett
Re: A Union of two directories
The best thing you can do is to make a custom VFS module. Look in the source and example/VFS directoryes of samba source code. Good Luck, Simo. On Mon, 2003-02-03 at 15:29, Arthur Barrett wrote: Hi All! I am new to Samba and this group and I have a question... My company wants to make a custom version of Samba which is capable of creating a share which is actually a union of two directories. ie: instead of the share \\samba\arthur being /home/arthur, we want the share \\samba\arthur to be the union of the two directories /home/common and /home/arthur Why? It's all to do with version control and limitations in other software. The idea is to create a reserved checkout in a single directory. ie: all the read only code is in /home/common and the checked out code is in /home/arthur, but the silly end product software wants all the files in 1 directory (\\samba\arthur). Oh woe is me! So my question is: which source code file is the one that actually opens files in the unix file system ? Additionally - is anyone else interested in the result ? Regards, Arthur Barrett -- Simo Sorce - [EMAIL PROTECTED] Xsec s.r.l. via Durando 10 Ed. G - 20158 - Milano tel. +39 02 2399 7130 - fax: +39 02 700 442 399 signature.asc Description: This is a digitally signed message part
Re: A Union of two directories
Arthur, If there is a collision (2 or more directories with the same name), what do you think would be the best thing to do? I understand the idea of merging 2 directories, I think I would use such a feature. I think the VFS module should actually support n directories. For the moment, can't you create a symbolic link? Pierre B. Arthur Barrett wrote: Hi All! I am new to Samba and this group and I have a question... My company wants to make a custom version of Samba which is capable of creating a share which is actually a union of two directories. ie: instead of the share \\samba\arthur being /home/arthur, we want the share \\samba\arthur to be the union of the two directories /home/common and /home/arthur Why? It's all to do with version control and limitations in other software. The idea is to create a reserved checkout in a single directory. ie: all the read only code is in /home/common and the checked out code is in /home/arthur, but the silly end product software wants all the files in 1 directory (\\samba\arthur). Oh woe is me! So my question is: which source code file is the one that actually opens files in the unix file system ? Additionally - is anyone else interested in the result ? Regards, Arthur Barrett
RE: A Union of two directories
For Arthur Barrett's purpose, it seems preferring the Read-Write user-specific directory over the common one would be best. If the user checks out a file and want to edit it, they should be able to. Until they check it back in, they should see the file which has their changes in their share. This is exactly what the mountable file system which is part of Rational Clearcase does. -Original Message- From: Pierre Belanger [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 9:15 AM To: Arthur Barrett Cc: '[EMAIL PROTECTED]' Subject: Re: A Union of two directories Arthur, If there is a collision (2 or more directories with the same name), what do you think would be the best thing to do? I understand the idea of merging 2 directories, I think I would use such a feature. I think the VFS module should actually support n directories. For the moment, can't you create a symbolic link? Pierre B. Arthur Barrett wrote: Hi All! I am new to Samba and this group and I have a question... My company wants to make a custom version of Samba which is capable of creating a share which is actually a union of two directories. ie: instead of the share \\samba\arthur being /home/arthur, we want the share \\samba\arthur to be the union of the two directories /home/common and /home/arthur Why? It's all to do with version control and limitations in other software. The idea is to create a reserved checkout in a single directory. ie: all the read only code is in /home/common and the checked out code is in /home/arthur, but the silly end product software wants all the files in 1 directory (\\samba\arthur). Oh woe is me! So my question is: which source code file is the one that actually opens files in the unix file system ? Additionally - is anyone else interested in the result ? Regards, Arthur Barrett
Re: Moving a domain
On Mon, 3 Feb 2003, Tom Alsberg wrote: When smbd starts (and this includes at least 2.2.3, I believe, and beyond to 3.0.x), it checks to see if there is a SID in the secrets file with the key SECRET/SID/UCNBNAME where UCNBNAME is the uppercase NetBIOS name. You mean - the uppercase NetBIOS name of the server (where smbd runs) - right? Yup If one does not exist, it will create a new random SID, set the machine SID to that, and then set the domain SID to that! If the SID changes, even if you have preserved the trust accounts and their current passwords, Windows will complain that the SID is inconsistent with what it had when it joined. OK. But if I copy the SID file[s]? If you copy the secrets file, you still need to make sure smbd runs with the same NetBIOS name. The SID for the old machine name is still in the secrets file, and you can use tdbdump to find the keys, and thus the old machine name if you need to. What do you mean by 'old machine name'? I most probably know the name of the machines which was previously acting as the server. Yup. This is relevant to your questions below. The question is - if any of you had experience, or theoretical facts and ideas of - would this work? For users who only use it as a file and print server, it most probably would. But as a domain controller - the clients remember a few things, and the server remembers a few things. The SID and secrets files should probably be copied... But then, should clients who are already in the domain be able to continue using it, without leaving and re-joining it? You probably only really need the secrets file and the smbpasswd or whatever passwd database you are using for Windows accounts. OK... That's not a problem to preserve, I assume... Correct. If the NetBIOS name changes, you have a couple of choices, as outlined at www.richardsharpe.com. Well, I took a look at some of the information there... Useful advice... But anyway, I was speaking of the NetBIOS name not changing (nmbd will run with the -n flag to have the same NetBIOS name, no matter on what machine it is running). That is good. As soon as Samba 2.2.8 ships you will retrieve the old SID and re-establish that as the machine SID for your Samba server and the domain SID. You can already do that with the net command for Samba 3.0.x. I didn't know Samba 3 had a net command... I'll look after it. Anyway, so now, after all - could you say - would it work? If I kill Samba on one machine, start it on another machine, with nmbd getting the same -n flag, and about the same configuration, and I copy the secret files - will log-ons to the domain (from machines that have already joined in the past) work without re-joining it? Would there be any other problem? I expect you will be fine. However, I have not tried that. As I understand from your message, there should not be any problem. Is this right? I think you will be OK. Let us know :-) Regards - Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, sharpe[at]ethereal.com, http://www.richardsharpe.com
Need help with conecting two PC's (Windows 2000 with Solaris 9.0for Intel)
Can I use Samba to network a PC with Win 2000 pro with a PC with Solaris 9.0 or 8.0 together and share files and a printer? Thank you. Thomas [EMAIL PROTECTED]
Re: Solaris fcntl CPU/Lock update
Here's gdb with bt from two processes 12279 and 12327 root@reiger# gdb /usr/local/samba/bin/smbd 12279 GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as sparc-sun-solaris2.8... /tmp/12279 is not a core dump: File truncated Attaching to program `/usr/local/samba/bin/smbd', process 12279 Reading symbols from /usr/lib/libsec.so.1...done. Loaded symbols for /usr/lib/libsec.so.1 Reading symbols from /usr/lib/libgen.so.1...done. Loaded symbols for /usr/lib/libgen.so.1 Reading symbols from /usr/lib/libsocket.so.1...done. Loaded symbols for /usr/lib/libsocket.so.1 Reading symbols from /usr/lib/libnsl.so.1...done. Loaded symbols for /usr/lib/libnsl.so.1 Reading symbols from /usr/lib/libdl.so.1...done. Loaded symbols for /usr/lib/libdl.so.1 Reading symbols from /usr/lib/libpopt.so.0...done. Loaded symbols for /usr/lib/libpopt.so.0 Reading symbols from /usr/lib/libc.so.1...done. Loaded symbols for /usr/lib/libc.so.1 Reading symbols from /usr/lib/libmp.so.2...done. Loaded symbols for /usr/lib/libmp.so.2 Reading symbols from /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1...done. Loaded symbols for /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1 Reading symbols from /usr/lib/nss_files.so.1...done. Loaded symbols for /usr/lib/nss_files.so.1 Reading symbols from /usr/lib/nss_ldap.so.1...done. Loaded symbols for /usr/lib/nss_ldap.so.1 Reading symbols from /usr/lib/libpthread.so.1...done. Loaded symbols for /usr/lib/libpthread.so.1 Reading symbols from /usr/local/ldapsdk5/lib/libldap50.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libldap50.so Reading symbols from /usr/local/ldapsdk5/lib/libssldap50.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libssldap50.so Reading symbols from /usr/local/ldapsdk5/lib/libssl3.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libssl3.so ---Type return to continue, or q return to quit--- Reading symbols from /usr/local/ldapsdk5/lib/libnss3.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libnss3.so Reading symbols from /usr/local/ldapsdk5/lib/libnspr4.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libnspr4.so Reading symbols from /usr/local/ldapsdk5/lib/libprldap50.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libprldap50.so Reading symbols from /usr/local/ldapsdk5/lib/libplc4.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libplc4.so Reading symbols from /usr/local/ldapsdk5/lib/libplds4.so...done. Loaded symbols for /usr/local/ldapsdk5/lib/libplds4.so Reading symbols from /usr/lib/libdb-3.3.so...done. Loaded symbols for /usr/lib/libdb-3.3.so Reading symbols from /usr/lib/libresolv.so.2...done. Loaded symbols for /usr/lib/libresolv.so.2 Reading symbols from /usr/lib/libthread.so.1...done. Loaded symbols for /usr/lib/libthread.so.1 Reading symbols from /usr/lib/librt.so.1...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /usr/lib/libaio.so.1...done. Loaded symbols for /usr/lib/libaio.so.1 sol-thread active. Retry #1: Retry #2: Retry #3: Retry #4: [New LWP1] [New Thread 1 (LWP 1)] Symbols already loaded for /usr/lib/libsec.so.1 Symbols already loaded for /usr/lib/libgen.so.1 Symbols already loaded for /usr/lib/libsocket.so.1 Symbols already loaded for /usr/lib/libnsl.so.1 Symbols already loaded for /usr/lib/libdl.so.1 Symbols already loaded for /usr/lib/libpopt.so.0 Symbols already loaded for /usr/lib/libc.so.1 Symbols already loaded for /usr/lib/libmp.so.2 Symbols already loaded for /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1 Symbols already loaded for /usr/lib/nss_files.so.1 Symbols already loaded for /usr/lib/nss_ldap.so.1 Symbols already loaded for /usr/lib/libpthread.so.1 Symbols already loaded for /usr/local/ldapsdk5/lib/libldap50.so Symbols already loaded for /usr/local/ldapsdk5/lib/libssldap50.so Symbols already loaded for /usr/local/ldapsdk5/lib/libssl3.so Symbols already loaded for /usr/local/ldapsdk5/lib/libnss3.so Symbols already loaded for /usr/local/ldapsdk5/lib/libnspr4.so Symbols already loaded for /usr/local/ldapsdk5/lib/libprldap50.so Symbols already loaded for /usr/local/ldapsdk5/lib/libplc4.so Symbols already loaded for /usr/local/ldapsdk5/lib/libplds4.so Symbols already loaded for /usr/lib/libdb-3.3.so Symbols already loaded for /usr/lib/libresolv.so.2 Symbols already loaded for /usr/lib/libthread.so.1 Symbols already loaded for /usr/lib/librt.so.1 Symbols already loaded for /usr/lib/libaio.so.1 [Switching to Thread 1 (LWP 1)] signal handler called (gdb) bt #0 signal handler called #1 0xfecd9794 in __sigprocmask () from /usr/lib/libthread.so.1 #2 0xfecce148 in _sigon () from /usr/lib/libthread.so.1 #3 0xfecd05bc in thr_sigsetmask () from /usr/lib/libthread.so.1 #4 signal
Re: Need help with conecting two PC's (Windows 2000 with Solaris9.0 for Intel)
On Mon, 3 Feb 2003, Tomek wrote: Can I use Samba to network a PC with Win 2000 pro with a PC with Solaris 9.0 or 8.0 together and share files and a printer? Thank you. Yes. In future please ask questions of this type on the general samba mailing list. This is NOT a technical question. - John T. -- John H Terpstra Email: [EMAIL PROTECTED]
Minor POSIX patch to samba head and 3.0
Samba is pretty good about sticking with POSIX functions. I tripped over a small case where it references a non-POSIX function. So I fixed it. See attachment. This patch should work on both head and 3_0. The 2_2 branch is unaffected. I verified it compiles okay. Otherwise, this change is simple enough that it can be verified by inspection. Honest. 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 From: [EMAIL PROTECTED] Date: Sun, 2 Feb 03 11:15 est To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: profiles.c patch Mime-Version: 1.0 diff -ur old/samba.save/source/utils/profiles.c new/samba.save/source/utils/profiles.c --- old/samba.save/source/utils/profiles.c Mon Jan 13 15:47:42 2003 +++ new/samba.save/source/utils/profiles.c Mon Jan 13 15:47:49 2003 @@ -408,7 +408,7 @@ if (sa1 != sa2) return 0; - return !bcmp((char *)s1-id_auth, (char *)s2-id_auth, + return !memcmp((void *)s1-id_auth, (void *)s2-id_auth, 6 + sa1 * 4); }
help needed : Error : The specified user does not exist.
i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. please help me in this regard becuase i tried many tutorials to solve this problem, but its still annoying me. thnaks best regards Adil __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
RE: Drive already connected Error in Windows 2000
Samba 2.2.7 uses fcntl locks on a regular basis for internal locking, even if you have set strict locking and posix locks=no. The errors you are getting in your log indicate that you have run out of the system resource controlling the size of the fcntl lock table. You will need to go into SAM (or have your hpux sysadm do this) and increase the kernel parameter (nflocks). Hope this helps, Don -Original Message- From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 7:08 To: [EMAIL PROTECTED] Subject: Drive already connected Error in Windows 2000 The W2K client systems may be at different service pack levels: most are probably at 2 or 3. Samba 2.2.7 is running on HP-UX 11. The last entries in the log.smbd before this happens are: [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) There is nothing strictly reproducible as it seems like a random thing! -Original Message- From: Green, Paul [mailto:[EMAIL PROTECTED]] Sent: 02 February 2003 15:46 To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED] Subject: RE: Drive already connected Error in Windows 2000 (please reply to list) Some standard questions... What service pack level for W2K? What operating system are you running under samba 2.2.7? Do you have a reproducible test case you can post? Anything out of the ordinary in your smb.conf file? Sounds like an operating system resource-limit issue... PG -Original Message- From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 7:45 AM To: [EMAIL PROTECTED] Subject: FW: Drive already connected Error in Windows 2000 The log.smbd file has lots of (No locks available) errors.. Any help? -Original Message- From: Grierson, Garry (UK07) Sent: 28 January 2003 11:36 To: '[EMAIL PROTECTED]' Subject: Drive already connected Error in Windows 2000 I have been successfully running with Samba 2.0.7 for more than a year now
Re: heimdal didn't have AP_OPTS_USE_SUBKEY
On Sat, Feb 01, 2003 at 01:01:07PM +0100, Stefan (metze) Metzmacher wrote: Hi Jeremy, the latest HEAD didn't not compile with heimdal on SuSE8.1 because AP_OPTS_USE_SUBKEY is not defined in the heimdal/krb5.h only in the MIT krb5.h :-( is it possible to fix samba that it finally compiles fine? Yes, I haven't finished the HEAD converion to Heimdal yet, because HEAD uses some nasty MIT internals I need to look at converting. Jeremy.
Position available for a Samba developer...
Hey all, I hate to be that guy who posts to the list asking if anybody is interested in a position as a Samba Software Engineer, but that's my part today :). Anyway, my company, Snap Appliance, is looking for a full-time, or mostly full-time Samba guy, who can help us work maintain and develop the Samba 3.0alpha that we're currently shipping on our NAS boxes. We've done remote development in the past (Tridge worked here up until a few months ago), and we are willing to work that way again. If you are interested, reply to this email with a resume, or at least a list of how you've worked on Samba in the past/currently and cc [EMAIL PROTECTED] Thanks, -Marc -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 11:37 AM To: Stefan (metze) Metzmacher Cc: [EMAIL PROTECTED] Subject: Re: heimdal didn't have AP_OPTS_USE_SUBKEY On Sat, Feb 01, 2003 at 01:01:07PM +0100, Stefan (metze) Metzmacher wrote: Hi Jeremy, the latest HEAD didn't not compile with heimdal on SuSE8.1 because AP_OPTS_USE_SUBKEY is not defined in the heimdal/krb5.h only in the MIT krb5.h :-( is it possible to fix samba that it finally compiles fine? Yes, I haven't finished the HEAD converion to Heimdal yet, because HEAD uses some nasty MIT internals I need to look at converting. Jeremy.
RE: help needed : Error : The specified user does not exist.
Please post this question to [EMAIL PROTECTED] This list is for developers. Thanks PG -Original Message- From: Adil Hussain [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 2:17 PM To: [EMAIL PROTECTED] Subject: help needed : Error : The specified user does not exist. i want to configure samba as PDC .i installed the samba on the linux box machine and configure it accordingly. I am trying to connect the windows 2000(server) as a client of this domain. when i press ok after writing the domain name at the windows 2000 (as a client). It gives me a window , asking for the Name and Password and when i give it the root/[password] to it, it says The following error occured attempting to join the domain [domain name] The specified user does not exist. please help me in this regard becuase i tried many tutorials to solve this problem, but its still annoying me. thnaks best regards Adil __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
Re: heimdal didn't have AP_OPTS_USE_SUBKEY
Also, if you are going to support specific enctypes, note that Heimdal defines ENCTYPE_ARCFOUR_HMAC_MD5 rather than ENCTYPE_ARCFOUR_HMAC. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com
nmblookup -A and MS XP Clients
A nmblookup -A $IP against a NT 4.0 client will return the name of any logged in user. This same query against an XP Professional client does not return any user names. Has anyone seen this before? -- Matt Pavlovich [EMAIL PROTECTED] Allegiance Telecom, Inc.
Re: REPOST: Meaning of tdb_free: left read failed at ...?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 1 Feb 2003, Ralf G. R. Bergs wrote: since I upgraded our fileserver running Debian 3.0/i386 with Samba 2.2.7a (a package I created myself) I'm seeing the following messages in syslog: Jan 28 14:55:50 Fileserver nmbd[22451]: [2003/01/28 14:55:50, 0] tdb/tdbutil.c:tdb_log(531) Jan 28 14:55:50 Fileserver nmbd[22451]: tdb(/var/run/samba/unexpected.tdb): tdb_oob len -2320 beyond eof at 16384 Jan 28 14:55:50 Fileserver nmbd[22451]: [2003/01/28 14:55:50, 0] tdb/tdbutil.c:tdb_log(531) Jan 28 14:55:50 Fileserver nmbd[22451]: tdb(/var/run/samba/unexpected.tdb): tdb_free: left read failed at 4294964952 (4096) Looks like the tdb went over the 4Gb line. As a quick work around, Stop nmbd; rm /var/run/samba/unexpected.tdb; and start nmbd back up. It looks like an overflow in the tdb read offset. I don't think tdb's support 64-bit file size (of the actual tdb itself) IIRC. This is by design I believe. 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+Pvk7IR7qMdg1EfYRAlhZAJ9kxVGcjjrQIBlnEsWVTrdgRbfHiQCg0nKi mPGFSgQvhge1ztS8p/o/tAY= =49I4 -END PGP SIGNATURE-
Re: nmblookup -A and MS XP Clients
Matt Pavlovich wrote: A nmblookup -A $IP against a NT 4.0 client will return the name of any logged in user. This same query against an XP Professional client does not return any user names. Has anyone seen this before? -- Matt Pavlovich [EMAIL PROTECTED] Allegiance Telecom, Inc. I assume you are getting some results, yes? XP does not register as many names as earlier version of Windows, suggesting that it doesn't know how to offer some services. If I recall correctly (I don't have XP to test against) it does not register the client#00 unique name (the client service). There are others missing as well. You can't really count on Windows to register names for all of the services. The services seem to come and go and move to other names and such. 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]
Re: permission upgrade during O_TRUNC
On Wed, Jan 08, 2003 at 11:01:13AM +0100, Steve Hardy wrote: not entirely true again the error in the current code is S - SR = SR H - HR = HR which should be S - SR = S H - HR = H that's all. Still simplifies the code. Ok, I finally got to test this and built a torture tester for this case. The reality is more complex, but you can see how it works by looking at the code I just committed to all branches. Thanks a *lot* for your help on this ! Jeremy.
Re: Move files do not change group as copying does.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 31 Jan 2003, Ola Lundqvist wrote: The problem this time is that we have set up a permission structure for files in about the same way as windows do, using groups. The problem is that in windows, the files inherit the group membership from the directory where the files (and subdirs) reside. This works fine now if the user copy the files from one place to the other. The problem is that if the files (and dirs) is moved an ordinary rename(a,b) command is used which means that the group membership is not changed. I use sgid on directorys to emulate windows behaviour but this do not help if moving files. I have looked at the code and see that there is a rename(a,b) emulation function, but that tries to emulate it truely so it gives the same problem. My suggestion is that a recursive chgrp is performed to the destination for all dirs and files that has the same group id as the source file or dir. What do you think about this? I don't think this is the path of least surprise. If I move a file, it should keep the same ownership permission. I think you might be referring to the Win2k inherit permissions check box. IMO this is not Samba's responsibility to emulate. It would be more effeciently done by the file system itself. 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+P17TIR7qMdg1EfYRAk/OAKCSw3pKQulBvAap/Z7FIDC/uq0g+ACfS9Jp et1Lzmmok8FagMCdYgy3n3g= =P/yS -END PGP SIGNATURE-
winbind problem
Greetings, I have just configured Redhat 7.3 with winbind with our win2k AD server and ran into a problem with the username/password handoff. Please point me to few documents or sites for winbind. How does it fit into samba and technical details pertaining to winbind.Search on net put me off on this regard :-( -DJ __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
RE: Drive already connected Error in Windows 2000
I did mention in my original post that I think the systems resource issues are coming from the fact that unused smbd deamon processes are clogging up the system and wont die, rather than the other way round. So I'm not sure if upping the resource table sizes would solve the problem or just delay it. I will try this and see if it makes a difference. Thank's for your response. Garry. -Original Message- From: MCCALL,DON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]] Sent: 03 February 2003 19:20 To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED] Subject: RE: Drive already connected Error in Windows 2000 Samba 2.2.7 uses fcntl locks on a regular basis for internal locking, even if you have set strict locking and posix locks=no. The errors you are getting in your log indicate that you have run out of the system resource controlling the size of the fcntl lock table. You will need to go into SAM (or have your hpux sysadm do this) and increase the kernel parameter (nflocks). Hope this helps, Don -Original Message- From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]] Sent: Monday, February 03, 2003 7:08 To: [EMAIL PROTECTED] Subject: Drive already connected Error in Windows 2000 The W2K client systems may be at different service pack levels: most are probably at 2 or 3. Samba 2.2.7 is running on HP-UX 11. The last entries in the log.smbd before this happens are: [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:40, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 10:59:54, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:19, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:00:32, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) [2003/02/03 11:02:55, 0] printing/nt_printing.c:(281) nt_printing_init: Failed to open nt forms database /usr/local/samba/locks/ntforms.tdb (No locks available) There is nothing strictly reproducible as it seems like a random thing! -Original Message- From: Green, Paul [mailto:[EMAIL PROTECTED]] Sent: 02 February 2003 15:46 To: 'Grierson, Garry (UK07)'; [EMAIL PROTECTED] Subject: RE: Drive already connected Error in Windows 2000 (please reply to list) Some standard questions... What service pack level for W2K? What operating system are you running under samba 2.2.7? Do you have a reproducible test case you can post? Anything out of the ordinary in your smb.conf file? Sounds like an operating system resource-limit issue... PG -Original Message- From: Grierson, Garry (UK07) [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 28, 2003 7:45 AM To: [EMAIL PROTECTED] Subject: FW: Drive already connected Error in Windows 2000 The log.smbd file has lots of (No locks available) errors.. Any help? -Original Message- From: Grierson, Garry (UK07) Sent: 28 January 2003 11:36 To: '[EMAIL PROTECTED]' Subject: Drive already connected Error in Windows 2000 I have been successfully running with Samba 2.0.7 for more than a year now
Re: User with read only access can deny write.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 31 Jan 2003, Ola Lundqvist wrote: I have got a small problem. The thing is that if one use A open a file in microsoft word without having write access to the file the file become locked. From smbstatus: 19717 DENY_WRITE RDONLY NONE /home/pathtofile The problem is that all other users can not write to the file because it is locked. This is a problem here because some users need to be able to write the file while other just have read access. You could say that it is a bug in word but on the other hand it should really be possible to deny write whily you do not have write permission. This would make sense but you need to confirm that NT does was makes sense. I assume that this is a bug, i.e. no check is performed to determine if a user really can deny write to other users. Or is this a design flaw in samba? Please try to reproduce this against an NT/2k print server. I'll bet you see similar behavior. If not. then it is our bug. 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+P17aIR7qMdg1EfYRAjCYAKCdsycTPqg35xccWczQ23x2dP2jygCg7ZS2 kjVOw1MwVsL0hk1Jh7JD9QU= =Z656 -END PGP SIGNATURE-
Re: 2.0.7-XP compability ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 30 Jan 2003, Ulf Bertilsson wrote: I wonder what this means ?: error packet at line 878 cmd=162 (SMBntcreateX) eclass=1 ecode=32 You could grab the #defines from incluee/doserr.h /* Error classes */ #define ERRDOS 0x01 /* Error is from the core DOS operating system set. */ /* SMB X/Open error codes for the ERRDOS error class */ #define ERRbadshare 32 /* Share mode on file conflict with open mode */ 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+P17lIR7qMdg1EfYRAjYjAJ0VHguOQN/V6mW9i+F/Tq9gwp0eQgCfW6iJ AdZdEBJrg2BOfPkZ94iZ5s0= =zECe -END PGP SIGNATURE-
CVS update: samba/source
Date: Mon Feb 3 18:09:58 2003 Author: jmcd Update of /home/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv28403 Modified Files: configure.in Log Message: Try to get build working on systems with krb runtime but not devel libs. Let's not assume that because one dir exists the whole shebang is there... Revisions: configure.in1.397 = 1.398 http://www.samba.org/cgi-bin/cvsweb/samba/source/configure.in?r1=1.397r2=1.398
CVS update: samba/source
Date: Mon Feb 3 18:10:30 2003 Author: jmcd Update of /home/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv28543 Modified Files: configure Log Message: Try to get build working on systems with krb runtime but not devel libs. Let's not assume that because one dir exists the whole shebang is there... Revisions: configure 1.375 = 1.376 http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.375r2=1.376
Re: CVS update: samba/source
Modified Files: Tag: SAMBA_3_0 configure.in Hmm, I seem to have run into the same trouble richard did a while back...I get this message when trying to check in configure: Checking in configure; /home/cvs/samba/source/configure,v -- configure new revision: 1.282.2.39; previous revision: 1.282.2.38 cvs [server aborted]: error writing to lock file /home/cvs/samba/source/,configure, cvs commit: saving log message in /tmp/cvsMuzT8Q Any ideas what's wrong? Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA [EMAIL PROTECTED] [EMAIL PROTECTED] Phone: (207) 885-5565 IBM tie-line: 776-9984
CVS update: samba/source
Date: Mon Feb 3 19:29:33 2003 Author: jerry Update of /data/cvs/samba/source In directory dp.samba.org:/tmp/cvs-serv2855 Modified Files: Tag: SAMBA_3_0 configure Log Message: reran autoconf-2.53 Revisions: configure 1.282.2.38 = 1.282.2.39 http://www.samba.org/cgi-bin/cvsweb/samba/source/configure?r1=1.282.2.38r2=1.282.2.39
Re: CVS update: samba/source
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 3 Feb 2003, Jim McDonough wrote: Modified Files: Tag: SAMBA_3_0 configure.in Hmm, I seem to have run into the same trouble richard did a while back...I get this message when trying to check in configure: Checking in configure; /home/cvs/samba/source/configure,v -- configure new revision: 1.282.2.39; previous revision: 1.282.2.38 cvs [server aborted]: error writing to lock file /home/cvs/samba/source/,configure, cvs commit: saving log message in /tmp/cvsMuzT8Q Dunno Jim. Guess I'm just lucky. $ cvs commit -m reran autoconf-2.53 configure RSA host key for IP address '15.29.47.168' not in list of known hosts. Checking in configure; /data/cvs/samba/source/configure,v -- configure new revision: 1.282.2.39; previous revision: 1.282.2.38 done jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+PsNIIR7qMdg1EfYRAoxzAJ48pmBKuUXSHB++bwrbJCUn7cUvgQCg8u9L J4DNoayhwSUmeYDPmadgt3w= =/JHr -END PGP SIGNATURE-
Re: CVS update: samba/source/param
On Sat, Feb 01, 2003 at 01:01:30PM +, [EMAIL PROTECTED] wrote: Date: Sat Feb 1 13:01:30 2003 Author: abartlet Update of /data/cvs/samba/source/param In directory dp.samba.org:/tmp/cvs-serv10377/param Modified Files: loadparm.c Log Message: We now have client-side SMB signing support! This checking allows us to connect to Microsoft servers the use SMB signing, within a few restrictions: - I've not get the NTLMSSP stuff going - it appears to work, but if you break the sig - say by writing a zero in it - it still passes... - We don't currently verfiy the server's reply - It works against one of my test servers, but not the other... However, it provides an excellent basis to work from. Enable it with 'client signing' in your smb.conf. Doc to come (tomorrow) and this is not for 3.0, till we get it complete. The CIFS Spec is misleading - the session key (for NTLMv1 at least) is the standard session key, ie MD4(NT#). Thanks to jra for the early work on this. Dammit ! How did you guess that (the correct session key :-) :-). GREAT WORK I'm *very* happy you figured this out :-). Jeremy.
CVS update: samba/source/utils
Date: Mon Feb 3 20:37:16 2003 Author: jra Update of /data/cvs/samba/source/utils In directory dp.samba.org:/tmp/cvs-serv10984/utils Modified Files: profiles.c Log Message: Grrr. Kill all BSD-isms... Spotted by Paul Green [EMAIL PROTECTED]. Jeremy. Revisions: profiles.c 1.14 = 1.15 http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/profiles.c?r1=1.14r2=1.15