[Samba] pdc
howdie all ive got a pdc server with win 2000 machines connecting to it fine but when i put on a win XP machine it accepts me to the domain and creates a machine account but when i try log onto the domain i get domain controller down or unavailable or your machine account not found if this problem persists please contact your system administrator i have build a redhat and a gentoo server but still the same any ideas thanks ryan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Figuring out name of Kerberos server?
Hi! I'm on a conquest to get Samba 3.0 to authenticate against an Active Directory. For this, I need to have Kerberos working. However, I don't know the name of our Kerberos server. If I've got a Windows machine which is part of the Active Directory, can I somehow get it to tell me the name of the Kerberos server? Or could I use a packet sniffer to get the name of the server? What should I look for? Thanks a lot, Alexander Skwar -- Mit wie vielen Sachen vergeuden wir unsere Zeit und fragen uns im nachhinein, wo sie denn geblieben ist... -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Win2k and Samba
Al Bean schrieb: Hi Kurt, I set "socket options" to the default by removing it and I set case case sensitive = No. But that did not help or change the log output. I also changed the NICs in both boxes just to see if that was the problem but that did not help. :( I'm wondering, can sombody tell me how long it should take to transfer a 10MB file from win2k (1.5GHz Pentium4, 100 BaseT NIC) to a Linux share (400MHz Pentium2, 100 BaseT Nic) where the two boxes are connected by a 100 BaseT switch? Also, (if possible) could sombody post thier smb.conf where they are using a Linux box as a simple file server in a Windows environment (where the linux box is NOT a PDC)? That would really help to see if I'm doing something wrong. hi again. u always can configure a smb to PDC, u do not have to use this features. - if u access with w2k *without* joining the domain, it's functional at all. - but i'll send u an example look down. the speed, how a 10mb file is copied through a lan differs extremly with hardware. - if u want to check your hardware/infrastructure, try following: on linux/(unix): ifconfig gives information about lost packets. e.g. 'ifconfig eth0' if u want to stress the connection use: 'ping -fs 1' - abort with 'Ctrl+C' then u see, how many packets are lost. if u have a stable connection, u should find something like this in your output: ifconfig: RX packets:5857030 errors:0 dropped:0 overruns:0 frame:0 TX packets:8054607 errors:0 dropped:0 overruns:0 carrier:0 =^= ping: 2670 packets transmitted, 2670 received, 0% loss, time 7096ms ^^ can u check, if your network is running stable? i found two little lines, i would ask, if u need them? >>>remote announce = 192.168.0.255 >>>remote browse sync = 192.168.0.255 as i look into man smb.conf i don't think so (192.168.0 is your main segment?) now here's an (minimal) smb.conf 4 w2k, without joining a domain. [global] server string = workgroup = guest account = nobody keep alive = 30 os level = 65 security = users # u can also use share without user, #or domain if u have a PDC - butt refer HOWTO... encrypt passwords = yes # need 4 w2k - create user with smbpasswd... netbios name = # printing = lprng printing = cups # depends on your printing system. printcap name = /etc/printcap load printers = yes # socket options = TCP_NODELAY SO_SNDBUF=16348 SO_RCVBUF=16348 map to guest = Bad User local master = yes wins support = no domain logons = no domain master = no #maybe this will help with different programm problems... dos filetime resolution = yes dos filetimes = yes [cdrom] comment = Linux CD-ROM path = /mnt/cdrom read only = yes locking = no [floppy] comment = Linux CD-ROM path = /mnt/floppy read only = no locking = no [printers] comment = All Printers browseable = no printable = yes public = yes read only = no create mode = 0666 path = /tmp [test] comment = share fuer testzwecke writable = yes path = /netzwerk/windows/test create mode = 0661 directory mode = 2771 force user = nobody have a lot of fun gk -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows XP Profiles
I would like profiles to be stored locally and automatically created when a new user logs in. So, if a roaming profiles are copied at login from the server to the client. at logout they will be copied back... if netconnection is broken, the client uses the temporary copy on itselves. if u want to use local profiles, so u have to change the profile type to "local" or turn off roaming. (as u did). if a user logs on first time (in the network when using roaming / on the client, when using not) - so windows creates the profile as copy of "default user" (at the client/ i did not try, what happens if u create default user on the server, but i think it will be functional...). - 4 details, please refer microsoft doc's. user has not logged into a particular computer before, a profile will be created (possibly from a template?) for them and will be stored locally. I have been able to turn off profile roaming by adding "logon path =" to the smb.conf file, but that will just allow the user to logon, not create an account on the local machine for them. if i did not misunderstand u (i'm austrian and not to fix in english) - i think u should turn *on* roaming... i hope i helped gk -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Infrasoft MX very slow loading from Samba share
The clients are XP and 2000 boxes. I have looked at the logs and noticed that MX opens a HECK of a LOT of files when it opens a single drawing. In one section of the log I estimate it opens about 3300 files in 105 seconds. Probably small files - I think macros etc. I will try and explore a bit further before posting any more. I was just hoping some other Samba person out there was using MX and could give their experience. Thanks for your interest Jerry. -peter. "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> on 25/02/2003 01:33:58 PM On Tue, 18 Feb 2003 [EMAIL PROTECTED] wrote: > Just wondering if anyone is aware of any conflicts between MX and Samba. > Or if anyone is successfully storing MX files on their Samba server. Sounds like oplock break timeouts. What is the client os? I've never heard any feedback from Infrasoft MX users, so I can't comment on it. cheers, jerry Opinions contained in this e-mail do not necessarily reflect the opinions of the Queensland Department of Main Roads, Queensland Transport or National Transport Secretariat, or endorsed organisations utilising the same infrastructure. If you have received this electronic mail message in error, please immediately notify the sender and delete the message from your computer. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] 2.2.7a logon script will not run
Rich Forman schrieb: -Original Message- From: Kurt Weiss [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 11:29 PM To: Rich Forman Subject: Re: [Samba] 2.2.7a logon script will not run Rich Forman schrieb: I just tried upgrading from 2.2.3 to 2.2.7a on my PDC (2.2.17 kernel). The logon script that I have been using all along without any problems quits executing w/ 2.2.7a. I can manually map the netlogon share after logging in and manually run the script and everything work fine. No error messages have u checked, if the directory /usr/local/samba/netlogon has the 'x' (1) flag set in all hierachies. i had the same problema (as i posted before a view month's) - and that was the solution. The permissions on /usr/local/samba/netlogon/* are 777. sorry, - i did read your first mail again. seeme i was sleeping yesterday - u told, that u have access... u did upgrade? - maybe, the machine account went away? did u try to re-join a machine to the domain? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] monitoring Samba with Tivoli
Hi all, A large customer wants to monitor the availability of Samba using Tivoli. My first guess is to wrap nmblookup and smbclient in some scripts. Anyone has done this and can provide some example ? Or is there some other clever way to do this job ? Best regards, Charles Bueche -- Charles Bueche <[EMAIL PROTECTED]> sand, snow, wave, wind and net -surfer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] SAMBA PDC User Permissions, Admin Settings, and Logon?
Hey Nolan, I can easily give you an answer to I3 >Issue 3: This is my main frustration - I cannot seem to block access to >other peoples shares! EG user chrisg can access the nolan share, etc. > > >[homes] >comment = Home Directory for %u >read only = No >create mask = 0660 >directory mask = 0770 >browseable = No >oplocks = No >level2 oplocks = No Try adding these: Valid users = %U Path = /home/%u Guest ok = No --- Have an excellent day, Rob Savage -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Nolan Garrett Sent: February 24, 2003 11:49 AM To: [EMAIL PROTECTED] Subject: [Samba] SAMBA PDC User Permissions, Admin Settings, and Logon? Hi all! First off, I'd like to thank you for the help you've previously given me. I'd like to state a few of the problems I am now experiencing, and you all can provide insight. I've read all the documentation I can find and have surfed the archives for this newsgroup, but to no avail. Any help would be greatly appreciated! (I am using SAMBA 2.2.7) Issue 1: If I don't have every user listed in the admin users = section that I want to allow logon access, they cannot log on. I usually get a domain unavailable error. Issue 2: If I don't set up each user account (w/ domain) on the WinXP machine I want to logon to, I get some kind of very, very limited logon. It almost seems to be corrupted. Issue 3: This is my main frustration - I cannot seem to block access to other peoples shares! EG user chrisg can access the nolan share, etc. Final Issue: Not a big problem, but I can't figure out how to set up the CUPS drivers for the pdf-generator. Is it a winbind problem, bad config, or am I just a moron? Attached is my smb.conf # Samba config file created using SWAT # from gridlock.workgroup.net (192.168.0.5) # Date: 2003/02/24 18:08:30 # Global parameters [global] netbios name = MAIN server string = Samba Server %v encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password * %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *p asswd: *all*authentication*tokens*updated*succesfully* unix password sync = Yes log level = 1 log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBU F=8192 SO_SNDBUF=8192 printcap name = cups domain admin group = @admins add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin /false -M %u logon script = %U.bat logon path = \\main\profiles\%U logon drive = Z: logon home = \\main\%U\.profile domain logons = Yes os level = 99 domain master = Yes dns proxy = No wins support = Yes winbind uid = 1-2 winbind gid = 1-2 ; valid users = ahayes root danielleg chrisg rickg nolan admin users = root nolan chrisg rickg danielleg alyssag printer admin = nolan root hosts allow = 192.168.0. 127. ; profile acls = Yes printing = cups [homes] comment = Home Directory for %u read only = No create mask = 0660 directory mask = 0770 browseable = No oplocks = No level2 oplocks = No [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon write list = root nolan [profiles] path = /var/lib/samba/profiles read only = No create mask = 0600 directory mask = 0700 guest ok = Yes browseable = No csc policy = disable [printers] comment = All Printers path = /var/spool/samba printer admin = root nolan guest ok = Yes printable = Yes browseable = No [print$] comment = Printer Drivers path = /etc/samba/drivers write list = root nolan [pdf-generator] comment = PDF Generator (only valid users!) path = /var/tmp printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u %L %u %m & [public] comment = Public path = /home/samba/public read only = No guest ok = Yes -- 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] Unable tp map to a samba share from home
Jon Niehof wrote: > > I have a filtered restriction on port 139 Why ? > *puts on mindreader cap* > > I suspect what you're trying to say is that you have a samba > server running at home (as a guess--on comcast's cable modem > service) and are trying to access it remotely, but it fails > because port 139 is filtered. > > *If* that is the case, I would further suspect that comcast > is intentionally filtering smb/cifs traffic on their net so > as to somewhat impede rampant file trading and also to > protect folk who run unsecured windows machines on their > networks. Those boxes get rooted, customers blame comcast. > Worse, those boxes become DDoS zombies, *everyone* blames > comcast. > > SMB over the Internet is a Bad Idea IMO. Look into a VPN or > SSH tunnel if you *really* need it. You are probably correct, my intentions are (a) "vpn" which works fine, (b) possibly SAMBA over SSL and (c) If am able to get stunnel to encapsulate 901 calls, why can I do the same for port 139? Art.S - Loyola University Chicago -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba as a replacement for ftp
Hi all, My organization is thinking of using samba to replace the current ftp service that we offer, because it is very easy to use and encrypted passwords are built in Windows (for authentication). We are running a Solaris 5.8 machine with Samba 2.2 installed. We tested samba in our LAN and it works great. However, this service is meant for users to connect from home. What do we have to do to make samba work over a routed network? Should we use a WINS server (using samba), special DNS server? I am very new to samba so please have a little patience in my basic questions. =) Also how many users can a samba server support? Could we just follow the way University of Alberta is using samba? (http://www.ualberta.ca/CNS/SAMBA/win2kstep2.html) Thanks, Francis -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Win2k and Samba
Hello Al, This works well for me with Win2K and Win98 clients with a .NET Server 2003 domain controller, Redhat 7.2, Samba 2.2.7a. # Global parameters [global] workgroup = GOLDENCHANCE netbios name = DEANNA server string = Samba Server interfaces = 192.168.1.30/24 encrypt passwords = Yes passwd program = /usr/bin/passwd %u password level = 8 username level = 8 unix password sync = Yes log level = 5 log file = /var/log/samba/%m.log max log size = 75 name resolve order = wins lmhosts hosts bcast socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 os level = 30 preferred master = No local master = No domain master = No dns proxy = No wins support = yes comment = Samba ver. %v guest ok = Yes printing = lprng map system = Yes map hidden = Yes security = server password server = worker [homes] path = /home/%u writable = yes browseable = no comment = Home Directories valid users = %U guest ok = No create mask = 0664 directory mask = 0775 [Public] comment = Public Share path = /home/public read only = No [Seti Share] path = /seticmd comment = Access to state.sah guest account = guest1 wide links = no force user = guest1 --- Have an excellent day, Rob Savage -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Al Bean Sent: February 24, 2003 9:34 PM To: [EMAIL PROTECTED] Subject: Re: [Samba] Win2k and Samba Hi Kurt, I set "socket options" to the default by removing it and I set case case sensitive = No. But that did not help or change the log output. I also changed the NICs in both boxes just to see if that was the problem but that did not help. :( I'm wondering, can sombody tell me how long it should take to transfer a 10MB file from win2k (1.5GHz Pentium4, 100 BaseT NIC) to a Linux share (400MHz Pentium2, 100 BaseT Nic) where the two boxes are connected by a 100 BaseT switch? Also, (if possible) could sombody post thier smb.conf where they are using a Linux box as a simple file server in a Windows environment (where the linux box is NOT a PDC)? That would really help to see if I'm doing something wrong. Thanks! >From: Kurt Weiss <[EMAIL PROTECTED]> >To: Al Bean <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED] >Subject: Re: [Samba] Win2k and Samba >Date: Mon, 24 Feb 2003 08:18:56 +0100 > >hi again! > >Al Bean schrieb: > >> >>The first few entries are on trying to copy a file from win2k to the linux >>share. >>The last few entries are on trying to delete a file on the linux share. >> > > >>As you can see from the conf file the path to the linux share is "/ark" >>and I'm copying from the win2k desktop to that linux share so the path is: >>"C:\Documents and Settings\Administrator\Desktop\" >>I know the "/ark" path is not deep and I really don't thing the path to >>the desktop is that deep either. > >ok - i believe - it's not that i thought ;-) > >>--- >>[2003/02/23 08:45:25, 0] lib/util_sock.c:read_data(436) >> read_data: read failure for 19168. Error = Connection reset by peer >>[2003/02/23 08:52:57, 0] lib/util_sock.c:read_data(436) >> read_data: read failure for 29388. Error = Connection reset by peer >>[2003/02/23 09:11:06, 0] lib/util_sock.c:read_data(436) >> read_data: read failure for 49828. Error = Interrupted system call >>[2003/02/23 09:14:09, 0] smbd/oplock.c:request_oplock_break(981) >> request_oplock_break: no response received to oplock break request to >>pid 968 on port 1029 for dev = 303, inode = 140233, fi >>le_id = 2 >>[2003/02/23 09:14:41, 0] smbd/oplock.c:request_oplock_break(981) >> request_oplock_break: no response received to oplock break request to >>pid 968 on port 1029 for dev = 303, inode = 140233, fi >>le_id = 2 >>[2003/02/23 09:15:13, 0] smbd/oplock.c:request_oplock_break(981) >> request_oplock_break: no response received to oplock break request to >>pid 968 on port 1029 for dev = 303, inode = 140233, fi >>le_id = 2 > >what's that? - seems, something is running bad in network communication! >i'm looking for the errno. (436) -stay tuned > >>encrypt passwords = Yes >>obey pam restrictions = Yes > >pam password change = Yes > >man smb.conf: >"Note that samba always ignores PAM for authentication in case of "encrypt >password = yes" >(samba 2.2.4) > > >>socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 >>SO_RCVBUF=8192 > >only an idea: won't u play with this to see, which effect it has to your >error log? > >>local master = No >>dns proxy = No >>remote announce = 192.168.0.255 >>remote browse sync = 192.168.0.255 >>hosts allow = 192.168.0. 127. >>case sensitive = Yes > >i think
[Samba] Re: XP irratic delay in opening files....
I experienced the same problem - it was fixed when I added more RAM to the server. Nolan Justin Anderson wrote: > > I think this sorts out the problem, I had some one try it out tonight a > couple of times (seems to be fine) but will try it out tomorrow to make > absolutely sure... > > oplocks = False > level2oplocks = False > > added to the samba config file > > Cheers Justin. > > On Mon, 2003-02-24 at 20:31, Justin Anderson wrote: >> Hi all >> >> I am fairly new to samba and XP. I have a client who we set up a samba >> server for, they are complaining about documents taking about 30 secs >> -2-3mins to open but only sometimes (it can be very frequent). I have >> seen this and captured a piece of the log file I wonder if any one can >> make any sense of it... >> >> I have been looking on the net and trying various things all day but to >> no avail... >> >> >> >> 2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560) >> call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257 >> [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646) >> call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25 >> R001.xls level=257 call=7 total_data=0 >> [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) >> Transaction 7344 of length 120 >> [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) >> switch message SMBtrans2 (pid 10033) >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) >> setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) >> 1 user groups: >> 99 >> [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350) >> call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC >> Invoice25 R001.xls info_level=257 totdata=40 >> [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) >> Transaction 7345 of length 45 >> [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) >> switch message SMBclose (pid 10033) >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) >> setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) >> 1 user groups: >> 99 >> [2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926) >> close fd=22 fnum=12979 (numopen=2) >> [2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210) >> nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25 >> R001.xls (numopen=1) >> [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) >> Transaction 7346 of length 142 >> [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) >> switch message SMBntcreateX (pid 10033) >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) >> setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) >> 1 user groups: >> 99 >> [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) >> unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 >> R001.xls] >> [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) >> unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) >> returning 0744 >> [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) >> unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 >> R001.xls] >> [2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778) >> calling open_file with flags=0x0 flags2=0x0 mode=0744 >> [2003/02/24 15:53:42, 2] smbd/open.c:open_file(213) >> brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25 >> R001.xls read=Yes write=No (numopen=2) >> [2003/02/24 15:53:42, 3] >> smbd/oplock_linux.c:linux_set_kernel_oplock(182) >> set_file_oplock: got kernel oplock on file >> Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode >> = 13385874, file_id = 2048 >> [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) >> Transaction 7347 of length 63 >> [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) >> switch message SMBreadX (pid 10033) >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) >> setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) >> 1 user groups: >> 99 >> [2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381) >> readX fnum=12980 min=4096 max=4096 nread=4096 >> [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) >> Transaction 7348 of length 142 >> [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) >> switch message SMBntcreateX (pid 10033) >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) >> setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 >> [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) >> 1 user groups: >> 99 >> [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) >> unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 >> R001.xls] >> [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) >> unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoic
[Samba] SAMBA PDC User Permissions, Admin Settings, and Logon?
Hi all! First off, I'd like to thank you for the help you've previously given me. I'd like to state a few of the problems I am now experiencing, and you all can provide insight. I've read all the documentation I can find and have surfed the archives for this newsgroup, but to no avail. Any help would be greatly appreciated! (I am using SAMBA 2.2.7) Issue 1: If I don't have every user listed in the admin users = section that I want to allow logon access, they cannot log on. I usually get a domain unavailable error. Issue 2: If I don't set up each user account (w/ domain) on the WinXP machine I want to logon to, I get some kind of very, very limited logon. It almost seems to be corrupted. Issue 3: This is my main frustration - I cannot seem to block access to other peoples shares! EG user chrisg can access the nolan share, etc. Final Issue: Not a big problem, but I can't figure out how to set up the CUPS drivers for the pdf-generator. Is it a winbind problem, bad config, or am I just a moron? Attached is my smb.conf # Samba config file created using SWAT # from gridlock.workgroup.net (192.168.0.5) # Date: 2003/02/24 18:08:30 # Global parameters [global] netbios name = MAIN server string = Samba Server %v encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password * %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *p asswd: *all*authentication*tokens*updated*succesfully* unix password sync = Yes log level = 1 log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBU F=8192 SO_SNDBUF=8192 printcap name = cups domain admin group = @admins add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin /false -M %u logon script = %U.bat logon path = \\main\profiles\%U logon drive = Z: logon home = \\main\%U\.profile domain logons = Yes os level = 99 domain master = Yes dns proxy = No wins support = Yes winbind uid = 1-2 winbind gid = 1-2 ; valid users = ahayes root danielleg chrisg rickg nolan admin users = root nolan chrisg rickg danielleg alyssag printer admin = nolan root hosts allow = 192.168.0. 127. ; profile acls = Yes printing = cups [homes] comment = Home Directory for %u read only = No create mask = 0660 directory mask = 0770 browseable = No oplocks = No level2 oplocks = No [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon write list = root nolan [profiles] path = /var/lib/samba/profiles read only = No create mask = 0600 directory mask = 0700 guest ok = Yes browseable = No csc policy = disable [printers] comment = All Printers path = /var/spool/samba printer admin = root nolan guest ok = Yes printable = Yes browseable = No [print$] comment = Printer Drivers path = /etc/samba/drivers write list = root nolan [pdf-generator] comment = PDF Generator (only valid users!) path = /var/tmp printable = Yes print command = /usr/share/samba/scripts/print-pdf %s ~%u %L %u %m & [public] comment = Public path = /home/samba/public read only = No guest ok = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] (fwd) FW: Starting a process from a windows client
- Forwarded message from "Scattergood, Ivan" <[EMAIL PROTECTED]> - I am hoping to run a Unix process from code running on a windows client, I am told this can be done using Samba, does any one have any example code to do this? Regards Ivan Scattergood London Software Development - End forwarded message - -- Martin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Win2k and Samba
Hi Kurt, I set "socket options" to the default by removing it and I set case case sensitive = No. But that did not help or change the log output. I also changed the NICs in both boxes just to see if that was the problem but that did not help. :( I'm wondering, can sombody tell me how long it should take to transfer a 10MB file from win2k (1.5GHz Pentium4, 100 BaseT NIC) to a Linux share (400MHz Pentium2, 100 BaseT Nic) where the two boxes are connected by a 100 BaseT switch? Also, (if possible) could sombody post thier smb.conf where they are using a Linux box as a simple file server in a Windows environment (where the linux box is NOT a PDC)? That would really help to see if I'm doing something wrong. Thanks! From: Kurt Weiss <[EMAIL PROTECTED]> To: Al Bean <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: [Samba] Win2k and Samba Date: Mon, 24 Feb 2003 08:18:56 +0100 hi again! Al Bean schrieb: The first few entries are on trying to copy a file from win2k to the linux share. The last few entries are on trying to delete a file on the linux share. As you can see from the conf file the path to the linux share is "/ark" and I'm copying from the win2k desktop to that linux share so the path is: "C:\Documents and Settings\Administrator\Desktop\" I know the "/ark" path is not deep and I really don't thing the path to the desktop is that deep either. ok - i believe - it's not that i thought ;-) --- [2003/02/23 08:45:25, 0] lib/util_sock.c:read_data(436) read_data: read failure for 19168. Error = Connection reset by peer [2003/02/23 08:52:57, 0] lib/util_sock.c:read_data(436) read_data: read failure for 29388. Error = Connection reset by peer [2003/02/23 09:11:06, 0] lib/util_sock.c:read_data(436) read_data: read failure for 49828. Error = Interrupted system call [2003/02/23 09:14:09, 0] smbd/oplock.c:request_oplock_break(981) request_oplock_break: no response received to oplock break request to pid 968 on port 1029 for dev = 303, inode = 140233, fi le_id = 2 [2003/02/23 09:14:41, 0] smbd/oplock.c:request_oplock_break(981) request_oplock_break: no response received to oplock break request to pid 968 on port 1029 for dev = 303, inode = 140233, fi le_id = 2 [2003/02/23 09:15:13, 0] smbd/oplock.c:request_oplock_break(981) request_oplock_break: no response received to oplock break request to pid 968 on port 1029 for dev = 303, inode = 140233, fi le_id = 2 what's that? - seems, something is running bad in network communication! i'm looking for the errno. (436) -stay tuned encrypt passwords = Yes obey pam restrictions = Yes >pam password change = Yes man smb.conf: "Note that samba always ignores PAM for authentication in case of "encrypt password = yes" (samba 2.2.4) socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 only an idea: won't u play with this to see, which effect it has to your error log? local master = No dns proxy = No remote announce = 192.168.0.255 remote browse sync = 192.168.0.255 hosts allow = 192.168.0. 127. case sensitive = Yes i think, that's dangerous: windows mostly changes case! - try 'no' so i hope it helped gk _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Is Samba made for trash ?!?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 20 Feb 2003, Michael Paarmann wrote: > logon script = %U.bat > logon path = \\server_office01\%U\profileNT > logon home = \\server_office01\%U > hide dot files = yes > domain logons = YES > domain master = YES do not join a Samba box to a Windows domain and enable the previous two parameters. You just asking for problems. > >You are dealing with a different network protocol and different network > >clients. > > No, i'm only working with TCP/IP now. And yes, the clients work with W98 > or W2K. I meant CIFS/SMB vs. Netware. Not IPX vs TCP/IP. > That's right. Spool32.exe or spoolss.exe die very often. I can see a > read or a write socket error in the log list nearly at the same time. Ahh...did you initialize the printer drivers installed on the Samba server? If you are not supporting driver download to windows clients, you might want to set "disable spoolss = yes" > Hmm, do you really think that this can solve some of my problems? The > update from 2.2.3a to 2.2.5 wasn't very effective. Samba is different from other projects such as apache. Because we are constantly learning new things about how windows servers operate, it is hightly recommended to use the latest stable release. > > But is there a possibility to set Samba in a kind of "Compatibility Mode", > so that i can be sure the source of the problems isn't Samba ? Samba constantly runs in "compatibility" mode as compared to a Windows server. At least that is the intent. We don't always get it right. 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+WuSeIR7qMdg1EfYRAt3LAJwKOUn0yOKYf4LekMZqQp6efL1YnACfQGxO 7Wa7MCrJMxpvL/TiuT/m0u4= =6IMn -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] Default settings for print drivers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 21 Feb 2003, Ian Eure wrote: > > > Some settings seem to work, but I haven't been able to get the paper size > > > settings to work. This is a problem because we have some printers which > > > only have legal paper, and they require manual intervention if they get a > > > job for some other size paper. > > > > What version of Samba? What server OS? > > > Sorry. I'm running 2.2.3a on Debian 3.0. Custom Linux 2.4.20 kernel, 1gb ram, > 2xP3 (Coppermine) @700MHz. Can you try to reproduce this using the latest SAMBA_2_2 cvs code? (or even 2.2.7a). The 2.2.3a release is fairly old now and a lot has changed with regards to ms-rpc printing. 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+WuRYIR7qMdg1EfYRApi/AKCabq+gPOwyBFKtKBgUke5PjoUNLACfQ6r/ BkFcgJ8RRBpZfqZtTvMfhj0= =EYfF -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] Win XP and 2.2.7a
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 15 Feb 2003, William Jojo wrote: > I have a strange load behavior during certain times with Win XP and > 2.2.7a on AIX 5.1MR03 > > After about 350-400 machines get connected I get 50% kernel and around > 40% idle and logon times go rightin the toilet. > > This happens regardless of XP-SP1 installed or not. > > Also this same load was experiened last semester and we were under 2.2.6 > with no problems. > > Still evaluating logs to find cause, but does anyone have a thought? Do the AIX equivalent of of truss or strace and find out what it is doing. Also try looking at a network trace from an XP client. 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+WuQ6IR7qMdg1EfYRAsSBAKDYgwLazTwFlpThmfh9GRwFltJJfQCfc742 bmZ2Df6xBNGSqVKluBtN3o0= =ZAhn -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba logs utility?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 17 Feb 2003, zenn wrote: > question... i'm looking for a utility that can read samba logs and make > them more human readable... the main reason i need such a utility is to > keep an eye on "add/move/delete/rename" of files and folders... looking > at the raw samba logs, using loglevel 3, shows me a lot of information > but nothing about add/move/delete/rename |ing of files. do the logs even > log these events? i couldn't find any entries. take a look at examples/VFS/audit.c 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+WuQ3IR7qMdg1EfYRAtZkAJ98ZzAB3RHMCqnyFc63MjkV22YTOQCgsMKR BR+GZJ37+pi/M1AOqL6bYLg= =lahh -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] Fw: help No domain server was available to validatepassword
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 17 Feb 2003, Mustahsan Siddiq wrote: > i have problem with samba server > No domain server was available to validate password > when in Win98 give -Username: > -Password: > -Domain: > > win98 say 'Incorrect Parameter' what can i do > workgroup = DATASERVER > > netbios name = DATASERVER These need to be different values. 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+WuQvIR7qMdg1EfYRAj+9AJwIwMtylr41dpCq+udzUZ4EjWA51wCg48Xm jZM6bG1aLLZxF+dtafNMNbo= =dDpF -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] Help request setting w2000 to use Lexmark z25 printeron linux RH7.3 running samba.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 17 Feb 2003, David Harel wrote: > I can see the printers from the w2000 client when I contact the server > using \\Linuxmachine\ > When I try to use any of the printers I get the message: > "Before you can use the printer \\Linuxmachine\lexmark it must be setup > on your computer. Do you want Windows to set up the printer and continue > the operation?" > Click the "Yes" button gives me another dialog: > "The server on which 'NULL' printer reside does not have the correct > printer driver installed. If you want to install the driver on the your > computer click OK." > Now I click OK. and wait for a long time until eventually I can set up a > driver which I install using Lexmark original CD. > Eventually this does not work. Looks like VMware-3.2 includes a modified Samba-2.0.6. What do you mean by eventually does not work? 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+WuQqIR7qMdg1EfYRAg3bAKDbaJEEFWgN62mYMA56WhdWv/Kc/gCdG7gf J5C1jFbckUOEqg98Navx238= =Z1z4 -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] Infrasoft MX very slow loading from Samba share
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 Feb 2003 [EMAIL PROTECTED] wrote: > Just wondering if anyone is aware of any conflicts between MX and Samba. > Or if anyone is successfully storing MX files on their Samba server. Sounds like oplock break timeouts. What is the client os? I've never heard any feedback from Infrasoft MX users, so I can't comment on 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+WuQmIR7qMdg1EfYRAl8uAKC2f7zdFugftEdeGt8oo74brY+5mACg6v30 ab6OrIKiCbtXT5YIV/REjr0= =1cP8 -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] Pdc
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 Feb 2003, ryan oberto wrote: > Hi all > > i have a samba pdc server with win 2000 connecting to it > > it was working but now when you log on the win machines get they grey > screen and > i get this error in the log.%m file > > > [2003/02/18 14:13:02, 0] lib/util_str.c:string_sub(1219) >ERROR: string overflow by 0 in string_sub(%u, 7) What version? This sounds like and old bug already fixed in 2.2. 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+WuQhIR7qMdg1EfYRAkK/AJ9P047DLDmRZPEMyN2F5XmgBYJJugCg58SB nxG11P3GPfzsYaDxZ9uCO9A= =AoZC -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] limits question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 14 Feb 2003, William Jojo wrote: > > > what do the following values in local.h do with respect to a single smbd > or are they absolute limits? please explain... > > #define MAX_DIRECTORY_HANDLES 2048 > > #define MAX_OPEN_DIRECTORIES 256 > > #define MAX_OPEN_PIPES 2048 single smbd limits. Mostly upper boundaries on internal data structures. Also prevent DoS attacks from clients wanting to consume all the memory on the server. 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+WuQeIR7qMdg1EfYRAhJyAJ9omkvFN4h5XWnSmuHPnyImHaXYLQCg5i1C IfdpNK9zKltVEr+KSirZTKY= =nH06 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SAMBA and root entry
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 18 Feb 2003, Richard Canada wrote: > hi all, > > I am trying to add an entry for root using samba-2.2.7 and Directory > Server for LDAP. > > I use the command "smbpasswd -a root" and I get this error: > > [EMAIL PROTECTED] root]# smbpasswd -a root > New SMB password: > Retype new SMB password: > LDAP search "(&(uid=root)(objectclass=sambaAccount))" returned 0 entries. > failed to modify user with uid = root with: Object class violation probably because smbpasswd is trying to create the entry just using the sambaAccount objectclass which is AUXILIARY. we fixed smbd to add the object "account" as the STRUCTURAL class in if the entry did not previsouly exist. but I don't remember when we added this fix. Up the debug level in smbpasswd to look for details. 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+WuQZIR7qMdg1EfYRAt7TAKDubQmZsK6LGnfYgcNwtN1eKM6XbACeOizt CSs21veLlqhOWeHz+cCuW/o= =uzWg -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] oplock errors
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 19 Feb 2003, Brian Johnson wrote: > I'm getting all kinds of oplock errors in my samba logs > > Previous internet research suggested general network problems might be an > issue > > Any suggestions or tools for me to help figure this out? Use ethereal to look at network traces. Check the output of ifconfig out TX/RX errors. Google for mii-tool to check duplex settings on NIC's. etc 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+WuQJIR7qMdg1EfYRAggPAKCNQaMtA1JwNyNe3bRDRTth4Er3GQCfQRTi 8AjrIsW/WVwUXUTgXaOsAr8= =BbMT -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] force users to change their passwords
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 19 Feb 2003, Peewee wrote: > All of my users are defined in LDAP. The Samba server is configured as a > PDC and all the users can change their passwords. The problem i have is > when i change the following field in the ldap tree : PwdMustChange set > to 0 in order the have them to change their passwords. At this point the > client workstation replies : > > The system cannot change your password now because the domain > dc_stgeorges is not available. > > Weird ?? Coz the users can change their passwords later during their > session by pressing ctrl-alt-delete > > Any help or reply would be greatly appreciated !! > > I'm using RedHat 7.2, Samba 2.2.7a, W2k Workstations, OpenLDAP 2.0.25-1 There was a seg fault in this area of the code. Please retest with 2.2.8pre1 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+WuPzIR7qMdg1EfYRAodnAJ0R7Rcdrzel+nTrGD/i16Nwo5FahgCdFfAc HjbpFsy+3dORb1ozsm6ASHM= =XDbP -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: samba and windows 2000 server
"Thiruvarasu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Help needed > > Currenly i'm running samba on a RedHat 7.3 system. The primary domain contreller in the network in a windows 2000 server machine. I'm using the windows 2000 server to authenticate my users in the domain. Each time a new user is created in windows 2000, i have to create the same user in linux inorder to allow the user to have access to the samba shares. Is the re a script or method that can automatically create users in linux as new users being created in windows 2000 ? > > Thanks > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > man smb.conf Have a look at the password server directive. It allows samba to get it's username/passwords from a remote server. Rich -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Compile problem (2.2.7a)
in /usr/src/samba-2.2.7a/source I typed the following command: ./configure --prefix=/usr --sysconfdir=/etc/samba I get an error: checking configure summary... configure: error: summary failure. Aborting config Last 20 lines of config.log: configure:14091: checking whether struct passwd has pw_age configure:14104: gcc -c -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c 1>&5 configure: In function `main': configure:14100: structure has no member named `pw_age' configure: failed program was: #line 14097 "configure" #include "confdefs.h" #include int main() { struct passwd p; p.pw_age; ; return 0; } configure:14143: checking for poptGetContext in -lpopt configure:14162: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lpopt -ldl -lnsl -lcrypt 1>&5 configure:14186: checking whether to use included popt configure:14201: checking configure summary configure:14210: gcc -o conftest -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -ldl -lnsl -lcrypt -lpopt 1>&5 configure: failed program was: #line 14206 "configure" #include "confdefs.h" #include "./tests/summary.c" Any help would be greatly appreciated. Thanks Rich -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Specified User Does not exist ?
On Tue, 24 Feb 2003, Bradley W. Langhorst wrote: > On Mon, 2003-02-24 at 19:47, Bob wrote: > > Hey all, > > > > I hope I'm missing something simple. This is my second PDC install and > > I'm having some problems getting my win2k machine to join the domain. > > First I made the machine account: > > > > useradd -g 100 -d /dev/null -c "bob's computer" -s /bin/false office1$ useradd -g 100 -d /dev/null -c "bob's computer" -s /bin/false office1\$ > > > > Then I lock the password: > > > > passwd -l office1$ passwd -l office1\$ > > > > Next I make the smbpasswd -am office1 name. > shouldn't that be office1$? smbpasswd -a -m office1 Note: No trailing '$' to the smbpasswd account creation line, both the useradd and passwd lines require the '$' to be escaped by a '\'. - 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] [Fwd: Re: GCC 3.3 release criteria]
Martin Pool wrote: > Dan Kegel <[EMAIL PROTECTED]> wrote > >>gcc is a great compiler, but as of gcc3.2.2, it can't >>compile Samba on Sparc with -O2. This has been marked >>as a high priority bug in the gcc bug tracking system, >>and should be fixed before the next release. >> >>To make such regressions less likely in the future, >>it would be helpful if somebody were to look at >>http://gcc.gnu.org/testing/ >>and submit a build-and-test guide for Samba to the maintainer >>of that page. This would make it more likely the >>gcc volunteers will do regression testing of >>new releases of gcc against Samba. > > > Thanks for suggesting this. > > One problem is that Samba does not have a very good automated test > suite yet. It would be hard for somebody trying to test gcc to know > whether they had built a working Samba or not. So they might catch > bugs which cause gcc to abort, but perhaps not code generation bugs. > > Perhaps you could try to summarize the Samba install instructions in > the format the gcc folks want, and then forward it to the > samba-technical list for review? I could, and I'd love to, but I don't have time to, unfortunately. I'm afraid my involvement in this has to be limited to the suggestion :-( There's probably some existing filesystem stress tests out there that would do. The fellow who reported the bug, Paul Eggert, might have some suggestions. Hope somebody has time to take this little chore on. It'd benefit both projects. - Dan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Specified User Does not exist ?
what about the "domain admin group" directive in smb.conf? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Bob > Sent: Tuesday, February 25, 2003 2:08 AM > To: [EMAIL PROTECTED] > Subject: RE: [Samba] Specified User Does not exist ? > > > So Far I've rebooted Samba, > > The smbpasswd command adds the "$", so yes, the dollar sign is there. > > I'll try addind a root local account. hmmm > > Any other suggestions? > > Bob > -- > 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] Specified User Does not exist ?
So Far I've rebooted Samba, The smbpasswd command adds the "$", so yes, the dollar sign is there. I'll try addind a root local account. hmmm Any other suggestions? Bob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Thoughts for you geniuses
On Mon, Feb 24, 2003 at 12:45:58PM -0500, David Brodbeck wrote: > Is anyone else seeing Andrew's posts as blank messages like this with text > files attached? How can I get around them showing up this way? I like to > read his posts but this makes it pretty aggravating. :) They show up fine for me, but I'm guessing that your problem is from the PGP signature. The modern way of doing PGP signatures is to have the signature as an attachment. As I recall, it's mainly a problem for older mail clients (or new but crappy mail clients) that make no attempt to do reasonable things with mail that has MIME attachments. -- 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] Specified User Does not exist ?
On Mon, 2003-02-24 at 19:47, Bob wrote: > Hey all, > > I hope I'm missing something simple. This is my second PDC install and I'm having > some problems getting my win2k machine to join the domain. First I made the machine > account: > > useradd -g 100 -d /dev/null -c "bob's computer" -s /bin/false office1$ > > Then I lock the password: > > passwd -l office1$ > > Next I make the smbpasswd -am office1 name. shouldn't that be office1$? brad -- Bradley W. Langhorst <[EMAIL PROTECTED]> -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] 1 Samba PDC and several Samba file servers/ Advice?
Hi, Just wanted to know if any one has done this and if so, observations? I'm doing it via Samba file server key args; security = domain pasword server = * This method allows single password database to be ref'd. Now, I feel that for performance reasons (time for each client to auth), that it may be better to have a copy and use dist (or whatever) to sync the smbpaswd/passwd files up to a master or PDC. I say this cuz I see an awful lotta Samba process's running on the PDC. Its also a home dir server which I am moving to another Samba file server so that my PDC is a "pure" auth point only. Your thoughts? BTW, I still like NFS better. But I am working "very" hard to learn Samba as well as I knew NFS as my bias may be for familiarity reasons. This Samba stuff seems a [EMAIL PROTECTED] if you want to config it for a special purpose production envs. Bri- PS The virtual server section of the docs sux. I'll figure it out but man why does this have to be so time consuming? __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Specified User Does not exist ?
Hey all, I hope I'm missing something simple. This is my second PDC install and I'm having some problems getting my win2k machine to join the domain. First I made the machine account: useradd -g 100 -d /dev/null -c "bob's computer" -s /bin/false office1$ Then I lock the password: passwd -l office1$ Next I make the smbpasswd -am office1 name. Finally, I added a smbpasswd for my root account. Then, I change the computer name to office1, reboot, and then try to join the domain with the root account and new smbpasswd. I am receiving this error: "The specified user does not exist" I have tried everything I can think of, recreating the root smbuser, and everything. I have tried to find the answer in previous archives but am coming up blank. Any tips on this would be GREATLY appreciated. Thanks in advance, Bob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Specified User Does not exist ?
Hey all, I hope I'm missing something simple. This is my second PDC install and I'm having some problems getting my win2k machine to join the domain. First I made the machine account: useradd -g 100 -d /dev/null -c "bob's computer" -s /bin/false office1$ Then I lock the password: passwd -l office1$ Next I make the smbpasswd -am office1 name. Finally, I added a smbpasswd for my root account. Then, I change the computer name to office1, reboot, and then try to join the domain with the root account and new smbpasswd. I am receiving this error: "The specified user does not exist" I have tried everything I can think of, recreating the root smbuser, and everything. I have tried to find the answer in previous archives but am coming up blank. Any tips on this would be GREATLY appreciated. Thanks in advance, Bob -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Printer Passwords and Print Auditing
Hello to all you folks, I've got TWO questions. 1) I've been trying to password the use of my two laser printers so that printing has to be assisted by my computer attendant (we are losing too much paper and toner to people clicking print five to ten times). But, I have not figured out how to force passwords on my samba printer (HP LJ1200 running under cupsd and samba). Is it possible for me to require administrator intervention? 2) I would like to have a page based audit of printing as well. Does samba support that? I've also been curious to do a "pixel" based audit whereby I can estimate toner consumption. Matthew Raymer -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 95 and NT cannot access shares
Bill and John, I stand VERY corrected. Long days, short nights, new job, no other good excuses. I will make an effort to thoroughly research the issue prior to making a response. Dave, I hope that my response did not cause you too much confusion or frustration. Don Zajic -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John H Terpstra Sent: Monday, February 24, 2003 12:55 PM To: William R. Knox Cc: [EMAIL PROTECTED]; Don Zajic Subject: RE: [Samba] 95 and NT cannot access shares On Mon, 24 Feb 2003, William R. Knox wrote: Bill, Thanks for jumping in here. I'd like to reinforce your correction. Would everyone please take note! Someone who does a search on the samba mailing lists on this subject will find many incorrect assertions regarding encrypted password support in MW Windows products. Bill, your comments here are absolutely correct. > The information provided here about the use of encrypted passwords is > not true. NOTE THIS NEXT STATEMENT!! > NT began to ENFORCE the use of encrypted passwords with SP3, and Win95 > the same with (I believe) OSR2, but ALL versions of these OSes > supported encrypted passwords. Please note also, that it is possible to use the PlainText registry hacks to re-enable support for clear text passwords, but MS Windows clients will cache only the encrypted password. This means that when the Windows client drops a share connection (through time-out or for any other reason) then on attempt to re-use the share the Windows client will send the encrypted password in the attempt to reconnect (it does not have the plain text password in it's cache). This can cause a blue screen problem and may cause nasty application failures. SO: It is best NOT to use plain text passwords, instead use only encrypted passwords - PARTICULARLY given that ALL MS Windows network clients support encrypted passwords. - John T. > > Bill Knox > Senior Operating Systems Programmer/Analyst > The MITRE Corporation > > On Mon, 24 Feb 2003, Don Zajic wrote: > > > Date: Mon, 24 Feb 2003 04:22:44 -0500 > > From: Don Zajic <[EMAIL PROTECTED]> > > To: 'Dave Ansell' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > > Subject: RE: [Samba] 95 and NT cannot access shares > > > > Off the top of my head, I would say that using Encrypted passwords > > is greate for W2K and XP, however, 95 does not use encrypted > > passwords and unless you are using SP3 or above on NT, it also does > > not use encrypted password. Since you are mixing your flavors of > > Windows from 95 to XP, you probably need to disable encrypted > > password and use plain text passwords throughout your domain. > > > > encrypt password = no > > > > You also need to apply the .reg files to change from encrypted to > > plaintext according to your windows version. These .reg files are > > located in your docs/Registry directory. > > > > Don Zajic > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Dave Ansell > > Sent: Sunday, February 23, 2003 4:07 AM > > To: [EMAIL PROTECTED] > > Subject: [Samba] 95 and NT cannot access shares > > > > > > I have file and print sharing set up on Linux (Mandrake 9.0). > > > > It all works fine with 2000 and XP clients, but 95 and NT clients > > don't seem to be able to access. > > > > Any ideas? > > Thanks, > > Dave > > > > > > Typical log entry from Samba: > > > > [2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599) > > wvo1314904 (192.168.1.10) Can't change directory to > > /home/samba/public (Permission denied) > > > > My sbm.conf is: > > > > [global] > > workgroup = Waterlooville > > security = SHARE > > encrypt passwords = Yes > > passwd program = /usr/bin/passwd %u > > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* > > %n\n unix password sync = Yes log file = /var/log/samba/log.%m max > > log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 > > SO_SNDBUF=8192 dns proxy = No > > > > [public] > > comment = Public Stuff > > path = /home/samba/public > > write list = @staff > > read only = No > > guest ok = Yes > > > > [printers] > > comment = All Printers > > path = /var/spool/samba > > create mask = 0700 > > guest ok = Yes > > printable = Yes > > print command = /usr/bin/lpr -r -s -P%p %s > > browseable = No > > printer admin = davea > > > > > > -- > > 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 > > > > > -- 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 -- To unsubscribe from this list go to the following URL and
RE: [Samba] Re: passdb not found
Hi maq, I have seen this with RedHat 8.0 the other day try adding users with #] smbadduser : whereas Linux and Win Username are usually the same... if this did not work, I had a blank file /etc/samba/smbpasswd created and used the above command again. florian [EMAIL PROTECTED] > > Check the permissions and location of your passwd file? > Normally it is in /etc/passwd > > maraqas wrote: > > Hello, > > i've got a Redhat 8.0 installation. I tried to > configure my linux box to > > run the > > samba server and share some dirs and a printer. When i try > to connect from a > > Windows machine, the request fails and the log says: unable > to open passdb > > database. The same result i get if trying to run smbpasswd > from > > the linux box itself. > > What can i do? Do you need any additional info? > > > > maq > > > > > -- > 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: SWAT
Try this: http://www.mandrakeuser.org/docs/connect/index.html#lfs I believe Mandrake is a French product so there may be some translations available. clementina di meglio wrote: Dear Andrew Tridgell, Excuse me for my English: it's terrible! I am a italian tetcher of Computer Science and I want to introduce the Open Source Software in my school. At this moment I search for to configure a School's LAN with Samba, bad i am *not successful to run SWAT*. Can you help me? I work with Linux Redhat 8.0 and Samba 2.2.5. Tank's for your responce. Clementina Di Meglio -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] [Fwd: Re: GCC 3.3 release criteria]
Dan Kegel <[EMAIL PROTECTED]> wrote > gcc is a great compiler, but as of gcc3.2.2, it can't > compile Samba on Sparc with -O2. This has been marked > as a high priority bug in the gcc bug tracking system, > and should be fixed before the next release. > > To make such regressions less likely in the future, > it would be helpful if somebody were to look at > http://gcc.gnu.org/testing/ > and submit a build-and-test guide for Samba to the maintainer > of that page. This would make it more likely the > gcc volunteers will do regression testing of > new releases of gcc against Samba. Thanks for suggesting this. One problem is that Samba does not have a very good automated test suite yet. It would be hard for somebody trying to test gcc to know whether they had built a working Samba or not. So they might catch bugs which cause gcc to abort, but perhaps not code generation bugs. Perhaps you could try to summarize the Samba install instructions in the format the gcc folks want, and then forward it to the samba-technical list for review? -- Martin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: NEWBIE Samba installation issues
What distrobution? If you are not used to open source programming tools then an rpm file might be a better way for you to go. If you want to GET used to using them then you probably need to install at least some of them. Joseph Teo wrote: Hi, I am currently trying to install samba from a .tar.gz file. I typed ./configure and i get the following message: loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH Please help.. I'm not too sure what I'm suppose to do from here. Thanks Joe -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] how do i umount a device busy ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Date: Fri, 21 Feb 2003 12:38:54 - > From: Ken Walker <[EMAIL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: [Samba] how do i umount a device busy ? > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; > charset="iso-8859-1" > MIME-Version: 1.0 > Precedence: list > Message: 5 > > I have mounted a win98 machine from a ML8.1 samba 2.2.2 > > The win98 machine, as all windows machines do, crashed on me. > > Now i can't unmount the mounted folder, If i do it from cli, i get > > umount usr/Cad12: device busy. > > If i try and cd to that folder, the console freezes and only kill > application will shut it down. > We have applied a patch to solve this issue, so that you will still be able to unmount the share. This has gone into samba-2.2 cvs, but you can use these RPMs: http://ranger.dnsalias.com/mandrake/mandrake8.1/samba-2.2.7a/ IIRC this patch was used on for Mandrake 9.0, and is definitely in for 9.1. BTW, I search the digests daily for mandrake, I almost missed your post since you used ML8.1 ... Regards, Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE+WfFsrJK6UGDSBKcRAhdsAKC55jccSly5tztN1pvAaU5T1VUrdACfVTZu cR2L52mWb8h/V883IiZZc0A= =wKdA -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: passdb not found
Check the permissions and location of your passwd file? Normally it is in /etc/passwd maraqas wrote: Hello, i've got a Redhat 8.0 installation. I tried to configure my linux box to run the samba server and share some dirs and a printer. When i try to connect from a Windows machine, the request fails and the log says: unable to open passdb database. The same result i get if trying to run smbpasswd from the linux box itself. What can i do? Do you need any additional info? maq -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Password Syncronization
I believe there is an 'password server' option in smb.conf that might suffice. Alternatively, you *might* be able to replicate from AD to an OpenLDAP server. I don't know about 3.0 Matt Schillinger wrote: Is there any functionality to allow a samba pdc syncronize password databases with NT/2000 machines? in TNG or otherwise? 3.0? Matt Schillinger [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: XP irratic delay in opening files....
Are your users keeping a lot of stuff on thier desktops? This is a no-no because EVERYTHING on a users desktop is downloaded upon login. Jim C. Justin Anderson wrote: Hi all I am fairly new to samba and XP. I have a client who we set up a samba server for, they are complaining about documents taking about 30 secs -2-3mins to open but only sometimes (it can be very frequent). I have seen this and captured a piece of the log file I wonder if any one can make any sense of it... I have been looking on the net and trying various things all day but to no avail... 2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560) call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646) call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls level=257 call=7 total_data=0 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7344 of length 120 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBtrans2 (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350) call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls info_level=257 totdata=40 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7345 of length 45 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBclose (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926) close fd=22 fnum=12979 (numopen=2) [2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210) nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls (numopen=1) [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7346 of length 142 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) returning 0744 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778) calling open_file with flags=0x0 flags2=0x0 mode=0744 [2003/02/24 15:53:42, 2] smbd/open.c:open_file(213) brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls read=Yes write=No (numopen=2) [2003/02/24 15:53:42, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(182) set_file_oplock: got kernel oplock on file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode = 13385874, file_id = 2048 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7347 of length 63 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBreadX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381) readX fnum=12980 min=4096 max=4096 nread=4096 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7348 of length 142 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) returning 0744 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491) initial_break_processing: called for dev = 903, inode = 13385874 file_id = 2048 Current oplocks_open (exclusive = 1, levelII = 0) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491) initial_break_processing: call
Re: [Samba] RE: NEWBIE Samba installation issues
Hey again list, I did what Gabriel suggested and it didnt' find a C compiler as most of you have said to me.I'm using redhat 7.3 currently on my system and I would of thought that a C compiler would of been installed with it??? But since this isn't the case... I'll have to find a c compiler first before i can do anything else by the sounds of things. Can anyone suggest where to look for one keeping in mind that I don't have a compiler? yes i am logged in as root as well while running ./configure Gabriel D. Preston wrote: Joseph- Trying doing this from your prompt: find / -name gcc Then if gcc is found, do something like this: CC=(your output) ./configure This is a temporary way of saying where your C compiler is installed. It would probably be in your best interest to add the directory you find 'cc' at into your PATH by editing your .bashrc or .cshrc or whatever you may have kept in your home directory. HTH- Gabriel Joseph Teo wrote: Hi, I am currently trying to install samba from a .tar.gz file. I typed ./configure and i get the following message: loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH Please help.. I'm not too sure what I'm suppose to do from here. Thanks Joe -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NetBIOS Datagram (UDP 138) probe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have the task of service validation in a service scanning program. I am having a hard time getting or soliciting any NetBIOS Datagram (netbios-dgm) response from UDP port 138. I need to be able to send a data packet to UDP 138 or any UDP/TCP port and get a NetBIOS Datagram out of UDP 138. I can only seem to get a broadcast NetBIOS Datagram. Not sure if it broadcasts on an interval. Does UDP Port 138 listen only? Does it send a netbios-dgm in response to some event? If there is a query I can send what it is? Does anyone have a TCP Dump of such a packet? I took apart the Samba source and duplicated the cli_send_mailslot functionality but still I can not get a response. Samba group has been sending and decoding NetBIOS data for a while so I am hoping someone can help. ThanX in advance Erik -BEGIN PGP SIGNATURE- Version: PGP Personal Security 7.0.3 iQA/AwUBPlqjv2BNrGASwj07EQKx7gCfbYyEN3DFGfNx2y6ZXhYbcoQ1FooAoNPm /W16qBTiZn21clO6e2v5rWIb =UrWQ -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: Large (3000+ users) NT to Samba migration
What is the platform (i.e. what distrobution of Linux)? A client of mine is seriously investigating migrating their 7 NT servers and 3000+ users to Linux running Samba. I've read one or two documents so far about the migration, but I'm still a little unclear about a number of things. When you have a chance I'd really appreciate your guidance on the following items. 1.) LDAP, /etc/passwd or MySQL backend (if supported). The standard backend should be ldbm. I would reccomend sticking with it unless you have specific needs that dictate otherwise. Custom front ends can be written using Java. 2.) User/machine account migration utilities. There is a script package called smbldap-tools that might contain a script for this. These days it is usually packaged with the server and is usually found in '/usr/local/samba/scripts'. slapcat is another alternative although I am uncertain as how to go about using it on a remote M$ system. 3.) Front-ends for adding user/machine accounts. There is a script for it in smbldap-tools. Would probably be quite easy to rig up a secured web page as a front end for it. There is also such tools as 'directory_administrator', gq, and I believe Mandrake's UserDrake also will access an LDAP directory. 4.) Configuration of BDC(s). That is out of my area. Or any links to the information would be great. Many thanks and kind regards. David Wilson DcData/LinuxBox S.A. +27 83 787 7424 ICQ#: 114636368 http://www.dcdata.co.za http://www.linuxbox.co.za -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] NT_STATUS question
Andrew, I am definitely not running Samba with a log level that high. There are times when I see a number of Samba error messages at the console. Nobody took the time to answer why they show up there and I was unable to locate any information as to why they show up on the console. I imagine that many of those will cease if there was a method to keep Windows from causing such "errors" to occur. It hasn't really caused me any major issues at this time, as the network I am running is still quite small. (less then 20 users) However, I could see that being a potential issue in the future, if Samba is attempting to service those requests as the number of users increase there will be an increase in the number of times that Samba needs to say, "No, there isn't such a file" to the Windows clients. Your suggestion to create a VFS module to handle that issue sounds interesting. I am completely lost as to where to begin looking, besides googling for it, do you have a link or two that you would recommend to introduce someone to VFS modules? Thanks. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: Andrew Bartlett [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 5:29 PM To: Robert Adkins II Cc: 'Andrew Bartlett'; 'Justin Anderson'; 'samba list' Subject: RE: [Samba] NT_STATUS question On Tue, 2003-02-25 at 09:34, Robert Adkins II wrote: > Anyone, > > Is there a method to eliminate Windows attempting to open up a > Desktop.ini file in every directory, save a few *important* ones, like > C:\windows\, C:\Program Files and others? I am of the opinion that might > help increase Windows performance or at least be easier on Samba > Logfiles... If you run Samba with the log level that high, then your performance is already shot. If it is causing you particular pain (ie, more than a failed lookup - like it is brining offline-storage online or other such mischief - then look into writing a VFS module to make out that call). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] NT_STATUS question
Hi, I don't know about restricting this action to certain folders but in Folder Options/View is a setting "Remember each folder's view settings". You might try clearing that and see what happens. Robert Adkins II ([EMAIL PROTECTED]) wrote*: > >Anyone, > > Is there a method to eliminate Windows attempting to open up a >Desktop.ini file in every directory, save a few *important* ones, like >C:\windows\, C:\Program Files and others? I am of the opinion that might >help increase Windows performance or at least be easier on Samba >Logfiles... > > I will look into it myself, but if someone has the answer >handy... > >Regards, >Robert Adkins II >IT Manager/Buyer >Impel Industries, Inc. >586-254-5800 > > >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of >Andrew Bartlett >Sent: Monday, February 24, 2003 5:01 PM >To: Justin Anderson >Cc: samba list >Subject: Re: [Samba] NT_STATUS question > >On Tue, 2003-02-25 at 07:58, Justin Anderson wrote: >> >> Hi all >> >> >> Got a couple of errors in the logs wondering what they mean??? >> >> Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE, >> NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and >> NT_STATUS_OBJECT_NAME_NOT_FOUND. >> >> >> Four clips illustrating the above are below... >> >> >> I have am wondering how I sort this out. I am particularly worried >about >> the NT_STATUS_NO_SUCH_FILE. > >Errors are a standard part of SMB - and windows will often open >non-existent files. (Like desktop.ini in *every* directory). > >Andrew Bartlett > > > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] NT_STATUS question
On Tue, 2003-02-25 at 09:34, Robert Adkins II wrote: > Anyone, > > Is there a method to eliminate Windows attempting to open up a > Desktop.ini file in every directory, save a few *important* ones, like > C:\windows\, C:\Program Files and others? I am of the opinion that might > help increase Windows performance or at least be easier on Samba > Logfiles... If you run Samba with the log level that high, then your performance is already shot. If it is causing you particular pain (ie, more than a failed lookup - like it is brining offline-storage online or other such mischief - then look into writing a VFS module to make out that call). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] NT_STATUS question
Anyone, Is there a method to eliminate Windows attempting to open up a Desktop.ini file in every directory, save a few *important* ones, like C:\windows\, C:\Program Files and others? I am of the opinion that might help increase Windows performance or at least be easier on Samba Logfiles... I will look into it myself, but if someone has the answer handy... Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Bartlett Sent: Monday, February 24, 2003 5:01 PM To: Justin Anderson Cc: samba list Subject: Re: [Samba] NT_STATUS question On Tue, 2003-02-25 at 07:58, Justin Anderson wrote: > > Hi all > > > Got a couple of errors in the logs wondering what they mean??? > > Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE, > NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and > NT_STATUS_OBJECT_NAME_NOT_FOUND. > > > Four clips illustrating the above are below... > > > I have am wondering how I sort this out. I am particularly worried about > the NT_STATUS_NO_SUCH_FILE. Errors are a standard part of SMB - and windows will often open non-existent files. (Like desktop.ini in *every* directory). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba as PDC + IIS + Frontpage
I wish to use Samba as a PDC for a win2K server running IIS and Frontpage Server Extentions. I have no trouble with it upto the point in Frontpage service extensions not installing on any of the sites. Can anyone help or has this working correctly? I can even pay for support if needed Thanks Craig Whitmore -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] problem configuring smbd for domain authentication
with AD / Win2k you have to use encrypted passwords. to Create a password file for Samba: # cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd # chmod 600 /etc/samba/smbpasswd # smbpasswd Encrypted passwords must be enabled in the smb.conf in the [global] section encrypt password = yes smb passwd file = /etc/samba/smbpasswd -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 4:47 PM To: [EMAIL PROTECTED] Subject: [Samba] problem configuring smbd for domain authentication Hello everyone, I am trying to configure a Samba 2.2 server to allow users to mount their home directories (stored on a UNIX filesystem) from Windows after authenticating against a Windows 2000 Domain Controller. The Samba server is 2.2.3a compiled with acl support on Solaris 8. I think I am experiencing some (hopefully) basic configuration issues and can't seem to get it to work. I really hope some can help! The name of our Windows 2000 Domain is ad The domain controller is (aptly named) dc. I have placed a static record in WINs for the samba server, and added a record to the Active Directory Computers container for it as well. The domain controller is a mixed-mode controller (I read in the docs that doesn't make any difference but I thought I'd mention it) and it the only domain controller for the AD domain. With the command, "smbpasswd -r DC -j ad... -UAdministrator%mypassword", I get a successful response: Joined domain AD. However, when I get on a Windows 2000 machine (which is also a member of the domain AD), and try to mount \\mysambaserver\acls as a user who is already authenticated in the AD domain, it fails (the windows end seems to hang and *eventually* prompts me for another username password) and I see the following in my samba logs: cli_net_auth2: Error NT_STATUS_ACCESS_DENIED [2003/02/24 16:35:19, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74) cli_nt_setup_creds: auth2 challenge failed [2003/02/24 16:35:19, 0] smbd/password.c:connect_to_domain_password_server(1336) connect_to_domain_password_server: unable to setup the PDC credentials to machine DC. Error was : NT_STATUS_OK. [2003/02/24 16:35:19, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: Domain password server not available. [2003/02/24 16:35:19, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2003/02/24 16:35:19, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2003/02/24 16:35:19, 0] rpc_client/cli_netlogon.c:cli_net_auth2(157) cli_net_auth2: Error NT_STATUS_ACCESS_DENIED [2003/02/24 16:35:19, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74) cli_nt_setup_creds: auth2 challenge failed [2003/02/24 16:35:19, 0] smbd/password.c:connect_to_domain_password_server(1336) connect_to_domain_password_server: unable to setup the PDC credentials to machine DC. Error was : NT_STATUS_OK. [2003/02/24 16:35:19, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: Domain password server not available. Here is a listing of my smb.conf file: [global] # debug level = 2 # Stuff needed by nmdb first interfaces = myip domain master = no local master = no preferred master = no os level = 0 log file = /tmp/slog wins server = 192.168.28.13 guest account = nobody encrypt passwords = Yes # security = server security = domain workgroup = ad password server = dc username map=/usr/local/samba/lib/ntstaff.map invalid users = root [homes] comment = Home Directories locking = no browseable = no read only = no force create mode = 0750 create mode = 0750 force directory mode = 0750 directory mode = 0750 preserve case = yes [acls] Comments = Account information path = /export/home/acls create mode = 660 force create mode = 660 directory mode = 770 force directory mode = 770 preserve case = yes browseable = yes I am fairly certain the ntstaff.map file is correct as it works in other configurations. I'll post the line with the username I used: !rotest2 = rotest2 If anyone would like any more information I'd be happy to provide it. I am really stumped right now as I think everything I am trying to do should work, but I don't know what I am doing wrong. I would be most grateful for any assistance. Thanks, Rohit Kumar Mehta University of Connecticut School of Engineering Systems Manager [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
RE: [Samba] SWAT
Clementina, I had issues with running Swat myself. I ended up running webmin (www.webmin.com) on the server. This system gives you a great and fairly easy to use method of configuring Samba, even though it does not support all Samba features. The Samba component to Webmin also contains a fully-running Swat installation. If you are introducing OpenSource software, I would definitely include Webmin as one of the tools. That software is quite powerful and capable of helping with the administration of many UNIX and related Operating Systems. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of clementina di meglio Sent: Tuesday, February 25, 2003 4:01 PM To: [EMAIL PROTECTED] Subject: [Samba] SWAT Dear Andrew Tridgell, Excuse me for my English: it's terrible! I am a italian tetcher of Computer Science and I want to introduce the Open Source Software in my school. At this moment I search for to configure a School's LAN with Samba, bad i am *not successful to run SWAT*. Can you help me? I work with Linux Redhat 8.0 and Samba 2.2.5. Tank's for your responce. Clementina Di Meglio -- 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] Retrieving group membership from Active Directory
I am new to Samba. I am trying to create a PERL script that will authenticate a user with Active Directory and return a list of groups that this user belongs to. I would like to do this from a linux box. How should I begin? Thanks, Robert -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] RE: NEWBIE Samba installation issues
Joseph- Trying doing this from your prompt: find / -name gcc Then if gcc is found, do something like this: CC=(your output) ./configure This is a temporary way of saying where your C compiler is installed. It would probably be in your best interest to add the directory you find 'cc' at into your PATH by editing your .bashrc or .cshrc or whatever you may have kept in your home directory. HTH- Gabriel Joseph Teo wrote: Hi, I am currently trying to install samba from a .tar.gz file. I typed ./configure and i get the following message: loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH Please help.. I'm not too sure what I'm suppose to do from here. Thanks Joe -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] NT_STATUS question
On Tue, 2003-02-25 at 07:58, Justin Anderson wrote: > > Hi all > > > Got a couple of errors in the logs wondering what they mean??? > > Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE, > NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and > NT_STATUS_OBJECT_NAME_NOT_FOUND. > > > Four clips illustrating the above are below... > > > I have am wondering how I sort this out. I am particularly worried about > the NT_STATUS_NO_SUCH_FILE. Errors are a standard part of SMB - and windows will often open non-existent files. (Like desktop.ini in *every* directory). Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] PDF Printer issue
Hello Everyone, I have a slight issue with configuring a PDF printer on my Samba servers. I have input the following into my smb.conf file and it does create the printer as well as work to create PDF files, except that it only functions when "printing" to that printer via Excel 2002. If I attempt it with anything else, even the Windows Test print, it fails. Now, in the Windows Printers folder, if I select the PDF printer the status box states that the printer is inactive and not ready. However, if I browse to the printer through the Windows Explorer Network Neighborhood, the printer shows up as active and ready. I am unsure quite what the problem is, which means it is likely something very easy. There is one thing to note, I have not a single Linux Printing Subsystem running on the machine as this server is not being used for regular printing of any sort. Here is my smb.conf section: [purchpdf] comment = PDF Generator for Purchasing path = /var/spool/samba valid users = *UserNames Removed* write list = *UserNames Removed* printable = yes print command = gs -dNOPAUSE -dbatch -q -sDEVICE=pdfwrite -sOutputFile=/share/purchasing/pdf/%J.pdf <%J 1>/dev/null 2>&1; rm -f %J Thanks for any assistance that can be rendered. Regards, Robert Adkins II IT Manager/Buyer Impel Industries, Inc. 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: NEWBIE Samba installation issues
Hi, I am currently trying to install samba from a .tar.gz file. I typed ./configure and i get the following message: loading cache ./config.cache checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH Please help.. I'm not too sure what I'm suppose to do from here. Thanks Joe -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] problem configuring smbd for domain authentication
Hello everyone, I am trying to configure a Samba 2.2 server to allow users to mount their home directories (stored on a UNIX filesystem) from Windows after authenticating against a Windows 2000 Domain Controller. The Samba server is 2.2.3a compiled with acl support on Solaris 8. I think I am experiencing some (hopefully) basic configuration issues and can't seem to get it to work. I really hope some can help! The name of our Windows 2000 Domain is ad The domain controller is (aptly named) dc. I have placed a static record in WINs for the samba server, and added a record to the Active Directory Computers container for it as well. The domain controller is a mixed-mode controller (I read in the docs that doesn't make any difference but I thought I'd mention it) and it the only domain controller for the AD domain. With the command, "smbpasswd -r DC -j ad... -UAdministrator%mypassword", I get a successful response: Joined domain AD. However, when I get on a Windows 2000 machine (which is also a member of the domain AD), and try to mount \\mysambaserver\acls as a user who is already authenticated in the AD domain, it fails (the windows end seems to hang and *eventually* prompts me for another username password) and I see the following in my samba logs: cli_net_auth2: Error NT_STATUS_ACCESS_DENIED [2003/02/24 16:35:19, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74) cli_nt_setup_creds: auth2 challenge failed [2003/02/24 16:35:19, 0] smbd/password.c:connect_to_domain_password_server(1336) connect_to_domain_password_server: unable to setup the PDC credentials to machine DC. Error was : NT_STATUS_OK. [2003/02/24 16:35:19, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: Domain password server not available. [2003/02/24 16:35:19, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2003/02/24 16:35:19, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. [2003/02/24 16:35:19, 0] rpc_client/cli_netlogon.c:cli_net_auth2(157) cli_net_auth2: Error NT_STATUS_ACCESS_DENIED [2003/02/24 16:35:19, 0] rpc_client/cli_login.c:cli_nt_setup_creds(74) cli_nt_setup_creds: auth2 challenge failed [2003/02/24 16:35:19, 0] smbd/password.c:connect_to_domain_password_server(1336) connect_to_domain_password_server: unable to setup the PDC credentials to machine DC. Error was : NT_STATUS_OK. [2003/02/24 16:35:19, 0] smbd/password.c:domain_client_validate(1554) domain_client_validate: Domain password server not available. Here is a listing of my smb.conf file: [global] # debug level = 2 # Stuff needed by nmdb first interfaces = myip domain master = no local master = no preferred master = no os level = 0 log file = /tmp/slog wins server = 192.168.28.13 guest account = nobody encrypt passwords = Yes # security = server security = domain workgroup = ad password server = dc username map=/usr/local/samba/lib/ntstaff.map invalid users = root [homes] comment = Home Directories locking = no browseable = no read only = no force create mode = 0750 create mode = 0750 force directory mode = 0750 directory mode = 0750 preserve case = yes [acls] Comments = Account information path = /export/home/acls create mode = 660 force create mode = 660 directory mode = 770 force directory mode = 770 preserve case = yes browseable = yes I am fairly certain the ntstaff.map file is correct as it works in other configurations. I'll post the line with the username I used: !rotest2 = rotest2 If anyone would like any more information I'd be happy to provide it. I am really stumped right now as I think everything I am trying to do should work, but I don't know what I am doing wrong. I would be most grateful for any assistance. Thanks, Rohit Kumar Mehta University of Connecticut School of Engineering Systems Manager [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba solaris
Running Soalris 8, Samba 2.0.5 Samba seems to startup with no problems. I cannot access my shares. It was working before the server was rebooted. When I type "smbstatus" I get the following error message: Samba version 2.0.5 Service uid gid pid machine -- ERROR: root did not create the semaphore ERROR: Failed to initialise share modes Can't initialise shared memory - exiting Anyone have any ideas on what the problem is? Thanks. ** The content of this email message and any attachments are confidential and may be legally privileged, intended solely for the addressee. If you are not the intended recipient, be advised that any use, dissemination, distribution, or copying of this e-mail is strictly prohibited. If you receive this message in error, please notify the sender immediately by reply email and destroy the message and its attachments. ** -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] SWAT
Dear Andrew Tridgell, Excuse me for my English: it's terrible! I am a italian tetcher of Computer Science and I want to introduce the Open Source Software in my school. At this moment I search for to configure a School's LAN with Samba, bad i am *not successful to run SWAT*. Can you help me? I work with Linux Redhat 8.0 and Samba 2.2.5. Tank's for your responce. Clementina Di Meglio -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Windows XP Profiles
Hi, I just recently installed Windows XP on one of the computers in my network (previously all Windows 98) which uses Samba as a Primary Domain Controller. After making the required changes for adding machine accounts, I am able to log on using Samba as a PDC. My question is how to get profiles working the way I want them to. I would like profiles to be stored locally and automatically created when a new user logs in. So, if a user has not logged into a particular computer before, a profile will be created (possibly from a template?) for them and will be stored locally. I have been able to turn off profile roaming by adding "logon path =" to the smb.conf file, but that will just allow the user to logon, not create an account on the local machine for them. I'm guessing you can do this somehow with policies, but I really have no idea where to begin. Thanks! Curtis H. __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] [Fwd: Re: GCC 3.3 release criteria]
gcc is a great compiler, but as of gcc3.2.2, it can't compile Samba on Sparc with -O2. This has been marked as a high priority bug in the gcc bug tracking system, and should be fixed before the next release. To make such regressions less likely in the future, it would be helpful if somebody were to look at http://gcc.gnu.org/testing/ and submit a build-and-test guide for Samba to the maintainer of that page. This would make it more likely the gcc volunteers will do regression testing of new releases of gcc against Samba. BTW, I got involved in this because I saw a rant against gcc in the libtool mailing list by someone who was burnt by this regression. I forwarded his rant to the gcc mailing list, and almost immediately a gcc developer stepped forward to help make sure the problem goes away. I'm not enough of a Samba hacker (or even user) to write the guide, but I bet it'd be duck soup for some of the folks here. Thanks, Dan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Password Syncronization
Is there any functionality to allow a samba pdc syncronize password databases with NT/2000 machines? in TNG or otherwise? 3.0? Matt Schillinger [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] XP irratic delay in opening files....
I think this sorts out the problem, I had some one try it out tonight a couple of times (seems to be fine) but will try it out tomorrow to make absolutely sure... oplocks = False level2oplocks = False added to the samba config file Cheers Justin. On Mon, 2003-02-24 at 20:31, Justin Anderson wrote: > Hi all > > I am fairly new to samba and XP. I have a client who we set up a samba > server for, they are complaining about documents taking about 30 secs > -2-3mins to open but only sometimes (it can be very frequent). I have > seen this and captured a piece of the log file I wonder if any one can > make any sense of it... > > I have been looking on the net and trying various things all day but to > no avail... > > > > 2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560) > call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257 > [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646) > call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25 > R001.xls level=257 call=7 total_data=0 > [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) > Transaction 7344 of length 120 > [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) > switch message SMBtrans2 (pid 10033) > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) > setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) > 1 user groups: > 99 > [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350) > call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC > Invoice25 R001.xls info_level=257 totdata=40 > [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) > Transaction 7345 of length 45 > [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) > switch message SMBclose (pid 10033) > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) > setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) > 1 user groups: > 99 > [2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926) > close fd=22 fnum=12979 (numopen=2) > [2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210) > nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25 > R001.xls (numopen=1) > [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) > Transaction 7346 of length 142 > [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) > switch message SMBntcreateX (pid 10033) > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) > setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) > 1 user groups: > 99 > [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) > unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 > R001.xls] > [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) > unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) > returning 0744 > [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) > unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 > R001.xls] > [2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778) > calling open_file with flags=0x0 flags2=0x0 mode=0744 > [2003/02/24 15:53:42, 2] smbd/open.c:open_file(213) > brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25 > R001.xls read=Yes write=No (numopen=2) > [2003/02/24 15:53:42, 3] > smbd/oplock_linux.c:linux_set_kernel_oplock(182) > set_file_oplock: got kernel oplock on file > Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode > = 13385874, file_id = 2048 > [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) > Transaction 7347 of length 63 > [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) > switch message SMBreadX (pid 10033) > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) > setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) > 1 user groups: > 99 > [2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381) > readX fnum=12980 min=4096 max=4096 nread=4096 > [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) > Transaction 7348 of length 142 > [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) > switch message SMBntcreateX (pid 10033) > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) > setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 > [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) > 1 user groups: > 99 > [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) > unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 > R001.xls] > [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) > unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) > returning 0744 > [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) > unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 > R001.xls] > [2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491)
Re: [Samba] LDAP auth with nis.schema
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24 Feb 2003, Matt Schillinger wrote: > Is it possible to get samba to act as a PDC with "encrypt passwords = > no" ?? nope. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+WnAqIR7qMdg1EfYRAkRcAJ0cXXtoWX7URH3DC25WNNTdVvkoggCglljX wPJQ3KT0sz/n7uFbsXhvFm0= =kV3q -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] LDAP auth with nis.schema
Is it possible to get samba to act as a PDC with "encrypt passwords = no" ?? Matt Schillinger [EMAIL PROTECTED] On Sat, 2003-02-22 at 12:12, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 20 Feb 2003, Odd Rune Dahle wrote: > > > I'm wondering if it's possible to get samba to auth against LDAP without > > saving multiple hashes in the directory? I'd like to keep it to the hash > > that we use to auth unix-systems today, without cluttering the directory > > with other hashes that need to be synchronized etc. > > not if you want to use "encrypt passwords = yes" > > > > > cheers, jerry > -- > Hewlett-Packard- http://www.hp.com > SAMBA Team -- http://www.samba.org > GnuPG Key http://www.plainjoe.org/gpg_public.asc > "You can never go home again, Oatman, but I guess you can shop there." > --John Cusack - "Grosse Point Blank" (1997) > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.2.0 (GNU/Linux) > Comment: For info see http://quantumlab.net/pine_privacy_guard/ > > iD8DBQE+V72MIR7qMdg1EfYRAqGpAJ9T9g2B/at5KnQUrg7wIfmvawV5WwCgk3x+ > +thtqjn9iR95ioYanAyLt1U= > =Zuy7 > -END PGP SIGNATURE- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- Matt Schillinger System Administrator FlightSafety International [EMAIL PROTECTED] 314-551-8403 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] passdb
Hi all, got a problem with samba server: cannot connect from a windows2k machine neither run smbpasswd: always get the same message "unable to open passdb database". Have RedHat 8.0. Thanks maq -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] passdb not found
Hello, i've got a Redhat 8.0 installation. I tried to configure my linux box to run the samba server and share some dirs and a printer. When i try to connect from a Windows machine, the request fails and the log says: unable to open passdb database. The same result i get if trying to run smbpasswd from the linux box itself. What can i do? Do you need any additional info? maq -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] NT_STATUS question
Hi all Got a couple of errors in the logs wondering what they mean??? Google does not come up with too much on these NT_STATUS_NO_SUCH_FILE, NT_STATUS_SHARING_VIOLATION, NT_STATUS_INVALID_LEVEL and NT_STATUS_OBJECT_NAME_NOT_FOUND. Four clips illustrating the above are below... I have am wondering how I sort this out. I am particularly worried about the NT_STATUS_NO_SUCH_FILE. All the best Justin. EXAMPLE 1 New file A13C [2003/02/24 09:30:05, 8] lib/util.c:is_in_path(1115) is_in_path: Brigittes Documents/Work/Invoices/A13C [2003/02/24 09:30:05, 8] lib/util.c:is_in_path(1120) is_in_path: no name list. [2003/02/24 09:30:05, 3] lib/util.c:unix_clean_name(387) unix_clean_name [Brigittes Documents/Work/Invoices/A13C] [2003/02/24 09:30:05, 3] smbd/trans2.c:call_trans2qfilepathinfo(1636) call_trans2qfilepathinfo: vfs_stat of Brigittes Documents/Work/Invoices/A13C failed (No such file or directory) [2003/02/24 09:30:05, 3] smbd/error.c:error_packet(91) error string = No such file or directory [2003/02/24 09:30:05, 3] smbd/error.c:error_packet(99) error packet at smbd/trans2.c(1638) cmd=50 (SMBtrans2) NT_STATUS_NO_SUCH_FILE ^^^ [2003/02/24 09:30:05, 5] lib/util.c:show_msg(268) size=35 smb_com=0x32 smb_rcls=15 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=16449 [2003/02/24 09:30:05, 5] lib/util.c:show_msg(276) smb_tid=1 smb_pid=404 smb_uid=100 smb_mid=41344 smt_wct=0 [2003/02/24 09:30:05, 5] lib/util.c:show_msg(291) smb_bcc=0 [2003/02/24 09:30:05, 6] lib/util_sock.c:write_socket(518) write_socket(12,39) [2003/02/24 09:30:05, 6] lib/util_sock.c:write_socket(521) write_socket(12,39) wrote 39 [2003/02/24 09:30:05, 6] smbd/process.c:process_smb(859) got message type 0x0 of len 0x82 [2003/02/24 09:30:05, 3] smbd/process.c:process_smb(860) Transaction 6 of length 134 [2003/02/24 09:30:05, 5] lib/util.c:show_msg(268) EXAMPLE 2 [2003/02/24 09:30:06, 5] smbd/uid.c:change_to_user(200) change_to_user uid=(0,99) gid=(0,99) [2003/02/24 09:30:06, 3] smbd/oplock.c:oplock_break(855) oplock_break: returning success for dev = 903, inode = 1507360, file_id = 13 Current exclusive_oplocks_open = 0 [2003/02/24 09:30:06, 2] smbd/open.c:check_share_mode(422) Share violation on file (4,1,2,28171,Brigittes Documents/Work/Invoices/A13C,fcbopen = 0, flags = 0) = 0 [2003/02/24 09:30:06, 2] smbd/open.c:open_file(213) brigitte opened file Brigittes Documents/Work/Invoices/A13C read=Yes write=No (numopen=3) [2003/02/24 09:30:06, 4] smbd/open.c:open_file_shared(762) open_file_shared : share_mode deny - calling open_file with flags=0x0 flags2=0x0 mode=0744 returned 1 [2003/02/24 09:30:06, 5] smbd/files.c:file_free(338) freed files structure 7206 (2 used) [2003/02/24 09:30:06, 3] smbd/error.c:error_packet(91) error string = Operation not permitted [2003/02/24 09:30:06, 3] smbd/error.c:error_packet(99) error packet at smbd/nttrans.c(883) cmd=162 (SMBntcreateX) NT_STATUS_SHARING_VIOLATION ^^^ [2003/02/24 09:30:06, 5] lib/util.c:show_msg(268) size=35 smb_com=0xa2 smb_rcls=67 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=16385 [2003/02/24 09:30:06, 5] lib/util.c:show_msg(276) smb_tid=1 smb_pid=404 smb_uid=100 smb_mid=60929 smt_wct=0 [2003/02/24 09:30:06, 5] lib/util.c:show_msg(291) EXAMPLE 3 [2003/02/24 09:30:06, 5] smbd/uid.c:change_to_user(200) change_to_user uid=(0,99) gid=(0,99) [2003/02/24 09:30:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560) call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 265 [2003/02/24 09:30:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646) call_trans2qfilepathinfo Brigittes Documents/Work/Invoices/NJC Invoice01AAA.xls level=265 call=7 total_data=0 [2003/02/24 09:30:06, 8] smbd/dosmode.c:dos_mode(123) dos_mode: Brigittes Documents/Work/Invoices/NJC Invoice01AAA.xls [2003/02/24 09:30:06, 8] lib/util.c:is_in_path(1115) is_in_path: Brigittes Documents/Work/Invoices/NJC Invoice01AAA.xls [2003/02/24 09:30:06, 8] lib/util.c:is_in_path(1120) is_in_path: no name list. [2003/02/24 09:30:06, 8] smbd/dosmode.c:dos_mode(167) dos_mode returning a [2003/02/24 09:30:06, 3] smbd/error.c:error_packet(99) error packet at smbd/trans2.c(2080) cmd=50 (SMBtrans2) NT_STATUS_INVALID_LEVEL ^^ [2003/02/24 09:30:06, 5] lib/util.c:show_msg(268) size=35 smb_com=0x32 smb_rcls=72 smb_reh=1 smb_err=49152 smb_flg=136 smb_flg2=16449 [2003/02/24 09:30:06, 5] lib/util.c:show_msg(276) smb_tid=1 smb_pid=404 smb_uid=100 smb_mid=61057 smt_wct=0 [2003/02/24 09:30:06, 5] lib/util.c:show_msg(291) smb_bcc=0 [2003/02/24 09:30:06, 6] lib/util_sock.c:write_socket(518) EXAMPLE 4 [2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(988) name_map_mangle( A13C, need83 = False, cache83 = True, 4 ) [2003/02/24 09:30:07, 5] smbd/mangle.c:name_map_mangle(1023) name_map_mangle() ==> [A13C] [2003/02/24 09:30:07, 5] sm
RE: [Samba] 95 and NT cannot access shares
WFWG 3.11 supports encryted passwords as well. Rule of thumb should be to use encryted passwords unless you have some specific reason for not doing so (of which I can't think of any off hand). On Mon, 2003-02-24 at 12:36, William R. Knox wrote: > The information provided here about the use of encrypted passwords is not > true. NT began to ENFORCE the use of encrypted passwords with SP3, and > Win95 the same with (I believe) OSR2, but ALL versions of these OSes > supported encrypted passwords. > > Bill Knox > Senior Operating Systems Programmer/Analyst > The MITRE Corporation > > On Mon, 24 Feb 2003, Don Zajic wrote: > > > Date: Mon, 24 Feb 2003 04:22:44 -0500 > > From: Don Zajic <[EMAIL PROTECTED]> > > To: 'Dave Ansell' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > > Subject: RE: [Samba] 95 and NT cannot access shares > > > > Off the top of my head, I would say that using Encrypted passwords is > > greate for W2K and XP, however, 95 does not use encrypted passwords and > > unless you are using SP3 or above on NT, it also does not use encrypted > > password. Since you are mixing your flavors of Windows from 95 to XP, > > you probably need to disable encrypted password and use plain text > > passwords throughout your domain. > > > > encrypt password = no > > > > You also need to apply the .reg files to change from encrypted to > > plaintext according to your windows version. These .reg files are > > located in your docs/Registry directory. > > > > Don Zajic > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Dave Ansell > > Sent: Sunday, February 23, 2003 4:07 AM > > To: [EMAIL PROTECTED] > > Subject: [Samba] 95 and NT cannot access shares > > > > > > I have file and print sharing set up on Linux (Mandrake 9.0). > > > > It all works fine with 2000 and XP clients, but 95 and NT clients don't > > seem to be able to access. > > > > Any ideas? > > Thanks, > > Dave > > > > > > Typical log entry from Samba: > > > > [2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599) > > wvo1314904 (192.168.1.10) Can't change directory to /home/samba/public > > (Permission denied) > > > > My sbm.conf is: > > > > [global] > > workgroup = Waterlooville > > security = SHARE > > encrypt passwords = Yes > > passwd program = /usr/bin/passwd %u > > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n > > unix password sync = Yes log file = /var/log/samba/log.%m max log size > > = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns > > proxy = No > > > > [public] > > comment = Public Stuff > > path = /home/samba/public > > write list = @staff > > read only = No > > guest ok = Yes > > > > [printers] > > comment = All Printers > > path = /var/spool/samba > > create mask = 0700 > > guest ok = Yes > > printable = Yes > > print command = /usr/bin/lpr -r -s -P%p %s > > browseable = No > > printer admin = davea > > > > > > -- > > 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] XP irratic delay in opening files....
Hi all I am fairly new to samba and XP. I have a client who we set up a samba server for, they are complaining about documents taking about 30 secs -2-3mins to open but only sometimes (it can be very frequent). I have seen this and captured a piece of the log file I wonder if any one can make any sense of it... I have been looking on the net and trying various things all day but to no avail... 2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1560) call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 257 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2qfilepathinfo(1646) call_trans2qfilepathinfo Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls level=257 call=7 total_data=0 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7344 of length 120 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBtrans2 (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/trans2.c:call_trans2setfilepathinfo(2350) call_trans2setfilepathinfo(8) Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls info_level=257 totdata=40 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7345 of length 45 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBclose (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_close(2926) close fd=22 fnum=12979 (numopen=2) [2003/02/24 15:53:42, 2] smbd/close.c:close_normal_file(210) nobody closed file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls (numopen=1) [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7346 of length 142 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) returning 0744 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 4] smbd/open.c:open_file_shared(778) calling open_file with flags=0x0 flags2=0x0 mode=0744 [2003/02/24 15:53:42, 2] smbd/open.c:open_file(213) brigitte opened file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls read=Yes write=No (numopen=2) [2003/02/24 15:53:42, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(182) set_file_oplock: got kernel oplock on file Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls, dev = 903, inode = 13385874, file_id = 2048 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7347 of length 63 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBreadX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] smbd/reply.c:reply_read_and_X(2381) readX fnum=12980 min=4096 max=4096 nread=4096 [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transaction 7348 of length 142 [2003/02/24 15:53:42, 3] smbd/process.c:switch_message(667) switch message SMBntcreateX (pid 10033) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (99, 99) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(319) 1 user groups: 99 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [/Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/dosmode.c:unix_mode(111) unix_mode(Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls) returning 0744 [2003/02/24 15:53:42, 3] lib/util.c:unix_clean_name(387) unix_clean_name [Saranes_Documents/NJC/Invoices/NJC Invoice25 R001.xls] [2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491) initial_break_processing: called for dev = 903, inode = 13385874 file_id = 2048 Current oplocks_open (exclusive = 1, levelII = 0) [2003/02/24 15:53:42, 3] smbd/sec_ctx.c:set_sec_ctx(313) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/02/24 15:53:42, 3] smbd/oplock.c:initial_break_processing(491) initial_break_processing: called for dev = 903, inode = 13385874 file_id = 2048 Current oplocks_open (exclusive = 1, levelII = 0) [2003/02/24 15:53:42, 3] smbd/process.c:process_smb(860) Transac
[Samba] Re: Recovery from Domain/WINS Outage - Didn't work well
"Hall, Ken (ECSS)" wrote: > > We're using Samba 2.2.5 and 2.2.7 in SECURITY=DOMAIN mode. > > This morning we lost contact with our PDC, and for about 2 hours, users > were unable to logon. After chasing this down, we determined that we > were also unable to contact the WINS server defined in smb.conf. Our > backup WINS server was available, but it seems Samba only supports one > WINS server in smb.conf, so this didn't help much. After manually > switching to the other WINS server, we were able to connect. WINS failover has been implemented. It may, however, only be available in the 3.0 beta. I am not sure. I wrote the original implementation but Tridge came up with a (much) better way to handle this. > We're still new with this, and so far Samba isn't looking too reliable to > our management. This is the second time a WINS-related problem has > knocked us down while the Windows servers remained available. Was the missing WINS server a Samba server or a Windows box? In all seriousness, we did not bother implementing WINS failover because the Samba-based WINS servers generally didn't go down. The decision to add it came from pressure from people who used Samba in a primarily Windows environment. > I'm assuming we're still only allowed to specify a single WINS server. > Does anyone have any idea if this will be fixed anytime soon? You might try putting in two IP addresses separated by a colon. The first will be the primary and the second the secondary WINS server. The code that makes this work is in 2.2.7 *but it was not completed* so it was left undocumented. It is a beta feature in 2.2.x. > Should Samba have recovered from the DC outage? It appears that after > losing contact with the DC, it went back to WINS, and tried to get a new > list. Does it only try the first DC on the list, or does it work down > till it finds a good one? Am I correct in assuming that being unable to > connect to the WINS server would prevent this from happening? When a client sends a query for a <1C> name the Windows WINS server responds by sending a list of IPs. This is correct per the RFCs, but unusual for WINS (Microsoft's original implementation was kludged such that it replies to group name queries by sending only the limited broadcast address: 255.255.255.255). Anyway, the first entry in the list of <1C> names is the PDC. All others are BDCs. > Thanks in advance for any info you can provide. Hope that's somewhat useful. 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] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 95 and NT cannot access shares
On Mon, 24 Feb 2003, William R. Knox wrote: Bill, Thanks for jumping in here. I'd like to reinforce your correction. Would everyone please take note! Someone who does a search on the samba mailing lists on this subject will find many incorrect assertions regarding encrypted password support in MW Windows products. Bill, your comments here are absolutely correct. > The information provided here about the use of encrypted passwords is not > true. NOTE THIS NEXT STATEMENT!! > NT began to ENFORCE the use of encrypted passwords with SP3, and > Win95 the same with (I believe) OSR2, but ALL versions of these OSes > supported encrypted passwords. Please note also, that it is possible to use the PlainText registry hacks to re-enable support for clear text passwords, but MS Windows clients will cache only the encrypted password. This means that when the Windows client drops a share connection (through time-out or for any other reason) then on attempt to re-use the share the Windows client will send the encrypted password in the attempt to reconnect (it does not have the plain text password in it's cache). This can cause a blue screen problem and may cause nasty application failures. SO: It is best NOT to use plain text passwords, instead use only encrypted passwords - PARTICULARLY given that ALL MS Windows network clients support encrypted passwords. - John T. > > Bill Knox > Senior Operating Systems Programmer/Analyst > The MITRE Corporation > > On Mon, 24 Feb 2003, Don Zajic wrote: > > > Date: Mon, 24 Feb 2003 04:22:44 -0500 > > From: Don Zajic <[EMAIL PROTECTED]> > > To: 'Dave Ansell' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > > Subject: RE: [Samba] 95 and NT cannot access shares > > > > Off the top of my head, I would say that using Encrypted passwords is > > greate for W2K and XP, however, 95 does not use encrypted passwords and > > unless you are using SP3 or above on NT, it also does not use encrypted > > password. Since you are mixing your flavors of Windows from 95 to XP, > > you probably need to disable encrypted password and use plain text > > passwords throughout your domain. > > > > encrypt password = no > > > > You also need to apply the .reg files to change from encrypted to > > plaintext according to your windows version. These .reg files are > > located in your docs/Registry directory. > > > > Don Zajic > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Dave Ansell > > Sent: Sunday, February 23, 2003 4:07 AM > > To: [EMAIL PROTECTED] > > Subject: [Samba] 95 and NT cannot access shares > > > > > > I have file and print sharing set up on Linux (Mandrake 9.0). > > > > It all works fine with 2000 and XP clients, but 95 and NT clients don't > > seem to be able to access. > > > > Any ideas? > > Thanks, > > Dave > > > > > > Typical log entry from Samba: > > > > [2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599) > > wvo1314904 (192.168.1.10) Can't change directory to /home/samba/public > > (Permission denied) > > > > My sbm.conf is: > > > > [global] > > workgroup = Waterlooville > > security = SHARE > > encrypt passwords = Yes > > passwd program = /usr/bin/passwd %u > > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n > > unix password sync = Yes log file = /var/log/samba/log.%m max log size > > = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns > > proxy = No > > > > [public] > > comment = Public Stuff > > path = /home/samba/public > > write list = @staff > > read only = No > > guest ok = Yes > > > > [printers] > > comment = All Printers > > path = /var/spool/samba > > create mask = 0700 > > guest ok = Yes > > printable = Yes > > print command = /usr/bin/lpr -r -s -P%p %s > > browseable = No > > printer admin = davea > > > > > > -- > > 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 > > > > > -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] domain pswd policy? single-sign on?
I've set up a samba domain controller and am reading that PAM authentication modules (cracklib) cannot be used with encrypted passwords in Samba. Is there any way to enforce password policies then for samba accounts? (i.e. min length 8 chars, letters+nums+special, new pswd not similiar to last pswd) Also, is there any way to do a single signon with samba accounts with encrypted passwords? (permit samba/domain authenticated users to access their pop/smtp services on another unix server) I currently only have restriced unix accounts (no shell, no home dir, account disabled) setup on the PDC just to create the samba users, there is currently no need for them to access any unix services on the samba domain server. thanks, peace Brian Wiese | [EMAIL PROTECTED] | aim: unolinuxguru -- GnuPG/PGP key 0x1E820A73 | "FREEDOM!" - Braveheart -- This is not about Napster or DVDs. It's about your Freedom. I'll see your DMCA and raise you a First Amendment. http://www.anti-dmca.org -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Thoughts for you geniuses
Is anyone else seeing Andrew's posts as blank messages like this with text files attached? How can I get around them showing up this way? I like to read his posts but this makes it pretty aggravating. :) > -Original Message- > From: Andrew Bartlett [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 20, 2003 12:58 AM > To: Robert Adkins II > Cc: [EMAIL PROTECTED]; "'Esler, Joel "Contractor' > Subject: RE: [Samba] Thoughts for you geniuses > > > -- > 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] Recovery from Domain/WINS Outage - Didn't work well
On Mon, 24 Feb 2003, Hall, Ken (ECSS) wrote: > We're using Samba 2.2.5 and 2.2.7 in SECURITY=DOMAIN mode. > > This morning we lost contact with our PDC, and for about 2 hours, users > were unable to logon. After chasing this down, we determined that we > were also unable to contact the WINS server defined in smb.conf. Our > backup WINS server was available, but it seems Samba only supports one > WINS server in smb.conf, so this didn't help much. After manually > switching to the other WINS server, we were able to connect. > > We're still new with this, and so far Samba isn't looking too reliable > to our management. This is the second time a WINS-related problem has > knocked us down while the Windows servers remained available. > > I'm assuming we're still only allowed to specify a single WINS server. > Does anyone have any idea if this will be fixed anytime soon? Yes, in Samba-3.0.0 which is currently in Alpha test. Should be released around April. You might want to download it and try it before then. We can do with your feedback. > > Should Samba have recovered from the DC outage? It appears that after > losing contact with the DC, it went back to WINS, and tried to get a new > list. Does it only try the first DC on the list, or does it work down > till it finds a good one? Am I correct in assuming that being unable to > connect to the WINS server would prevent this from happening? If Samba can not resolve the netbios name to an IP address then obviously it can not find the machine it needs to communicate with. If WINS goes down, then in effect you can be hosed. - 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] Why am I getting this error?
I've been getting this one for a while, but since it doesn't seem to be causing any problems I'm just now getting around to asking about it. I'm sure it's something really dumb I'm overlooking, I just need another set of eyes to spot it for me. In log.smbd, many times a day: [2003/02/23 12:17:40, 0] smbd/service.c:set_current_service(59) chdir (/export/shared) failed Permissions on /export/shared: # file: shared # owner: root # group: root user::rwx user:mirror:r-x user:INTERCLEAN+Brent:rwx group::r-x group:INTERCLEAN+Domain Admins:rwx group:INTERCLEAN+Domain Users:r-x mask::rwx other::--- default:user::rwx default:user:mirror:r-x default:group::r-x default:group:INTERCLEAN+Domain Admins:rwx default:group:INTERCLEAN+Domain Users:r-x default:mask::rwx default:other::--- This is the only share I get this error message from. The permissions don't seem notably different from what I have set on some other shares. Here's the entry for it in smb.conf: [Shared] comment = Files shared between departments path = /export/shared writable = yes printable = no Samba 2.2.7a, RedHat 7.0, kernel 2.4.19 + ext2 acls. -- David Brodbeck, System Administrator InterClean Equipment, Inc. Ypsilanti, Michigan [EMAIL PROTECTED] (734) 975-2967 x221 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 95 and NT cannot access shares
The information provided here about the use of encrypted passwords is not true. NT began to ENFORCE the use of encrypted passwords with SP3, and Win95 the same with (I believe) OSR2, but ALL versions of these OSes supported encrypted passwords. Bill Knox Senior Operating Systems Programmer/Analyst The MITRE Corporation On Mon, 24 Feb 2003, Don Zajic wrote: > Date: Mon, 24 Feb 2003 04:22:44 -0500 > From: Don Zajic <[EMAIL PROTECTED]> > To: 'Dave Ansell' <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > Subject: RE: [Samba] 95 and NT cannot access shares > > Off the top of my head, I would say that using Encrypted passwords is > greate for W2K and XP, however, 95 does not use encrypted passwords and > unless you are using SP3 or above on NT, it also does not use encrypted > password. Since you are mixing your flavors of Windows from 95 to XP, > you probably need to disable encrypted password and use plain text > passwords throughout your domain. > > encrypt password = no > > You also need to apply the .reg files to change from encrypted to > plaintext according to your windows version. These .reg files are > located in your docs/Registry directory. > > Don Zajic > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dave Ansell > Sent: Sunday, February 23, 2003 4:07 AM > To: [EMAIL PROTECTED] > Subject: [Samba] 95 and NT cannot access shares > > > I have file and print sharing set up on Linux (Mandrake 9.0). > > It all works fine with 2000 and XP clients, but 95 and NT clients don't > seem to be able to access. > > Any ideas? > Thanks, > Dave > > > Typical log entry from Samba: > > [2003/02/22 16:21:37, 0] smbd/service.c:make_connection(599) > wvo1314904 (192.168.1.10) Can't change directory to /home/samba/public > (Permission denied) > > My sbm.conf is: > > [global] > workgroup = Waterlooville > security = SHARE > encrypt passwords = Yes > passwd program = /usr/bin/passwd %u > passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n > unix password sync = Yes log file = /var/log/samba/log.%m max log size > = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns > proxy = No > > [public] > comment = Public Stuff > path = /home/samba/public > write list = @staff > read only = No > guest ok = Yes > > [printers] > comment = All Printers > path = /var/spool/samba > create mask = 0700 > guest ok = Yes > printable = Yes > print command = /usr/bin/lpr -r -s -P%p %s > browseable = No > printer admin = davea > > > -- > 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] Samba permissions problem
Hi, I am a newbie here. I am runnning Samba 2.2.3a which act as a NT workstation connecting to CNS-NT domain. When I tried to connect to Samba, \\Bigred\home is not accessible, you might not have permission to use this network resource. Any help is greatly appreciated. -Paul Hong Samba Newbie. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Maintain file ownership when saving office documents
> -Original Message- > From: Tobias Leers [mailto:[EMAIL PROTECTED] > If a user stores an existing office document on a samba > share, he takes > ownership of it automatically. Office writes a new file. (Different > inode, same name) Is there a possibility of going this round > and keeping the owner? I don't see how. How would the server know to do this? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Is Samba made for trash?!? Newp.
> -Original Message- > From: Jean-Paul ARGUDO [mailto:[EMAIL PROTECTED] > Many times a day, clients here when oppening a MS Word 97 > document have > it in "READ ONLY" mode, but seems no reason fort that!! Make very, very sure that you have no network problems. I had a very similar problem with AutoCAD that turned out to be a user who was on an overloaded hub that was dropping lots of packets. Apparently AutoCAD would lock the files when he opened them, but the packet releasing the lock would sometimes get lost in transit when he closed them again. Also, if you're doing tricky things with permissions you can run into problems. When Word saves a file, it saves a new copy and deletes the old one. That means if your create mask has very restrictive permissions, the file may not be read/write by other users anymore. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Re: pam settings for winbind
> -Original Message- > From: Chris de Vidal [mailto:[EMAIL PROTECTED] > Great! Did you learn anything new? Or did you cut > and paste?You can use the patterns I > described to add winbind support for any pam-aware > service (e.g. NetAtalk and Webmin), which is very > groovy. Another cool hack is pppd with pam support. You can play at being a Windows RAS server. ;) Only problem is I never found a way around having to add dummy entries for each account to pap-secrets. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] first accessing swat - connection refused
System RedHat Linux 7.2 Samba version 2.2.7a Hi guys - hope this isn't too much of a faq - I have gone through samba configuration following the instructions in the O'Reilly guide really carefully and can get samba to run if I manually create/edit smb.conf but just cannot get swat to run - when I try I just get a dialog box come up with "The connection was refused when attempting to contact 10.1.1.2:901" Anyone any ideas? This is the second machine this has happened on - the last machine I just configured by hand but I would love to get swat running. This machine is a fresh install and I have installed samba by dowloading source and compiling. Last machine I installed via binary. Most of my other Linux problems have boiled down to pam so if that is the case this time it wouldn't surprise me :-) TIA Joy -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
re[2]: [Samba] samba authentication
I had a security hole that let a hacker get access to my passwd file one time. I wasn't using shadow passwords because I thought the machine only would have authorized users. Within 48 hours of the hole being announced on a security website, they had my root password. i.e. they unencrypted it. Fortunately, they were not smart enough to do any real damage. They just filled my website with links to porn sites. >> is crypt that bad? :) >> anyways, gonna put the pam_smbpass to work first ! >> thanks >> Daniel Provin >> Linux User #191271 >> EEL LABMETRO UFSC >> On 22 Feb 2003, Bradley W. Langhorst wrote: >> > On Sat, 2003-02-22 at 15:55, Daniel Provin wrote: >> > > okay >> > > >> > > so, I just need to activate the pam_smbpass module to keep de smbpass >> with >> > > the last password >> > > >> > > but is there any way to build an initial list of passwords from >> > > unix passwords? >> > well >> > you could crack all your users passwords... >> > probably wouldn't take more than a few weeks if you're using crypt. >> > >> > seriously - i don't know an easy way to deal with this problem. >> > You might be able to configure pam to update the samba password upon >> > login. >> > or put the smbpasswd program into the logon script so that your users >> > change it when the log in >> > >> > 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 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] capture Printer port...
Hi All, I recently did a clean upgrade from a 6.0/7.2 hybrids to 7.3. Im using Samba 2.2.1 and Cups for printing and the only thing I cant figure out is when I try to capture the printer port in Win 9x is says the share cant be found...yet it prints the test page flawlessly. Its not a huge deal just one of those "well it worked before" things. Any suggestions? Kev -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Recovery from Domain/WINS Outage - Didn't work well
We're using Samba 2.2.5 and 2.2.7 in SECURITY=DOMAIN mode. This morning we lost contact with our PDC, and for about 2 hours, users were unable to logon. After chasing this down, we determined that we were also unable to contact the WINS server defined in smb.conf. Our backup WINS server was available, but it seems Samba only supports one WINS server in smb.conf, so this didn't help much. After manually switching to the other WINS server, we were able to connect. We're still new with this, and so far Samba isn't looking too reliable to our management. This is the second time a WINS-related problem has knocked us down while the Windows servers remained available. I'm assuming we're still only allowed to specify a single WINS server. Does anyone have any idea if this will be fixed anytime soon? Should Samba have recovered from the DC outage? It appears that after losing contact with the DC, it went back to WINS, and tried to get a new list. Does it only try the first DC on the list, or does it work down till it finds a good one? Am I correct in assuming that being unable to connect to the WINS server would prevent this from happening? Thanks in advance for any info you can provide. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] elektronik cihazlar - bilgisayar ve yanürünleri tamir bakým servisi
Walkman CD/Kaset/Radyo CD player DVD Playerlar VCD Playerlar Fotoðraf Makinesi / Kameralar MP3 Playerlar Müzik Setleri Müzik Sistemleri Video Playerlar Oyun Konsollarý Radyolar Digital Kayýt Cihazlarý Ev Sinemalarý Ses Sistemleri Anakartlar CD / DVD Yazýcýlar CD Sürücüler DVD Sürücüler Ekran Kartlarý Hafýza Ürünleri Ýþlemciler Kablosuz Ürünler Kontrol Kartlarý Monitörler Network Ürünleri Sabit Diskler Ses ve Görüntü Ürünleri Ses Kartlarý Tarayýcýlar TV / Radyo Kartlarý Yedekleme Üniteleri Barkod Ürünleri MP3 Çalýcýlar - Cep Telefonlarý telsiz telefonlar Fax / Modem Kartlarý Hoparlörler Kesintisiz Güç Kaynaklarý Lazer Yazýcýlar Püskürtmeli Yazýcýlar Nokta Vuruþlu Yazýcýlar Desknote Bilgisayar Masa Üstü Bilgisayarlar Taþýnabilir Bilgisayarlar -GARANTÝLÝ TAMÝR VE BAKIM!!! -TÜRKÝYENÝN HER NOKTASINA KARGOYLA SERVÝS. ATLANTÝS Elektronik-Bilgisayar Tel : 0212 259 07 95 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Accesing shares from ClearCase
On Mon, Feb 24, 2003 at 04:45:04PM +0100, Carlos Moro Garrido wrote: > "Carlos" == Carlos Moro Garrido <[EMAIL PROTECTED]> writes: Carlos> Hi all, Carlos> Just a novice in this world of Samba. I got a Carlos> question, probably too simple. No problem to access share Carlos> file systems and mount ClearCase vobs. Log shows access Carlos> granted to NT userid belonging to the right UNIX group. Carlos> Then, editing a file ( using a view thru Explorer), Carlos> log shows another non authenticate user called Carlos> clearcase_albd trying to be validated. I guess due to Carlos> that, mvfs errors pop up You would be better off asking this question on the CCIUG mailing list ([EMAIL PROTECTED]). However, this is a very common error with Samba and ClearCase. I'll assume that you are also getting a text_file_delta error message about being unable to construct cleartext version. If so, the problem is likely that the account running the ALBD service on the PC (clearcase_albd) is not mapped to a valid UNIX user. We usually map this account with /usr/local/samba/lib/username.map (or wherever you have Samba installed) with an entry = clearcase_albd If your account is something other than clearcase_albd, you'll have to change the entry accordingly. Once you make this change, it is not necessary to stop and restart Samba. New connections will pick up the mapping automatically. If this doesn't solve your problem, we'll need more information about the exact error messages -- and this problem would be more relevant on the CCIUG mailing list than the Samba mailing list. -- Eric M. Boehm /"\ ASCII Ribbon Campaign [EMAIL PROTECTED] \ / No HTML or RTF in mail X No proprietary word-processing Respect Open Standards / \ files in mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Large (3000+ users) NT to Samba migration
Hi guys and girls, A client of mine is seriously investigating migrating their 7 NT servers and 3000+ users to Linux running Samba. I've read one or two documents so far about the migration, but I'm still a little unclear about a number of things. When you have a chance I'd really appreciate your guidance on the following items. 1.) LDAP, /etc/passwd or MySQL backend (if supported). 2.) User/machine account migration utilities. 3.) Front-ends for adding user/machine accounts. 4.) Configuration of BDC(s). Or any links to the information would be great. Many thanks and kind regards. David Wilson DcData/LinuxBox S.A. +27 83 787 7424 ICQ#: 114636368 http://www.dcdata.co.za http://www.linuxbox.co.za NOTICE: Please note that as of 31/01/2003 all service requests must be sent to [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] None
Can Samba be installed on QNX2 version 2.21? Bill [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Print command %J question
In print_generic.c, any "'" in jobname %J is replaced with _. Is " specifically disallowed earlier (can I safely trust no "'s can be passed to print command)? Thanks, ~ 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] No connection between NT and SUN system running solaris 8
Hi, I have just installed Samba 2.2.7 on a solaris 8 system (Sun ultra 10) and all seems to be OK, SWAT works and tells me that smbd is running as well as nmbd. My NT workstation also has found "something" on the net but as soon as I double click on the link, it states that the network path is not found. If I ask for status, both deamons are running but that's it. No shares or connections active, no open files. Below the cmb.conf... regs, Antoine # Samba config file created using SWAT # from localhost (127.0.0.1) # Date: 2003/02/24 17:02:31 # Global parameters [global] workgroup = ASML netbios name = WSDLE003 server string = Samba %v on %L os level = 0 [test] comment = testing path = /scratch guest account = read only = No guest ok = Yes volume = test-share -- +--+ / Antoine Loock De Run 1110 / / DemoLab Europe5503 LA VELDHOVEN / / ASM Lithography The Netherlands / / / / Room:4C0011/ /Phone: (+31)-(0)40-2683434 / / fax: (+31)-(0)40-2684992 / / / +--+ -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] 2.2.7a logon script will not run
> -Original Message- > From: Kurt Weiss [mailto:[EMAIL PROTECTED] > Sent: Sunday, February 23, 2003 11:29 PM > To: Rich Forman > Subject: Re: [Samba] 2.2.7a logon script will not run > > > > > Rich Forman schrieb: > > I just tried upgrading from 2.2.3 to 2.2.7a on my PDC > >(2.2.17 kernel). The > > logon script that I have been using all along without any > >problems quits > > executing w/ 2.2.7a. I can manually map the netlogon share > >after logging in > > and manually run the script and everything work fine. No > >error messages > > have u checked, if the directory /usr/local/samba/netlogon > has the 'x' > (1) flag set in all hierachies. > i had the same problema (as i posted before a view month's) - > and that > was the solution. The permissions on /usr/local/samba/netlogon/* are 777. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Unable tp map to a samba share from home
I have a filtered restriction on port 139 Why ? *puts on mindreader cap* I suspect what you're trying to say is that you have a samba server running at home (as a guess--on comcast's cable modem service) and are trying to access it remotely, but it fails because port 139 is filtered. *If* that is the case, I would further suspect that comcast is intentionally filtering smb/cifs traffic on their net so as to somewhat impede rampant file trading and also to protect folk who run unsecured windows machines on their networks. Those boxes get rooted, customers blame comcast. Worse, those boxes become DDoS zombies, *everyone* blames comcast. SMB over the Internet is a Bad Idea IMO. Look into a VPN or SSH tunnel if you *really* need it. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba