Re: [Samba] winbind + samba 2.2.6 PDC
Its not possible to use wibind with samba 2.x PDC. But it works fine with Samba 3.0. On Samba 2.2.6 you can use LDAP to centralize accounts. --- Andrea De Crescenzo [EMAIL PROTECTED] wrote: Hello, I have installed a samba 2.2.6 PDC and everything works fine, ut now I would like to synch the unix account and the NT ones. I am trying to use winbind but with no success. My question is if is possible to use winbind to get user name and groups from a samba PDC? I have tried several time but everytime there is an error regarding connection to PIPE. Could you please tell me if this is feaseable? Thank you, Andrea -- Best regards, Andrea mailto:[EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Force NT4 WINS ....
Try the following on NT servers, it works on win2k, and there is nbtstat command on NT4 but I cant remember if the -RR switch was available on NT4. nbtstat -RR --- C.Lee Taylor [EMAIL PROTECTED] wrote: Greetings ... I have a question ... does anybody know how to force a M$-WinNT4 computer to re-register it's WINS if we have restart Samba without having restart the NT4 boxes? Sometimes we have had to stop and start Samba because of lock problems, and then our NT4 boxes don't show up in the Network-Nieghthood until restart. Thanks. Mailed Lee -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] file locks problem??
Hello, i am running Samba 2.2.3a on a Red Hat Linux 7.3 box with kernel 2.4.18-10. I am experiencing some problems on a particular samba share, which is accessed by 10 Windows 98SE clients working on a COBOL production packet by mapping with a G: letters this samba folder. Well, some times a day it happens that this packed blocks because some files on that samba folder remains locked; i also cannot browse this network drive because, when arriving to these locked files, windows explorer crash. By viewing samba logs i see that, i think!, the problem could be perhaps in a oplocks problem? [2002/11/16 11:15:45, 0] smbd/open.c:open_mode_check(551) open_mode_check: exlusive oplock left by process 20445 after break ! For file PROSYST/73002/73002DAT/SISTEMA, dev = 805, inode = 2588750. Deleting it to continue... [2002/11/16 11:15:45, 0] smbd/open.c:open_mode_check(555) open_mode_check: Existent process 20445 left active oplock. [2002/11/16 11:15:45, 0] tdb/tdbutil.c:tdb_log(475) tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 54 ltype=0 (Interrupted system call) [2002/11/16 11:22:09, 0] smbd/oplock.c:request_oplock_break(981) request_oplock_break: no response received to oplock break request to pid 20445 on port 32964 for dev = 805, inode = 3326030, file_id = 95 [2002/11/16 11:22:09, 0] smbd/open.c:open_mode_check(551) open_mode_check: exlusive oplock left by process 20445 after break ! For file PROSYST/PRO02/SYSMENU.LOG, dev = 805, inode = 3326030. Deleting it to continue... [2002/11/16 11:22:09, 0] smbd/open.c:open_mode_check(555) open_mode_check: Existent process 20445 left active oplock. [2002/11/16 11:22:09, 0] smbd/oplock.c:oplock_break(758) oplock_break: receive_smb error (Success) oplock_break failed for file PROSYST/PRO02/SYSMENU.LOG (dev = 805, inode = 3326030, file_id = 95). [2002/11/16 11:22:09, 0] smbd/oplock.c:oplock_break(843) oplock_break: client failure in break - shutting down this smbd. [2002/11/16 11:22:09, 0] tdb/tdbutil.c:tdb_log(475) tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 24 ltype=1 (Resource deadlock avoided) [2002/11/16 11:22:09, 0] tdb/tdbutil.c:tdb_log(475) tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 24 ltype=0 (Resource deadlock avoided) [2002/11/16 11:22:51, 0] smbd/oplock.c:request_oplock_break(981) request_oplock_break: no response received to oplock break request to pid 19083 on port 32927 for dev = 805, inode = 507948, file_id = 1856 [2002/11/16 11:22:51, 0] smbd/open.c:open_mode_check(551) open_mode_check: exlusive oplock left by process 19083 after break ! For file PROSYST/ISE02/ISE02DAT/NETUSER, dev = 805, inode = 507948. Deleting it to continue... [2002/11/16 11:22:51, 0] smbd/open.c:open_mode_check(555) open_mode_check: Existent process 19083 left active oplock. [2002/11/16 11:23:14, 0] smbd/oplock_linux.c:linux_oplock_receive_message(135) Invalid file descriptor 23 in kernel oplock break! The only way to repair this problem is restarting the SMB daemon. Could you please help me in order to solve this problem? Thank you again, best regards! Francesco Collini -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Samba PDC.... no mapping between account names and security IDswas done
Yes I know... you will all say... asked and answered but this is ridiculous... I still cannot add my win 2k wks to my Samba domain... I have created the machine account, and the root account in smbpasswd I have checked and they DO exist... I am running Samba 2.2.6-1, the build which many on these lists claim to fix this win2k problem but as of yet... no luck... here is my smb.conf if anyone can find a problem in it # Samba config file created using SWAT # from duar (127.0.0.1) # Date: 2002/11/16 11:58:30 # Global parameters [global] workgroup = KRONOS netbios name = DUAR netbios aliases = DUAR server string = encrypt passwords = Yes update encrypted = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = Yes username map = /etc/samba/smbusers unix password sync = Yes admin log = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = @DomainAdmins domain guest group = @DomainGuests domain logons = Yes os level = 33 lm announce = Yes preferred master = Yes domain master = Yes dns proxy = No winbind use default domain = Yes alternate permissions = Yes valid users = root admin users = root printer admin = root printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No Yours Hopefully Steve Jackson -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] re: Samba PDC Problem (Account name security ID mapping blah blah blah)
Yes I know... you will all say... asked and answered but this is ridiculous... I still cannot add my win 2k wks to my Samba domain... I have created the machine account, and the root account in smbpasswd I have checked and they DO exist... I am running Samba 2.2.6-1, the build which many on these lists claim to fix this win2k problem but as of yet... no luck... here is my smb.conf if anyone can find a problem in it # Samba config file created using SWAT # from duar (127.0.0.1) # Date: 2002/11/16 11:58:30 # Global parameters [global] workgroup = KRONOS netbios name = DUAR netbios aliases = DUAR server string = encrypt passwords = Yes update encrypted = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = Yes username map = /etc/samba/smbusers unix password sync = Yes admin log = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = @DomainAdmins domain guest group = @DomainGuests domain logons = Yes os level = 33 lm announce = Yes preferred master = Yes domain master = Yes dns proxy = No winbind use default domain = Yes alternate permissions = Yes valid users = root admin users = root printer admin = root printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No Yours Hopefully Steve Jackson -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Dynamic updating DNS with win2K workstations
My office network has a RH 7.3 server running Bind 9, Samba, WINS for NetBIOS name resolution, ten+ Win2K workstations, and uses DHCP from the Linksys router to hand out IPs for the workstations. Is there any way to do dynamic DNS updates so that the workstations' IPs are tracked in DNS? Chris Mason [EMAIL PROTECTED] Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 Cell: 264 235 5670 http://www.anguillaguide.com/ The Anguilla Guide Talk to me in real time: Yahoo:netconcepts_anguilla US Fax and Voicemail: (815)301-9759 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Windows Domain Question
Hello Everyone, I know that this should probably be directed at a Samba-NT Domain mailing list, however all the links leading to such lists on the samba.org web-site are broken. Anyway, I am in the process of replacing a Windows NT 4.0 PDC with a Redhat Linux 7.3 Samba running machine. I have a little question regarding the machine accounts. There are a few Windows NT and Windows 2000 machines on the network, those machines also happen to have the same names as the normal users of those systems. (I didn't set up the network originally. I would have named them something else.) The issue is, would creating the machine accounts that have virtually the same name as the user accounts be an issue with Linux and Samba? The only difference between the user and machine accounts would be the inclusion of the $ after the machine name. Does anyone have experience with this? Regards, Robert Adkins IT Manager/Buyer IMPEL Industries, Inc. Office: 586-254-5800 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Dynamic updating DNS with win2K workstations
Chris Mason wrote: My office network has a RH 7.3 server running Bind 9, Samba, WINS for NetBIOS name resolution, ten+ Win2K workstations, and uses DHCP from the Linksys router to hand out IPs for the workstations. Is there any way to do dynamic DNS updates so that the workstations' IPs are tracked in DNS? Yes, ISC DHCP (http://www.isc.org/products/DHCP/) can do it. Chris Mason [EMAIL PROTECTED] Box 340, The Valley, Anguilla, British West Indies Tel: 264 497 5670 Fax: 264 497 8463 Cell: 264 235 5670 http://www.anguillaguide.com/ The Anguilla Guide Talk to me in real time: Yahoo:netconcepts_anguilla US Fax and Voicemail: (815)301-9759 -- 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] acute problem
dear sir/madam hello i am trying to run a samba server with linux 7.3 and win xp but loaded rpm of samba of linux 7.2 the thing is that i am able to see the workgroup in windows xp but the contents of it are invisible what could be the prob. the log file is showing following errors 1) smbd/connection.c:yield_connection(62) yield_connection:tdb_delete failed with error record does not exist 2) lib/access.c:check_access(320) denied connection from 10.10.10.10( ip of xp machine) the ip of my linux m/c is 10.10.10.12 can anyone help me?? looking for your quick response. with thanks bimal -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba and automount
I'm running Samba with automount to automatically mount CDs in a server. These CDs need to be changed periodically, so I wanted to use automount so that they could be changed by the users fairly easily. We use logon scripts to map the CDs to drive letters when users logon. Unfortunately, it seems that having a drive mapped is treated like the drive is being used, so as long as there is someone logged into the system, automount will not unmount the drive. The only way we can change the CDs is to have everyone log out, wait for the timeout (or unmount it manually), change the CDs and have everyone log back in. Does anyone have a better way (one that will work)? Trey Nolen -- 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 automount
On Sat, 16 Nov 2002, Trey Nolen wrote: I'm running Samba with automount to automatically mount CDs in a server. These CDs need to be changed periodically, so I wanted to use automount so that they could be changed by the users fairly easily. We use logon scripts to map the CDs to drive letters when users logon. Unfortunately, it seems that having a drive mapped is treated like the drive is being used, so as long as there is someone logged into the system, automount will not unmount the drive. The only way we can change the CDs is to have everyone log out, wait for the timeout (or unmount it manually), change the CDs and have everyone log back in. Does anyone have a better way (one that will work)? The only way I've found around this is to add deadtime = 1 to the [global] section of smb.conf. This drops connections after a minute. Then there's the automount timeout to add to this. The downside is that all connections to the server are broken, so users see red crosses against all their timed-out mapped drives when browsing. There's probably a performance hit in having to re-establish connections as well, so I put our automounted drives on a separate server. Tim Allen -- 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 automount
You mention putting it in the global section. Could deadtime be specified on each share, thereby only being specified for the drives that need it? Or will that not work for some reason? Trey Nolen The only way I've found around this is to add deadtime = 1 to the [global] section of smb.conf. This drops connections after a minute. Then there's the automount timeout to add to this. The downside is that all connections to the server are broken, so users see red crosses against all their timed-out mapped drives when browsing. There's probably a performance hit in having to re-establish connections as well, so I put our automounted drives on a separate server. Tim Allen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] upgraded to kernel 2.4.19 from 2.4.7, samba not found from windows,network ok
Hi, I have updated my old 2.4.7 kernel to 2.4.19 using the full download from kernel.org and installed samba-2.2.6 Using my old kernel i can access every share and everything works fine. Using my new kernel also everything works but samba,. i can telnet the system, ftp also works ok, but windows 2k tells me server not found if i try to acces the shares. i think, i forgot something to compile to my kernel, but what? i just want to access from my windows pc to the linux system. swat tells my smbd and nmbd ist running testparm /etc/smb.conf tells me no error Thank you in advance Please email me directly, because sometime i have a problem accessing newsgroups. [EMAIL PROTECTED] Axel Muehring /var/log/log.smb with new kernel this does not work smbd version 2.0.7 started. Copyright Andrew Tridgell 1992-1998 [2002/11/16 17:35:38, 1] smbd/files.c:file_init(216) file_init: Information only: requested 1 open files, 1014 are available. [2002/11/16 17:35:56, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:35:56, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:35:56, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:35:56, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:36:17, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:36:17, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:36:17, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:36:17, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:36:31, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:36:31, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:36:31, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:36:31, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:36:41, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:36:41, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:36:41, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:36:41, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:37:05, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:37:05, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:37:05, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:37:05, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:38:59, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:38:59, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:38:59, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:38:59, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes with old kernel this log works [2002/11/16 17:03:02, 1] smbd/server.c:main(641) smbd version 2.0.7 started. Copyright Andrew Tridgell 1992-1998 [2002/11/16 17:03:02, 0] printing/pcap.c:pcap_printer_fn(366) Unable to open printcap file /etc/printcap for read! [2002/11/16 17:03:03, 1] smbd/files.c:file_init(216) file_init: Information only: requested 1 open files, 1014 are available. [2002/11/16 17:04:24, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:04:24, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:04:24, 0] locking/shmem_sysv.c:sysv_shm_open(566) Can't create or use semaphore [1]. Error was Function not implemented [2002/11/16 17:04:24, 0] locking/locking.c:locking_init(174) ERROR: Failed to initialise share modes [2002/11/16 17:11:18, 1] smbd/server.c:main(641) smbd version 2.0.7 started. Copyright Andrew Tridgell 1992-1998 [2002/11/16 17:11:18, 0] printing/pcap.c:pcap_printer_fn(366) Unable to open printcap file /etc/printcap for read! [2002/11/16 17:11:18, 1] smbd/files.c:file_init(216) file_init: Information
Re: [Samba] samba and automount
Hi, I'm running Samba with automount to automatically mount CDs in a server. These CDs need to be changed periodically, so I wanted to use automount so that they could be changed by the users fairly easily. We use logon scripts to map the CDs to drive letters when users logon. Unfortunately, it seems that having a drive mapped is treated like the drive is being used, so as long as there is someone logged into the system, automount will not unmount the drive. The only way we can change the CDs is to have everyone log out, wait for the timeout (or unmount it manually), change the CDs and have everyone log back in. Does anyone have a better way (one that will work)? Don't use the automounter. Instead write a small shell (or perl) skript that mounts and unmounts the cds (and kills everything that would prevent you from unmounting). When it works, make it suid root. Christopher -- 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 automount
On Sat, 2002-11-16 at 11:10, Trey Nolen wrote: I'm running Samba with automount to automatically mount CDs in a server. These CDs need to be changed periodically, so I wanted to use automount so that they could be changed by the users fairly easily. We use logon scripts to map the CDs to drive letters when users logon. Unfortunately, it seems that having a drive mapped is treated like the drive is being used, so as long as there is someone logged into the system, automount will not unmount the drive. The only way we can change the CDs is to have everyone log out, wait for the timeout (or unmount it manually), change the CDs and have everyone log back in. Does anyone have a better way (one that will work)? Trey Nolen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba read up on the root pre-exec and post-exec commands. When someone access a share that points to a cd-rom drive, pre-exec can mount it (actually it can run anything you want), and when they leave the share, it can un-mount it. In other words, you can have it mounted only while someone is actively accessing it. Good Luck, Christopher -- 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 automount
On Sat, 16 Nov 2002, Trey Nolen wrote: You mention putting it in the global section. Could deadtime be specified on each share, thereby only being specified for the drives that need it? Or will that not work for some reason? Unfortunately not. It's a global parameter. Tim Allen The only way I've found around this is to add deadtime = 1 to the [global] section of smb.conf. This drops connections after a minute. Then there's the automount timeout to add to this. The downside is that all connections to the server are broken, so users see red crosses against all their timed-out mapped drives when browsing. There's probably a performance hit in having to re-establish connections as well, so I put our automounted drives on a separate server. Tim Allen -- 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 automount
I'm running Samba with automount to automatically mount CDs in a server. These CDs need to be changed periodically, so I wanted to use automount so that they could be changed by the users fairly easily. We use logon scripts to map the CDs to drive letters when users logon. Unfortunately, it seems that having a drive mapped is treated like the drive is being used, so as long as there is someone logged into the system, automount will not unmount the drive. The only way we can change the CDs is to have everyone log out, wait for the timeout (or unmount it manually), change the CDs and have everyone log back in. Does anyone have a better way (one that will work)? Don't use the automounter. Instead write a small shell (or perl) skript that mounts and unmounts the cds (and kills everything that would prevent you from unmounting). When it works, make it suid root. The problem with that is that it is Samba that keeps me from unmounting. See, while the drives are mapped, Samba is keeping the mounts busy. I can't write a script that goes around killing Samba. That would be bad. Trey Nolen -- 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 automount
Yes, I've used those, and unfortunately, they don't work well either. The post-exec doesn't execute while the drive is mapped. I was trying automount as an alternative. Automount actually seems to work better, but not well. Trey Nolen read up on the root pre-exec and post-exec commands. When someone access a share that points to a cd-rom drive, pre-exec can mount it (actually it can run anything you want), and when they leave the share, it can un-mount it. In other words, you can have it mounted only while someone is actively accessing it. Good Luck, Christopher -- 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 automount
On Sat, 2002-11-16 at 13:08, Trey Nolen wrote: I'm running Samba with automount to automatically mount CDs in a server. These CDs need to be changed periodically, so I wanted to use automount so that they could be changed by the users fairly easily. We use logon scripts to map the CDs to drive letters when users logon. Unfortunately, it seems that having a drive mapped is treated like the drive is being used, so as long as there is someone logged into the system, automount will not unmount the drive. The only way we can change the CDs is to have everyone log out, wait for the timeout (or unmount it manually), change the CDs and have everyone log back in. Does anyone have a better way (one that will work)? Don't use the automounter. Instead write a small shell (or perl) skript that mounts and unmounts the cds (and kills everything that would prevent you from unmounting). When it works, make it suid root. The problem with that is that it is Samba that keeps me from unmounting. See, while the drives are mapped, Samba is keeping the mounts busy. I can't write a script that goes around killing Samba. That would be bad. Trey Nolen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba You have 2 options as I see it: 1. EASY: don't map the share! 2. HARDER: Compile samba --with-msdfs, drive-map the *root* of the msdfs tree, and make the cd-rom share a 'hidden share' folder under the root. The name of the msdfs symlink will appear as the share name to your users. That way, even though the drive is mapped to the root, pre/post-exec will still work when someone actually clicks on the folder under the root. Read up on msdfs use in samba. It's not easy at first, but once you learn it, you'll wonder how you ever got along without it. Good Luck, Christopher -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Intermittent problem with samba win2k
I'm new to linux samba having just started using each within the last month or so. I have a small LAN at home consisting of 2 win2k machines and a samba file server (2.2.6) on a SuSE 7.3 box. I'm seeing intermittent problems accessing a samba share from each of the two win2k machines and would appreciate any help in solving this. What I see is problems creating a new file or opening an excel file on the server. There seems to be no problems at all in opening read only files. A typical error in creating a file through explorer on a win2k machine is 'fileName' cannot be accessed. The file may be read only, or you may be trying to access a read-only location. Or the server the document is stored on may not be responding the error I see in opening an excel file reads 'fileName' cannot be accessed. The file may be read only, or you may be trying to access a read-only location. Or the server the document is stored on may not be responding. This seems to happen randomly from either win2k machine and the problem will sometimes disappear and at other times require smb to be restarted to see a resolution. I have 2 trace files available logging this behaviour however I don't understand what they are showing. The first (level 3) is here http://www.upsilon.org.uk/temp/log.smbd shows a user opening excel file 'BOR - Donegall Road Timetable.xls' being presented with the 'cancel/retry' message selecting retry a number of times. The second (level 6) is here http://www.upsilon.org.uk/temp/log.smbd.gz and shows a user attempting to open excel file 'ITT Financial Statement (version1)(version 1).xls' being presented with the same 'cancel/retry' message and selecting retry one time. It was suggested that this may be being caused by DNS issues - initially I had no DNS server running on the LAN. In an attempt to remedy the problem (unsuccessful), I set up a DNS server. Thus the first trace file is for the LAN without DNS (though with hosts/lmhosts configured correctly - I hope), the second is for the LAN with a DNS server. Additionally, the when the first trace was taken the win2k boxes were running SP2, for the second they have been transitioned to SP3. I've been trying to get to the bottom of this for a few weeks now would appreciated any help at all. My smb.conf files is as follows: [global] workgroup = WEELAN netbios name = MINI server string = encrypt passwords = Yes username map = /etc/samba/users.map syslog = 0 unix extensions = Yes socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS os level = 2 printing = cups veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 [documents] path = /home/samba/documents read only = No force create mode = 0770 -- Dave Cunningham PGP Key http://www.upsilon.org.uk/dc.asc -- 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 automount
On 16 Nov 2002, Christopher Barry wrote: On Sat, 2002-11-16 at 13:49, Trey Nolen wrote: You have 2 options as I see it: 1. EASY: don't map the share! That would work (has worked for some) but this software REQUIRES a mapped drive. :-( 2. HARDER: Compile samba --with-msdfs, drive-map the *root* of the msdfs tree, and make the cd-rom share a 'hidden share' folder under the root. The name of the msdfs symlink will appear as the share name to your users. That way, even though the drive is mapped to the root, pre/post-exec will still work when someone actually clicks on the folder under the root. Read up on msdfs use in samba. It's not easy at first, but once you learn it, you'll wonder how you ever got along without it. When you say hidden share, do you mean as in share$? What is the significance of making it hidden? Cheers Tim Allen -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba domain controller problem....
I don't mean to nag... but I must get this problem fixed soon. and it seems to be a common one on these mailing lists... I cannot add my Win2K Sp3 machine to my samba PDC... i receive the error message No mapping between account names and securityids was done I have created the machine account... the machine account and root are added in smbpasswd I have checked and they DO exist... I am running Samba 2.2.6-1, the build which many on these lists claim to fix this win2k problem but as of yet... no luck... here is my smb.conf if anyone can find a problem in it # Samba config file created using SWAT # from duar (127.0.0.1) # Date: 2002/11/16 11:58:30 # Global parameters [global] workgroup = KRONOS netbios name = DUAR netbios aliases = DUAR server string = encrypt passwords = Yes update encrypted = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* passwd chat debug = Yes username map = /etc/samba/smbusers unix password sync = Yes admin log = Yes log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 domain admin group = @DomainAdmins domain guest group = @DomainGuests domain logons = Yes os level = 33 lm announce = Yes preferred master = Yes domain master = Yes dns proxy = No winbind use default domain = Yes alternate permissions = Yes valid users = root admin users = root printer admin = root printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No Yours Hopefully Steve Jackson -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Intermittent problem with samba win2k
On Sat, 2002-11-16 at 15:07, dave cunningham wrote: I'm new to linux samba having just started using each within the last month or so. I have a small LAN at home consisting of 2 win2k machines and a samba file server (2.2.6) on a SuSE 7.3 box. I'm seeing intermittent problems accessing a samba share from each of the two win2k machines and would appreciate any help in solving this. What I see is problems creating a new file or opening an excel file on the server. There seems to be no problems at all in opening read only files. A typical error in creating a file through explorer on a win2k machine is 'fileName' cannot be accessed. The file may be read only, or you may be trying to access a read-only location. Or the server the document is stored on may not be responding the error I see in opening an excel file reads 'fileName' cannot be accessed. The file may be read only, or you may be trying to access a read-only location. Or the server the document is stored on may not be responding. This seems to happen randomly from either win2k machine and the problem will sometimes disappear and at other times require smb to be restarted to see a resolution. I have 2 trace files available logging this behaviour however I don't understand what they are showing. The first (level 3) is here http://www.upsilon.org.uk/temp/log.smbd shows a user opening excel file 'BOR - Donegall Road Timetable.xls' being presented with the 'cancel/retry' message selecting retry a number of times. The second (level 6) is here http://www.upsilon.org.uk/temp/log.smbd.gz and shows a user attempting to open excel file 'ITT Financial Statement (version1)(version 1).xls' being presented with the same 'cancel/retry' message and selecting retry one time. It was suggested that this may be being caused by DNS issues - initially I had no DNS server running on the LAN. In an attempt to remedy the problem (unsuccessful), I set up a DNS server. Thus the first trace file is for the LAN without DNS (though with hosts/lmhosts configured correctly - I hope), the second is for the LAN with a DNS server. Additionally, the when the first trace was taken the win2k boxes were running SP2, for the second they have been transitioned to SP3. I've been trying to get to the bottom of this for a few weeks now would appreciated any help at all. My smb.conf files is as follows: [global] workgroup = WEELAN netbios name = MINI server string = encrypt passwords = Yes username map = /etc/samba/users.map syslog = 0 unix extensions = Yes socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY printcap name = CUPS os level = 2 printing = cups veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 [documents] path = /home/samba/documents read only = No force create mode = 0770 -- Dave Cunningham PGP Key http://www.upsilon.org.uk/dc.asc -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba set your log file to logdir/%U_on_%m_from_%m.log, and see if you're getting oplock errors in that log. Christopher -- 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 automount
On Sat, 2002-11-16 at 15:49, Tim Allen wrote: On 16 Nov 2002, Christopher Barry wrote: On Sat, 2002-11-16 at 13:49, Trey Nolen wrote: You have 2 options as I see it: 1. EASY: don't map the share! That would work (has worked for some) but this software REQUIRES a mapped drive. :-( 2. HARDER: Compile samba --with-msdfs, drive-map the *root* of the msdfs tree, and make the cd-rom share a 'hidden share' folder under the root. The name of the msdfs symlink will appear as the share name to your users. That way, even though the drive is mapped to the root, pre/post-exec will still work when someone actually clicks on the folder under the root. Read up on msdfs use in samba. It's not easy at first, but once you learn it, you'll wonder how you ever got along without it. When you say hidden share, do you mean as in share$? What is the significance of making it hidden? Cheers Tim Allen It's not essential, it just avoids confusion from the user perspective. When they browse the server - as opposed to using the mapped drive, they would see the msdfs root, and the share at the same level under the server. Then when they opened the madfs root share, there would be a folder that pointed back to the share that was directly under the server. like so: [server] |_msdfsroot | |_msdfs-link pointing to cdrom share |_cdrom share If you just make all of the shares that are accessed by an msdfs root on the same box hidden, in this case cdrom share it's just a lot cleaner. Now browsing the server looks like so: [server] |_msdfsroot |_msdfs-link pointing to cdrom share$ Obviously, if cdrom share lived on a box different from that which hosted the root, this would not be necessary, unless you only wanted people to access that data through the root - and you might - so you could log it in one place for instance. msdfs is a great way to abstrct the location of the data so you can move stuff around behind the scenes, to take advantage of a new server for instance, and your users do not have to change a thing. Also, you can organize multiple shares from multiple servers under a *single* drive mapping - VERY cool. Christopher -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] file locks problem??
I suggest you get the latest samba version. I've been having similar problems with older versions, wich I solved disabling kernel oplocks: kernel oplocks = no If that doesn't solve your problem, try also level2 oplocks = no oplocks = no (note that this will reduce the performance since clients will no longer be able to cache files, so I suggest you get a newer samba/kernel) Boogerman - Original Message - From: Francesco Samba/ML [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 16, 2002 8:23 AM Subject: [Samba] file locks problem?? Hello, i am running Samba 2.2.3a on a Red Hat Linux 7.3 box with kernel 2.4.18-10. I am experiencing some problems on a particular samba share, which is accessed by 10 Windows 98SE clients working on a COBOL production packet by mapping with a G: letters this samba folder. Well, some times a day it happens that this packed blocks because some files on that samba folder remains locked; i also cannot browse this network drive because, when arriving to these locked files, windows explorer crash. By viewing samba logs i see that, i think!, the problem could be perhaps in a oplocks problem? [2002/11/16 11:15:45, 0] smbd/open.c:open_mode_check(551) open_mode_check: exlusive oplock left by process 20445 after break ! For file PROSYST/73002/73002DAT/SISTEMA, dev = 805, inode = 2588750. Deleting it to continue... [2002/11/16 11:15:45, 0] smbd/open.c:open_mode_check(555) open_mode_check: Existent process 20445 left active oplock. [2002/11/16 11:15:45, 0] tdb/tdbutil.c:tdb_log(475) tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 54 ltype=0 (Interrupted system call) [2002/11/16 11:22:09, 0] smbd/oplock.c:request_oplock_break(981) request_oplock_break: no response received to oplock break request to pid 20445 on port 32964 for dev = 805, inode = 3326030, file_id = 95 [2002/11/16 11:22:09, 0] smbd/open.c:open_mode_check(551) open_mode_check: exlusive oplock left by process 20445 after break ! For file PROSYST/PRO02/SYSMENU.LOG, dev = 805, inode = 3326030. Deleting it to continue... [2002/11/16 11:22:09, 0] smbd/open.c:open_mode_check(555) open_mode_check: Existent process 20445 left active oplock. [2002/11/16 11:22:09, 0] smbd/oplock.c:oplock_break(758) oplock_break: receive_smb error (Success) oplock_break failed for file PROSYST/PRO02/SYSMENU.LOG (dev = 805, inode = 3326030, file_id = 95). [2002/11/16 11:22:09, 0] smbd/oplock.c:oplock_break(843) oplock_break: client failure in break - shutting down this smbd. [2002/11/16 11:22:09, 0] tdb/tdbutil.c:tdb_log(475) tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 24 ltype=1 (Resource deadlock avoided) [2002/11/16 11:22:09, 0] tdb/tdbutil.c:tdb_log(475) tdb(/var/cache/samba/locking.tdb): tdb_lock failed on list 24 ltype=0 (Resource deadlock avoided) [2002/11/16 11:22:51, 0] smbd/oplock.c:request_oplock_break(981) request_oplock_break: no response received to oplock break request to pid 19083 on port 32927 for dev = 805, inode = 507948, file_id = 1856 [2002/11/16 11:22:51, 0] smbd/open.c:open_mode_check(551) open_mode_check: exlusive oplock left by process 19083 after break ! For file PROSYST/ISE02/ISE02DAT/NETUSER, dev = 805, inode = 507948. Deleting it to continue... [2002/11/16 11:22:51, 0] smbd/open.c:open_mode_check(555) open_mode_check: Existent process 19083 left active oplock. [2002/11/16 11:23:14, 0] smbd/oplock_linux.c:linux_oplock_receive_message(135) Invalid file descriptor 23 in kernel oplock break! The only way to repair this problem is restarting the SMB daemon. Could you please help me in order to solve this problem? Thank you again, best regards! Francesco Collini -- 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] bind failed on port 139 socket_addr = 0.0.0.0.
I get this error in my log file: bind failed on port 139 socket_addr = 0.0.0.0. What are common causes this error message? How to fix it? This error seems to appear rather frequently in the mailing list. I tried following the discussions, but nothing seemed to work for me. Could this problem be related to password encryption? My WinMe client cannot browse samba server. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Windows Domain Question
On Sun, 2002-11-17 at 01:14, Robert Adkins wrote: Hello Everyone, I know that this should probably be directed at a Samba-NT Domain mailing list, however all the links leading to such lists on the samba.org web-site are broken. That list is closed. This is the correct list for such questions. Anyway, I am in the process of replacing a Windows NT 4.0 PDC with a Redhat Linux 7.3 Samba running machine. I have a little question regarding the machine accounts. There are a few Windows NT and Windows 2000 machines on the network, those machines also happen to have the same names as the normal users of those systems. (I didn't set up the network originally. I would have named them something else.) The issue is, would creating the machine accounts that have virtually the same name as the user accounts be an issue with Linux and Samba? The only difference between the user and machine accounts would be the inclusion of the $ after the machine name. For the pure NT domain stuff, this should not be an issue - the $ termination is all that is needed. There might be some Netbios issues, but these would be exactly the same as you have now (with an NT DC). 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
[Samba] winbind still asks for password
I am trying to setup a FreeBSD 4.7 Samba 2.2.6 server for W2K clients using winbind. Everything appears to be working but when I try to connect to the samba share, I am prompted for a password and no valid password will allow me to connect. I configured samba using --with-winbind and --with-winbind-auth-challenge, and followed Unified logons bewteen NT and Unix using winbind. Joined the samba server to my NT domain successfully. wbinfo -t returns Secret is good wbinfo -u returns a list of all my domain users wbinfo -g returns a list of all domain groups wbinfo -a mydomain+myuser%mypassword returns success for both plaintext and challenge/response Do I need to use PAM if I am only trying to access a samba share and all of the above work? If I need to use PAM what config files do I create in the pam.d folder? smbd.conf, or samba.conf etc. Thanks in advance. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] filename problem
On Fri, 2002-11-15 at 22:58, Mirek Hankus wrote: I got problem with filenames. Some info on my configuration Samba 2.2.6 client code page=852 character set=ISO8859-2 When serving files with character, example: user on server (H).lnk (standard link to home drive). Windows 2000 sees something like user~x% It is even worse when such file is located in user profile, which makes it impossible to save user profile to samba server. Coping is possible only from windows to samba (filename is preserved) but coping back fails besause windows see different filename. Yes, we have some problems in this area - because of our use of DOS codepages in Samba 3.0, this kind of thing happens. I'm told that if you don't specify any codepage settings at all, then it shouldn't munge the path, but I'm not sure. I would try again with Samba 3.0 (currently in alpha), with the default settings. In that case we *should* be correctly translating unicode-on-the-wire to utf8 on the disk, and avoid some of these problems. (Existing files may still be 'broken', but new files will be created in utf8). 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
Re: [Samba] winbind still asks for password
On Sun, 2002-11-17 at 09:50, Brent Ross (Edm) wrote: I am trying to setup a FreeBSD 4.7 Samba 2.2.6 server for W2K clients using winbind. Everything appears to be working but when I try to connect to the samba share, I am prompted for a password and no valid password will allow me to connect. I configured samba using --with-winbind and --with-winbind-auth-challenge, and followed Unified logons bewteen NT and Unix using winbind. Joined the samba server to my NT domain successfully. --with-winbind-auth-challege presents a (small) security risk to your domain, only specify it if you need the functionality for something like Squid. wbinfo -t returns Secret is good wbinfo -u returns a list of all my domain users wbinfo -g returns a list of all domain groups wbinfo -a mydomain+myuser%mypassword returns success for both plaintext and challenge/response Do I need to use PAM if I am only trying to access a samba share and all of the above work? No. -- 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
Re: [Samba] bind failed on port 139 socket_addr = 0.0.0.0.
On Sat, Nov 16, 2002 at 01:54:20PM -0800, Debian User wrote: Could this problem be related to password encryption? My WinMe client cannot browse samba server. okay - got it working. But I must admit my problem solving was rather non-linear... by that I mean that I just experimented and entered \\192.169.0.1 on the winMe client's browser - and sure enough - everything came up. So.. I edited the c:\windows\lmhost file to include the server's IP address and name and now everything is back to normal. I noticed that my logfiles still give the same 'bind' error problem as well as: [2002/11/16 15:53:16, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1367) unable to open passdb database. despite these error messages - things seem to be working okay... but just for how long - I don't know. ... Afterall - everything was working well (without the edited LMhost file) previously then - poof - my samba connectivity turned to crap. So now things are working - but I can't help but feel like I'm walking on eggshells since I've been burned once already... anyone else have this problem with Debian-Samba box? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Master browser problems (I've RTFM;)
Hi, I've been having problems having my samba server configured to be the master browser of my network. I've used in smb.conf the flags: preferred master = True local master = Yes domain master = True and even: os level = 255 And still, as soon as I turn on my windows XP pro, it looses it's title as the master browser! I don't know what else I can try! Did I go over some part of the manual? :/ Hope not... Thanks, -- Paladin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ÄúÓвúÆ·ÐèÐû´«Âð?ÎÒÃÇ¿ÉÒÔΪÄúÌṩÂúÒâµÄ·þÎñ!
Title: ¹ã¸æÓʼþ ¸óÏ£ºÄúºÃ£¡ ¡¡Ê×ÏÈ,ÕâÊÇÒ»·â¹ã¸æÓʼþ£¬Èç²»ÐèÕâЩ·þÎñ£¬ÄÇÎÒÒ»¶¨ÊÇ´òÈÅÄúÁË£¬Éî±íǸÒ⣡ÇëËæÊÖɾ³ýÖ®£¬Ð»Ð»£¡ ¶Ô±È µçÊÓ ±¨Ö½£¨10Íò·¢ÐÐÁ¿£© ÆÕͨÐżþ£¨10Íò·â£© µç×ÓÓʼþ£¨10Íò·â£© ¼Û¸ñ 20ÍòÔªÆð 3ÍòÔª 10ÍòÔª ½ö½ö150Ôª Ч¹û Ò»ÉÁ¼´ÊÅ î©Ò»ÑÛ ÈÓµô ±ØÐë¿´Íê 1.Óʼþ¼«ËÙȺ·¢Æ÷(×¢²áÕýʽ°æ)¼Û¸ñ£º650Ôª¡¡¿ÉÃâ·ÑÏÂÔØÊÔÓãºÇëµã»÷ÏÂÔØ(ÂÌÉ«Èí¼þÎÞÐë°²×°) 2.ÓÊַȺ¼Û¸ñ£º ÑùÆ·ÏÂÔØ *¹ºÂòÐÐÒµ¶¨ÏòÓʼþµØÖ·£ºÃ¿ÖÖÐÐÒµ 150Ôª/10Íò £¨¹ºÂòÈ«²¿1500Íò/1800Ôª£© *¹ã¸æÓʼþ´úÀí·¢ËÍ£ºÃ¿10Íò/150Ôª 30ÍòÆð·¢ ¡¡£¨×¼È·ÂÊ90%ÒÔÉÏ£© 3.¹ºÂò·½Ê½£º¿îµ½ºóÁ¢¼´ÌṩÈí¼þ×¢²á·þÎñºÍÓÊַȺµÄÅäËÍ. ¡¡ÁªÏµµç»°£º0755-26383669 ÑîÉú ¿ª»§ÐУºÕÐÉÌÒøÐÐÉîÛÚ½ð·á³ÇÖ§ÐÐ ÕÊ¡¡ºÅ£º0755-89599616 »§¡¡Ãû£ºÑî¸ëε ×îÐÂÈ«¹úe-mailµØÖ·ÔÚ¸÷ÐÐÒµµÄ·Ö²¼ÊýÁ¿ µçÄÔ¡¢Åä¼þ¡¢Èí¼þ¡¢ÍâÉè¡¢itÒµ..716792 ·¿µØ²ú¡¢½¨Öþ¡¢½¨²Ä¡¢Ä¾²Ä¡¢Ê©¹¤¡¢°²×° .299419 ÌåÓýÓÃÆ·¡¢Æ÷²Ä ...199806 ÐÂÎÅ»ú¹¹ .463513 °ì¹«ÓÃÆ·¡¢×Ô¶¯»¯É豸¡¢ÎÄ½Ì ...435906 °ü×°¡¢ÔìÖ½¡¢Ó¡Ë¢¡¢³ö°æ¡¢·¢ÐÐ .317566 ¹¤ÒÕÃÀÊõ¡¢ÀñÆ· ...326832 ¼Ò¾ÓÓÃÆ· .390152 Öн顢ÐÅÏ¢¡¢×Éѯ .590539 ½»Í¨¹¤¾ß¼°Åä¼þ¡¢½»Í¨ÔËÊ䣨º½¿Õ¡¢³µ¡¢´¬¼°ÔËÓª£© ..290346 Á¸ÓÍʳƷ¡¢ÑÌ¾Æ ...499032 »úе¡¢»úÆ÷ÖÆÔì¡¢»úµçÉ豸¡¢¹¤ÒµÉ豸 ..616985 Å©Òµ£¨ÍÁÐó²ú¡¢Å©¡¢ÁÖ¡¢ÄÁ¡¢Ó棩 ..471812 »¯¹¤¡¢Ê¯ÓÍ¡¢ËÜÁÏ¡¢Ï𽺠...372006 ÄÜÔ´£¨Ë®¡¢µç¡¢ÃºÆø¡¢È¼ÁÏ¡¢ÈÈÁ¦£© ..708879 ²£Á§¡¢ÌÕ´É¡¢ÈÕÓÃÔÓÆ·¡¢³ø·¿ÓÃ¾ß ..335712 Ò½Ò©¡¢Ò½ÁÆ¡¢Ò½ÁÆÆ÷е .326639 ÇṤ²úÆ·¡¢ÈÕÓðٻõ£¨ÉÌÏᢹºÎïÖÐÐÄ¡¢Á¬Ëøµê¡¢Åú·¢Êг¡£© ..608686 ·þ×°¡¢Ê×ÊΡ¢Ð¬Ã±¡¢Ïä°ü ...362932 Ò±½ð¿ó²ú .363126 ·Ä֯ӡȾ¡¢Æ¤¸ï¡¢Æ¤Ã« .344786 Ïû·À¡¢±£°²¡¢»·±£Æ÷²Ä .313513 Îå½ð¡¢¹¤¾ß¡¢½»µç .590346 ²ÆÎñ¡¢»á¼Æ¡¢Éó¼Æ¡¢ÂÉʦÊÂÎñËù¡¢¹«Ö¤¡¢×¨Àû ..620733 ¼ÒÓõçÆ÷..563126 ½ðÈÚ£¨ÒøÐС¢±£ÏÕ¡¢Ö¤È¯¡¢¹ÉÊС¢ÆÚ»õ¡¢ÐÅÍС¢Í¶×Ê¡¢×âÁÞ¡¢ÐÅÓÃÉ磩 ..108879 Ó°ÊÓ¡¢ÉùÏñ¡¢ÉãÓ° .712586 ¾Æµê¡¢±ö¹Ý¡¢·¹µê¡¢Âùݡ¢ÕдýËù¡¢²ÍÌü¡¢¾Æ¼Ò¡¢·¹¹Ý¡¢¿ì²Í ..517179 Óʵ硢ͨѶ²úÆ· ...754246 ÉÌÒµ·þÎñÒµ ...771232 Áí:½¨ÍøÕ¾880Ԫȫ°üÆð(Ò»¸ö¹ú¼ÊÓòÃû,100MÍøÕ¾¿Õ¼ä,4Ò³ÍøÒ³,ÆóÒµµç×ÓÓʾÖ50M), ÏêÇéÇëµç:0755-26383669 ÁªÏµÈË:ÑîÉú ¡¾×¢Òâ¡¿ÉÏÃæµÄÓʼþÄÚÈÝ
[Samba] Keep getting access denied when trying to connect to Samba server...
Here is my rudimentary /etc/smb.conf... [global] workgroup = MYGROUP [homes] guest ok = no read only = no When I try to find and connect to this Linux Samba machine from Windows it can find it but it says I don't have access permission. I tried both of these... \\hostname\homes \\hostname\login Where login = name of account on Windows client and Linux Samba server. I *always* get access denied messages. Sincerely, Chris -- ___ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2363 49590 Lassing Road, Room A339 San Diego, CA 92152-6147 U.S.A. Phone: (619) 553-7940 Fax: (619) 553-1269 Email: [EMAIL PROTECTED] ___ - End forwarded message - -- ___ Dr. Christian Seberino SPAWAR Systems Center San Diego Code 2363 49590 Lassing Road, Room A339 San Diego, CA 92152-6147 U.S.A. Phone: (619) 553-7940 Fax: (619) 553-1269 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] Master browser problems (I've RTFM;)
On Sun, 17 Nov 2002 04:10:44 + (GMT) John H Terpstra [EMAIL PROTECTED] wrote: Please explain what the real problem is. This sounds like an interpretation, and at that one that might not be the whole story. - John Oh, sorry! :/ My network consists of three computers: a linux server (running samba in the conditions i mentioned in the previous mail), a linux workstation and a windows XP pro workstation. The problem is that when I'm browsing my network neighborhood in windows I can't see the linux server. In the linux workstation it's the same problem. The best I can do is browse the linux workstation through windows. When using smbclient on the samba server, the server's name appears in the server and master sections. In the linux client the client's name appears only in the server sections and the master is empty. On windows all three names appear in the server section and the window's name appears as master. (That's why I guessed the master browser problem! ;) Sometimes the linux client shows windows as master though. And running win98 in vmware through the linux client I can browse the linux server but not the other two computers. I hope I've explained myself better this time. Thanks again, -- Paladin -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] WINBIND configuration and NT Authentication
Setup: Suse 7.2, Samba 2.2.6 Win 2K PDC Project: I would like to use winbind to authenticate users that do not have local accounts on the linux machine for access to various file and print shares. I have gotten winbind to successfully grab the user and groups from the NT box (verified by getent passwd). However, I have had little luck obtaining the permission based file share that I would like. Questions: 1. Do users accessing the share need local accounts? a. if so, is there a way to export users from win2k into linux? 2. Can you use NT groups in the smb.conf file to control access? 3. The documentation on winbind http://us2.samba.org/samba/docs/man/winbindd.8.html almost makes it sound as if it may be possible to authenticate NT users and grant them login rights (actual session login rights, not samba shares) to the linux machine. Is this true? If so is there additional configuration to achieve this assuming quesiton 1 has been answered and setup properly? 4. Does anyone know of further online winbind documentation? Thanks in advance... Chris McKeever -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: help
Simply remove the samba packages, via rpmdrake On Fri, 08 Nov 2002 12:34:51 +0100 esteve maruri [EMAIL PROTECTED] wrote: Hello, i would like to know how to uninstall samba from my system. can you help me? we are working on mandrake 7.02 and samba 2.0.6. Thanks a lot! esteve _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
Re: Cannot get net ads join to work under Solaris 8
Andrew Bartlett wrote: Actually, we got confused - the function that Samba replaced, which I suspected could be a problem is 'timegm'. Either way, there is a but in there somewhere, as it doesn't work for a non-GMT timezone. Ok, timegm is obsoleted in the standard, but it's still supported on lots of systems, specifically including anything with the Gnu libc, but not in Solaris or the Apple BSD. It's the inverse of gmtime, defined as time_t timegm(struct tm *tm); and is perfectly useful in some specific cases, where one wants to turn a struct tm back into a time_t. The usual inverse is time_t mktime(struct tm *timeptr); (see http://www.opengroup.org/onlinepubs/007908799/xsh/mktime.html) and it looks like there is enough functionality to implement timegm. Older man pages disagree, but standards folks don't get to frivolously remove things we still need. If they were to try, my Evil Twin, David J. Brown, would spank them (:-)) --- The POSIX man page says: The original values of the tm_wday and tm_yday components of the structure are ignored, and the original values of the other components are not restricted to the ranges described in the time.h entry. A positive or 0 value for tm_isdst causes mktime() to presume initially that Daylight Savings Time, respectively, is or is not in effect for the specified time. A negative value for tm_isdst causes mktime() to attempt to determine whether Daylight Saving Time is in effect for the specified time. Local timezone information is set as though mktime() called tzset(). --- and the older man pages say: The functions mktime() and timegm() convert the broken-down time in the structure pointed to by tm into a time value with the same encoding as that of the values returned by the time(3) function (that is, seconds from the Epoch, UTC). mktime() interprets the input structure according to the current timezone setting (see tzset(3)). timegm() interprets the input structure as representing Universal Coordinated Time (UTC). --- The workaround is to set the time zone, as you did, but I suspect there's a better one: probably something like if ((x = mktime(timeptr) != -1)) x -= altzone; I'll ask My Smarter Colleagues[tm]. --dave -- David Collier-Brown, | Always do right. This will gratify Sun Microsystems DCMO | some people and astonish the rest. Toronto, Ontario | (905) 415-2849 or x52849 | [EMAIL PROTECTED]
Re: NULL sessions - Listing shares anonymously - restrict anonymous
Yannick Mercier wrote: : Unfortunately, Ill have to back out to samba 2.2 because I'm using this samba server as a PDC also, and when I logon with my WinXP workstation, the PC reboots during Loading desktop settings I guess its a bug in the alpha version of samba If the XP system reboots then there's a bug in XP. The fact that the alpha version of Samba excersizes the XP bug is something we will want to fix, but XP shouldn't be rebooting on error. Chris -)- -- Samba Team -- http://www.samba.org/ -)- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/-)- [EMAIL PROTECTED]
Re: uuid_to_string() conflict
On Sat, Nov 16, 2002 at 11:34:15AM +1100, Luke Howard wrote: The uuid_to_string() function breaks including the OSF DCE headers in Samba (which we need for our DCE funnel) as there is a similarly named function in DCE. Any chance you could either use the same signature as the OSF DCE runtime or rename it to guid_to_string()? Renaming it to guid_to_string seems the easiest and most useful. I've done it in HEAD and 3.0. Tim.
RE: Cannot get net ads join to work under Solaris 8
Following on from this in the replacement for timegm within /lib/replace.c Solaris returns the TIMEZONE (in our case) as Australia/Victoria. This is done during installation. I expect that SAMBA is looking for some variant of GMT or UTC not Australia/Victoria. As a very simple workaround I simply changed the putenv call to force TZ=GMT and all works happily. time_t timegm(struct tm *tm) { time_t ret; char *tz; char *tzvar; tz = getenv(TZ); /*putenv(TZ=); putenv(TZ=GMT); tzset(); ret = mktime(tm); Clive Elsum - Clive Elsum BAppSc, RHCE Systems Engineer - Information Technology Group CSIRO Atmospheric Research PMB 1, Aspendale, Victoria, Australia 3195 Phone : (+61 3) 9239 4509 Fax:(+61 3) 9239 E-mail [EMAIL PROTECTED] - -Original Message- From: Andrew Bartlett [mailto:[EMAIL PROTECTED]] Sent: Saturday, 16 November 2002 7:18 AM To: David Collier-Brown -- Customer Engineering Cc: Andrew Bartlett; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Cannot get net ads join to work under Solaris 8 On Sat, 2002-11-16 at 06:09, David Collier-Brown -- Customer Engineering wrote: Andrew Bartlett wrote: Well, it just means that we need to find a real replacement for gmtime(). Any chance you could have a look at that function, and see if you can figure out why the current replacement doesn't work? Huh? My Solaris box has gmtime and gmtime_r, the reentrant variant. In principle, gmtime creates a struct tm, in Coordinated Universal Time (UTC), just as if you called localtime when machine was set to GMT. Actually, we got confused - the function that Samba replaced, which I suspected could be a problem is 'timegm'. Either way, there is a but in there somewhere, as it doesn't work for a non-GMT timezone. 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
CVS update: samba/docs/Registry
Date: Sat Nov 16 23:59:57 2002 Author: tpot Update of /data/cvs/samba/docs/Registry In directory dp.samba.org:/tmp/cvs-serv15008 Added Files: WinXP_PlainPassword.reg Log Message: Added for the people who want to use Windows XP with plaintext passwords. From dcb. Revisions: WinXP_PlainPassword.reg NONE = 1.1 http://www.samba.org/cgi-bin/cvsweb/samba/docs/Registry/WinXP_PlainPassword.reg?rev=1.1
CVS update: samba/docs/Registry
Date: Sun Nov 17 00:01:51 2002 Author: tpot Update of /data/cvs/samba/docs/Registry In directory dp.samba.org:/tmp/cvs-serv15293 Added Files: Tag: SAMBA_3_0 WinXP_PlainPassword.reg Log Message: Added for the people who want to use Windows XP with plaintext passwords. From dcb. Revisions: WinXP_PlainPassword.reg NONE = 1.1.2.1 http://www.samba.org/cgi-bin/cvsweb/samba/docs/Registry/WinXP_PlainPassword.reg?rev=1.1.2.1
CVS update: samba/source/lib
Date: Sun Nov 17 01:14:30 2002 Author: tpot Update of /data/cvs/samba/source/lib In directory dp.samba.org:/tmp/cvs-serv19241 Modified Files: util_uuid.c Log Message: Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DEC headers. Revisions: util_uuid.c 1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util_uuid.c?r1=1.3r2=1.4