Re: [Samba] Automating Windows Update
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Hi guys I was just wondering if there's already a way to automate the process of updating Windows to be specific XP. My idea is to mimic how a Windows server domain controller can rollout critical update on the entire domain. Can Samba do this? Thanks for any info What you want is a SUS, Software Update Service. You can get it for free from M$. Then all you have to do is tell the clients to poll your sus server frequently. This can be done in many serveral ways: - - by a group policy (up to now only with a Windows domain controller, which is probably what you are referring to) - - by hand (just importing a small registry snippet) - - by some sort of script doing point 2. - - ... This really has not very much to do with samba. Christopher - -- == Dipl.-Ing. Christopher Odenbach Zentrum IT-Dienste N5.110 [EMAIL PROTECTED] Tel.: +49 5251 60 5315 == -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBU9z0hxiCJKeLY0IRAs26AJ0TzOOvZXvrPTZf2Ixf0ImkhITZMwCfT5U7 VaS6rFrdjgkLb6GHHliAdyM= =xgwy -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] Sorry, Gerald (Jerry) Carter now please help me
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, (sorry, I am not Jerry) In the project I am planning to achieve server independency , means ---Consider an organization is having 2 kinds of server SAMBA and NFS, then if a request is made from a Samba client and required file is on NFS server then the request should get satisfied. I will be planning to convert a SAMBA request into a NFS request that is finally be given to the NFS server. The client does not care about the thing that to which server it has made request. Also, I have to make the similar thing in case of NFS client and SAMBA server. In this way it will help the system administrator to achieve a server independency. Can anybody please rate this idea as very simple simple good to do a project very difficult best one don't do such project. Sounds quite simple to me: Install samba on an NFS client and you have the first part ready. Then take a linux box, smbmount an smb share and reexport it via NFS, and you are ready. BUT: You will get into trouble with - - file locking - - authentication (there is _no_ authentication with NFS) - - permissions - - speed ... I even don't think that such a setup would be useful for a system administrator, so better look for something else. Just my opinion (and I am not Gerald Carter), Christopher - -- == Dipl.-Ing. Christopher Odenbach Zentrum IT-Dienste N5.110 [EMAIL PROTECTED] Tel.: +49 5251 60 5315 == -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBPVG+hxiCJKeLY0IRAg0OAKCzYusjLy43P09oaFAYbUINuyVIUACeOsRT dTWvEHljlDs65bBrwg/Txk0= =cIIT -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: RPC net start
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Have you looked at netcat, its been ported to NT, not sure how secure it is, but maybe theres a way to ssh to it? There is a free tool called SC.EXE included in the Microsoft Resource Kit, which can start services remotely. Runs on Windows machines of course. Christopher Nick 'Zaf' Clifford wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, First, as far as I can tell, this topic hasn't been mentioned in the mailing lists in awhile (atleast not as far as google can tell). Is there any client/program that can send net start requests to windows boxes. The ability to start a program as a service on a windows box remotely would obviously be very handy. I am aware of VNC, however it is not suitable for automated tasks. Nick - -- Nick 'Zaf' Clifford [EMAIL PROTECTED] GnuPG: 0xA8D0F53D In matters of style, swim with the current; in matters of principle, stand like a rock - Thomas Jefferson -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: public key: http://www.nrc.co.nz/Zaf/pubkey.txt iD8DBQFAmvgtPWICtKjQ9T0RAmHjAJ4phBxvILt95wmhAqYeByiHO/Y1SQCeML8h h6V3z29xLgVl2Ctp+Z/UOlk= =cQoL -END PGP SIGNATURE- - -- == Dipl.-Ing. Christopher Odenbach Zentrum IT-Dienste N5.110 [EMAIL PROTECTED] Tel.: +49 5251 60 5315 == -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAn0KshxiCJKeLY0IRAsSSAJ4tdn8B1q56Vw8mwqIA3+rzFTiqJACeIBCs RZ+8oHNEB1ZI2j6fYrDRpoA= =OM/2 -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: How to get rid of the \\my_server\homes share?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Samba 3.0.1 on Sun Solaris 5.9. I'm seeing both a share \\my_server\homes and a share \\my_server\username. [...] I can't remember seeing this behaviour in earlier Samba installations? Is this a bug? Try adding browseable = no to your [homes] section. Works for me (with 2.2.8a though). Christopher - -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAOd38hxiCJKeLY0IRApD8AJ9QliJoW0vBGYGvopeE5JqqPjHScQCeMhP+ zuSWh5iihngLwJjG3MXpM8o= =+iwB -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] INTERNAL ERROR: Signal 11 in pid 12262 (3.0.2-Debian)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, just installed and tested 3.0.2 for debian from backports.org. After some time I got an internal error: [2004/02/10 14:06:14, 0] smbd/posix_acls.c:create_canon_ace_lists(1481) create_canon_ace_lists: malformed ACL in file ACL ! Deny entry after Allow entry. Failing to set on file Projekt 2/klaus/Siehst du - geht doch.txt. [2004/02/10 14:06:14, 0] lib/fault.c:fault_report(36) === [2004/02/10 14:06:14, 0] lib/fault.c:fault_report(37) INTERNAL ERROR: Signal 11 in pid 12262 (3.0.2-Debian) Please read the appendix Bugs of the Samba HOWTO collection [2004/02/10 14:06:14, 0] lib/fault.c:fault_report(39) === [2004/02/10 14:06:14, 0] lib/util.c:smb_panic(1400) PANIC: internal error [2004/02/10 14:06:14, 0] lib/util.c:smb_panic(1408) BACKTRACE: 25 stack frames: #0 /usr/sbin/smbd(smb_panic+0x16b) [0x8185273] #1 /usr/sbin/smbd [0x8175ec3] #2 /usr/sbin/smbd [0x8175f25] #3 /lib/libc.so.6 [0x4016f6b8] #4 /lib/libc.so.6(malloc+0xe4) [0x401b4074] #5 /usr/sbin/smbd(talloc+0x25) [0x81891e9] #6 /usr/sbin/smbd(talloc_memdup+0x17) [0x81893eb] #7 /usr/sbin/smbd(talloc_strdup+0x2f) [0x818943b] #8 /usr/sbin/smbd(strftime+0x1a65) [0x8077e49] #9 /usr/sbin/smbd(lp_acl_compatibility+0x1d) [0x8078611] #10 /usr/sbin/smbd [0x80b4bcf] #11 /usr/sbin/smbd [0x80b5735] #12 /usr/sbin/smbd [0x80b6499] #13 /usr/sbin/smbd(set_nt_acl+0x32d) [0x80b88b1] #14 /usr/sbin/smbd(vfswrap_fset_nt_acl+0x17) [0x80b2fdf] #15 /usr/sbin/smbd [0x80924c7] #16 /usr/sbin/smbd [0x80939b6] #17 /usr/sbin/smbd(reply_nttrans+0x815) [0x8094a99] #18 /usr/sbin/smbd [0x80ba03a] #19 /usr/sbin/smbd [0x80ba0d3] #20 /usr/sbin/smbd(process_smb+0x187) [0x80ba373] #21 /usr/sbin/smbd(smbd_process+0x14f) [0x80baccf] #22 /usr/sbin/smbd(main+0x69b) [0x81dd8ef] #23 /lib/libc.so.6(__libc_start_main+0xbb) [0x4015f14f] #24 /usr/sbin/smbd(yp_get_default_domain+0x8d) [0x8077261] Configuration: - - windows 2000 domain with ad - - samba server as ads member server (linux with xfs filesystem) - - winbindd running smb.conf: [global] realm = hni.local workgroup = HNIRB security= ADS idmap uid = 2-3 idmap gid = 2-3 winbind trusted domains only= yes winbind use default domain = yes encrypt passwords = yes wins server = 192.168.10.20 ... [acl-test] comment = Verzeichnis mit ACLs path= /home1 valid users = writeable = yes I use winbindd to be able to use acl's but without having samba adding local users. Unix and Windows users are kept in sync, unix uses nis. Any clues? Should I provide more information? Christopher - -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAKNpkhxiCJKeLY0IRAp3PAJ96iiHfpgLnSRqsm2/zqge9ihr7kACgmQQ3 CjERKX+1LN0cqXt1ExX4PqM= =atLE -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] Debian package of 3.0.2rc1 available?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, has anyone made a debian package of the current release candidate? I would like to test. Christopher - -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAGgpphxiCJKeLY0IRAsERAJ9CymvFYLH8An+HnY4VznCIwpgetQCfVEHY xQPn6ssNmiFLsTwo8uxTqvw= =Fct3 -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: Exporting a nfs mount = A bad idea?
Hi Carsten, since noone answered to my mail below and because of further investigations I've got this simple question: Is exporting a nfs mount a bad idea? Depends. Exporting an nfs mounted fs via samba doubles network traffic. Another problem is that you insert another layer into your system which can cause trouble - just as you are experiencing now. :-( No idea how to solve your locking problem though. Christopher [2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(657) posix_fcntl_lock: WARNING: lock request at offset 2147483539, length 1 returned [2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(658) an No locks available error. This can happen when using 64 bit lock offsets [2003/11/11 10:20:36, 0] locking/posix.c:posix_fcntl_lock(659) on 32 bit NFS mounted file systems. What can I do? How can I mount a nfs on 64 bit? Or can I change samba to use 32 bit lock offsets on this particular share? Any ideas? Thanks in advance, Carsten -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: samba-3.0.0rc4 acl-support
Hi, I´m currently testing samba-3.0.0rc4 as a pdc with acl-support. The box runs with debian-linux and a xfs-enabled 2.4.22-kernel. I have defined a share which is located on a xfs-partition. (changing acls with setfacl works well) I activated the flag : nt acl support = yes If I now try to change acls, i can open the win2k-acl-dialoge - but changes are not accepted by a permission denied message. Whats wrong ? Where can i get addtional informations about this ? I don't know about samba 3, but in samba 2.2.x acl support was an option to be set at configure time (before compiling). The smb.conf option nt acl support only maps the ordinary unix permissions to acl-like entries: nt acl support (S) This boolean parameter controls whether smbd(8) will attempt to map UNIX permissions into Windows NT access control lists. This parameter was formally a global parameter in releases prior to 2.2.2. Default: nt acl support = yes So you normally only get three entries: one for the user, one for the group, one for everybody. Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: problem connecting to Samba server from windows XP
Hi Mark, I run Samba 2.2.8 on my Red Hat 9. Both smbd and nmbd are running OK. ps -aux | grep mbd shows the 2 processes, plus, smbclient works fine, thanks to Christopher. The Samba server resides on a host with IP 10.10.6.31. I got this from the smbclient run below: [EMAIL PROTECTED] samba]# smbclient //REDHAT/test -U jack added interface ip=10.10.6.31 bcast=10.10.255.255 nmask=255.255.0.0 Password: So you tested it with user jack, not tom. And the IP of the WinXP system is 10.10.9.10 and the Subnet mask for both my WinXP and Red Hat is 255.255.0.0 On the Samba server, I've done smbpasswd and added user tom with password abc123. Meanwhile, I also added tom with the same password to my XP system. My XP is added to the workgroup is METRAN, which is also set in smb.conf as workgroup = METRAN But after I log into my XP with user tom, I cannot see anything in my Network Places. Please note that METRAN is not a valid workgroup in the LAN of my company. Dou you have a WINS server configured on your XP box? Try this on your XP box: nbtstat -a redhat If the name does not resolve to an ip (nbtstat -c will show it then), you have a name resolving problem. Try to enter the netbios name and ip of your samba server in 'c:/winnt/system32/drivers/etc/lmhosts' (or whereever it may be found on XP). Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: adding printer driver to a printer
Hi, I'm using debian woody with samba (2.2.3a-12.3). After installing 2.2.8a everything that worked, still works. What didn't work, still doesn't work. Hereunder is my smb.conf, /etc/lprng/printcap, and the logfile that contains errors in relation to the printers (i get them when i go to printersfaxes): === [2003/09/15 15:26:08, 0] lib/fault.c:fault_report(39) INTERNAL ERROR: Signal 11 in pid 13757 (2.2.3a-12.3 for Debian) Anyone an idea? Maybe you are still using the old version? Make sure you are using the new binaries, not the old ones. Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: smbclient problem
Hi, Why am I not getting the smb:\ prompt after I run the smbclient? Look at the following output. Thanks. [EMAIL PROTECTED] samba]$ smbclient -U jack -L localhost added interface ip=10.10.6.31 bcast=10.10.255.255 nmask=255.255.0.0 Password: Domain=[METRAN] OS=[Unix] Server=[Samba 2.2.8a] Sharename Type Comment - --- test Disk For testing only, [...] Because you are using smbclient the wrong way. From the smbclient man page: -L This option allows you to look at what services are available on a server. You use it as smbclient -L host and a list should appear. The -I option may be useful if your NetBIOS names don't match your TCP/IP DNS host names or if you are trying to reach a host on another network. If you want to connect to a service, just use the UNC path: [EMAIL PROTECTED] samba]$ smbclient //jack/test -U whateveruseryouare Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] passwd program not called as root
Hi, I have downloaded and compiled Samba3b2 on a SuSE 8.2 machine. For testing purpose, I connect to this machine with a Win2k-Box ... most things seem to work fine, but I am unable so change passwords from the win-box with unix password sync enanbled. I changed loglevel to 103 and enabled password chat debug. From what I found in the log-files, I can conclude that the the passwd program ist NOT run as root (obviously, the OLD password is requested as well). This does not have to mean it is not run as root. Do you run NIS? Is your samba server the NIS master? If not, passwd will ask for the old password. Does it work for you, if you run passwd manually? To find out what happens, you can write a wrapper for passwd that prints out UID, GID, EUID, EGID (simple thing in perl). Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] passwd chat debug
Hi, isn't it possible to set up a NIS machine (which is my Samba PDC and not the NIS master) to sync the passwords? While debugging the passwd chat, I saw it asks the root passwd... When a windows user changes his password, the samba server only gets the new password, not the old one. So you need a mechanism that is able to change user's password without having the old one. NIS is only able to do this on the NIS master, not on a slave server or even a client: even root will be asked for the old password there. So if you absolutely want this, you'll have to invent some mechanism that transports the new password to the NIS master (securely please). Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- 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 and Passwords
Hi, I have a dilemma here about the user accounts. We have all the accounts at a NIS server. My samba PDC is another machine (different from the NIS server). What are my options for managing the accounts? 1) Central management (LDAP) Yes 2) Keep different password files (passwd/smbpasswd) Yes Are there any different options?? Don't think so. If I use the second option (2 - keep different password files), can I sync the passwords from Unix to Samba and vice versa? Easily only vice versa. :-) In Details: unix crypt and windows crypt are different. But they are both one-way hashes. So if you want to change both passwords at the same time, you will have to get access to the clear text password to do the encryption. If someone changes his unix password the password is encrypted using unix crypt() on the client machine, then transfered to the NIS master (I think). So it is not possible to install anything central at the nis master. The other way works better: When you change a windows password, the new password (but not the old one) is somehow transfered in clear text to the server (maybe it gets somewhat encrypted for the transport, but the server finally gets the clear text password). Search the archive for my post about this (keyword would be passwdHK.dll). If you want to use the samba server as pdc, password changes via smbpasswd go there. You can use the smb.conf settings unix password sync = yes passwd chat = [...] passwd program = [...] to set the password on the unix side. BUT: samba calls the passwd program as root and expects to be able to change the user's password without knowing the old one. So normally the samba server has to run on the NIS master server. So if your nis master is != your samba server, write a script that can run on your samba server and that is able to change a user's unix password without knowing the old one. We have such a thing running to synchronize the windows password (from a W2K Server) to our NIS master. Hope that helps, Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: win2000 service pack 4 - samba 2.2.2
Hi, We have noticed the same problem here running FreeBSD/samba 2.2.8a any more detailed explination of the fix would be appreciated. It´s the same for me on several (tested) W2k-Workstations. To move the windows profile directory to the windows server is not proposed at my side. One solution to this problem is a new security setting (introduced with SP4), which can be set either locally on each client or globally by a group policy object. The German settings are: Computerkonfiguration - Administrative Vorlagen - System - Anmeldung - Eigentuemer von servergespeicherten Profilen nicht pruefen - aktiviert Don't know what the settings are called in English, you'll just have to look. If you want to use the GPO, remember to install SP4 on the server first (if not you cannot find the specified setting). Greets, Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problems with ae, oe, ue etc.
Hi, i got some problems with the words ä (=ae), ü (=ue), ö (=oe) etc. on a redhat 9.0 with samba 2.2.8a-1. when i create a dir on a share with this words like prüfen (=pruefen) i can access the dir. when i try to access the dir over a ssh session the dir is called pr?fen. is there a way to enable ä, ü, ö etc? maybe after a backup the dirs are not correctly backuped or restored after a crash. i think some days or weeks ago here also posted something like my problem but i dont find it because i dont know the keywords for it. Use client code page= 850 character set = iso8859-1 in your smb.conf. That does the trick here. Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] URGENNTT!!...ROAMING PRO..WIN2K
I CANNOT GET MY W2K TO CATCH UP ON THE ROAMING PROFILES ON THE SERVER. EACH TIME I LOGGON ON THE DOMAIN...THE ERROR I GET..IS I DO NOT HAVE PERMISSION FOR THE FOLDER. PLEASE ADVICE... Stop yelling. RTFM especially have a look at docs/README.Win2kSP2 In order to server profiles successfully to Windows 2000 SP2 clients (when not operating as a PDC), Samba must have nt acl support = no added to the file share which houses the roaming profiles. If this is not done, then the Windows 2000 SP2 client will complain about not being able to access the profile (Access Denied) and create multiple copies of it on disk... Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- 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 Active Diectory
Hi, How do I keep users and passwds in sync. ie when an nt user changeshis/her passwd on the wintel desktop client? If you use the unix boxes just for storing data, you don't need user passwords there - the samba server just forwards the authentication to the domain controller. If users also work under unix you can a) install the Services for Unix from M$ b) have a try with https://sourceforge.net/projects/acctsync Look at a tool called passwdHK.dll. This lib can be called everytime a user changes his/her password and can then forward it to any program you like (e.g. perl script). c) use kerberos trusts (sounds complicated and certainly is - don't ask me about details, I don't use kerberos). I prefer solution b). Regards, Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: So SAMBA no longer supports print driver downloads
Hi Jerry, On Mon, 3 Feb 2003, Hansjoerg Maurer wrote: we have solaris 2.8 here (I initially described the problem at our site), and I can help testing to. Could there be any connections to the Solaris fcntl bug, described in other E-Mails, or is this a completly differnt area. This looks like a Samba on Solaris bug. I will fix it when I get back into the office next week. cheers, jerry Have you already found any time to look into this? Any efforts? I think there are quite a lot of people waiting for this. Thanks, Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- 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
Hi, 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. Samba creates a child process for each connection. So if you kill the process that uses the cdrom you should be alright as that is only the forked child for this share. All other connections should be fine. Using something like fuser -mk /cdrom should do the trick. And as someone on the list mentioned: if you tend to make the script suid root, better use perl instead of shell script... :-) 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
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] Can't print duplex
Hi, I am using Samba 2.2.6 on a Solaris 2.8 print server. When I try to print from an XP client to an HP LaserJet 8000 or 8150 printer with the drivers installed locally, everything works fine including Duplex printing. When I try to print to a printer with the drivers stored on the Samba server, the Duplex feature is not available to the application. The client is able to turn on Duplexing in the Printers and Faxes folder and it appears to be installed, but when you try to select Duplex from the Layout tab from within an application, two sided printing is not available. Has anyone seen this problem? Yes. We are experiencing this problem for several months now, but no solution in sight *sigh* I am afraid Jerry didn't catch all bugs concerning printing... Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [samba] - servers keeps disapearing
Hi, Is there a known problem with samba servers that keeps disappearing from network neighborhood? Had this problem with 2.2.3, have to restart nmbd to get them back on, but nmbd never stops. Yes - there _was_ a known problem with nmbd not reregistering names. Has disappeared since 2.2.5. Greetings, Christopher -- == Dipl.-Ing. Christopher Odenbach HNI Rechnerbetrieb [EMAIL PROTECTED] Tel.: +49 5251 60 6215 == -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] sid_to_uid: Domain controller lookup missing
Hi, with samba WITHOUT using winbind. Sorry, but this is not acceptible for me (and for sure quite a few other people). You are incorrect. ACLs in Samba work without winbindd. The problem occurs when you want to use the Domain SIDs from a different authority than the Samba server in an ACL. OK, I had understood this. But: My samba server _is not_ the authority in our net, it is just an ordinary domain member. So it _has_ to ask an authority, so to say a PDC or BDC. To boil it down. Imagine you have 2 unix systems using /etc/passwd. You have a user jill in both systems with a different uid - both of which are in use on the other system. Explain how to set up a POSIX ACL on either machine which contains both jill users. That is the problem you are trying to describe - no Windows or Samba involved. No, no. The situation you describe includes two user databases which partially the same usernames but different uids. Is is absolutely clear that I cannot mix them up to say one ACL entry which only contains uids, or names. On the other side in my case I also have two user databases, unix passwd (or yp) and NT SAM. BUT: there is a clear mapping between them! Each user on NT also exists on unix with the same username. So there is a translation from one user database to the other - the name. To get the ids (uid or sid) one has to request the authority of each of these databases (UNIX: YP-Server, NT: PDC or BDC). This should not be too difficult, so I don't understand why you didn't design it this way in the first case. :-) winbindd is one solution to this. Yes - if you give up yp or nis+ or ldap or /etc/passwd ... If you don't try and do this, you don't have problems with ACLs. But can I make a samba server a domain master without totally screwing up my NT servers? This does not sound really correct to me. Hey, I am sucking up every advice I can to get this running, so thank you for the discussion! :-) Christopher -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba